/* ==============================
   GENERAL STYLING
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: #102c20;
    background: #fff;
    overflow-x: hidden;
}

:root {
    --green: #004b2b;
    --dark-green: #003d25;
    --gold: #f6bd18;
    --light-green: #e8f5dc;
    --light-gold: #fff3d0;
}

a { text-decoration: none; }

/* HEADER */
.about-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 100;
}

.navbar {
    max-width: 1500px;
    min-height: 85px;
    margin: auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    flex-shrink: 0;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.brand strong { display: block; font-size: 21px; line-height: 1.2; }
.brand small { display: block; font-size: 10px; font-weight: 700; }

.desktop-nav { display: flex; align-items: center; gap: 35px; }
.desktop-nav a {
    color: #222;
    font-size: 13px;
    font-weight: 600;
    transition: color .3s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--green); }

.signin-btn {
    background: var(--gold);
    color: #14251b;
    padding: 12px 23px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}
.mobile-menu { display: none; }

/* HERO */
.about-hero {
    min-height: 480px;
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    padding: 45px 5%;
    background: linear-gradient(100deg, #f4f8e9 0%, #f5f8ed 45%, #dcebc8 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 3;
    padding-bottom: 15px;
}

.section-tag {
    display: inline-block;
    background: var(--gold);
    color: #162719;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(32px, 3.4vw, 51px);
    line-height: 1.16;
    font-weight: 800;
    color: #101f18;
    margin-bottom: 18px;
}
.hero-content h1 span { color: var(--green); }

.hero-content > p {
    max-width: 590px;
    font-size: 15px;
    line-height: 1.8;
    color: #26362d;
    margin-bottom: 25px;
}

.hero-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

.primary-btn, .secondary-btn {
    padding: 13px 21px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: .3s ease;
}

.primary-btn { background: var(--green); color: #fff; }
.primary-btn:hover { background: #00653a; transform: translateY(-2px); }

.secondary-btn {
    border: 1.5px solid var(--green);
    color: var(--green);
    background: rgba(255,255,255,.8);
}
.secondary-btn:hover { background: var(--green); color: #fff; }

.hero-image {
    height: 430px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.hero-wave {
    position: absolute;
    bottom: -38px;
    left: -5%;
    width: 110%;
    height: 75px;
    background: var(--green);
    border-top: 12px solid var(--gold);
    border-radius: 50% 50% 0 0;
    transform: rotate(-1deg);
    z-index: 4;
}

/* MAIN CONTENT */
.about-main {
    max-width: 1450px;
    margin: auto;
    padding: 65px 5% 45px;
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 40px;
    align-items: center;
}

/* EDUCATIONAL PHILOSOPHY */
.philosophy-section {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    align-items: center;
    gap: 28px;
}

.philosophy-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    border-radius: 50%;
    overflow: hidden;
}
.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 15px 5px rgba(0, 0, 0, 0.4));
}

.small-line {
    display: block;
    width: 65px;
    height: 5px;
    background: var(--gold);
    margin-bottom: 17px;
}
.philosophy-content h2 {
    font-size: clamp(22px, 2vw, 29px);
    color: var(--green);
    margin-bottom: 17px;
    line-height: 1.3;
}
.philosophy-content p {
    font-size: 13px;
    line-height: 1.9;
    color: #34443a;
    margin-bottom: 13px;
}

/* MISSION AND VISION */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: stretch;
}
.info-card {
    min-height: 280px;
    border-radius: 23px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.mission-card { background: var(--light-green); }
.vision-card { background: var(--light-gold); }

.card-icon { width: 85px; height: 85px; margin-bottom: 12px; }
.card-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--green);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.vision-card .card-icon svg { stroke: #b58a0c; }

.info-card h2 {
    font-size: 21px;
    margin-bottom: 12px;
    color: var(--dark-green);
}
.info-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #26382d;
    max-width: 260px;
}

/* CHAT WITH US BUTTON */
.Chat-with-us{
    padding: 0.75rem;
    border-radius: 50px 0 0 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: fit-content;
    height: fit-content;
    position: fixed;
    bottom: 20%;
    right: 0;
    background: rgb(15, 220, 15);
    z-index: 20;
  }
  .Chat-with-us img{
    height: 15px;
    width: 15px;
  }
  .Chat-with-us a{
    text-decoration: none;
    font-size: 0.75rem;
    color: white;
  }

/* CLOSING CTA */
.about-cta {
    max-width: 1500px;
    bottom: 0;
    margin: 0 auto 0;
    padding: 30px 5%;
    background: linear-gradient(110deg, #003d25, #006036);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 25px 25px 0 0;
    position: relative;
    overflow: hidden;
}
.cta-icon { font-size: 55px; color: var(--gold); flex-shrink: 0; }
.cta-text { flex: 1; }
.cta-text h2 { font-size: clamp(20px, 2.2vw, 29px); margin-bottom: 7px; }
.cta-text p { font-size: 13px; line-height: 1.7; color: #e7eee8; }

.cta-btn {
    background: var(--gold);
    color: #142719;
    padding: 15px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: .3s ease;
}
.cta-btn:hover { background: #fff; transform: translateY(-2px); }

/* TABLET */
@media screen and (max-width: 1024px) {
    .navbar { padding: 12px 3%; }
    .desktop-nav { gap: 13px; }
    .desktop-nav a { font-size: 11px; }

    .about-hero { padding: 40px 4%; min-height: 420px; }
    .hero-image { height: 360px; }

    .about-main { grid-template-columns: 1fr; gap: 35px; }
    .philosophy-section { grid-template-columns: .7fr 1.3fr; }
    .philosophy-image { height: 360px; }

    .mission-vision { max-width: 750px; margin: auto; width: 100%; }
    .info-card { min-height: 240px; }
}

/* MOBILE */
@media screen and (max-width: 700px) {
    .navbar { min-height: 75px; padding: 10px 5%; }
    .brand-icon { width: 40px; height: 40px; font-size: 21px; }
    .brand strong { font-size: 17px; }
    .brand small { font-size: 8px; }

    .desktop-nav, .signin-btn { display: none; }
    .mobile-menu { display: block; position: relative; }

    .mobile-menu summary {
        list-style: none;
        width: 35px;
        height: 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary span {
        width: 25px;
        height: 3px;
        background: var(--green);
        border-radius: 5px;
    }

    .mobile-nav {
        position: absolute;
        top: 48px;
        right: 0;
        width: 220px;
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,.13);
        display: flex;
        flex-direction: column;
    }
    .mobile-nav a {
        padding: 12px 10px;
        color: var(--green);
        font-size: 13px;
        font-weight: 600;
        border-bottom: 1px solid #edf1ec;
    }

    .about-hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 28px 5% 40px;
        min-height: auto;
        gap: 20px;
    }
    .hero-content { padding: 0; }
    .section-tag { padding: 7px 17px; font-size: 11px; margin-bottom: 13px; }
    .hero-content h1 {
        font-size: clamp(27px, 7.2vw, 36px);
        line-height: 1.17;
        margin-bottom: 15px;
    }
    .hero-content > p { font-size: 13px; line-height: 1.8; margin-bottom: 19px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; gap: 11px; }
    .primary-btn, .secondary-btn { padding: 12px 17px; font-size: 12px; }

    .hero-image {
        width: 100%;
        height: 330px;
        justify-content: center;
        align-items: flex-end;
    }
    .hero-image img { object-fit: contain; object-position: center bottom; }
    .hero-wave { height: 40px; bottom: -23px; border-top-width: 7px; }

    .about-main {
        padding: 45px 5% 30px;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .philosophy-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .philosophy-image {
        display: none;
    }
    .philosophy-content { width: 100%; }
    .small-line { width: 48px; height: 4px; margin-bottom: 12px; }
    .philosophy-content h2 { font-size: 23px; margin-bottom: 13px; }
    .philosophy-content p { font-size: 13px; line-height: 1.85; margin-bottom: 12px; }

    /* Mission and Vision stack vertically on mobile. */
    .mission-vision {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 13px;
    }
    .info-card {
        width: 100%;
        min-height: 0;
        padding: 22px 18px;
        border-radius: 18px;
        display: grid;
        grid-template-columns: 75px 1fr;
        grid-template-rows: auto auto;
        column-gap: 15px;
        align-items: center;
        text-align: left;
    }
    .card-icon {
        width: 68px;
        height: 68px;
        margin: 0;
        grid-column: 1;
        grid-row: 1 / 3;
    }
    .info-card h2 {
        font-size: 17px;
        margin-bottom: 5px;
        grid-column: 2;
        grid-row: 1;
    }
    .info-card p {
        font-size: 12px;
        line-height: 1.7;
        max-width: none;
        grid-column: 2;
        grid-row: 2;
    }

    .about-cta {
        margin: 10px 3% 15px;
        padding: 23px 17px;
        border-radius: 20px;
        display: grid;
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }
    .cta-icon { font-size: 35px; grid-row: 1; }
    .cta-text { grid-column: 2; }
    .cta-text h2 { font-size: 19px; line-height: 1.4; }
    .cta-text p { font-size: 11px; }
    .cta-btn {
        grid-column: 1 / 3;
        justify-content: center;
        padding: 13px 15px;
        font-size: 12px;
        white-space: normal;
    }
}

/* SMALL PHONES */
@media screen and (max-width: 380px) {
    .hero-content h1 { font-size: 26px; }
    .hero-image { height: 280px; }
    .philosophy-image { height: 290px; }

    .info-card {
        grid-template-columns: 60px 1fr;
        column-gap: 10px;
        padding: 17px 12px;
    }
    .card-icon { width: 55px; height: 55px; }
    .info-card h2 { font-size: 15px; }
    .info-card p { font-size: 11px; }
    .cta-text h2 { font-size: 17px; }
}
