/* Floorplan section responsive */
#section-floorplan {
    overflow: hidden;
}

#section-floorplan .floorplan-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
}

#section-floorplan .bg-dark-2 {
    border-radius: 12px;
}

#section-floorplan .relative {
    border-radius: 14px;
    overflow: hidden;
}

#section-floorplan .d-flex {
    flex-wrap: wrap;
}

#section-floorplan h2 {
    line-height: 1.3;
}

#section-floorplan .col-lg-4,
#section-floorplan .col-lg-8 {
    margin-bottom: 20px;
}

/* Site-wide section rhythm responsive */
@media (max-width: 991px) {

    body>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-top),
    #wrapper>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-top),
    body>section.py-5:not(#section-hero),
    #wrapper>section.py-5:not(#section-hero),
    body>section.p-auto,
    #wrapper>section.p-auto {
        padding-top: 72px !important;
    }

    body>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-bottom),
    #wrapper>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-bottom),
    body>section.py-5:not(#section-hero),
    #wrapper>section.py-5:not(#section-hero),
    body>section.p-auto,
    #wrapper>section.p-auto {
        padding-bottom: 72px !important;
    }

    body>section.pb-0,
    #wrapper>section.pb-0,
    body>section.no-bottom,
    #wrapper>section.no-bottom {
        padding-bottom: 0 !important;
    }

    body>section.pt-0,
    #wrapper>section.pt-0,
    body>section.no-top,
    #wrapper>section.no-top {
        padding-top: 0 !important;
    }
}

@media (max-width: 767px) {

    body>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-top),
    #wrapper>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-top),
    body>section.py-5:not(#section-hero),
    #wrapper>section.py-5:not(#section-hero),
    body>section.p-auto,
    #wrapper>section.p-auto {
        padding-top: 60px !important;
    }

    body>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-bottom),
    #wrapper>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-bottom),
    body>section.py-5:not(#section-hero),
    #wrapper>section.py-5:not(#section-hero),
    body>section.p-auto,
    #wrapper>section.p-auto {
        padding-bottom: 60px !important;
    }

    body>section.pb-0,
    #wrapper>section.pb-0,
    body>section.no-bottom,
    #wrapper>section.no-bottom {
        padding-bottom: 0 !important;
    }

    body>section.pt-0,
    #wrapper>section.pt-0,
    body>section.no-top,
    #wrapper>section.no-top {
        padding-top: 0 !important;
    }

    section .row.g-4,
    section .row.gx-5,
    section .row.g-5 {
        row-gap: 24px;
    }
}

@media (max-width: 480px) {

    body>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-top),
    #wrapper>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-top),
    body>section.py-5:not(#section-hero),
    #wrapper>section.py-5:not(#section-hero),
    body>section.p-auto,
    #wrapper>section.p-auto {
        padding-top: 52px !important;
    }

    body>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-bottom),
    #wrapper>section:not(#section-hero):not(.no-padding):not(.p-0):not(.no-bottom),
    body>section.py-5:not(#section-hero),
    #wrapper>section.py-5:not(#section-hero),
    body>section.p-auto,
    #wrapper>section.p-auto {
        padding-bottom: 52px !important;
    }

    body>section.pb-0,
    #wrapper>section.pb-0,
    body>section.no-bottom,
    #wrapper>section.no-bottom {
        padding-bottom: 0 !important;
    }

    body>section.pt-0,
    #wrapper>section.pt-0,
    body>section.no-top,
    #wrapper>section.no-top {
        padding-top: 0 !important;
    }
}

/* Tablet */
@media (max-width: 991px) {
    #section-floorplan .pe-lg-3 {
        padding-right: 0 !important;
        margin-bottom: 30px;
    }

    #section-floorplan .owl-carousel img {
        max-height: 450px;
        object-fit: contain;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #section-floorplan {
        padding: 60px 0;
    }

    #section-floorplan h2 {
        font-size: 30px;
    }

    #section-floorplan p {
        font-size: 15px;
    }

    #section-floorplan .w-60,
    #section-floorplan .w-40 {
        width: 100% !important;
    }

    #section-floorplan .d-flex {
        display: block !important;
    }

    #section-floorplan .owl-carousel img {
        max-height: 300px;
        object-fit: contain;
    }

    #section-floorplan .col-md-3 {
        margin-bottom: 15px;
    }

    #section-floorplan .bg-dark-2.py-4 {
        padding: 20px 15px !important;
    }

    #section-floorplan .w-40px {
        width: 28px !important;
    }
}

/* Tablet and mobile banner buttons - keep in one row */
@media (max-width: 991px) {
    #section-hero .banner-buttons {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    #section-hero .banner-buttons .btn-main {
        width: auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 10px 20px !important;
    }
}

@media (max-width: 767px) {
    #section-hero .banner-buttons {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    #section-hero .banner-buttons .btn-main {
        width: auto !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        padding: 8px 16px !important;
    }
}

/* Blog page hero responsive */
body.blog-page #section-hero {
    min-height: clamp(260px, 50vw, 600px);
    background: #1f2540;
}

body.blog-page #section-hero .jarallax-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

body.blog-page #section-hero .gradient-edge-top,
body.blog-page #section-hero .sw-overlay {
    pointer-events: none;
}

@media (max-width: 1024px) {
    body.blog-page #section-hero {
        min-height: 440px;
    }
}

@media (max-width: 768px) {
    body.blog-page #section-hero {
        min-height: 360px;
    }
}

@media (max-width: 425px) {
    body.blog-page #section-hero {
        min-height: 300px;
    }
}

@media (max-width: 375px) {
    body.blog-page #section-hero {
        min-height: 280px;
    }
}

@media (max-width: 320px) {
    body.blog-page #section-hero {
        min-height: 250px;
    }
}

/* Blog detail page responsive */
body.blog-detail-page #section-hero {
    min-height: 420px;
}

body.blog-detail-page #section-hero .jarallax-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

body.blog-detail-page #section-blog-detail {
    overflow: hidden;
    padding: 90px 0 100px;
}

body.blog-detail-page #section-blog-detail .row {
    align-items: flex-start;
}

body.blog-detail-page #section-blog-detail .col-lg-8 {
    max-width: 760px;
}

body.blog-detail-page #section-blog-detail h2 {
    line-height: 1.15;
    margin-bottom: 18px;
    font-size: clamp(28px, 3.2vw, 44px);
}

body.blog-detail-page #section-blog-detail h4 {
    line-height: 1.25;
    font-size: clamp(20px, 2vw, 28px);
}

body.blog-detail-page #section-blog-detail p,
body.blog-detail-page #section-blog-detail li {
    line-height: 1.85;
    font-size: 18px;
}

body.blog-detail-page #section-blog-detail ul {
    padding-left: 1.2rem;
    margin-bottom: 1.25rem;
}

body.blog-detail-page #section-blog-detail img {
    width: 100%;
    height: auto;
    display: block;
}

body.blog-detail-page #section-blog-detail .col-lg-4 {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.blog-detail-page #section-blog-detail .col-lg-4>div {
    margin-bottom: 0 !important;
}

body.blog-detail-page #section-blog-detail .col-lg-4 a {
    min-height: 240px;
}

@media (max-width: 1024px) {
    body.blog-detail-page #section-hero {
        min-height: 360px;
    }

    body.blog-detail-page #section-blog-detail {
        padding: 75px 0 90px;
    }

    body.blog-detail-page #section-blog-detail .col-lg-8 {
        max-width: 100%;
    }

    body.blog-detail-page #section-blog-detail p,
    body.blog-detail-page #section-blog-detail li {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    body.blog-detail-page #section-hero {
        min-height: 300px;
    }

    body.blog-detail-page #section-blog-detail {
        padding: 62px 0 74px;
    }

    body.blog-detail-page #section-blog-detail h2 {
        font-size: 30px;
    }

    body.blog-detail-page #section-blog-detail h4 {
        font-size: 22px;
    }

    body.blog-detail-page #section-blog-detail .col-lg-4 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    body.blog-detail-page #section-blog-detail .col-lg-4 a {
        min-height: 200px;
    }

    body.blog-detail-page #section-blog-detail .absolute.p-40 {
        padding: 20px !important;
    }
}

@media (max-width: 425px) {
    body.blog-detail-page #section-hero {
        min-height: 250px;
    }

    body.blog-detail-page #section-blog-detail {
        padding: 52px 0 64px;
    }

    body.blog-detail-page #section-blog-detail h2 {
        font-size: 26px;
    }

    body.blog-detail-page #section-blog-detail h4 {
        font-size: 20px;
    }

    body.blog-detail-page #section-blog-detail p,
    body.blog-detail-page #section-blog-detail li {
        font-size: 16px;
        line-height: 1.75;
    }

    body.blog-detail-page #section-blog-detail .col-lg-4 {
        grid-template-columns: 1fr;
    }

    body.blog-detail-page #section-blog-detail .col-lg-4 a {
        min-height: 180px;
    }
}

@media (max-width: 375px) {
    body.blog-detail-page #section-hero {
        min-height: 220px;
    }

    body.blog-detail-page #section-blog-detail {
        padding: 46px 0 58px;
    }

    body.blog-detail-page #section-blog-detail h2 {
        font-size: 24px;
    }

    body.blog-detail-page #section-blog-detail .absolute.p-40 {
        padding: 16px !important;
    }
}

@media (max-width: 320px) {
    body.blog-detail-page #section-hero {
        min-height: 200px;
    }

    body.blog-detail-page #section-blog-detail {
        padding: 40px 0 52px;
    }

    body.blog-detail-page #section-blog-detail h2 {
        font-size: 22px;
    }

    body.blog-detail-page #section-blog-detail p,
    body.blog-detail-page #section-blog-detail li {
        font-size: 15px;
    }
}

@media (min-width: 1440px) {
    body.blog-detail-page #section-hero {
        min-height: 520px;
    }

    body.blog-detail-page #section-blog-detail {
        padding: 110px 0 120px;
    }

    body.blog-detail-page #section-blog-detail .col-lg-8 {
        max-width: 800px;
    }
}

/* Core Values section responsive */
#section-facilities {
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(92px, 8vw, 132px);
}

#section-facilities .container {
    max-width: 1100px;
}

#section-facilities .core-values-grid {
    align-items: stretch;
    row-gap: 24px;
}

#section-facilities .core-value-card {
    display: flex;
}

#section-facilities .core-value-card>div {
    width: 100%;
    padding: 28px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
    border: 1px solid rgba(31, 42, 68, 0.08);
    box-shadow: 0 14px 34px rgba(31, 42, 68, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#section-facilities .core-value-card>div:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(31, 42, 68, 0.12);
}

#section-facilities .icon-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    -webkit-perspective: 900px;
    perspective: 900px;
}

#section-facilities .icon-inner {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

#section-facilities .icon-outer:hover .icon-inner {
    -webkit-animation: coreValueIconFlip 0.7s ease both;
    animation: coreValueIconFlip 0.7s ease both;
}

#section-facilities .icon-front,
#section-facilities .icon-back {
    border-radius: 50%;
    background: rgba(176, 126, 80, 0.08);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

#section-facilities .icon-front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

#section-facilities .icon-back {
    display: flex;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

#section-facilities .icon-front img,
#section-facilities .icon-back img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes coreValueIconFlip {
    0% {
        -webkit-transform: rotateY(0deg) translateZ(0);
        transform: rotateY(0deg) translateZ(0);
    }

    50% {
        -webkit-transform: rotateY(180deg) translateZ(0);
        transform: rotateY(180deg) translateZ(0);
    }

    100% {
        -webkit-transform: rotateY(360deg) translateZ(0);
        transform: rotateY(360deg) translateZ(0);
    }
}

@keyframes coreValueIconFlip {
    0% {
        -webkit-transform: rotateY(0deg) translateZ(0);
        transform: rotateY(0deg) translateZ(0);
    }

    50% {
        -webkit-transform: rotateY(180deg) translateZ(0);
        transform: rotateY(180deg) translateZ(0);
    }

    100% {
        -webkit-transform: rotateY(360deg) translateZ(0);
        transform: rotateY(360deg) translateZ(0);
    }
}

#section-facilities .icon-front img,
#section-facilities .icon-back img {
    width: 64px;
    height: auto;
}

#section-facilities .icon-outer h4 {
    margin-top: 0%;
    margin-bottom: 0%;
    color: #9b7026;
    font-size: 23px;
    letter-spacing: 0.06em;
}

#section-facilities .icon-outer p {
    margin-bottom: 0;
    color: #566171;
    line-height: 1.8;
}

body.about-page .about-founders-section {
    position: relative;
    z-index: 1;
    clear: both;
    padding-top: clamp(64px, 6vw, 96px) !important;
}

/* Core Team section - flex layout for dynamic centering */
.about-founders-section .core-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-founders-section .core-team-card {
    flex: 0 0 calc(20% - 20px);
    min-width: 160px;
    max-width: 220px;
}

.about-founders-section .core-team-card {
    text-align: center;
}

.about-founders-section .core-team-img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Image zoom + grayscale lift on hover */
.about-founders-section .core-team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: grayscale(20%);
}

.about-founders-section .core-team-img-wrapper:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Gold border glow on image hover */
.about-founders-section .core-team-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.about-founders-section .core-team-img-wrapper:hover::after {
    border-color: rgba(200, 149, 81, 0.55);
}

/* Gold shimmer sweep on image hover */
@keyframes teamImageShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.about-founders-section .core-team-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            transparent 30%,
            rgba(200, 149, 81, 0.08) 45%,
            rgba(200, 149, 81, 0.18) 50%,
            rgba(200, 149, 81, 0.08) 55%,
            transparent 70%);
    background-size: 200% 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 12px;
}

.about-founders-section .core-team-img-wrapper:hover::before {
    opacity: 1;
    animation: teamImageShimmer 1.2s ease-in-out;
}

.about-founders-section .core-team-card h4 {
    font-size: 16px;
    letter-spacing: 0.02em;
    margin-top: 8px;
}

.about-founders-section .core-team-card p {
    font-size: 13px;
}

@media (max-width: 1199px) {
    .about-founders-section .core-team-card {
        flex: 0 0 calc(20% - 20px);
        min-width: 150px;
        max-width: 200px;
    }
}

@media (max-width: 991px) {
    .about-founders-section .core-team-card {
        flex: 0 0 calc(33.33% - 16px);
        min-width: 170px;
        max-width: 220px;
    }

    .about-founders-section .core-team-img-wrapper {
        height: 260px;
    }
}

@media (max-width: 767px) {
    .about-founders-section .core-team-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
        max-width: 200px;
    }

    .about-founders-section .core-team-img-wrapper {
        height: 240px;
    }

    .about-founders-section .core-team-card h4 {
        font-size: 15px;
    }

    .about-founders-section .core-team-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .about-founders-section .core-team-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 130px;
        max-width: 180px;
    }

    .about-founders-section .core-team-img-wrapper {
        height: 220px;
    }

    .about-founders-section .core-team-grid {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    #section-facilities .row.gx-5 {
        --bs-gutter-x: 1.25rem;
    }

    #section-facilities {
        padding-bottom: 92px;
    }

    #section-facilities .core-value-card>div {
        min-height: 260px;
        padding: 24px 20px;
    }

    #section-facilities .icon-inner {
        flex-basis: 88px;
        width: 88px;
        height: 88px;
    }

    #section-facilities .icon-front img,
    #section-facilities .icon-back img {
        width: 58px;
    }

    #section-facilities .icon-outer h4 {
        font-size: 18px;
    }

    #section-facilities .icon-outer p {
        font-size: 14px;
        line-height: 1.75;
    }
}

/* Tablet-specific (around 786px) */
@media (min-width: 768px) and (max-width: 820px) {
    #section-facilities .core-values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    #section-facilities .core-value-card {
        width: 100%;
    }

    #section-facilities .core-value-card>div {
        min-height: auto;
        padding: 22px 18px;
        border-radius: 16px;
    }

    #section-facilities .icon-inner {
        width: 78px;
        height: 78px;
    }

    #section-facilities .icon-front img,
    #section-facilities .icon-back img {
        width: 50px;
    }

    #section-facilities .icon-outer {
        gap: 12px;
    }

    #section-facilities .icon-outer h4 {
        font-size: 17px;
        letter-spacing: 0.04em;
    }

    #section-facilities .icon-outer p {
        font-size: 13px;
        line-height: 1.7;
        padding: 0 4px;
    }

    #section-facilities .row.gx-5 {
        --bs-gutter-x: 0.75rem;
    }

    #section-facilities {
        padding-bottom: 82px;
    }
}

@media (max-width: 767px) {
    #section-facilities .row.gx-5 {
        --bs-gutter-x: 1rem;
    }

    #section-facilities .core-value-card {
        margin-bottom: 0;
    }

    #section-facilities .core-value-card>div {
        min-height: 238px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    #section-facilities .icon-outer {
        gap: 12px;
    }

    #section-facilities .icon-inner {
        flex-basis: 84px;
        width: 84px;
        height: 84px;
    }

    #section-facilities .icon-front img,
    #section-facilities .icon-back img {
        width: 54px;
    }

    #section-facilities .icon-outer h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    #section-facilities .icon-outer p {
        font-size: 13px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    #section-facilities {
        padding: 50px 0 70px;
    }

    #section-facilities .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    #section-facilities .core-value-card>div {
        min-height: 226px;
        padding: 20px 16px;
    }

    #section-facilities .icon-inner {
        flex-basis: 78px;
        width: 78px;
        height: 78px;
    }

    #section-facilities .icon-front img,
    #section-facilities .icon-back img {
        width: 48px;
    }

    #section-facilities .icon-outer h4 {
        font-size: 15px;
        letter-spacing: 0.04em;
    }

    #section-facilities .icon-outer p {
        font-size: 13px;
        line-height: 1.65;
    }
}

@media (max-width: 360px) {
    #section-facilities .core-value-card>div {
        min-height: 218px;
        padding: 18px 14px;
    }

    #section-facilities .icon-inner {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    #section-facilities .icon-front img,
    #section-facilities .icon-back img {
        width: 44px;
    }

    #section-facilities .icon-outer h4 {
        font-size: 14px;
    }

    #section-facilities .icon-outer p {
        font-size: 12px;
    }
}

/* Index count section responsive */
@media (max-width: 1199px) {
    #section-count.luxury-counter-section {
        padding-top: 80px !important;
        padding-bottom: 70px !important;
    }

    #section-count .de_count h3 {
        font-size: 48px;
        line-height: 1.05;
    }

    #section-count .icon-outer {
        padding-left: 0;
        padding-right: 0;
    }

    #section-count .icon-inner {
        width: 64px;
        height: 64px;
    }

    #section-count .icon-front img,
    #section-count .icon-back img {
        width: 32px;
    }
}

@media (max-width: 991px) {
    #section-count.luxury-counter-section {
        padding-top: 72px !important;
        padding-bottom: 62px !important;
    }

    #section-count .row {
        row-gap: 20px;
    }

    #section-count .luxury-counter-heading {
        margin-bottom: 34px;
    }

    #section-count .luxury-counter-heading h2 {
        font-size: 32px;
    }

    #section-count .luxury-counter-card {
        padding: 28px 20px 26px;
    }

    #section-count .de_count h3 {
        font-size: 42px;
    }

    #section-count .de_count div {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 767px) {
    #section-count.luxury-counter-section {
        padding-top: 64px !important;
        padding-bottom: 56px !important;
    }

    #section-count .col-sm-6 {
        margin-bottom: 0 !important;
    }

    #section-count .icon-outer {
        padding: 0;
    }

    #section-count .icon-inner {
        width: 60px;
        height: 60px;
        margin: 0 auto 18px;
    }

    #section-count .icon-front img,
    #section-count .icon-back img {
        width: 30px;
    }
}

@media (max-width: 480px) {
    #section-count.luxury-counter-section {
        padding-top: 56px !important;
        padding-bottom: 48px !important;
    }

    #section-count .luxury-counter-heading h2 {
        font-size: 26px;
    }

    #section-count .luxury-counter-card {
        padding: 24px 16px 22px;
    }

    #section-count .de_count h3 {
        font-size: 36px;
    }

    #section-count .de_count div {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    #section-count.luxury-counter-section {
        padding-top: 48px !important;
        padding-bottom: 42px !important;
    }

    #section-count .luxury-counter-heading h2 {
        font-size: 22px;
    }

    #section-count .de_count h3 {
        font-size: 32px;
    }
}

/* ================================================== */
/* INVESTORS PAGE RESPONSIVE STYLES */
/* ================================================== */
/* ============================================= */
/*  HOME BANNER / SECTION-HERO RESPONSIVE FIXES */
/* ============================================= */

/* Fix carousel image cropping on all devices */
#section-hero .carousel-item {
    position: relative;
    overflow: hidden;
}

#section-hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 13, 24, 0) 0%,
            rgba(10, 13, 24, 0) 50%,
            rgba(10, 13, 24, 0.20) 60%,
            rgba(0, 0, 0, 0.50) 75%,
            rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

#section-hero .carousel-item img.d-block.w-100 {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center center;
}


/* #section-hero .carousel-item .abs.w-80.bottom-10 {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
    padding: 0 20px;
} */

/* Text shadow for banner readability */
#section-hero .carousel-item h1 {
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.35), 0 2px 12px rgba(0, 0, 0, 0.22);
}

#section-hero .carousel-item h3,
#section-hero .carousel-item .banner-subtitle {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32), 0 1px 8px rgba(0, 0, 0, 0.18);
}

/* Banner subtitle */
#section-hero .carousel-item .banner-subtitle {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Banner buttons wrapper */
#section-hero .carousel-item .banner-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Schedule a Visit button - solid background, not transparent */
#section-hero .carousel-item a.btn-line {
    background: #1e243c !important;
    border: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    #section-hero .carousel-item img.d-block.w-100 {
        height: 80vh;
        min-height: 500px;
    }

    /* #section-hero .carousel-item .abs.w-80.bottom-10 {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        padding: 0 30px;
        width: 100%;
    } */

    #section-hero .carousel-item h1 {
        font-size: clamp(38px, 7vw, 38px);
    }

    #section-hero .carousel-item h3 {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #section-hero .carousel-item img.d-block.w-100 {
        height: 100vh;
        min-height: 520px;
        object-position: center center;
    }

    /* 
    #section-hero .carousel-item .abs.w-80.bottom-10 {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        padding: 0 20px;
        width: 100%;
    } */

    #section-hero .carousel-item h1 {
        font-size: clamp(28px, 9vw, 28px) !important;
        margin-bottom: 10px;
    }

    #section-hero .carousel-item h3 {
        font-size: 16px !important;
        margin-bottom: 16px;
    }

    #section-hero .carousel-item .btn-main {
        font-size: 11px !important;
        padding: 4px 16px !important;
        letter-spacing: 1px !important;
    }

    #section-hero .carousel-item a.btn-main+a.btn-main {
        margin-left: 8px;
    }

    #section-hero .carousel-item .fx-slide span {
        font-size: 11px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    #section-hero .carousel-item img.d-block.w-100 {
        height: 100vh;
        min-height: 480px;
    }

    /* #section-hero .carousel-item .abs.w-80.bottom-10 {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        padding: 0 16px;
        width: 100%;
    } */

    #section-hero .carousel-item h1 {
        font-size: 26px !important;
    }

    #section-hero .carousel-item h3 {
        font-size: 14px !important;
        margin-bottom: 12px;
    }

    #section-hero .carousel-item .btn-main {
        font-size: 10px !important;
        padding: 3px 12px !important;
    }

    #section-hero .carousel-item a.btn-main+a.btn-main {
        margin-left: 6px;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    #section-hero .carousel-item img.d-block.w-100 {
        min-height: 420px;
    }

    .bottom-10 {
        bottom: 20%;
    }

    /* #section-hero .carousel-item .abs.w-80.bottom-10 {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        padding: 0 12px;
        width: 100%;
    } */

    #section-hero .carousel-item h1 {
        font-size: 22px !important;
    }

    #section-hero .carousel-item h3 {
        font-size: 13px !important;
    }
}

/* Committee Section - Enhanced Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .committee-section {
        padding: 50px 0 30px;
    }

    .committees-row {
        gap: 16px;
    }

    .committee-card {
        flex: 1 1 280px;
    }

    .committee-card-header {
        padding: 16px 18px 14px;
    }

    .committee-card-header h4 {
        font-size: 13px;
    }

    .committee-card-header i {
        font-size: 22px;
    }

    .committee-member {
        padding: 10px 18px;
    }

    .committee-member .member-name {
        font-size: 13px;
    }

    .committee-member .member-role {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .committee-section {
        padding: 40px 0 25px;
    }

    .committees-row {
        flex-direction: column;
        gap: 14px;
    }

    .committee-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .committee-card-header {
        padding: 14px 16px 12px;
    }

    .committee-card-header h4 {
        font-size: 13px;
    }

    .committee-card-header i {
        font-size: 20px;
    }

    .committee-member {
        padding: 10px 16px;
    }

    .committee-member .member-name {
        font-size: 13px;
    }

    .committee-member .member-role {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .committee-section {
        padding: 32px 0 20px;
    }

    .committees-row {
        gap: 12px;
    }

    .committee-card-header {
        padding: 12px 14px 10px;
    }

    .committee-card-header h4 {
        font-size: 12px;
    }

    .committee-card-header i {
        font-size: 18px;
    }

    .committee-member {
        padding: 8px 14px;
    }

    .committee-member .member-name {
        font-size: 12px;
    }

    .committee-member .member-role {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .committee-section {
        padding: 28px 0 18px;
    }

    .committee-card-header {
        padding: 10px 12px 8px;
    }

    .committee-card-header h4 {
        font-size: 11px;
    }

    .committee-card-header i {
        font-size: 16px;
    }

    .committee-member {
        padding: 8px 12px;
    }

    .committee-member .member-name {
        font-size: 11px;
    }

    .committee-member .member-role {
        font-size: 9px;
    }
}

/* Investors Section - Desktop (1440px and above) */
@media (min-width: 1440px) {
    .investors-section {
        padding: 50px 0 70px;
    }

    .investors-section .section-title h2 {
        font-size: 32px;
    }

    .investors-section .section-title p {
        font-size: 16px;
    }

    .investors-section .nav-tabs .nav-link {
        padding: 12px 20px;
        font-size: 13px;
    }

    .investors-section .nav-tabs .nav-link i {
        margin-right: 6px;
        font-size: 12px;
    }

    .investors-section .tab-content {
        padding: 30px 24px;
    }

    /* TAB WRAPPING - all tabs visible without scrolling */
    .investors-section .nav-tabs {
        overflow-x: visible;
    }

    .investors-section .pane-header .pane-count {
        margin-left: auto;
        white-space: nowrap;
    }

    /* Desktop document row layout: title → description → period → PDF download */
    .doc-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 16px;
        align-items: start;
        padding: 18px 20px;
    }

    /* Icon in first column, spans both rows */
    .doc-row .doc-row-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Title in second column, first row */
    .doc-row .doc-row-body {
        grid-column: 2;
        grid-row: 1;
    }

    /* Description in second column, second row */
    .doc-row .doc-row-desc {
        grid-column: 2;
        grid-row: 2;
    }

    .doc-row .doc-row-desc p {
        margin: 0;
    }

    /* Meta (period + PDF) in third column, first row */
    .doc-row .doc-row-meta {
        grid-column: 3;
        grid-row: 1;
    }

    .doc-row .doc-row-meta .meta-item {
        padding: 3px 8px;
    }

    /* Download button in third column, second row */
    .doc-row .doc-row-action {
        grid-column: 3;
        grid-row: 2;
    }

    /* Year accordion on desktop */
    .year-accordion-btn {
        padding: 16px 20px;
    }

    .year-accordion-btn .year-label {
        font-size: 16px;
    }

    .year-accordion-btn .year-count {
        font-size: 13px;
    }
}

/* Investors Section - Tablet/Laptop (768px to 1439px) */
@media (min-width: 768px) and (max-width: 1439px) {
    .investors-section {
        padding: 46px 0 62px;
    }

    .investors-section .section-title h2 {
        font-size: 30px;
    }

    .investors-section .section-title p {
        font-size: 15px;
    }

    .investors-section .nav-tabs .nav-link {
        padding: 11px 18px;
        font-size: 13px;
    }

    .investors-section .nav-tabs .nav-link i {
        margin-right: 5px;
        font-size: 12px;
    }

    .investors-section .tab-content {
        padding: 26px 20px;
    }

    /* TAB WRAPPING - all tabs visible without scrolling */
    .investors-section .nav-tabs {
        overflow-x: visible;
    }

    .investors-section .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    .investors-section .pane-header {
        flex-wrap: wrap;
    }

    .investors-section .pane-header .pane-icon {
        width: 44px;
    }

    .investors-section .pane-header .pane-text h3 {
        font-size: 19px;
    }

    .investors-section .pane-header .pane-text p {
        font-size: 13px;
    }

    .investors-section .pane-header .pane-count {
        margin-left: auto;
    }

    /* Tablet/Laptop document rows - wrapped layout */
    .doc-row {
        flex-wrap: wrap;
    }

    .doc-row .doc-row-icon {
        width: 36px;
    }

    .doc-row .doc-row-body {
        order: 1;
    }

    .doc-row .doc-row-body h4 {
        font-size: 14px;
    }

    .doc-row .doc-row-desc {
        order: 2;
    }

    .doc-row .doc-row-desc p {
        font-size: 12px;
    }

    .doc-row .doc-row-meta {
        order: 2;
    }

    .doc-row .doc-row-meta .meta-item {
        font-size: 11px;
    }

    .doc-row .doc-row-meta .meta-item i {
        font-size: 10px;
    }

    .doc-row .doc-row-action {
        order: 2;
    }

    .doc-row .doc-row-action a {
        width: 34px;
    }

    .doc-row:hover {
        transform: none;
    }

    /* Committee cards */
    .committee-card {
        border-radius: 8px;
    }

    .committee-card-header {
        padding: 14px 20px;
    }

    .committee-card-header i {
        font-size: 20px;
    }

    .committee-card-header h4 {
        font-size: 16px;
    }

    /* Year accordion on tablet */
    .year-accordion-btn {
        padding: 14px 18px;
    }

    .year-accordion-btn .year-label {
        font-size: 15px;
    }

    .year-accordion-btn .year-label i {
        font-size: 18px;
    }

    .year-accordion-btn .year-count {
        font-size: 12px;
    }
}

/* Investors Section - Mobile (<767px) */
@media (max-width: 767px) {
    .investors-section {
        padding: 36px 0 56px;
    }

    .investors-section .subtitle.s2 {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .investors-section .section-title h2 {
        font-size: 26px;
    }

    .investors-section .section-title p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* TAB WRAPPING - all tabs visible without scrolling */
    .investors-section .nav-tabs {
        overflow-x: visible;
    }

    .investors-section .nav-tabs .nav-item {
        display: inline-block;
    }

    .investors-section .nav-tabs .nav-link {
        padding: 10px 14px;
    }

    .investors-section .nav-tabs .nav-link i {
        margin-right: 5px;
    }

    .investors-section .tab-content {
        padding: 20px 14px;
        border-radius: 0 0 12px 12px;
    }

    /* Pane header */
    .investors-section .pane-header {
        flex-wrap: wrap;
    }

    .investors-section .pane-header .pane-icon {
        width: 40px;
    }

    .investors-section .pane-header .pane-text h3 {
        font-size: 17px;
    }

    .investors-section .pane-header .pane-text p {
        font-size: 13px;
    }

    .investors-section .pane-header .pane-count {
        margin-left: auto;
    }

    /* Document rows - reorder for mobile: icon+title → meta+download → description */
    .doc-row {
        flex-wrap: wrap;
    }

    .doc-row .doc-row-icon {
        width: 34px;
    }

    .doc-row .doc-row-body {
        order: 1;
    }

    .doc-row .doc-row-body h4 {
        font-size: 14px;
    }

    .doc-row .doc-row-desc {
        order: 2;
    }

    .doc-row .doc-row-desc p {
        font-size: 12px;
    }

    .doc-row .doc-row-meta {
        order: 2;
    }

    .doc-row .doc-row-meta .meta-item {
        font-size: 10px;
    }

    .doc-row .doc-row-meta .meta-item i {
        font-size: 10px;
    }

    .doc-row .doc-row-action {
        order: 2;
    }

    .doc-row .doc-row-action a {
        width: 32px;
    }

    .doc-row:hover {
        transform: none;
    }

    /* Empty state mobile */
    .empty-state {
        padding: 40px 16px;
    }

    .empty-state .empty-icon {
        font-size: 38px;
    }

    .empty-state h4 {
        font-size: 16px;
    }

    .empty-state p {
        font-size: 13px;
    }

    /* Year accordion mobile */
    .year-accordion-btn {
        padding: 14px 16px;
    }

    .year-accordion-btn .year-label {
        font-size: 14px;
    }

    .year-accordion-btn .year-label i {
        font-size: 16px;
    }

    .year-accordion-btn .year-count {
        font-size: 12px;
    }

    .year-accordion-btn .year-chevron {
        font-size: 12px;
    }
}

/* Investors Section - Small Mobile (480px) */
@media (max-width: 480px) {
    .investors-section {
        padding: 30px 0 48px;
    }

    .investors-section .section-title h2 {
        font-size: 22px;
    }

    .investors-section .section-title p {
        font-size: 13px;
    }

    .investors-section .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .investors-section .nav-tabs .nav-link i {
        margin-right: 4px;
        font-size: 11px;
    }

    .investors-section .tab-content {
        padding: 16px 12px;
    }

    .investors-section .pane-header .pane-icon {
        width: 36px;
    }

    .investors-section .pane-header .pane-text h3 {
        font-size: 15px;
    }

    .investors-section .pane-header .pane-text p {
        font-size: 12px;
    }

    .investors-section .pane-header .pane-count {
        font-size: 11px;
    }

    .doc-row {
        padding: 10px 12px;
        gap: 8px;
    }

    .doc-row .doc-row-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .doc-row .doc-row-body h4 {
        font-size: 13px;
    }

    .doc-row .doc-row-body p {
        font-size: 11px;
    }

    .doc-row .doc-row-meta .meta-item {
        font-size: 9px;
        padding: 2px 6px;
    }

    .doc-row .doc-row-action a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    /* Empty state small mobile */
    .empty-state {
        padding: 30px 12px;
    }

    .empty-state .empty-icon {
        font-size: 32px;
    }

    .empty-state h4 {
        font-size: 15px;
    }

    .empty-state p {
        font-size: 12px;
    }

    /* Year accordion small mobile */
    .year-accordion-btn {
        padding: 12px 14px;
    }

    .year-accordion-btn .year-label {
        font-size: 13px;
    }

    .year-accordion-btn .year-label i {
        font-size: 14px;
    }

    .year-accordion-btn .year-count {
        font-size: 11px;
    }
}

/* Investors Section - Extra Small Mobile (360px) */
@media (max-width: 360px) {
    .investors-section {
        padding: 24px 0 40px;
    }

    .investors-section .section-title h2 {
        font-size: 20px;
    }

    .investors-section .section-title p {
        font-size: 12px;
    }

    .investors-section .nav-tabs .nav-link {
        padding: 6px 10px;
        font-size: 11px;
    }

    .investors-section .nav-tabs .nav-link i {
        display: none;
    }

    .investors-section .tab-content {
        padding: 14px 10px;
    }

    .investors-section .pane-header .pane-icon {
        width: 32px;
    }

    .investors-section .pane-header .pane-text h3 {
        font-size: 14px;
    }

    .investors-section .pane-header .pane-text p {
        font-size: 11px;
    }

    .doc-row {
        padding: 8px 10px;
    }

    .doc-row .doc-row-icon {
        display: none;
    }

    .doc-row .doc-row-body h4 {
        font-size: 12px;
    }

    .doc-row .doc-row-body p {
        font-size: 10px;
    }

    .doc-row .doc-row-meta .meta-item {
        font-size: 8px;
        padding: 2px 5px;
    }

    .doc-row .doc-row-action a {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    /* Empty state extra small */
    .empty-state {
        padding: 24px 10px;
    }

    .empty-state .empty-icon {
        font-size: 28px;
    }

    .empty-state h4 {
        font-size: 14px;
    }

    .empty-state p {
        font-size: 11px;
    }

    /* Year accordion extra small */
    .year-accordion-btn {
        padding: 10px 12px;
    }

    .year-accordion-btn .year-label {
        font-size: 12px;
    }

    .year-accordion-btn .year-count {
        font-size: 10px;
    }
}

/* Mobile doc-row-single responsive */
@media (max-width: 767px) {
    .doc-row-single {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 16px;
    }

    .doc-row-single .doc-row-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .doc-row-single .doc-row-body {
        order: 1;
        flex: 1 1 calc(100% - 42px);
    }

    .doc-row-single .doc-row-body h4 {
        font-size: 13px;
    }

    .doc-row-single .doc-row-desc {
        order: 3;
        flex: 1 1 100%;
    }

    .doc-row-single .doc-row-desc p {
        font-size: 11px;
    }

    .doc-row-single .doc-row-meta {
        order: 2;
    }

    .doc-row-single .doc-row-meta .meta-item {
        font-size: 10px;
    }

    .doc-row-single .doc-row-meta .meta-item i {
        font-size: 9px;
    }

    .doc-row-single .doc-row-action {
        order: 2;
    }

    .doc-row-single .doc-row-action a {
        width: 30px;
        height: 30px;
    }

    .doc-row-single:hover {
        transform: none;
    }
}

/* Small mobile (480px) - doc-row-single compact */
@media (max-width: 480px) {
    .doc-row-single {
        padding: 10px 12px;
        gap: 8px;
    }

    .doc-row-single .doc-row-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .doc-row-single .doc-row-body h4 {
        font-size: 12px;
    }

    .doc-row-single .doc-row-body p {
        font-size: 11px;
    }

    .doc-row-single .doc-row-meta .meta-item {
        font-size: 9px;
        padding: 2px 6px;
    }

    .doc-row-single .doc-row-action a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* Override investors tablet rule for homepage hero banner buttons */
@media (min-width: 768px) and (max-width: 991px) {
    #section-hero .banner-buttons {
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    #section-hero .banner-buttons .btn-main {
        width: auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 10px 20px !important;
    }
}

/* Footer responsive */
@media (max-width: 991px) {
    footer .d-flex {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    footer .row.g-4>[class*="col-"] {
        margin-bottom: 1.5rem;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .investors-section {
        padding: 42px 0 58px;
    }

    .investors-section .section-title h2 {
        font-size: 28px;
    }

    .investors-section .section-title p {
        font-size: 14px;
    }

    .investors-section .nav-tabs .nav-link {
        padding: 10px 16px;
        font-size: 12px;
    }

    .investors-section .nav-tabs .nav-link i {
        margin-right: 4px;
        font-size: 11px;
    }

    .investors-section .tab-content {
        padding: 22px 18px;
    }

    .investors-section .pane-header .pane-icon {
        width: 42px;
    }

    .investors-section .pane-header .pane-text h3 {
        font-size: 18px;
    }

    .investors-section .pane-header .pane-text p {
        font-size: 12px;
    }

    .doc-row {
        padding: 14px 16px;
    }

    .doc-row .doc-row-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .doc-row .doc-row-body h4 {
        font-size: 13px;
    }

    .doc-row .doc-row-body p {
        font-size: 11px;
    }

    .doc-row .doc-row-meta .meta-item {
        font-size: 10px;
    }

    .doc-row .doc-row-action a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* Year accordion tablet */
    .year-accordion-btn {
        padding: 14px 16px;
    }

    .year-accordion-btn .year-label {
        font-size: 14px;
    }

    .year-accordion-btn .year-label i {
        font-size: 16px;
    }

    .year-accordion-btn .year-count {
        font-size: 11px;
    }
}

/* ================================================
   About / Vision / Mission — MOBILE & TABLET ONLY
   Desktop layout (≥992px) is completely untouched.
   ================================================ */
@media (max-width: 991px) {

    /* ---------- About Us ---------- */
    .about-us-row {
        display: flex;
        flex-direction: column;
    }

    .about-us-text-col {
        display: contents;
    }

    /* .about-us-subtitle, */
    .about-us-title,
    .about-us-desc {
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    /* .about-us-subtitle   { order: 1; width: 100%; } */
    .about-us-title {
        order: 2;
        width: 100%;
    }

    .about-us-images-col {
        order: 3;
        width: 100% !important;
    }

    .about-us-desc {
        order: 4;
        width: 100%;
    }

    /* ---------- Our Vision ---------- */
    .vision-row {
        display: flex;
        flex-direction: column;
    }

    .vision-text-col,
    .vision-inner {
        display: contents;
    }

    /* .vision-subtitle, */
    .vision-desc {
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    /* .vision-subtitle    { order: 1; width: 100%; } */
    .vision-images-col {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    .vision-desc {
        order: 3;
        width: 100%;
    }

    /* ---------- Our Mission ---------- */
    .mission-row {
        display: flex;
        flex-direction: column;
    }

    .mission-text-col,
    .mission-inner {
        display: contents;
    }

    /* .mission-subtitle, */
    .mission-title,
    .mission-desc {
        padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    /* .mission-subtitle   { order: 1; width: 100%; } */
    .mission-title {
        order: 2;
        width: 100%;
    }

    .mission-images-col {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    .mission-desc {
        order: 4;
        width: 100%;
    }

    /* ---------- Keep the two images side-by-side
       in a row for ALL THREE sections, at every
       mobile/tablet width ---------- */
    .about-us-images-col .row.g-4>.col-sm-6,
    .vision-images-col .row.g-4>.col-sm-6,
    .mission-images-col .row.g-4>.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 991px) {

    /* Force the vision/mission image wrapper back to a normal,
       full-width block — beats .left-half / .position-lg-absolute
       even if they're unscoped in the theme CSS */
    .vision-images-col.position-lg-absolute.left-half,
    .mission-images-col.position-lg-absolute.left-half {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        height: auto !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    /* Force the inner Bootstrap row to stay in one line,
       never wrap the two image columns onto separate rows */
    .vision-images-col .row.g-4,
    .mission-images-col .row.g-4,
    .about-us-images-col .row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .vision-images-col .row.g-4>.col-sm-6,
    .mission-images-col .row.g-4>.col-sm-6,
    .about-us-images-col .row.g-4>.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 991px) {

    /* Scoped through the dark section wrapper so it beats
       any .section-dark / .bg-dark specific rules */
    section.bg-dark.section-dark .vision-images-col.position-lg-absolute.left-half {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        height: auto !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    section.bg-dark.section-dark .vision-images-col>.row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        /* margin: 0 !important; */
    }

    section.bg-dark.section-dark .vision-images-col>.row.g-4>.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 991px) {
    section.bg-dark.section-dark .container .vision-images-col.position-lg-absolute.left-half {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        height: auto !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    section.bg-dark.section-dark .container .vision-images-col .row.g-4 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        /* width: 100% !important;
        margin: 0 !important; */
    }

    section.bg-dark.section-dark .container .vision-images-col .row.g-4>.col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}