@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html,
body{
    font-family: "Poppins", system-ui;
}

h1 {
    font-family: "Poppins", system-ui;
    font-weight: 600;
    font-style: normal;
    font-size: 48px;
}

h3 {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: normal;
    font-size: 28px;
}

h4 {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: normal;
    font-size: 24px;
}

h5 {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
}

p,
span {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
}

strong {
    font-weight: 600;
}

iframe {
    width: 100%;
    display: block;
}

.form-check > input {
    background-color: #E7E9EA;
    border: none !important;
}

.form-check > label{
    font-size: 13px;
}

input,
select {
    border: none !important;
    border: 1px solid #DDDDDD !important;
    border-radius: 0 !important;
}

section {
    overflow-x: hidden;
}

.navbar {
    background-color: transparent;
    z-index: 99;
    transition: all 0.4s ease;
    position: fixed;
    width: 100%;
}

.navbar.sticked {
    background-color: #28468B;
    -webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
}

.navbar .navbar-brand img {
    max-width: 320px;
}

.navbar #ijm-logo {
    max-width: 130px;
}

.navbar-toggler {
    width: 20px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
    position: relative;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}


/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 10px;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 20px;
    transform: rotate(0deg);
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}

/* Color of 3 lines */

.navbar-toggler.collapsed .toggler-icon {
    background: #FFFFFF
}

.navbar .nav-link {
    font-family: "Poppins", system-ui;
    font-weight: 300;
    font-style: normal;
    color: #FFFFFF;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.navbar .nav-link.active {
    color: #DBB753;
}

.offcanvas {
    background-color: #28468B;
}

.offcanvas .offcanvas-header {
    border-bottom: 1px solid #FFFFFF;
}

.offcanvas .offcanvas-title {
    color: #FFFFFF;
}

.offcanvas .btn-close {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
}

#banner{
    overflow: hidden;
}

#banner #image {
    width: 100%;
    height: 100%;
    background: url('../images/banner.webp') no-repeat center center;
    background-position: 0% 0%;
    background-repeat: repeat-x;
    animation: animatedBanner 50s linear infinite alternate;
    position: relative;
}

#banner #image:after {
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
}

#banner #image #title {
    position: relative;
    padding: 25vh 0;
    z-index: 1;
}

#banner #image .counter {
    font-size: 128px;
    line-height: 0.8;
}

#banner #image h4,
#banner #image span {
    color: #FFFFFF;
}

@keyframes animatedBanner {
    from {
        background-position-y: 0%;
    }

    to {
        background-position-y: 100%;
    }
}

#introduction {
    background-color: #28468B;
    padding: 80px 0;
    position: relative;
}

#introduction h3,
#introduction p {
    color: #FFFFFF;
}

#serene #serene-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('../images/serene-background.webp') no-repeat center 80%;
}

#serene #serene-image:after {
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
}

#serene #serene-image #title {
    position: relative;
    padding: 100px 0 380px;
    z-index: 1;
}

#serene #serene-image .counter {
    font-size: 128px;
    line-height: 0.8;
}

#serene #serene-image h4,
#serene #serene-image span {
    color: #FFFFFF;
}

#fun {
    background-color: #28468B;
    padding: 80px 0;
}

#fun h3,
#fun p {
    color: #FFFFFF;
}

#ainsdale #image {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('../images/ainsdale-background.webp') no-repeat center center;
}

#ainsdale #image:after {
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
}

#ainsdale #image #title {
    position: relative;
    padding: 240px 0;
    z-index: 1;
}

#ainsdale #image .counter {
    font-size: 128px;
    line-height: 0.8;
}

#ainsdale #image h4,
#ainsdale #image span {
    color: #FFFFFF;
}

#strategic {
    background-color: #28468B;
    padding: 80px 0;
}

#strategic h3,
#strategic p {
    color: #FFFFFF;
}

#lifestyle #image {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('../images/lifestyle-background.webp') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    overflow-x: hidden;
}

#lifestyle #image:after {
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
}

#community {
    background-color: #28468B;
    padding: 80px 0;
}

#community h3,
#community p {
    color: #FFFFFF;
}

#features {
    background-color: #FFFFFF;
    padding: 80px 0;
}

#features h3,
#features p {
    color: #222222;
}

#innovation {
    background-color: #E7E9EA;
    padding: 80px 0;
}

#innovation h3,
#innovation p {
    color: #222222;
}

#masterplan {
    padding: 80px 0;
}

#masterplan .zoom p {
    color: #222222;
}

#masterplan #batiq {
    position: relative;
}

#masterplan #batiq #content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    color: #222222;
}

#masterplan #batiq p {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    color: #222222;
}

#gallery {
    background-color: #E7E9EA;
    padding: 80px 0 140px;
}

#panorama h3 span>img {
    margin-top: -8px;
}

#award {
    position: relative;
}

#award #image {
    position: relative;
}

#award #image:after {
    background-color: rgba(31, 49, 120, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
}

#award #content {
    position: absolute;
    bottom: 10%;
    width: 100%;
}

#award #content h3,
#award #content p {
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

#map {
    padding: 100px 0 0;
}

#connectivity {
    background-color: #5B7C5F;
    padding: 80px 0 80px;
}

#connectivity h3,
#connectivity p {
    color: #FFFFFF;
}

#location {
    padding: 80px 0 0;
}

#location .zoom p {
    color: #222222;
}

#location h3,
#location h5,
#location p {
    color: #222222;
}

#location span sup {
    line-height: 1.4;
    display: block;
}

#location #zoom {
    display: inline-block;
}

#register {
    padding: 80px 0;
    background-color: #FFFFFF;
}

#register #register-form {
    background-color: #FFFFFF;
}

#register .btn {
    background-color: #28468B;
    border: 1px solid #28468B;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
}

#register .btn:hover {
    background-color: #FFFFFF;
    color: #28468B;
}

footer {
    background-color: #28468B;
    padding: 60px 0;
}

footer p {
    color: #FFFFFF;
    font-size: 14px;
}

footer h4 {
    color: #FFFFFF;
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
}

footer a:hover,
footer a:hover h4,
footer a:hover p {
    color: #DBB753;
}

footer .divider {
    color: #FFFFFF;
}

#sticky-bar {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 98;
}

#sticky-bar a > img{
    -webkit-box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.1);
    border-radius: 60px;
}

@media (max-width: 1199.98px) {

    .navbar{
        background-color: #28468B;
        -webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
        box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    }

}

@media (max-width: 991.98px) {

    h1 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    .navbar .nav-link {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    #banner #image {
        background-image: url('../images/banner-mobile.webp');
        background-size: 140%;
        width: 100%;
        background-position-x: 0%;
        animation: animatedBanner 40s linear infinite alternate;
    }

    #banner #image #title {
        padding: 25vh 0 10vh;
    }

    #ainsdale #image #title {
        padding: 120px 0 300px;
    }

    #innovation {
        padding: 100px 0 80px;
    }

    #gallery {
        padding: 60px 0 100px;
    }

    #award #content {
        background-color: #28468B;
        position: relative;
        bottom: auto;
    }

}

@media (max-width: 767.98px) {

    #banner #image .counter {
        font-size: 88px;
    }

    #sticky-bar img{
        max-width: 50px;
    }

}