:root {
    --overlay-color: rgba(0, 0, 0, 0.45);
    --accent: #ff6b6b;
    --accent-2: #ff9a6b;
    /* --text: #ffffff; */
    /* --max-width: 1200px; */
    --container-padding: 1.25rem;
    --radius: 12px;
    --transition: 180ms ease;
    --banner-height-mobile: 48vh;
    --banner-height-desktop: 60vh;
}

/* Reset-ish (minimal) */
* {
    box-sizing: border-box
}

p {
    line-height: 1.5;
    font-size: 24px;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

/* Hide scrollbar for webkit browsers */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
html {
    scrollbar-width: none;
}

body {
    margin: 0;
    font-family: serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f6f7fb;
    color: #0b1220;
    line-height: 1.35;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 3rem 5rem;
    transition: background-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), border-color var(--transition);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar--solid {
    background: rgba(10, 12, 20, 0.65);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    padding: 20px;
}

.navbar--solid .nav-menu li a {

    background: #ffffff;
    color: #0b1220;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all var(--transition);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition);
    color: #ffffff;
    background: #142B85;
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}



.nav-menu a:hover,
.nav-menu a:focus {
    transform: translateY(-2px);
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    color: #142B85;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        width: 250px;
        padding: 2rem 1rem;
        gap: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
    }

    .nav-menu--active {
        right: 1rem;
    }

    .nav-menu a {
        width: 100%;
        text-align: left;
        padding: 1rem;
    }
}

/* Banner */
.banner {
    position: relative;
    display: grid;
    place-items: center;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    max-width: none;
    padding: 0;
}

/* Background image as an absolutely positioned element for easier overlay control */
.banner__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    transform-origin: center;
    will-change: transform;
    transition: transform 10s linear;
    /* subtle parallax-ish drift */
}

/* Slight zoom animation for subtle motion */
.banner:hover .banner__bg,
.banner:focus-within .banner__bg {
    transform: scale(1.03);
}

/* overlay to improve contrast */
.banner__overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.48)); */
    z-index: 1;
}

/* Banner logo/icon in top left */
.banner__logo {
    position: absolute;
    top: 1.5rem;
    left: 5rem;
    padding: 0 5rem;
    z-index: 3;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition);
}

.banner__logo:hover {
    transform: scale(1.1);
}

.banner__logo img {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
    object-fit: contain;
}

/* Content wrapper */
.banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--container-padding);
    display: grid;
    gap: 1rem;
    align-items: center;
    justify-items: start;
    max-width: calc(var(--max-width) - 2rem);
    margin: 0 auto;
    color: #240958;
}

/* Removed unused .banner--with-card variant */

.kicker {
    display: inline-block;
    font-weight: 600;
    font-size: 6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    color: #240958;
}

h1 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.05;
    color: var(--text);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

p.lead {
    margin: 0;
    color: #240958;
    max-width: 60ch;
    font-size: 1.5rem;
}

.actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

/* Primary CTA */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #1a237e, #283593);
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.22);
    outline-offset: 4px;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Secondary neutral CTA */
.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
    box-shadow: none;
    padding: 0.65rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn--ghost:focus {
    outline: 3px solid rgba(255, 255, 255, 0.12);
    outline-offset: 4px;
}

/* Optional: layout variant where content sits left but centered vertically */
.banner.align-left .banner__content {
    justify-items: start;
    text-align: left;
    max-width: 680px;
    position: absolute;
    left: 5%;
    top: 10%;
}



/* Responsive typography */
@media (min-width: 640px) {
    h1 {
        font-size: 1.9rem;
    }

    /* p.lead {
        font-size: 1.06rem;
    } */

    .banner {
        height: 100vh;
    }


}

@media (min-width: 1024px) {
    .banner__content {
        padding: 5rem;
        align-items: start;
    }

    h1 {
        font-size: 3rem;
        line-height: 1;
    }

    p.lead {
        padding: 1.5rem 0;
        font-size: 1.5rem;
    }

    .banner {
        height: 100vh;
        min-height: 100vh;
    }
}

@media (max-width: 1024px) {

    .banner__logo {
        top: 1rem;
        left: 1rem;
        padding: 0 1rem;
    }

    .navbar {
        padding: 3rem;
    }

    .nav-menu a {
        font-size: 24px;
        padding: 0.5rem 0.5rem;
    }

    .banner.align-left .banner__content {
        left: 3%;
        top: 13%;
    }

    h1 {
        font-size: 3rem;
        line-height: 1.5;
    }

    p.lead {
        font-size: 1.5rem;
        line-height: 2;
        padding: 30px 0;
    }

    .btn {
        font-size: 30px;
    }

    .banner__overlay {
        background: linear-gradient(454deg, rgba(0, 233, 152, -93), rgba(225, 215, 247, 20));
        position: absolute;
    }

}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        padding: 1rem;
        transition: background-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), border-color var(--transition);
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    p.lead {
        font-size: 1rem;
    }

    .banner__logo {
        padding: 0;
        top: 0.5rem;
        left: 0.5rem;
        position: absolute;

    }

    .banner__overlay {
        background: linear-gradient(454deg, rgba(0, 233, 152, -93), rgba(225, 215, 247, 20));
        position: absolute;
    }

    .btn {
        font-size: 20px;
    }

    p.lead {
        padding: 20px 0;
    }

    .banner__logo img {
        width: 60px;
        height: 60px;
    }

    .kicker {
        font-size: 3rem;
        padding: 0.25rem 0.5rem;
    }

    .banner.align-left .banner__content {
        left: 0.5rem;
        position: absolute;
    }

    h1 {
        font-size: 1.5rem;
    }
}


/* Removed unused .sr-only helper */

/* Removed unused scroll indicator and info-section styles */

/* ---------- SCROLL SECTIONS ---------- */
.sections-h {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    width: 100vw;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.section-column {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    /* background: linear-gradient(31deg, rgba(42, 123, 155, 1) 2%, rgba(11, 11, 89, 1) 100%, rgba(237, 221, 83, 1) 100%); */

}

/* Hide scrollbar for webkit browsers */
.sections-h::-webkit-scrollbar {
    display: none;
}

/* .section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transition: background-color 0.4s;
    cursor: none;
    hide default cursor for auto hover effect
scroll-margin-top: 80px;
scroll-snap-align: start;
}
*/
.section {
    display: flex;
    align-items: left;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transition: background-color 0.4s;
    cursor: none;
    scroll-margin-top: 80px;
    scroll-snap-align: start;
}

.section:hover {
    /* background: rgba(255, 107, 107, 0.05); */
}

.section-column .section {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 30vh;
    height: 40vh;
    overflow: hidden;
    flex-shrink: 0;
}

/* First column: sections 1-2 */
.section-column:nth-child(1) .section:nth-child(1) {
    flex-direction: row;
}

.section-column:nth-child(1) .section:nth-child(2) {
    flex-direction: row-reverse;
}

/* Second column: sections 3-4 */
.section-column:nth-child(2) .section:nth-child(1) {
    flex-direction: row;
}

.section-column:nth-child(2) .section:nth-child(2) {
    flex-direction: row-reverse;
}

/* Third column: sections 5-6 */
.section-column:nth-child(3) .section:nth-child(1) {
    flex-direction: row;
}

.section-column:nth-child(3) .section:nth-child(2) {
    flex-direction: row-reverse;
}


.section img {
    width: 50%;
    padding: 20px 100px;
    box-sizing: border-box;
    max-width: none;
    height: 80%;
    min-height: 150px;
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition);
}

.section p {
    font-size: 30px;
    line-height: 1.5;
}

.section:hover img {
    transform: scale(1.03);
}

.section-content {
    flex: 1;
    width: 50%;
    padding: 1rem 2.5rem;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #000000;
    /* background: #ffffff; */
}

.section-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.section-content h3 {
    margin-top: 0;
    font-size: 40px;
}

.section-content p {
    font-size: 24px;
    line-height: 1.5;
    margin: 1rem 0;
}

/* ---------- FAKE CURSOR ---------- */
.cursor {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
    z-index: 999;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .sections-h .section {
        flex: 0 0 100vw;
        max-width: 100vw;
        min-width: 100vw;
        padding: 2rem 1rem;
        flex-direction: column;
    }

    /* On mobile, show one section at a time, image on top */
    .section:nth-child(odd),
    .section:nth-child(even) {
        flex-direction: column;
    }

    .section img {
        width: 100%;
        height: auto;
        max-height: 40vh;
        object-fit: cover;
    }

    .section-content {
        width: 100%;
        padding: 1rem 0;
        text-align: center;
    }
}

/* Tablet and above - keep 2 sections visible */
@media (min-width: 769px) {
    .sections-h .section {
        min-height: 100px;
    }

    /* 
    .section img {
        min-height: 20vh;
        padding: 30px;
        box-sizing: border-box;
        border-radius: 20px;
        overflow: hidden;
    } */
}

/* ---------- SERVICES SECTION ---------- */
.services {
    /* padding: 4rem 1rem; */
    text-align: left;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* background: linear-gradient(31deg, rgba(42, 123, 155, 1) 2%, rgba(11, 11, 89, 1) 100%, rgba(237, 221, 83, 1) 100%); */

}

.about_sec h2,
.services h2 {
    font-size: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.about_sec h2 {
    color: #ffffff;
    margin: 3rem 0;
}


.about h3 {
    font-size: 1.75rem;
    margin: 1rem 0;

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
    justify-items: center;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
        justify-items: stretch;
    }

    /* First row: 4 items */
    .service:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }

    .service:nth-child(2) {
        grid-row: 1;
        grid-column: 2;
    }

    .service:nth-child(3) {
        grid-row: 1;
        grid-column: 3;
    }

    .service:nth-child(4) {
        grid-row: 1;
        grid-column: 4;
    }

    /* Second row: 3 items centered (positioned in columns 2, 3, 4 for visual centering) */
    .service:nth-child(5) {
        grid-row: 2;
        grid-column: 2;
    }

    .service:nth-child(6) {
        grid-row: 2;
        grid-column: 3;
    }

    .service:nth-child(7) {
        grid-row: 2;
        grid-column: 4;
    }

    .service {
        max-width: 100%;
    }
}

.service {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
}

.service:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); */
}

.service i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
}

@media (max-width: 1023px) {
    .services h2 {
        font-size: 1.7rem;
        margin: auto;
        text-align: center;
    }

    .service {
        padding: 1.5rem;
    }

    /* Horizontal scroll carousel for services */
    .services-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem 0.5rem 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service {
        flex: 0 0 calc(85% - 1rem);
        max-width: calc(85% - 1rem);
        min-width: calc(85% - 1rem);
        scroll-snap-align: start;
    }
}

/* ---------- ABOUT US SECTION ---------- */
.about {
    width: 100vw;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5rem;
    flex-wrap: wrap;
    border-radius: 0;

}

.about_sec {
    width: 100vw;
    margin: 0;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #0a1f44 0%, #0d2e5e 50%, #0a1f44 100%);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about img {
    width: 100%;
    max-width: 40%;
    padding: 40px;
    box-sizing: border-box;
    border-radius: var(--radius);
    object-fit: cover;
    transition: transform var(--transition);
}

.about img:hover {
    transform: scale(1.03);
}

.about h3 {
    color: #ffffff;
    font-size: 2rem;
}

.about-content {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: #ffffff;
    background-clip: text;
    -webkit-background-clip: text;
    text-align: left;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-item i {
    color: var(--accent);
}

.contact-item:hover {
    color: var(--accent);
}

.mob_res {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .about_sec {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        box-sizing: border-box;
    }

    .about-content {
        max-width: 100%;
    }

    .contact-info {
        align-items: center;
    }

    .services h2 {
        margin: 30px auto;
        font-size: 3rem;

    }

    .about_sec h2 {
        margin: 30px auto;
        font-size: 3rem;

    }

    .about h3,
    .section-content h3 {
        margin: 0;
        font-size: 30px;
    }


    .section img {
        width: 50%;
        padding: 20px;
        box-sizing: border-box;
        max-width: none;
        height: 80%;
        min-height: 150px;
        object-fit: cover;
        border-radius: 20px;
        overflow: hidden;
        transition: transform var(--transition);
    }

    .about {
        flex-direction: column;
        gap: 0;
        width: auto;

    }

    .about img {
        max-width: 70%;
        padding: 20px 0;
    }

    .section-content {
        padding: 1rem;
    }

    .section {
        gap: 1rem;
    }

    .section-column .section {
        height: 25vh;
    }

    .section-content p {
        font-size: 20px;
    }

    .desk_res {
        display: none;
    }

    .mob_res {
        display: block;
    }

    .section-content {
        top: 50%;
        padding: 10px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {

    .services h2,
    .about_sec h2 {
        font-size: 30px;
    }

    .services h3,
    .about_sec h3 {
        font-size: 24px;
    }

    .services p,
    .about_sec p {
        font-size: 18px;
    }

    .section-content p {
        font-size: 16px;
    }

    .navbar {
        display: none;
    }
}

@media (min-width: 768px) {
    .section-content {
        top: 50%;
    }

    .desk_res {
        display: block;

    }

    .mob_res {
        display: none;
    }

    /* Ensure section column fits within viewport height */
    .section-column {
        max-height: 100vh;
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    /* Each section takes exactly 50% of viewport height so both fit */
    .section-column .section {
        height: 50vh;
        min-height: 50vh;
        max-height: 50vh;
        flex: 0 0 50vh;
        overflow: hidden;
    }

    /* Ensure sections-h doesn't cause vertical overflow */
    .sections-h {
        max-height: 100vh;
        height: 100vh;
        overflow-y: hidden;
        overflow-x: auto;
    }

    .sections-h .section {
        flex: 0 50vw;
        max-width: 100vw;
        min-width: 100vw;
        padding: 0rem 1rem;
    }

    /* Adjust image sizing for 50vh sections to fit properly */
    .section-column .section img {
        height: calc(100% - 40px);
        max-height: calc(50vh - 40px);
        padding: 20px 50px;
        box-sizing: border-box;
        object-fit: cover;
    }

    /* Ensure section content fits within 50vh */
    .section-column .section .section-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }
}

@media (max-width: 1023px) {
    .section {
        position: relative;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
    }

    .section img {
        width: 100%;
        height: 60vh;
        object-fit: cover;
        border-radius: 0;
        filter: brightness(60%);
    }

    .section-content {
        position: absolute;
        /* top: 50%; */
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        padding: 1rem 2rem;
        /* background: rgba(0, 0, 0, 0.7); */
        border-radius: 12px;
        width: 80%;
    }

    .section-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section-content p {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .sections-h .section {
        flex: 0 0 70vw;
    }
}

/* @media (max-width: 1023px) {
    .section {
        position: relative;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
    }

    .section img {
        width: 100%;
        height: 60vh;
        object-fit: cover;
        border-radius: 0;
    }

     Full overlay over the image 
    .section::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
      

    }

    .section-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        z-index: 1;

      
        width: 90%;
        padding: 1rem;
    }

    .section-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .section-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .sections-h .section {
        flex: 0 0 70vw;
    }
} */

@media (max-width: 1023px) {
    .section {
        position: relative;
        flex-direction: column;
        padding: 0;
        overflow: hidden;
    }

    .image-container {
        position: relative;
        width: 100%;
        height: 60vh;
    }

    .section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        display: block;
        position: relative;
    }

    /* Overlay positioned to cover the entire image container */
    /* section-content is centered: top:50%, left:50% with transform:translate(-50%,-50%) */
    /* This creates a new containing block centered at section's middle */
    /* Overlay needs to cover from section's top-left (0,0) */
    /* At mobile, sections are 70vw wide (from .sections-h .section flex: 0 0 70vw) */
    .section.image-container .section-content .overlay {
        position: absolute;
        display: none;
        /* Offset from center to section's top-left: -35vw left (half of 70vw), -30vh up (half of 60vh) */
        top: -30vh;
        left: -35vw;
        width: 70vw;
        height: 60vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
        pointer-events: none;
    }

    /* Text content centered above overlay */
    .section-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        text-align: center;
        z-index: 2;
        width: 85%;
        padding: 1rem;
    }

    .section-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
        position: relative;
        z-index: 3;
    }

    .section-content p {
        font-size: 1.1rem;
        line-height: 1.5;
        position: relative;
        z-index: 3;
    }

    /* Ensure mob_res paragraph is visible */
    .section-content .mob_res {
        display: block;
        position: relative;
        z-index: 3;
    }

    .sections-h .section {
        flex: 0 0 70vw;
    }
}