.hero-section {
    background-color: #0a1b32;

    .hero-section__topbar {
        background-color: #001A37;
        padding: 12px 0;

        .hero-section__topbar-text {
            color: #C3D0E0;
            font-size: 12px;
            font-weight: 350;
            line-height: 120%;
            letter-spacing: 0.48px;
        }

        .hero-section__topbar-link {
            color: #C3D0E0;
            text-decoration: none;
            transition: color 0.25s ease;

            &:hover {
                color: #326ABB;
            }
        }

        .d-flex {
            @media (max-width: 767.98px) {
                flex-direction: column;
                gap: 4px;
                align-items: flex-start !important;
            }
        }
    }

    /* ===== Navbar ===== */
    .hero-section__navbar {
        background-color: #00234A;
        padding: 18px 0;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
        > .container > .row {
            width: 100%;
            margin-right: 0;
            margin-left: 0;
        }

        > .container > .row > .col-12 {
            align-items: center;
            flex-wrap: wrap;
            width: 100%;
        }

        .navbar-toggler {
            display: none;
        }

        .menu {
            flex-grow: 1;
            align-items: center;
        }

        .menu-close {
            display: none;
        }

        .menu-intro {
            display: none;
        }

        @media (min-width: 1200px) {
            .menu {
                display: flex !important;
                flex-basis: auto;
                justify-content: flex-end;
            }

            > .container > .row > .col-12 > .hero-section__btn-nav {
                flex-shrink: 0;
                margin-left: 20px;
            }

            .navbar-nav {
                align-items: center;
                margin-right: 20px !important;
                margin-left: auto !important;
            }
        }

        @media (max-width: 1199.98px) {
            .navbar-toggler {
                display: block;
                margin-left: auto;
                position: relative;
                z-index: 1051;
                transition: opacity 0.2s ease, visibility 0.2s ease;
            }

            &.is-open .navbar-toggler {
                visibility: hidden;
                opacity: 0;
                pointer-events: none;
            }

            .menu {
                position: fixed;
                top: 0;
                right: 0;
                bottom: 0;
                z-index: 1050;
                display: block;
                width: 320px;
                max-width: 100%;
                padding: 32px 24px 32px;
                overflow-y: auto;
                background-color: #00234A;
                box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
                transform: translateX(100%);
                transition: transform 0.3s ease;
                height: 100vh;
            }

            .menu-close {
                position: static;
                flex: 0 0 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                padding: 0;
                color: #ffffff;
                background: transparent;
                border: 1px solid rgba(255, 255, 255, 0.2);
                border-radius: 4px;
                margin-left: 16px;
            }

            .menu-close span {
                position: absolute;
                width: 20px;
                height: 1px;
                background-color: #ffffff;
            }

            .menu-close span:first-child {
                transform: rotate(45deg);
            }

            .menu-close span:last-child {
                transform: rotate(-45deg);
            }

            .menu-close:hover,
            .menu-close:focus-visible {
                background-color: rgba(255, 255, 255, 0.1);
                outline: none;
            }

            .menu-intro {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                max-width: none;
                padding: 0 0 20px;
                margin-bottom: 8px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.18);
            }

            .menu-intro__copy {
                min-width: 0;
            }

            .menu-intro__eyebrow {
                margin-bottom: 8px;
                color: #8FB3E0;
                font-size: 11px;
                line-height: 1.2;
                letter-spacing: 2px;
            }

            .menu-intro__title {
                color: #ffffff;
                font-size: 14px;
                font-weight: 400;
                line-height: 1.25;
                letter-spacing: 0.4px;
            }

            .menu .navbar-nav {
                display: flex;
                flex-direction: column;
                align-items: stretch;
                margin: 0 0 24px !important;
            }

            .menu .nav-item {
                width: 100%;
                border-bottom: 1px solid rgba(255, 255, 255, 0.14);
            }

            .menu .hero-section__nav-link {
                display: block;
                margin: 0;
                padding: 15px 0 !important;
                font-size: 13px;
            }

            .menu .dropdown-menu,
            .menu .sub-menu {
                position: static;
                display: block;
                min-width: 0;
                padding: 0 0 8px 16px;
                margin: 0;
                background: transparent;
                border: 0;
                box-shadow: none;
            }

            .menu .dropdown-item,
            .menu .sub-menu a {
                display: block;
                padding: 10px 0;
                color: #C3D0E0;
                font-size: 13px;
                line-height: 1.35;
                white-space: normal;
                background: transparent;
            }

            .menu .dropdown-item:hover,
            .menu .dropdown-item:focus,
            .menu .sub-menu a:hover,
            .menu .sub-menu a:focus {
                color: #ffffff;
                background: transparent;
            }

            > .container > .row > .col-12 > .hero-section__btn-nav {
                display: inline-block;
                flex-shrink: 0;
                margin-left: 12px;
                padding: 9px 14px;
                font-size: 11px;
                white-space: nowrap;
            }

            .menu.show {
                transform: translateX(0);
            }

            @media (max-width: 575.98px) {

                .menu-close {
                    flex-basis: 36px;
                    width: 36px;
                    height: 36px;
                    margin-left: 12px;
                }

                .menu-intro__title {
                    font-size: 14px;
                }

                > .container > .row > .col-12 > .hero-section__btn-nav {
                    padding-right: 10px;
                    padding-left: 10px;
                    font-size: 10px;
                }
            }
        }

        .navbar-nav {
            @media (max-width: 1199.98px) {
                margin-bottom: 16px;
            }
        }
    }

    .hero-section__brand {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0;

        img {
            height: 50px;
        }
    }

    .hero-section__nav-link {
        position: relative;
        padding: 8px 4px !important;
        margin: 0 14px;
        transition: color 0.25s ease;
        color: #EEF2F7 !important;
        font-size: 13px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0.78px;

        &::after {
            content: "";
            position: absolute;
            left: 4px;
            right: 4px;
            bottom: 2px;
            height: 1px;
            background-color: #6fa8dc;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        &:hover {
            color: #ffffff !important;

            &::after {
                transform: scaleX(1);
            }
        }

        @media (max-width: 1199.98px) {
            margin: 6px 0;
        }
    }

    .hero-section__btn-nav {
        padding: 12px 26px;

        @media (max-width: 1199.98px) {
            display: inline-block;
        }
    }

    /* ===== Hero banner ===== */
    .hero-section__banner {
        position: relative;
        min-height: 760px;
        display: flex;
        align-items: center;
        overflow: hidden;

        &:hover {
            .hero-section__bg {
                transform: scale(1.06);
            }
        }

        @media (max-width: 1024px) {
            min-height: 570px;
        }

        @media (max-width: 991.98px) {
            min-height: auto;
            padding: 40px 0;
        }
    }

    .hero-section__bg {
        position: absolute;
        inset: 0;
        background-image: url("../../images/demo/image-10.png");
        background-size: cover;
        background-position: center;
        transition: transform 6s ease;
    }

    .hero-section__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(0, 18, 31, 0.25) 0%,
            rgba(0, 18, 31, 0.55) 60%,
            rgba(0, 18, 31, 0.95) 100%
        );
    }

    .hero-section__content {
        position: relative;
        z-index: 2;
        padding: 90px 0 70px;
        max-width: 760px;

        @media (max-width: 992px) {
            padding: 60px 0;
        }
    }

    .hero-section__title {
        margin-bottom: 22px;
        color: #FFF;
        font-size: 48px;
        font-weight: 400;
        line-height: 110%;
        letter-spacing: 1.44px;
        text-transform: uppercase;

        @media (max-width: 767.98px) {
            font-size: 32px;
        }
    }

    .hero-section__subtitle {
        margin-bottom: 22px;
        color: #FFF;
        font-size: 22px;
        font-weight: 400;
        line-height: 110%;
        letter-spacing: 0.66px;
        text-transform: uppercase;
    }

    .hero-section__meta {
        margin: 20px 0;
        color: #DFE6EE;
        font-size: 15px;
        font-weight: 350;
        line-height: 140%;
        letter-spacing: 1.8px;
        text-transform: uppercase;

        @media (max-width: 575.98px) {
            letter-spacing: 0.8px;
        }
    }

    .hero-section__price {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 14px;
        margin: 20px 0 34px 0;
    }

    .hero-section__price-label {
        color: #FFF;
        font-size: 14px;
        font-weight: 350;
        line-height: 110%;
        letter-spacing: 1.12px;
    }

    .hero-section__price-value {
        color: #ffffff;
        font-size: 32px;
        font-weight: 400;
        line-height: 110%;

        @media (max-width: 991.98px) {
            font-size: 2.1rem;
        }

        @media (max-width: 575.98px) {
            font-size: 1.7rem;
        }
    }

    .hero-section__price-note {
        color: #C8D4E2;
        font-size: 13px;
        font-weight: 350;
        line-height: 110%;
    }

    .hero-section__btn-primary {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1.3px;
        color: #ffffff;
        background-color: #326ABB;
        border: 1px solid #326ABB;
        border-radius: 50px;
        padding: 15px 32px;
        transition: all 0.3s ease;
        margin-right: 15px;

        @media (max-width: 575.98px) {
            margin-right: 0;
            width: 100%;
            margin-bottom: 10px;
        }

        &:hover {
            background-color: #326ABB;
            border-color: #326ABB;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
        }
    }

    .hero-section__btn-outline {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1.3px;
        color: #ffffff;
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 50px;
        padding: 15px 32px;
        transition: all 0.3s ease;

        @media (max-width: 575.98px) {
            margin-right: 0;
            width: 100%;
            padding: 15px 20px;
        }

        &:hover {
            background-color: #ffffff;
            border-color: #ffffff;
            color: #0b2340;
            transform: translateY(-2px);
        }
    }

    /* ===== Stats bar ===== */
    .hero-section__stats {
        background-color: #00234A;
    }

    .hero-section__stat {
        padding: 30px 14px;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        transition: background-color 0.3s ease;

        &:hover {
            background-color: rgba(255, 255, 255, 0.04);
        }

        &:last-child {
            border-right: none;
        }

        &:nth-child(odd) {
            @media (max-width: 767.98px) {
                border-right: 1px solid rgba(255, 255, 255, 0.12);
            }
        }

        @media (max-width: 767.98px) {
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        }
    }

    .hero-section__stat-value {
        margin-bottom: 6px;
        color: #FFF;
        text-align: center;
        font-size: 30px;
        font-weight: 400;
        line-height: 165%;
        @media (max-width: 992px) {
            font-size: 20px;
        }
    }

    .hero-section__stat-label {
        color: #8FB3E0;
        text-align: center;
        font-size: 11px;
        font-weight: 400;
        line-height: 165%;
        letter-spacing: 1.54px;
        text-transform: uppercase;
    }
}


/* ===========================================================*/
html {
    scroll-behavior: smooth;
}

.hero-section__navbar.is-sticky + .hero-section__banner {
    margin-top: 86px;
}

.hero-section__navbar.is-sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.hero-section__navbar.is-sticky.is-visible {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body #wrapper:has(.sidebar-sticky) {
    overflow: visible;
}
body.hero-menu-open {
    overflow: hidden;
}

#opportunity,
#details,
#investment-case,
#location,
#enquire {
    scroll-margin-top: 110px;
}

.section-gap{
    padding: 80px 0px;
    @media(max-width: 1199px){
        padding: 60px 0px;
    }
    @media(max-width: 767px){
        padding: 40px 0px;
    }
}
.cms .h1+blockquote, .cms .h1+ol, .cms .h1+p, .cms .h1+ul, .cms .h2+blockquote, .cms .h2+ol, .cms .h2+p, .cms .h2+ul, .cms .h3+blockquote, .cms .h3+ol, .cms .h3+p, .cms .h3+ul, .cms .h4+blockquote, .cms .h4+ol, .cms .h4+p, .cms .h4+ul, .cms .h5+blockquote, .cms .h5+ol, .cms .h5+p, .cms .h5+ul, .cms .h6+blockquote, .cms .h6+ol, .cms .h6+p, .cms .h6+ul, .cms h1+blockquote, .cms h1+ol, .cms h1+p, .cms h1+ul, .cms h2+blockquote, .cms h2+ol, .cms h2+p, .cms h2+ul, .cms h3+blockquote, .cms h3+ol, .cms h3+p, .cms h3+ul, .cms h4+blockquote, .cms h4+ol, .cms h4+p, .cms h4+ul, .cms h5+blockquote, .cms h5+ol, .cms h5+p, .cms h5+ul, .cms h6+blockquote, .cms h6+ol, .cms h6+p, .cms h6+ul, body .h1+blockquote, body .h1+ol, body .h1+p, body .h1+ul, body .h2+blockquote, body .h2+ol, body .h2+p, body .h2+ul, body .h3+blockquote, body .h3+ol, body .h3+p, body .h3+ul, body .h4+blockquote, body .h4+ol, body .h4+p, body .h4+ul, body .h5+blockquote, body .h5+ol, body .h5+p, body .h5+ul, body .h6+blockquote, body .h6+ol, body .h6+p, body .h6+ul, body h1+blockquote, body h1+ol, body h1+p, body h1+ul, body h2+blockquote, body h2+ol, body h2+p, body h2+ul, body h3+blockquote, body h3+ol, body h3+p, body h3+ul, body h4+blockquote, body h4+ol, body h4+p, body h4+ul, body h5+blockquote, body h5+ol, body h5+p, body h5+ul, body h6+blockquote, body h6+ol, body h6+p, body h6+ul{
    margin: 18px 0 0 0;
}
body{
    font-family:'Avenir LT Std', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #464749;
    figcaption{
        font-weight: 400;
        font-size: 14px;
        line-height: 110%px;
        color: #707070;
    }

}
.fs-14{
    font-size: 14px;
}
.rounded-2{
    border-radius: 6px;
}
.cms{
    >*{
        font-family: 'Sveningsson', sans-serif;
    }
    h6{
        font-size: 19px;
        font-weight: 400;
        line-height: 120%;
        color: #00234A;
    }
    p{
        font-family:'Avenir LT Std', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 130%;
        color: #464749;
    }
}
.display-1{
  color: #00234A;
  font-weight: 400;
  font-size: 34px;
  line-height: 110%;
  text-transform: uppercase;
  @media(max-width:1199px){
    font-size: 28px;
  }
  @media(max-width:767px){
    font-size: 24px;
  }
  & span{
    font-family:'Avenir LT Std', sans-serif;
    display: block;
    text-transform: uppercase;
    font-weight: 350;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 3px;
    color: #326ABB;
    margin-bottom: 18px;
  }
  &.text-white{
    color: #ffffff;
    span{
        color:#8FB3E0;
    }
  }
}
.accent-rule{
  width: 52px;
  height: 2px;
  background: #326ABB;
  border: none;
  opacity: 1;
  margin: 18px 0;
    &.accent-rule-light{
        background: #6d97cf;
    }
}

.property-box{
    background: #00234A;
    border-radius: 6px;
    padding: 50px;
    @media(max-width:992px){
        padding: 30px;
    }
    @media(max-width:575px){
        padding: 20px;
    }
    .details-grid{
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        .details-cell-wrap{
            padding: 0px;
            .details-cell{
                border-right: 1px solid rgba(255, 255, 255, 0.25);
                border-bottom: 1px solid rgba(255, 255, 255, 0.25);
                padding: 24px;
                height: 100%;
                @media(max-width:575px){
                    padding: 15px;
                }
            }
            &:nth-child(even){
                .details-cell{
                    border-right: none;
                }
            }
            @media(min-width:575px){
                &:nth-last-child(-n + 2){
                    .details-cell{
                        border-bottom: none;
                    }
                }
            }
            @media(max-width:575px){
                &:nth-last-child(-n + 1){
                    .details-cell{
                        border-bottom: none;
                    }
                }
                .details-cell{
                    border-right: none;
                }
            }
        }
    }
    .details-label{
        letter-spacing: 3px;
        font-size: 12px;
        color: #8fa8cc;
    }
}

.why-cayman{
    background: #F4F6F8;
    border: 1px solid #E4E7EC;
    border-radius: 5px;
    p{
        margin: 0;
    }
}

.location-section{
    .proximity-list li{
        display:flex;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid #e4e7ec;
        color: #00234A;
        font-weight: 400;
        @media(max-width:575px){
            flex-direction: column;
            .text-muted{
                margin-top: 8px;
            }
        }
    }
    .text-muted{
        color: #8b95a3;
    }
}

.original-scheme{
    table{
        >*{
            font-family:'Avenir LT Std', sans-serif;
        }
        thead th{
            text-transform: uppercase;
            border-bottom: 2px solid #00234A;
            padding: 16px 0px;
            border-top: none;
            font-weight: 400;
            font-size: 12px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #707070;
        }
        tbody td{
            padding: 16px 0;
            border-bottom: 1px solid #e4e7ec;
            color: #464749;
            font-weight: 400;
            vertical-align: middle;
        }
        tfoot td{
            font-weight: 500;
            color: #00234A;
            padding: 16px 0;
            font-size: 22px;
        }
        .total-label{
            color: #00234A;
            font-weight: 700;
            font-size: 1.1rem;
        }
    }
}
.vision-section{
    position: relative;
    .thumbnail-container{
        @media(max-width:767px){
            padding-bottom: 70% !important;
        }
        @media(max-width:480px){
            padding-bottom: 140% !important;
        }
    }
    .vision-banner{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding:50px;
        border-radius: 6px;
        background: linear-gradient(180deg, rgba(0, 18, 31, 0.084) 0%, rgba(0, 18, 31, 0.476) 100%);
        @media(max-width: 991px){
            padding:30px;
        }
        @media(max-width: 575px){
            padding:15px;
        }
        >*{
            color: #fff;
        }
    }
}
.sidebar-sticky{
    position: sticky;
    top: 24px;
}


.agents-card, .contact-card{
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}
.agents-card{
    .img{
        height: 66px;
        width: 66px;
        border-radius: 50%;
        overflow: hidden;
    }
    .agent-title{
        color:#326ABB;
    }
    .agent-row{
        gap: 14px;
        padding: 10px 0;
    }
}
.contact-card{
    input, textarea{
        padding: 13px 14px;
        min-height: 46px;
        background: #FFFFFF;
        border: 1px solid #E4E7EC;
        border-radius: 6px;

    }
}
.btn-wrap{
    
    .btn{
        padding: 9px 20px;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 110%;
        letter-spacing: 1px;
        font-family: 'Avenir LT Std', sans-serif;
        border-radius: 50px !important;
        display: inline-block;
    }
    .btn-primary-pill{
        background: #326ABB;
        color:#fff;
        border: 1.5px solid #326ABB;
        &:hover{
            border: 1.5px solid white;
            background: white;
            color:#326ABB;
        }
    }
    .btn-outline-pill{
        background: transparent;
        color: #326ABB;
        border: 1.5px solid #326ABB;
        &:hover{
            background: #326ABB;
            color:#fff;
        }
    }
}

.investment-summary-modal .modal-dialog { max-width: 460px; margin: 1.75rem auto; }

.investment-summary-modal__dialog {
    position: relative;
    padding: 48px 40px 40px;
    text-align: center;
    background: #28496f !important;
    border-radius: 10px !important;
}
.investment-summary-modal__dialog img{
    max-width: 200px;
    margin: auto;
}
.investment-summary-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.investment-summary-modal__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #b6c2d2;
}

.investment-summary-modal__close span:first-child { transform: rotate(45deg); }
.investment-summary-modal__close span:last-child { transform: rotate(-45deg); }

.investment-summary-modal__logo { display: block; width: 190px; max-width: 75%; height: auto; margin: 0 auto 30px; }

.investment-summary-modal h2 {
    margin: 30px 0 30px;
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
}

.investment-summary-modal__form input {
    display: block;
    width: 100%;
    min-height: 54px;
    margin-bottom: 18px;
    padding: 14px 18px;
    color: #1d2b48;
    background: #f8f9fb;
    border: 1px solid #dfe4ec;
    border-radius: 4px;
    outline: none;
}

.investment-summary-modal__form input::placeholder { color: #91a6ca; opacity: 1; }

.investment-summary-modal__form input:focus {
    border-color: #326abb;
    box-shadow: 0 0 0 3px rgba(50, 106, 187, 0.12);
}

.investment-summary-modal__form button,
.investment-summary-modal__form #investmentSummaryDownloadBtn {
    display: block;
    width: 100%;
    min-height: 54px;
    margin-top: 26px;
    color: #ffffff;
    background: #326abb;
    border: 1px solid #326abb;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 54px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.investment-summary-modal__form button:hover,
.investment-summary-modal__form button:focus-visible,
.investment-summary-modal__form #investmentSummaryDownloadBtn:hover,
.investment-summary-modal__form #investmentSummaryDownloadBtn:focus-visible {
    color: #ffffff;
    background: #285a9f;
    border-color: #285a9f;
    transform: translateY(-1px);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .investment-summary-modal .modal-dialog { margin: 1rem; }

    .investment-summary-modal__dialog {
        padding: 42px 24px 28px;
    }

    .investment-summary-modal__logo { width: 170px; margin-bottom: 24px; }

    .investment-summary-modal h2 {
        font-size: 23px;
        margin-bottom: 24px;
    }
}