/* =========================================================
   GREEN VALLEY PUBLIC SCHOOL
   Main Stylesheet
   Theme: Green + White
   Board: RBSE
   ========================================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #126b3a;
    --deep: #084b29;
    --light: #edf7f0;
    --white: #ffffff;
    --ink: #10251a;
    --muted: #66746c;
    --line: #dce8df;
    --gold: #c8a65a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1140px, 92%);
    margin: auto;
}
/* About Section School Image */

.real-school-image {
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 18px;
}

.real-school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.real-school-image:hover img {
    transform: scale(1.04);
}


/* Mobile */

@media (max-width: 700px) {

    .real-school-image {
        height: 300px;
    }

}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: var(--deep);
    color: #dff2e5;
    font-size: 0.82rem;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar a {
    color: #ffffff;
    font-weight: 700;
}


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

.header {
    height: 82px;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(18, 107, 58, 0.08);
    transition: 0.3s;
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

/* =========================================================
   SCHOOL LOGO
   ========================================================= */

.school-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    line-height: 1.1;
    color: var(--deep);
}

.brand-text span {
    display: block;
    color: var(--green);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav > a:not(.nav-cta) {
    position: relative;
}

.nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: 0.25s;
}

.nav > a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--green);
    color: #ffffff !important;
    padding: 11px 18px;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(18, 107, 58, 0.18);
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 1.7rem;
    color: var(--deep);
    cursor: pointer;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(
        115deg,
        #0a3d23 0%,
        #126b3a 58%,
        #68a66e 100%
    );
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.hero::before {
    width: 600px;
    height: 600px;
    right: -170px;
    top: -180px;
}

.hero::after {
    width: 380px;
    height: 380px;
    right: 80px;
    bottom: -230px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(255, 255, 255, 0.16),
            transparent 28%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.15),
            transparent 60%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 90px 0;
}

.eyebrow {
    font-size: 0.74rem;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 17px;
    color: #d9efe0;
}

.eyebrow.green {
    color: var(--green);
}

h1,
h2 {
    font-family: "Playfair Display", serif;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -2px;
}

h1 span {
    color: #d8f0dc;
}

.hero-text {
    max-width: 590px;
    margin: 24px 0 32px;
    color: #eaf7ed;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 7px;
    padding: 14px 22px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: 0.25s;
    cursor: pointer;
}

.btn-primary {
    background: var(--green);
    color: #ffffff;
}

.hero .btn-primary {
    background: #ffffff;
    color: var(--deep);
}

.btn-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.btn-outline-green {
    border: 1px solid var(--green);
    color: var(--green);
    background: #ffffff;
}

.btn-outline-green:hover {
    background: var(--green);
    color: #ffffff;
}

.full {
    width: 100%;
}


/* =========================================================
   HERO BADGE
   ========================================================= */

.hero-badge {
    position: absolute;
    z-index: 3;
    right: 8%;
    bottom: 55px;
    background: #ffffff;
    padding: 15px 19px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.badge-icon {
    height: 36px;
    width: 36px;
    background: var(--light);
    color: var(--green);
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.hero-badge strong,
.hero-badge small {
    display: block;
}

.hero-badge strong {
    color: var(--deep);
}

.hero-badge small {
    font-size: 0.72rem;
    color: var(--muted);
}


/* =========================================================
   QUICK STATS
   ========================================================= */

.quick-stats {
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(10, 60, 30, 0.07);
    position: relative;
    z-index: 4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px 0;
}

.stats-grid div {
    padding: 5px 28px;
    border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
    border: 0;
}

.stats-grid strong,
.stats-grid span {
    display: block;
}

.stats-grid strong {
    color: var(--deep);
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
}

.stats-grid span {
    font-size: 0.78rem;
    color: var(--muted);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 105px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.section-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(145deg, #dceee1, #b5d5bd);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--green);
    min-height: 430px;
    border: 1px solid #cfe4d4;
}

.image-placeholder span {
    font-size: 4rem;
}

.image-placeholder p {
    font-weight: 800;
    font-size: 1.1rem;
}

.image-placeholder small {
    color: #557361;
}

.floating-card {
    position: absolute;
    right: -30px;
    bottom: 30px;
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    color: var(--green);
}

.floating-card span {
    font-size: 0.78rem;
    color: var(--muted);
}

h2 {
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--deep);
}

h2 em {
    color: var(--green);
    font-style: normal;
}

.section-copy > p:not(.eyebrow) {
    color: var(--muted);
    margin: 17px 0;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 25px 0;
    color: #31523e;
    font-size: 0.9rem;
    font-weight: 600;
}

.text-link {
    color: var(--green);
    font-weight: 800;
    display: inline-flex;
    gap: 15px;
}

.soft-section {
    background: var(--light);
}

.section-heading {
    text-align: center;
    max-width: 690px;
    margin: 0 auto 45px;
}

.section-heading p:last-child {
    color: var(--muted);
}


/* =========================================================
   ACADEMICS
   ========================================================= */

.academic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.academic-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #dbe9df;
    transition: 0.3s;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(18, 107, 58, 0.1);
    border-color: #b9d8c2;
}

.card-number {
    color: #9cb9a5;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

.academic-card h3 {
    font-family: "Playfair Display", serif;
    color: var(--deep);
    font-size: 1.35rem;
}

.academic-card p {
    color: var(--green);
    font-weight: 800;
    margin: 4px 0 13px;
}

.academic-card span {
    font-size: 0.82rem;
    color: var(--muted);
}


/* =========================================================
   FACILITIES
   ========================================================= */

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
}

.facility {
    background: #ffffff;
    padding: 35px;
}

.facility span {
    font-size: 2rem;
}

.facility h3 {
    margin: 14px 0 6px;
    color: var(--deep);
    font-family: "Playfair Display", serif;
}

.facility p {
    font-size: 0.84rem;
    color: var(--muted);
}


/* =========================================================
   QUOTE SECTION
   ========================================================= */

.quote-section {
    padding: 90px 0;
    background: var(--deep);
    color: #ffffff;
    text-align: center;
}

.quote-content {
    max-width: 850px;
}

.quote-content > span {
    font-family: "Playfair Display", serif;
    font-size: 5rem;
    line-height: 0.5;
    color: #94c49f;
}

.quote-content h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 20px 0;
}

.quote-content p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #a8cfb2;
    font-weight: 800;
}


/* =========================================================
   HOMEPAGE GALLERY
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 13px;
}

.gallery-item {
    border-radius: 11px;
    background: linear-gradient(145deg, #dceee1, #b4d2bc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.015);
}

.gallery-item span {
    font-size: 2.4rem;
}

.gallery-item b {
    margin-top: 7px;
}

.gallery-item.tall {
    grid-row: span 2;
}


/* =========================================================
   ENQUIRY SECTION
   ========================================================= */

.enquiry-section {
    background: var(--light);
}

.enquiry-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.enquiry-copy .eyebrow {
    color: var(--green);
}

.enquiry-copy h2 {
    margin-bottom: 20px;
}

.enquiry-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.whatsapp-note {
    margin-top: 25px;
    padding: 14px 16px;
    border-left: 3px solid var(--green);
    background: #ffffff;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep);
}

.enquiry-form {
    background: #ffffff;
    padding: 34px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(8, 75, 41, 0.08);
}


/* =========================================================
   FORM
   ========================================================= */

label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--deep);
    margin-bottom: 17px;
}

input,
select,
textarea {
    font: inherit;
    width: 100%;
    margin-top: 7px;
    border: 1px solid #d5e3d9;
    border-radius: 6px;
    padding: 12px 13px;
    outline: 0;
    background: #fbfdfb;
    color: var(--ink);
    transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(18, 107, 58, 0.08);
}

textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.form-note {
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
    margin-top: 13px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-copy > p:not(.eyebrow) {
    color: var(--muted);
    margin: 20px 0 25px;
}

.contact-list {
    margin: 30px 0;
}

.contact-list > div {
    display: flex;
    gap: 15px;
    margin: 19px 0;
}

.contact-list span {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    background: var(--light);
    display: grid;
    place-items: center;
}

.contact-list b {
    font-size: 0.86rem;
    color: var(--deep);
}

.contact-list p {
    font-size: 0.82rem;
    color: var(--muted);
}


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

.map-placeholder {
    min-height: 370px;
    border-radius: 14px;
    background: #e8f3eb;
    border: 1px solid #cfe1d4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    color: var(--green);
}

.map-placeholder span {
    font-size: 3rem;
}

.map-placeholder h3 {
    color: var(--deep);
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    margin: 10px;
}

.map-placeholder p {
    font-weight: 700;
}

.map-placeholder small {
    max-width: 310px;
    color: var(--muted);
    margin-top: 10px;
}


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

footer {
    background: #062f1a;
    color: #cce2d2;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand strong {
    color: #ffffff;
}

.footer-brand span {
    color: #9ac2a6;
}

.footer-grid p {
    font-size: 0.82rem;
    margin-top: 17px;
    color: #8eae99;
}

.footer-grid h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-grid > div > a:not(.brand) {
    display: block;
    font-size: 0.82rem;
    margin: 8px 0;
    color: #a7c2af;
}

.footer-grid > div > a:not(.brand):hover {
    color: #ffffff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 18px;
    font-size: 0.72rem;
    color: #759684;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    height: 45px;
    width: 45px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: #ffffff;
    font-size: 1.2rem;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 60;
    cursor: pointer;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   SCROLL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* =========================================================
   DEDICATED PAGE - HERO
   ========================================================= */

.page-hero {
    min-height: 410px;
    background: linear-gradient(
        135deg,
        #073b22 0%,
        #126b3a 62%,
        #2b8a50 100%
    );
    display: flex;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    right: -160px;
    top: -180px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 80px 0;
}

.page-hero .eyebrow {
    color: #b8d9c1;
}

.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 1;
    margin: 12px 0 20px;
}

.page-hero p:last-child {
    max-width: 680px;
    color: #d9eee0;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   DEDICATED ENQUIRY PAGE
   ========================================================= */

.enquiry-page {
    padding-bottom: 80px;
}

.enquiry-info-list {
    margin: 32px 0;
}

.enquiry-info-list > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
}

.enquiry-info-list span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light);
    display: grid;
    place-items: center;
    flex: none;
}

.enquiry-info-list strong,
.enquiry-info-list small {
    display: block;
}

.enquiry-info-list strong {
    color: var(--deep);
    margin-bottom: 4px;
}

.enquiry-info-list small {
    color: var(--muted);
    font-size: 0.82rem;
}

.form-title {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.form-title > span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--green);
    background: var(--light);
    padding: 9px 11px;
    border-radius: 7px;
}

.form-title h3 {
    font-family: "Playfair Display", serif;
    color: var(--deep);
    font-size: 1.5rem;
}

.form-title p {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 3px;
}

.enquiry-help {
    padding: 75px 0;
}

.enquiry-help .text-link {
    margin-top: 20px;
}


/* =========================================================
   HOMEPAGE ENQUIRY CTA
   ========================================================= */

.enquiry-home-cta .enquiry-cta-card {
    text-align: center;
    padding: 45px 34px;
}

.cta-icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--light);
    display: grid;
    place-items: center;
    font-size: 1.7rem;
}

.enquiry-cta-card h3 {
    font-family: "Playfair Display", serif;
    color: var(--deep);
    font-size: 1.7rem;
}

.enquiry-cta-card p {
    color: var(--muted);
    margin: 8px 0 22px;
}

.enquiry-cta-card .text-link {
    justify-content: center;
    margin-top: 18px;
}


/* =========================================================
   DEDICATED GALLERY PAGE
   ========================================================= */

.gallery-page {
    padding-top: 85px;
}

.gallery-hero {
    min-height: 380px;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(145deg, #dceee1, #a9cdb3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: 0.35s;
}

.gallery-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(3, 43, 23, 0.72) 100%
    );
    opacity: 0.85;
}

.gallery-photo > span {
    font-size: 4.2rem;
    transform: translateY(-8px);
}

.gallery-photo > div {
    position: absolute;
    left: 22px;
    bottom: 18px;
    color: #ffffff;
}

.gallery-photo b,
.gallery-photo small {
    display: block;
}

.gallery-photo b {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
}

.gallery-photo small {
    font-size: 0.73rem;
    color: #dcefe2;
    margin-top: 3px;
}

.gallery-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(8, 75, 41, 0.16);
}

.photo-campus {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-events {
    grid-column: span 2;
}


/* =========================================================
   GALLERY NOTE
   ========================================================= */

.gallery-upload-note {
    margin-top: 35px;
    background: var(--light);
    border: 1px solid #d4e6d9;
    border-radius: 14px;
    padding: 25px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.gallery-upload-note strong,
.gallery-upload-note span {
    display: block;
}

.gallery-upload-note strong {
    color: var(--deep);
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
}

.gallery-upload-note span {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 5px;
}


/* =========================================================
   TABLET RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .nav {
        gap: 15px;
    }

    .two-col,
    .contact-grid {
        gap: 45px;
    }

    .academic-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid div:nth-child(2) {
        border-right: 0;
    }

    .stats-grid div {
        margin: 8px 0;
    }

    .enquiry-wrap {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .full-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photo-campus {
        grid-column: span 2;
    }

    .photo-events {
        grid-column: span 2;
    }
}


/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .topbar-inner {
        justify-content: center;
    }

    .topbar-inner span:first-child {
        display: none;
    }

    .topbar {
        font-size: 0.72rem;
    }

    .header {
        height: 72px;
    }

    .menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 18px 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }

    .nav.open {
        display: flex;
    }

    .nav > a {
        padding: 12px 5px;
    }

    .nav-cta {
        text-align: center;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero-badge {
        right: 5%;
        bottom: 25px;
    }

    .section {
        padding: 75px 0;
    }

    .two-col,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        gap: 55px;
    }

    .floating-card {
        right: 10px;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .academic-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px 160px;
    }

    .gallery-item.tall {
        grid-row: auto;
        grid-column: span 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .enquiry-form {
        padding: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: span 2;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .page-hero {
        min-height: 350px;
    }

    .page-hero-content {
        padding: 65px 0;
    }

    .full-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }

    .photo-campus,
    .photo-events {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-upload-note {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .enquiry-home-cta .enquiry-cta-card {
        padding: 30px 23px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    h1 {
        font-size: 2.8rem;
    }

    .brand strong {
        font-size: 1rem;
    }

    .logo-mark {
        height: 39px;
        width: 39px;
    }

    .stats-grid strong {
        font-size: 1rem;
    }

    .stats-grid div {
        padding: 5px 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.tall {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}
@media (max-width: 700px) {

    .school-logo {
        width: 48px;
        height: 48px;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .brand-text span {
        font-size: 0.6rem;
    }
}
/* =========================================================
   REAL PHOTO GALLERY
   ========================================================= */

.gallery-photo {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #dceee1;
    cursor: pointer;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Dark overlay */

.gallery-photo::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(3, 43, 23, 0.85) 100%
        );

    z-index: 1;
}


/* Text */

.gallery-overlay {
    position: absolute;

    left: 22px;
    right: 20px;
    bottom: 18px;

    color: white;

    z-index: 2;
}


/* Title */

.gallery-overlay b {
    display: block;

    font-family:
        "Playfair Display",
        serif;

    font-size: 1.25rem;
}


/* Description */

.gallery-overlay small {
    display: block;

    margin-top: 3px;

    font-size: 0.73rem;

    color: #dcefe2;
}


/* Hover */

.gallery-photo:hover img {
    transform: scale(1.08);

    filter: brightness(1.05);
}


/* Gallery sizes */

.photo-campus {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-events {
    grid-column: span 2;
}


/* =========================================================
   MOBILE GALLERY
   ========================================================= */

@media (max-width: 900px) {

    .full-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photo-campus {
        grid-column: span 2;
        grid-row: span 2;
    }

    .photo-events {
        grid-column: span 2;
    }

}


@media (max-width: 700px) {

    .full-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .photo-campus,
    .photo-events {
        grid-column: auto;
        grid-row: auto;
    }

}
/* =========================================================
   FOOTER SOCIAL MEDIA
   ========================================================= */

.footer-link {
    display: block;
    margin-bottom: 10px;
}


/* Social icons container */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}


/* Social icon */

.social-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* SVG */

.social-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}


/* Facebook */

.social-icon.facebook {
    background: #1877F2;
}


/* Instagram */

.social-icon.instagram {
    background: linear-gradient(
        135deg,
        #833AB4,
        #E1306C,
        #F77737,
        #FCAF45
    );
}


/* Hover effect */

.social-icon:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}
/* =========================================
   FOOTER FACEBOOK & INSTAGRAM ICONS
   ========================================= */

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white !important;
    text-decoration: none !important;

    transition: all 0.3s ease;
}

.social-icons svg {
    width: 21px;
    height: 21px;
}

/* Facebook */

.facebook-icon {
    background: #1877F2;
}

.facebook-icon svg {
    fill: white;
}


/* Instagram */

.instagram-icon {
    background: linear-gradient(
        135deg,
        #833AB4,
        #E1306C,
        #F77737,
        #FCAF45
    );
}

.instagram-icon svg {
    color: white;
}


/* Hover effect */

.social-icons a:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}