/* ------------------------------------------------Navbar section------------------------------------------------- */
.navbar {
    background: #FFF8F6;
    padding: 20px 0;
    width: 100%;
    padding: 0 82px;

    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    border-bottom: 1px solid #9AA093;
    /* width: 90%;
    max-width: 1300px; */
    width: 100%;
    /* margin: 0 auto; */
    padding: 25px 0px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img {
    width: 62px;
    height: 47px;
}

/* Menu */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

/* Mobile menu header (hidden on desktop) */
.mobile-menu-header {
    display: none;
}

.nav-links>li>a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-family: "clashGrotesk-semibold";
    /* line-height: 1.2; */
    transition: 0.4s;
}

/* Active Item */
/* .nav-links li.active a { */
.nav-links>li.active>a {
    color: var(--primary-color);
    font-family: "clashGrotesk-bold";
}

/* Underline Image */
/* .nav-links li.active::after { */
.nav-links>li.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
    width: 50px;
    height: 12px;
    background: url("../icons/underline.svg") no-repeat center;
    background-size: contain;
}

/* Hover Effect */
.nav-links>li>a:hover {
    color: var(--primary-color);
}

.nav-links.show>li>a:hover {
    color: var(--text-color);
    transform: translateX(5px);

}

.nav-btn {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
}

.nav-btn li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 16px;
    font-family: "clashGrotesk-semibold";
    /* line-height: 1.2; */
    transition: 0.3s;
}

.admission-btn,
.contact-btn {
    background-color: transparent;
    padding: 12px 24px;
    color: var(--primary-color);
    border-radius: 40px;
    border: 2px solid var(--primary-color);
    /* transition: transform 0.4s ease; */

    font-size: 16px;
    font-family: "clashGrotesk-semibold";
    /* line-height: 1.2; */
    transition: 0.3s;
}

.admission-btn a,
.contact-btn a {
    color: var(--primary-color);

}

.admission-btn:hover,
.contact-btn:hover {
    background-color: var(--primary-color);
}

.admission-btn:hover a,
.contact-btn:hover a {
    color: #FFF8F6;
}


/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
    cursor: pointer;
    /* padding: 8px; */
    background: none;
    border: none;
    z-index: 99;
    margin-right: 12px;
}

.hamburger img {
    /* width: 28px; */
    /* height: 28px; */
    display: block;
    transition: transform 0.3s ease;
}

.admission-mobile {
    background-color: var(--primary-color);
    padding: 12px 24px;
    color: var(--secondary-color);
    border-radius: 40px;
    border: 2px solid var(--primary-color);

    font-size: 16px;
    font-family: "clashGrotesk-semibold";
    transition: 0.3s;
    display: none;
}

.admission-mobile a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 16px;
    font-family: "clashGrotesk-semibold";
    /* line-height: 1.2; */
    transition: 0.3s;
}

.admission-mobile:hover {
    background-color: transparent;
}

.admission-mobile:hover a {
    color: var(--primary-color);
}

.logo-menu {
    display: flex;
}

@media (max-width: 1400px) {
    .navbar {
        padding: 0px 40px;
    }

    .nav-links {
        gap: 14px;
    }

}

.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        gap: 18px;
        text-align: center;
    }

    .nav-links a {
        font-size: 14px;
    }
}

/* Mobile Navbar */
@media (max-width: 980px) {
    .navbar {
        padding: 0 16px;
        position: relative;
    }

    .nav-container {
        flex-wrap: wrap;
        padding: 17px 0;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile menu - hidden by default */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        width: auto;
        background: #C04A1A;
        /* padding: 20px 20px 28px; */
        gap: 0;
        margin: 0;
        margin-top: 10px;
        list-style: none;
        border-radius: 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        z-index: 101;
        overflow-y: auto;
    }

    .nav-links.show {
        display: flex;
        max-height: calc(100vh - 80px);
        text-align: left;
        padding: 24px;
        align-items: flex-start;
        width: 246px;
    }

    .nav-links.show>li>a {
        color: #ffffff;
        font-size: 14px;
    }

    .nav-links li {
        width: 100%;
    }


    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        color: #FFF8F6;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 12px;
        /* margin-bottom: 10px; */
        border-bottom: 2px solid #ffffff;
    }

    .mobile-menu-title {
        font-family: "butterpop-regular";
        font-size: 18px;
        color: #ffffff;
    }

    /* .mobile-menu-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid #FFF8F6;
        background: transparent;
        color: #FFF8F6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
    } */

    /* .admission-btn,
    .contact-btn {
        margin-top: 8px;
    } */

    .nav-btn {
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
        width: 198px;
    }

    .nav-btn li a {

        text-decoration: none;
        color: var(--secondary-color);
        font-size: 16px;
        font-family: "clashGrotesk-semibold";
        /* line-height: 1.2; */
        transition: 0.3s;
        padding: 0;
        text-align: center;

    }

    .admission-btn {
        display: none;

    }

    .admission-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-radius: 40px;
        border: 2px solid #FFF8F6;
        color: #C04A1A;
        background-color: #FFF8F6;

        display: none;
    }

    .contact-btn {
        background-color: var(--primary-color);
        padding: 12px 24px;
        color: var(--secondary-color);
        border-radius: 40px;
        border: 2px solid var(--secondary-color);

        font-size: 16px;
        font-family: "clashGrotesk-semibold";
        transition: 0.3s;
    }

    .contact-btn:hover {
        background-color: var(--secondary-color);
    }


    .contact-btn:hover a {
        color: var(--primary-color);
    }



    /* Remove underline in mobile */
    .nav-links li.active::after {
        display: none;
    }

    /* Optional: hamburger rotates when open */
    .hamburger.is-open img {
        transform: rotate(90deg);
    }

    .hamburger.is-open {
        display: none;
    }

    .admission-mobile {
        display: block;
    }

    .nav-links>li.active>a {
        color: #0f0f0f;
    }
}

@media (max-width: 480px) {
    .nav-container {
        border: none;
    }

    .navbar {
        border-bottom: 1px solid #9AA093;
    }
}


/* ------------------------------------------------hero section------------------------------------------------- */


.hero {
    background: #FFF8F6;
    /* padding: 100px 60px; */
    padding: clamp(55px, 4.2vw, 60px) clamp(16px, 6vw, 82px);
    /* Desktop padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}


.highlight {
    display: block;
    font-family: "butterpop-regular";
    color: var(--primary-color);
    font-size: clamp(32px, 4vw, 52px);
}

.hero-text {
    font-family: "clashgrotesk-semibold";
    color: var(--text-color);
    font-size: clamp(18px, 1.5vw, 22px);
    max-width: 642px;
    margin: 25px auto 0;
}

.hero-span {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;

}


.decor {
    position: absolute;
}

.decor-bag {
    top: 7%;
    left: 6%;
    /* width: 60px; */
    width: clamp(14px, 5vw, 60px);
}

.decor-pencil {
    top: 5%;
    right: 11%;
    width: clamp(35px, 7vw, 98px);
}

.decor-ball {
    top: 19%;
    left: 15%;
    /* width: clamp(14px, 4vw, 85px); */
}

.decor-puzzle {
    top: 13%;
    right: 5%;
}

.decor-abc {
    top: 35%;
    right: 1%;
    width: clamp(25px, 10vw, 142px);
}

.decor-spark {
    top: 28%;
    right: 4%;
    width: clamp(25px, 5vw, 87px);
}

.decor-book {
    bottom: 23%;
    right: 3.3%;
    width: 49px;
}

.decor-global {
    top: 50%;
    left: 4.5%;
    /* width: clamp(25px, 5vw, 87px); */
}

.decor-bottom {
    display: none;
}

.hero-image-wrapper {
    margin-top: 82px;
    display: flex;
    justify-content: center;
}

.hero-image {
    border-radius: 82px;
    overflow: hidden;
    background: white;
    width: 100%;
    /* max-height: 563px; */
    padding: 10px;
    border: 1.6px solid var(--secondary-color);
    /* box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08); */
}

.hero-image img {
    width: 100%;
    /* max-width: 1350px; */
    border-radius: 65px;
    display: block;
}

/* @keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
} */

/* =========================
   TABLET (≤1024px)
========================= */

@media (max-width: 1024px) {

    /* .hero {
        padding: 80px 40px;
    } */

    .hero-title {
        font-size: 40px;
    }

    .highlight {
        font-size: 40px;
    }

    .hero-image img {
        max-width: 900px;
    }
}

/* =========================
   MOBILE (≤768px)
========================= */

@media (max-width: 768px) {

    /* .hero {
        padding: 55px 16px;
    } */

    .hero-title {
        font-size: 26px;
        width: 90%;
    }

    .highlight {
        font-size: 26px;
    }

    .hero-span {
        display: flex;
        /* flex-direction: column; */
        gap: 10px;
        margin-top: 34px;
    }

    .hero-span img {
        width: 35px;
    }

    .hero-image-wrapper {
        margin-top: 52px;
    }

    .hero-image {
        border-radius: 75px;
        height: 312px;
    }

    .hero-image img {
        border-radius: 70px;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Optional: hide some decorations on mobile */
    .decor-abc,
    .decor-pencil,
    .decor-book,
    .decor-global {
        display: none;
    }

    .decor-bottom {
        display: block;
        bottom: 5%;
        right: 0%;
    }

    .decor-bag {
        top: 3%;
        left: 1%;
        width: 31px;
    }

    .decor-puzzle {
        top: 17%;
        right: 17%;
        width: 35px;
    }

    .decor-ball {
        top: 40%;
        left: 88%;
        width: 30px;
    }
}

@media (max-width: 768px) {

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ------------------------------------------------section2 - Illustrious Alumni (slider)------------------------------------------------- */

.section2 {
    position: relative;
    background-color: #fff6f7;
    padding: clamp(40px, 6vw, 70px) 0 clamp(50px, 8vw, 82px);
    overflow: hidden;

    width: 100%;
    background-color: var(--secondary-color);
}

.section2-container {
    /* position: relative; */
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    /* padding: 0 clamp(16px, 4vw, 40px); */
}

.section2-title {
    font-family: "butterpop-regular";
    font-size: clamp(24px, 4vw, 42px);
    color: #000000;
    text-align: center;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

}

.section2-text {
    font-family: "clashgrotesk-medium";
    font-size: 22px;
    color: #000000;
    text-align: center;
    margin: 0 auto 56px;
    max-width: 637px;

}

.section2-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 clamp(-20px, -2vw, -24px);
}

.section2-slider-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 12vw, 120px);
    /* pointer-events: none; */
    z-index: 2;
}

/* .section8-slider-overlay-left {
    left: 0;
    background: linear-gradient(to left, rgb(217, 217, 217, 0) 0%, #ffffff 100%);
}

.section8-slider-overlay-right {
    right: 0;
    background: linear-gradient(to right, rgb(217, 217, 217, 0) 0%, #ffffff 100%);
} */

.section2-slider-track {
    display: flex;
    /* flex-wrap: nowrap; */
    gap: clamp(21px, 3vw, 41px);
    overflow: visible;
    padding: 0px clamp(20px, 2vw, 24px);
    /* width: max-content; */

    will-change: transform;

}


.section2-slider-track::-webkit-scrollbar {
    display: none;
}


.program-card {
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    /* box-shadow: 14px 14px 106px rgba(0, 0, 0, 0.05); */
    flex-direction: column;

    flex: 0 0 auto;
    width: 347px;
    height: 100%;
}

.program-card-inner {
    position: relative;
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.program-card-image {
    position: relative;
    width: 100%;
    /* aspect-ratio: 1/1.5; */
    overflow: hidden;
    border-radius: 40px;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 40px;
    transition: transform 0.4s ease;
}

.program-card:hover .program-card-image img {
    transform: scale(1.05);
}

/* Overlay with label: visible on hover only, sits over image (inside white border) */
.program-card-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 29px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 0 0 40px 40px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;

    gap: 11px;
}

.program-card:hover .program-card-overlay {
    opacity: 1;
}

.program-card-label {
    font-family: "clashgrotesk-semibold";
    font-size: 24px;
    color: #ffffff;
}

.desc {
    font-family: "clashgrotesk-medium";
    font-size: 18px;
    color: #ffffff;

    text-align: center;

}

/* .section8 .decor {
    position: absolute;
}

.s9-decor-bag {
    top: 3%;
    left: 22%;
}

.s9-decor-book {
    top: 11%;
    right: -2%;
}

.s9-decor-sun {
    top: 20%;
    left: 0%;
}

.s9-decor-man {
    bottom: 0%;
    left: -2%;
}

.s9-decor-pencil {
    bottom: 14%;
    right: -0.5%;
} */

/* section8 responsive – mobile: show 1 main image with small peeks of adjacent cards */
@media (max-width: 768px) {
    .section2-slider-track {
        padding-left: 10vw;
        padding-right: 10vw;
    }

    /* .program-card {
        width: 80vw;
        max-width: 424px;
    } */
}

@media (max-width: 480px) {
    .section2 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section2-slider-overlay {
        display: none;
    }

    .section2-slider-track {
        padding-left: 8vw;
        padding-right: 8vw;
        /* margin-bottom: 24px; */
    }

    /* .program-card {
        width: 84vw;
        max-width: 280px;
    } */

    .section2 .decor {
        /* width: 50px; */
        display: none;
    }
}



/* ===============================-----------------------------------------------------------------------------
   SECTION 5 BASE
================================ */

.section3 {
    background: #FFF8F6;
    padding: clamp(40px, 7.9vw, 113px) clamp(16px, 5.6vw, 83px);
    position: relative;
}

.section3-container {
    width: 100%;
    margin: 0 auto;
}

/* ===============================
   TOP AREA
================================ */
.section3-header {
    text-align: center;
    max-width: 756px;
    margin: 0 auto 52px;
}

.section3-title {
    font-family: "butterpop-regular";
    font-size: clamp(21px, 4vw, 42px);
    color: #000000;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section3-subtitle {
    font-family: "clashgrotesk-medium";
    font-size: clamp(16px, 1.6vw, 22px);
    color: var(--text-color);
}


.section3-left p {
    font-family: "clashgrotesk-medium";
    font-size: clamp(16px, 2vw, 22px);
    /* line-height: 1.7; */
    color: var(--text-color);
    margin-top: 24px;
}

.section3-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    /* margin: 0 auto; */
}

.section3-right h3 {
    font-family: "butterpop-regular";
    font-size: clamp(21px, 4vw, 42px);
    color: var(--primary-color);
    text-align: center;
}

.s5-spark {
    width: clamp(20px, 3vw, 35px);
}

/* ===============================
   STATS GRID
================================ */

.section3-slider-wrapper {
    position: relative;
    overflow: hidden;

}

.section3-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;


}

.stat-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 62px 32px;
    text-align: center;
    /* box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--secondary-color);
    transition: transform 0.35s ease;

}

.stat-card h4 {
    font-family: "butterpop-regular";
    font-size: clamp(20px, 2.22vw, 32px);
    color: var(--primary-color);
    margin-bottom: 16px;
}

.stat-card p {
    font-family: "clashgrotesk-semibold";
    font-size: clamp(16px, 2vw, 24px);
    /* line-height: 1.6; */
    color: #000000;
}

.stat-card.large {
    border-radius: 40px;
    /* desktop: big cards span two columns */
    grid-column: span 2;
    border: 1px solid var(--secondary-color);
}


.stat-card:hover {
    transform: scale(1.01);
}

/* .s5-spark2 {
    top: 27%;
    left: 3%;
}

.s5-spark3 {
    bottom: 2%;
    right: 3%;
} */

/* ===============================
   BREAKPOINTS
================================ */

/* @media (max-width: 1200px) {
    .section3-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
    }     /* in 3‑column layout, large cards take full row 

    .section3-grid .stat-card.large { 
        grid-column: span 3;
    }
} */

@media (max-width: 1024px) {
    /* .section3 {
        padding-inline: 30px;
    } */

    .section3-top {
        flex-direction: column;
        gap: 24px;
    }

    .section3-right {
        margin: 0 auto;
    }

    .section3-right h3 {
        text-align: left;
        margin-top: 12px;
    }

    .section3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section3-grid .stat-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    /* .section3-right {
        margin: 24px auto 0;
    } */


    .section3-right h3 {
        text-align: center;
    }



    .section3-grid {
        display: flex;
        /* flex-wrap: nowrap; */
        gap: 16px;
        padding: 0 16px;
        width: max-content;
        /* will-change: transform; */
    }

    .stat-card {
        padding: 22px 20px;
        flex: 0 0 290px;
        max-width: 290px;
    }

    .section3-grid .stat-card.large {
        grid-column: auto;
    }

    .section3-slider-wrapper {
        margin-inline: -24px;
    }

    @media (max-width: 480px) {
        /* .s5-decor-spark2 {
            top: 28%;
            left: 3%;
            display: none;
        }

        .s5-decor-spark3 {
            bottom: 0%;
            right: 1%;
            display: none;
        } */

        .section3 {
            padding-left: 16px;
            padding-right: 16px;
        }
    }
}

/* ------------------------------------------------section4------------------------------------------------- */
.section4 {
    background: #FFF8F6;
    padding: clamp(40px, 7.9vw, 113px) clamp(16px, 5.6vw, 83px);
    position: relative;
}

.section4-header {
    text-align: center;
    margin: 0 auto 42px;
}


.section4-container {
    width: 100%;
    margin: 0 auto;
}

.section4-title {
    font-family: "butterpop-regular";
    font-size: clamp(21px, 4vw, 42px);
    color: #000000;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section4-subtitle {
    font-family: "clashgrotesk-medium";
    font-size: clamp(16px, 1.6vw, 22px);
    color: var(--text-color);
    max-width: 616px;
    margin: 0 auto;
}



.section4 .wrap {
    position: relative;
    overflow: hidden;
}

.section4-track {
    display: flex;
    flex-direction: column;
    gap: 41px;
    position: relative;
}

.subject-card {
    position: relative;
    /* padding-left: 90px; */
}

/* CARD INNER */

.subject-card-inner {
    display: grid;
    grid-template-columns: 296px 1fr;
    gap: 32px;

    background: #FFFFFF;
    padding: 24px;
    border-radius: 40px;
    /* height: 100%; */
}

/* IMAGE */

.subject-image {
    /* background: #dfe7d2; */
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subject-image img {
    /* width: 296px; */
    height: 229px;
    width: 100%;
}

/* CONTENT */
.subject-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.subject-content h3 {
    font-size: clamp(20px, 2vw, 24px);
    font-family: "clashgrotesk-semibold";
    color: var(--text-color);

}

.subject-content p {
    font-family: "clashgrotesk-medium";
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-color);
}

.subject-number {
    display: flex;
    /* text-align: center; */
    justify-content: center;
}

/* BADGES */
.badge-group {
    display: flex;
    flex-direction: row;
    gap: 24px;
    row-gap: 8px;
    flex-wrap: wrap;

    padding-top: 16px;
    /* border-top: 1px dashed #5C6D70; */
}

.badge {
    background: #dbe6d2;
    padding: 12px 24px;
    border-radius: 20px;
    font-family: "clashgrotesk-semibold";
    font-size: 18px;
    color: #5C6D70;

    display: inline-block;
    /* margin-right: 24px; */
}



/* chips */

.chips {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;

    padding-top: 16px;
    border-top: 1px dashed #5C6D70;
}

.chips span {
    /* background: #dbe6d2; */
    padding: 12px 24px;
    border-radius: 20px;
    font-family: "clashgrotesk-semibold";
    font-size: 16px;
    /* color: #5C6D70; */

    display: inline-block;
    background: #FEEFE9;
    color: var(--primary-color);
}


@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}


@media (max-width:768px) {
    .section4-track {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        width: max-content;
        will-change: transform;
        align-items: stretch;

    }

    .section4-track::before {
        display: none;
    }

    .subject-card {
        padding-left: 0;
    }

    .subject-image {
        justify-content: left;
        align-items: start;

    }

    .section4 .wrap {
        margin-inline: -24px;
    }

    .subject-number {
        position: relative;
        margin-bottom: 15px;
    }

    .subject-card-inner {
        grid-template-columns: 1fr;
        /* text-align: center; */
        padding: 24px;
        flex: 0 0 80vw;
        max-width: 382px;
        height: 100%;

        /* gap: 0; */
    }

    .subject-content {
        text-align: left;
        justify-content: start;
    }

}

@media (max-width:480px) {
    .section2 {
        padding-left: 16px;
        padding-right: 16px;
    }

}



/* ------------------------------------------------section5 section------------------------------------------------- */

.section5 {
    background: #FFF8F6;
    padding: 55px clamp(16px, 5.6vw, 82px) clamp(40px, 5.6vw, 70px);
    position: relative;
}

.section5-container {
    /* max-width: 1300px; */
    width: 100%;
    margin: 0 auto;
}


.section5-header {
    text-align: center;
    margin: 0 auto 42px;
}



.section5-title {
    font-family: "butterpop-regular";
    font-size: clamp(21px, 4vw, 42px);
    color: #000000;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section5-subtitle {
    font-family: "clashgrotesk-medium";
    font-size: clamp(16px, 1.6vw, 22px);
    color: var(--text-color);
    max-width: 716px;
    margin: 0 auto;
}


/* ===============================
   STATS GRID
================================ */

.section5-slider-wrapper {
    position: relative;
    overflow: hidden;

}

.section5-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;


}

.s5-stat-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 62px 32px;
    text-align: center;
    /* box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--secondary-color);
    transition: transform 0.35s ease;

}

.s5-stat-card h4 {
    font-family: "butterpop-regular";
    font-size: clamp(20px, 4vw, 32px);
    color: var(--primary-color);
    margin-bottom: 16px;
}

.s5-stat-card p {
    font-family: "clashgrotesk-semibold";
    font-size: clamp(16px, 2vw, 24px);
    /* line-height: 1.6; */
    color: #000000;
}

.s5-stat-card.s5-large {
    border-radius: 40px;
    /* desktop: big cards span two columns */
    grid-column: span 2;
    border: 1px solid var(--secondary-color);
}


.s5-stat-card:hover {
    transform: scale(1.01);
}

.s3-decor-spark2 {
    top: 17%;
    left: 3%;
}

.s3-decor-spark3 {
    bottom: 2%;
    right: 3%;
}

/* ===============================
   BREAKPOINTS
================================ */

/* @media (max-width: 1200px) {
    .section3-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
    }     /* in 3‑column layout, large cards take full row 

    .section3-grid .stat-card.large { 
        grid-column: span 3;
    }
} */

@media (max-width: 1024px) {
    /* .section3 {
        padding-inline: 30px;
    } */

    .section5-top {
        flex-direction: column;
        gap: 24px;
    }

    .section5-right {
        margin: 0 auto;
    }

    .section5-right h3 {
        text-align: left;
        margin-top: 12px;
    }

    .section5-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section5-grid .stat-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    /* .section3-right {
        margin: 24px auto 0;
    } */


    .section5-right h3 {
        text-align: center;
    }

    .section5-title img {
        width: 30px;
    }

    .section5-grid {
        display: flex;
        /* flex-wrap: nowrap; */
        gap: 16px;
        padding: 0 16px;
        /* width: max-content; */
        will-change: transform;
    }

    .s5-stat-card {
        padding: 22px 20px;
        flex: 0 0 180px;
        max-width: 180px;
    }

    .section5-grid .stat-card.large {
        grid-column: auto;
    }

    .section5-slider-wrapper {
        margin-inline: -24px;
    }

    @media (max-width: 480px) {
        .s3-decor-spark2 {
            top: 28%;
            left: 3%;
            display: none;
        }

        .s3-decor-spark3 {
            bottom: 0%;
            right: 1%;
            display: none;
        }

        .section5 {
            padding-left: 16px;
            padding-right: 16px;
        }
    }
}


/* ------------------------------------------------Footer section------------------------------------------------- */

/* ==========================
   FOOTER BASE
========================== */

.footer {
    background: #FFFFFF;
    padding: 40px clamp(16px, 5.6vw, 82px);
    ;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    /* max-width: 1300px; */
    margin: auto;
}

/* ==========================
   LEFT SECTION
========================== */

.footer-logo {
    width: 136px;
    height: 103px;
    margin-bottom: 40px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-contact a {
    text-decoration: none;
    color: #000000;
    font-family: "clashgrotesk-medium";
    font-size: 20px;
    line-height: 160%;

}

/* .icon {
  font-size: 16px;
  color: #c04a1a;
} */

/* ==========================
   HEADINGS + LIST
========================== */

.footer-col h4 {
    font-family: "clashgrotesk-semibold";
    font-size: 18px;
    margin-bottom: 32px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul li a {
    text-decoration: none;
    font-family: "clashgrotesk-medium";
    color: #000000;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    /* IMPORTANT */
}

.footer-col ul li a:hover {
    color: #c04a1a;
    transform: translateX(5px);
}

.combain {
    /* display: flex;
    flex-direction: row;
    justify-content: space-between; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: max-content;
}

/* ==========================
   SOCIAL
========================== */

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;

}

.social:hover {
    /* background: #a63b12; */
    transform: scale(1.1);
}

/* ==========================
   MAP
========================== */

.map-box {
    width: 100%;
    border-radius: 30px;
}

.map-caption {
    font-family: "clashgrotesk-regular";
    font-size: 16px;
    margin-top: 12px;
    line-height: 160%;
    color: #000000;
}

/* ==========================
   1024px (Small Laptop)
========================== */

@media (max-width: 1024px) {



    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-right {
        grid-column: span 2;
    }
}

/* ==========================
   TABLET (768px)
========================== */
/* 
@media (max-width: 768px) {

    .footer {
        padding: 40px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-right {
        align-items: center;
    }

    .map-box {
        max-width: 300px;
        margin: auto;
    }
} */

/* ==========================
   MOBILE (480px)
========================== */

@media (max-width: 768px) {


    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 52px;
    }

    /* .footer-logo {
        width: 70px;
    } */
    .combain {
        display: flex;
        flex-direction: row;
        gap: 56px;
    }

    .footer-contact .contact-item {
        justify-content: start;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }

    .social {
        width: 34px;
        height: 34px;
    }

    .social-icons {
        justify-content: start;
        margin-bottom: 32px;
    }

    .map-box {
        max-width: 100%;
    }
}