:root {
    --navy: #0b2345;
    --navy-dark: #06172f;
    --navy-light: #12345f;

    --saffron: #e59b24;
    --gold: #c99a2e;
    --cream: #fffaf0;

    --white: #ffffff;
    --text: #182333;
    --muted: #697384;
    --light: #f5f7fa;

    --border: #e4e8ed;

    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    display: block;
    width: 100%;
}

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
}


/* TOP BAR */

.top-bar {
    background: var(--navy-dark);
    color: #dbe4f0;
    font-size: 11px;
}

.top-bar-inner {
    min-height: 35px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    gap: 25px;
}

.top-bar i {
    color: var(--saffron);
    margin-right: 5px;
}


/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.school-emblem {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--navy);
    color: var(--saffron);

    border-radius: 50%;

    border: 3px solid var(--saffron);

    font-size: 19px;
}

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

.brand-text strong {
    color: var(--navy);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.brand-text span {
    color: #687487;
    margin-top: 4px;

    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: #425066;
    font-size: 13px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--saffron);
}

.admission-btn {
    padding: 11px 17px;

    background: var(--navy);
    color: white !important;

    border-radius: 5px;
}

.admission-btn:hover {
    background: var(--saffron) !important;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    background: white;

    color: var(--navy);

    border-radius: 7px;
}


/* HERO */

.hero {
    min-height: 680px;

    position: relative;

    display: flex;
    align-items: center;

    color: white;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    background-image: url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1900&q=85");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 22, 45, 0.96) 0%,
            rgba(7, 28, 55, 0.84) 48%,
            rgba(7, 28, 55, 0.35) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding: 100px 0;

    max-width: 760px;
    margin-left: max(20px, calc((100vw - var(--container)) / 2));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    background: rgba(229, 155, 36, 0.15);
    border: 1px solid rgba(229, 155, 36, 0.5);

    color: #ffd887;

    font-size: 11px;
    font-weight: 700;

    border-radius: 100px;
}

.hero-mini {
    margin-top: 24px;

    color: #d8e3ef;

    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero h1 {
    margin-top: 13px;

    font-family: "Playfair Display", serif;

    font-size: clamp(46px, 6vw, 76px);
    line-height: 1.02;

    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: #f2bd50;
}

.hero-text {
    max-width: 650px;

    margin-top: 24px;

    color: #d5deea;

    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 30px;
}

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 0 20px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.btn-primary {
    background: var(--saffron);
    color: #17120a;
}

.btn-primary:hover {
    background: #f0b33f;
    transform: translateY(-3px);
}

.btn-light {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: white;
}

.btn-light:hover {
    background: white;
    color: var(--navy);
    transform: translateY(-3px);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    margin-top: 35px;

    color: #d9e1eb;
    font-size: 12px;
}

.hero-points i {
    color: #f2bd50;
    margin-right: 5px;
}

.hero-scroll {
    position: absolute;
    bottom: 25px;
    right: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 9px;
    letter-spacing: 2px;
}

.hero-scroll i {
    color: #f2bd50;
}


/* STATS */

.stats {
    background: var(--navy);
    color: white;
}

.stats-grid {
    min-height: 120px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-right: 1px solid rgba(255,255,255,0.12);

    text-align: center;
}

.stat-item:last-child {
    border: 0;
}

.stat-item strong {
    color: #f2bd50;

    font-family: "Playfair Display", serif;
    font-size: 31px;
}

.stat-item span {
    color: #c6d1df;
    font-size: 11px;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.section-label {
    color: var(--saffron);

    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

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

    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;

    letter-spacing: -1px;
}

h2 span {
    color: var(--navy);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 520px;
    object-fit: cover;

    border-radius: 8px;
}

.experience-card {
    position: absolute;

    right: -25px;
    bottom: 30px;

    width: 190px;

    padding: 20px;

    background: var(--navy);
    color: white;

    border-left: 4px solid var(--saffron);

    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.experience-card strong {
    display: block;

    color: #f2bd50;

    font-family: "Playfair Display", serif;
    font-size: 38px;
}

.experience-card span {
    font-size: 11px;
    color: #ccd7e4;
}

.about-content h2 {
    margin-top: 13px;
}

.about-content > p:not(.section-label) {
    margin-top: 20px;

    color: var(--muted);
    font-size: 14px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 13px;

    margin-top: 25px;
}

.about-points div {
    display: flex;
    gap: 9px;

    color: #3c495b;
    font-size: 12px;
}

.about-points i {
    color: var(--saffron);
}


/* PRINCIPAL */

.principal {
    padding: 110px 0;

    background: var(--cream);
}

.principal-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 80px;
    align-items: center;
}

.principal-content h2 {
    margin-top: 13px;
}

.principal-content blockquote {
    margin: 25px 0;

    padding: 20px 25px;

    border-left: 3px solid var(--saffron);

    background: white;

    color: var(--navy);

    font-family: "Playfair Display", serif;
    font-size: 18px;
    line-height: 1.6;
}

.principal-content > p:not(.section-label) {
    color: var(--muted);
    font-size: 14px;
}

.principal-sign {
    display: flex;
    flex-direction: column;

    margin-top: 25px;
}

.principal-sign strong {
    color: var(--navy);
}

.principal-sign span {
    color: #788393;
    font-size: 11px;
}

.principal-image {
    position: relative;
}

.principal-image img {
    height: 470px;
    object-fit: cover;

    border-radius: 8px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 13px;

    background: rgba(7, 28, 55, 0.88);

    color: white;

    text-align: center;

    font-size: 11px;
    letter-spacing: 1px;
}


/* ACADEMICS */

.academics {
    background: white;
}

.section-heading {
    max-width: 700px;
}

.section-heading h2 {
    margin-top: 12px;
}

.section-heading > p:last-child {
    margin-top: 18px;

    color: var(--muted);
    font-size: 14px;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 50px;
}

.academic-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 8px;

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

.academic-card:hover {
    transform: translateY(-6px);

    border-color: #e8c875;

    box-shadow: 0 18px 45px rgba(8, 30, 60, 0.09);
}

.academic-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    background: #eef4fb;
    color: var(--navy);

    border-radius: 8px;

    font-size: 20px;
}

.academic-card h3 {
    margin-top: 22px;

    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 23px;
}

.academic-card p {
    margin-top: 10px;

    color: var(--muted);
    font-size: 13px;
}

.academic-card > span {
    display: inline-block;

    margin-top: 18px;

    color: var(--saffron);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* FACILITIES */

.facilities {
    background: var(--light);
}

.facility-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;

    grid-auto-rows: 230px;

    gap: 15px;

    margin-top: 45px;
}

.facility-card {
    position: relative;
    overflow: hidden;

    border-radius: 8px;
}

.facility-card.large {
    grid-row: span 2;
}

.facility-card img {
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

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

.facility-overlay {
    position: absolute;
    inset: auto 0 0 0;

    padding: 22px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(5, 20, 40, 0.94)
        );
}

.facility-overlay i {
    color: #f2bd50;
}

.facility-overlay h3 {
    margin-top: 4px;

    font-family: "Playfair Display", serif;
    font-size: 21px;
}

.facility-overlay p {
    color: #d2dce7;
    font-size: 11px;
}


/* ADMISSION */

.admission-section {
    padding: 110px 0;

    background:
        linear-gradient(
            120deg,
            var(--navy-dark),
            var(--navy)
        );

    color: white;
}

.admission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;
    align-items: center;
}

.admission-content h2 {
    margin-top: 13px;
}

.admission-content h2 span {
    color: #f2bd50;
}

.admission-content > p:not(.section-label) {
    margin-top: 20px;

    max-width: 650px;

    color: #c4d0de;
    font-size: 14px;
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 35px;
}

.admission-steps > div {
    display: flex;
    flex-direction: column;
}

.admission-steps span {
    color: #f2bd50;

    font-size: 10px;
    font-weight: 800;
}

.admission-steps strong {
    margin-top: 5px;
}

.admission-steps small {
    margin-top: 3px;

    color: #aab9ca;
    font-size: 10px;
}

.admission-box {
    padding: 35px;

    background: white;
    color: var(--text);

    border-radius: 8px;

    box-shadow: 0 25px 70px rgba(0,0,0,0.22);
}

.admission-box-top {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--saffron);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.admission-box h3 {
    margin-top: 15px;

    color: var(--navy);

    font-family: "Playfair Display", serif;
    font-size: 30px;
}

.admission-box p {
    margin-top: 5px;

    color: var(--muted);
    font-size: 13px;
}

.admission-whatsapp {
    margin-top: 25px;

    width: 100%;

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

    padding: 14px;

    background: #159447;
    color: white;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;
}

.call-link {
    display: block;

    margin-top: 15px;

    color: var(--navy);

    text-align: center;

    font-size: 12px;
    font-weight: 700;
}


/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;
    align-items: center;
}

.contact-info h2 {
    margin-top: 13px;
}

.contact-info > p:not(.section-label) {
    margin-top: 18px;

    color: var(--muted);
    font-size: 14px;
}

.contact-items {
    display: grid;
    gap: 20px;

    margin-top: 35px;
}

.contact-items > div {
    display: flex;
    gap: 14px;
}

.contact-items i {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    background: #eef4fb;
    color: var(--navy);

    border-radius: 7px;
}

.contact-items div div {
    display: flex;
    flex-direction: column;
}

.contact-items strong {
    color: var(--navy);
    font-size: 13px;
}

.contact-items span {
    color: var(--muted);
    font-size: 11px;
}

.map-box {
    min-height: 450px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            rgba(10, 32, 61, 0.88),
            rgba(10, 32, 61, 0.88)
        ),
        url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=1200&q=80");

    background-size: cover;
    background-position: center;

    border-radius: 8px;
}

.map-placeholder {
    padding: 30px;

    text-align: center;
    color: white;
}

.map-placeholder > i {
    color: #f2bd50;
    font-size: 40px;
}

.map-placeholder h3 {
    margin-top: 15px;

    font-family: "Playfair Display", serif;
    font-size: 27px;
}

.map-placeholder p {
    margin-top: 5px;

    color: #c4d0de;
    font-size: 12px;
}

.map-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;

    margin-top: 22px;

    padding: 12px 18px;

    background: #f2bd50;
    color: var(--navy);

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;
}


/* FOOTER */

.footer {
    background: #06172f;
    color: white;

    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer .school-emblem {
    background: transparent;
}

.footer .brand-text strong {
    color: white;
}

.footer .brand-text span {
    color: #aab9ca;
}

.footer-description {
    max-width: 330px;

    margin-top: 15px;

    color: #92a2b5;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links h4 {
    margin-bottom: 7px;

    color: #f2bd50;

    font-size: 12px;
    letter-spacing: 1px;
}

.footer-links a {
    color: #9eacbd;
    font-size: 11px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 18px 0;

    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;

    color: #738399;

    font-size: 10px;
}

.footer-bottom strong {
    color: #f2bd50;
}


/* WHATSAPP */

.floating-whatsapp {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    background: #20bd5a;
    color: white;

    border-radius: 50%;

    font-size: 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}


/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .nav-links {
        position: absolute;

        top: 78px;
        left: 20px;
        right: 20px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 10px;

        background: white;

        border: 1px solid var(--border);
        border-radius: 8px;

        box-shadow: 0 20px 50px rgba(0,0,0,0.12);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 12px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .about-grid,
    .principal-grid,
    .admission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 700px;
    }

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

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

    .facility-card.large {
        grid-row: span 1;
    }

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


@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, var(--container));
    }

    .top-left {
        gap: 10px;
    }

    .top-left span:last-child {
        display: none;
    }

    .top-right {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        margin-left: 0;
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 45px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-points {
        flex-direction: column;
        gap: 9px;
    }

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

    .stat-item {
        min-height: 95px;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .about-image img,
    .principal-image img {
        height: 400px;
    }

    .experience-card {
        right: 12px;
        bottom: 15px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

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

    .facility-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .admission-steps {
        grid-template-columns: 1fr;
    }

    .map-box {
        min-height: 350px;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }
}