/* ------------------------------------------------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";
}

.active-nav {
    background-color: var(--primary-color) !important;
}

.active-nav a {
    color: #FFF8F6 !important;
}

/* 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;
}


.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;
}

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

    .nav-links {
        gap: 14px;
    }

}

/* 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;
    }
}

/* =========================
   SECTION 1
========================= */

.section1 {
    background: #FFF8F6;
    padding: 44px clamp(16px, 5.6vw, 82px);
}

.section1-container {
    max-width: 1184px;
    margin: auto;
    background: #ffffff;
    border-radius: 48px;
    padding: 24px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =========================
   HEADER
========================= */

.section1-header {
    text-align: center;
}

.section1-icon {
    margin-bottom: 16px;
}

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


/* =========================
   TOP GRID
========================= */

.section1-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(42px, 3.9vw, 56px);
    background: #ffffff;
    padding: 36px;
    border-radius: 70px;

    box-shadow: 14px 14px 106px rgba(0, 0, 0, 0.05);
}

/* Image */

/* .section1-image {
    border-radius: 25px;
    overflow: hidden;
}

.section1-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} */

.section1-image {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 14px 14px 106px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* min-height: 0; */
}

.section1-card-inner {
    position: relative;
    background: #fff;
    padding: 10px;
    /* border-radius: 30px; */
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
    overflow: hidden;
}

.section1-card-image {
    /* position: relative; */
    width: 100%;
    /* aspect-ratio: 1; */
    overflow: hidden;
    /* background: #fff; */
    /* padding: 10px; */
    border-radius: 40px;
}

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

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

/* Address */

.section1-address {
    background: var(--secondary-color);
    padding: 24px;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.address-title {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

/* .address-title img{

} */

.section1-address h3 {
    font-family: "butterpop-regular";
    font-size: clamp(20px, 2.4vw, 34px);
    color: #000000;
}

.section1-address p {
    font-family: "clashgrotesk-medium";
    color: var(--text-color);
    font-size: clamp(16px, 1.5vw, 22px);
}

/* Buttons */

.section1-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-family: "clashgrotesk-semibold";
    transition: 0.3s;
}

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

.btn.primary:hover {
    background: #9e350c;
}

.btn.outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

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

/* =========================
   HELP SECTION
========================= */

.section1-help {
    background: #ffffff;
    padding: clamp(20px, 3.4vw, 49px) clamp(20px, 3.4vw, 49px) clamp(20px, 2.3vw, 33px);
    ;
    border-radius: 25px;

    box-shadow: 14px 14px 106px rgba(0, 0, 0, 0.05);

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section1-help h4 {
    font-family: "clashgrotesk-semibold";
    font-size: 24px;
    line-height: 1.3;
}

/* Help Grid */

.section1-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.help-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}


.help-card h5 {
    font-family: "clashgrotesk-semibold";
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.55;
    margin-bottom: 8px;
}

.help-card p {
    font-family: "clashgrotesk-regular";
    font-size: 16px;
    color: #5C6D70;
    line-height: 1.5;
}

.mobile-card {
    display: none;
}

@media (max-width: 1024px) {

    /* .section1-grid {
        gap: 32px;
        padding: 28px;
        border-radius: 50px;
    } */



    /* .section1-help {
        padding: 36px;
        gap: 28px;
    } */

}

@media (max-width: 768px) {



    .section1-grid {
        grid-template-columns: 1fr;
        /* gap: 28px; */
        padding: 0px;

        box-shadow: none;
    }

    .section1-help-grid {
        grid-template-columns: 1fr;
    }

    .section1-card-image {
        height: 100%;
    }

    .section1-card-image img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        overflow: hidden;
    }

    .section1-card-inner {
        height: 313px;
    }
}

@media (max-width: 480px) {

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

    .desktop-card {
        display: none;
    }

    .mobile-card {
        display: block;
        margin-top: 24px;
    }

    .mobile-card h4 {
        margin-bottom: 40px;
    }

    .section1-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }


}


/* ------------------------------------------------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%;
    }
}