/* =========================================
   ROOT
========================================= */

:root {
    --navy: #071c2c;
    --navy-light: #0c2b42;
    --army: #4c5d32;
    --army-dark: #344122;
    --gold: #d6aa55;
    --gold-light: #f2dca8;
    --cream: #f7f4eb;
    --white: #ffffff;
    --black: #111827;
    --text: #4b5563;
    --border: #dde2e5;
    --light: #f5f7f8;

    --shadow:
        0 18px 50px rgba(0, 0, 0, 0.10);

    --radius: 10px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4 {
    font-family: "Barlow Condensed", sans-serif;
    color: var(--navy);
    line-height: 1.08;
}

h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
}

h3 {
    font-size: 1.7rem;
}

.section-label {
    display: inline-block;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--army);
    margin-bottom: 14px;
}

.section-label.gold,
.gold {
    color: var(--gold);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading p {
    margin-top: 15px;
    font-size: 1.05rem;
}

.left-heading {
    text-align: left;
    margin-left: 0;
}


/* =========================================
   TOPBAR
========================================= */

.topbar {
    background: var(--army-dark);
    color: #fff;
    font-size: 0.82rem;
}

.topbar-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar a {
    color: var(--gold-light);
    font-weight: 700;
}


/* =========================================
   HEADER
========================================= */

.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.navbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-emblem {
    width: 46px;
    height: 46px;
    background: var(--army);
    border: 2px solid var(--gold);

    display: grid;
    place-items: center;

    transform: rotate(45deg);
}

.brand-emblem span {
    color: white;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    transform: rotate(-45deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--navy);
}

.brand-text span {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--army);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-menu a {
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    transition: 0.25s;
}

.nav-menu a:hover {
    color: var(--army);
}

.nav-btn {
    background: var(--army);
    color: white !important;
    padding: 11px 20px;
}

.nav-btn:hover {
    background: var(--army-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    margin: 6px 0;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 680px;
    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(90deg,
            rgba(4, 20, 31, 0.96) 0%,
            rgba(4, 20, 31, 0.88) 43%,
            rgba(4, 20, 31, 0.48) 73%,
            rgba(4, 20, 31, 0.25) 100%),
        url("https://sainikschoolamaravathinagar.edu.in/assets/images/gallery/2025_26/POP/pop_35.jpg") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px);

    background-size: 45px 45px;

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 70px;
    align-items: center;

    padding-top: 75px;
    padding-bottom: 75px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.79rem;
    margin-bottom: 18px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    max-width: 780px;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero-lead {
    color: #e7ebee;
    max-width: 700px;
    font-size: 1.05rem;
    margin: 22px 0;
}

.hero-points {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-points div {
    color: white;
    font-size: 0.86rem;
}

.hero-points span {
    color: var(--gold);
    margin-right: 5px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    min-height: 50px;
    padding: 0 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 0.88rem;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: #e6bb66;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: white;
}

.btn-dark:hover {
    background: var(--army);
}

.hero-note {
    font-size: 0.74rem;
    color: #b8c1c7;
    margin-top: 18px;
}


/* =========================================
   HERO FORM
========================================= */

.hero-form-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    border-top: 4px solid var(--gold);
}

.form-top {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 22px;
}

.form-top>span {
    background: var(--army);
    color: white;
    padding: 10px;
    font-weight: 700;
    font-size: 0.78rem;
}

.form-top h2 {
    font-size: 2rem;
}

.form-top p {
    font-size: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d5dadd;
    padding: 12px 13px;
    background: white;
    outline: 0;
    color: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--army);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.submit-btn {
    border: 0;
    width: 100%;
    padding: 14px;
    background: var(--army);
    color: white;
    font-weight: 700;
    transition: 0.25s;
}

.submit-btn:hover {
    background: var(--army-dark);
}

.lead-form small,
.enquiry-form small {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.67rem;
    color: #777;
}


/* =========================================
   QUICK STRIP
========================================= */

.quick-strip {
    background: var(--gold);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.quick-item {
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 28px;
    border-right: 1px solid rgba(7, 28, 44, 0.15);
}

.quick-item:last-child {
    border: 0;
}

.quick-item strong {
    font-family: "Barlow Condensed", sans-serif;
    color: var(--navy);
    font-size: 1.45rem;
}

.quick-item span {
    color: #3d3d36;
    font-size: 0.8rem;
}


/* =========================================
   ABOUT
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    filter: saturate(0.8);
}

.about-image::before {
    content: "";
    width: 150px;
    height: 150px;
    border: 9px solid var(--gold);
    position: absolute;
    left: -22px;
    top: -22px;
    z-index: -1;
}

.image-badge {
    position: absolute;
    right: -25px;
    bottom: 30px;

    background: var(--navy);
    color: white;
    padding: 24px 30px;
}

.image-badge strong {
    display: block;
    font-family: "Barlow Condensed";
    color: var(--gold);
    font-size: 1.6rem;
}

.image-badge span {
    font-size: 0.7rem;
}

.about-content h2 span {
    color: var(--army);
}

.about-content>p {
    margin-top: 20px;
}

.about-feature-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-feature-list>div {
    display: flex;
    align-items: center;
    gap: 13px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.about-feature-list span {
    font-family: "Barlow Condensed";
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
}

.about-feature-list p {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
}


/* =========================================
   ADMISSION STEPS
========================================= */

.admission-section {
    background: var(--light);
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    position: relative;
    background: white;
    padding: 34px 27px;
    min-height: 300px;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-7px);
    border-color: var(--army);
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 18px;
    font-family: "Barlow Condensed";
    font-size: 2.5rem;
    font-weight: 800;
    color: #edf0f1;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--army);
    color: var(--gold);
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    font-weight: 800;
}

.step-card h3 {
    margin-bottom: 13px;
}

.step-card p {
    font-size: 0.86rem;
}


/* =========================================
   CLASS SECTION
========================================= */

.class-section {
    background: var(--navy);
}

.light-heading h2,
.light-heading p {
    color: white;
}

.light-heading p {
    color: #bac5cc;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.class-card {
    background: #102b3e;
    padding: 34px;
    border-top: 3px solid #294459;
}

.class-card.featured-class {
    border-top-color: var(--gold);
    transform: translateY(-10px);
}

.class-tag {
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.class-card h3 {
    color: white;
    font-size: 2rem;
}

.class-card p {
    color: #b8c4cb;
    margin: 15px 0;
    font-size: 0.88rem;
}

.class-card ul {
    list-style: none;
    margin: 22px 0;
}

.class-card li {
    color: #d5dde1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    font-size: 0.82rem;
}

.class-card li::before {
    content: "✓";
    color: var(--gold);
    margin-right: 9px;
}

.class-card a {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.84rem;
}


/* =========================================
   AISSEE
========================================= */

.aissee-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 70px;
    align-items: start;
}

.aissee-content>p {
    margin: 19px 0;
}

.exam-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0;
}

.exam-info {
    padding: 16px;
    border-left: 3px solid var(--gold);
    background: var(--light);
}

.exam-info strong {
    display: block;
    color: var(--navy);
    font-size: 0.9rem;
}

.exam-info span {
    font-size: 0.76rem;
}

.exam-panel {
    background: var(--army);
    padding: 38px;
}

.panel-label {
    color: var(--gold-light);
    font-family: "Barlow Condensed";
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.timeline {
    margin-top: 28px;
}

.timeline-item {
    display: flex;
    gap: 18px;
    position: relative;
    padding-bottom: 26px;
}

.timeline-item>span {
    flex-shrink: 0;

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    background: var(--gold);
    color: var(--navy);
    border-radius: 100%;

    font-weight: 800;
}

.timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 35px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.timeline-item h4 {
    color: white;
    font-size: 1.35rem;
}

.timeline-item p {
    color: #d7dfce;
    font-size: 0.8rem;
}


/* =========================================
   ELIGIBILITY
========================================= */

.eligibility-section {
    background: var(--cream);
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.eligibility-card {
    background: white;
    padding: 28px;
}

.eligibility-icon {
    display: inline-block;
    color: var(--gold);
    font-family: "Barlow Condensed";
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.eligibility-card h3 {
    margin-bottom: 12px;
}

.eligibility-card p {
    font-size: 0.85rem;
}


/* =========================================
   SYLLABUS
========================================= */

.syllabus-layout {
    display: grid;
    grid-template-columns: 0.33fr 0.67fr;
    border: 1px solid var(--border);
}

.syllabus-tabs {
    background: var(--navy);
}

.syllabus-tab {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: white;
    padding: 23px;
    text-align: left;
    font-weight: 600;
}

.syllabus-tab.active,
.syllabus-tab:hover {
    background: var(--army);
    color: var(--gold-light);
}

.syllabus-content {
    padding: 45px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 2.2rem;
}

.tab-content>p {
    margin: 15px 0 25px;
}

.topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.topic-grid span {
    background: var(--light);
    padding: 12px 14px;
    font-size: 0.82rem;
    color: var(--navy);
}

.topic-grid span::before {
    content: "•";
    color: var(--gold);
    margin-right: 8px;
}


/* =========================================
   DATES
========================================= */

.dates-section {
    background: var(--light);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.date-box {
    background: white;
    padding: 25px;
    border-left: 4px solid var(--army);
}

.date-box span {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
}

.date-box strong {
    display: block;
    color: var(--navy);
    font-family: "Barlow Condensed";
    font-size: 1.65rem;
}

.date-box p {
    font-size: 0.82rem;
}


/* =========================================
   RESIDENTIAL
========================================= */

.residential-section {
    background:
        linear-gradient(90deg,
            rgba(7, 28, 44, 0.96) 0%,
            rgba(7, 28, 44, 0.9) 50%,
            rgba(7, 28, 44, 0.4) 100%),
        url("https://cdnbbsr.s3waas.gov.in/s3kv05739e096fef40222c686a6ca2d789/uploads/2025/02/2025021864-1-1024x768.jpg") center / cover no-repeat;

    padding: 110px 0;
}

.residential-grid {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
}

.residential-content h2 {
    color: white;
}

.residential-content>p {
    color: #dce3e7;
    margin-top: 17px;
}

.residential-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin: 28px 0;
}

.residential-list span {
    color: white;
    font-size: 0.84rem;
}

.residential-list span::before {
    content: "✓";
    color: var(--gold);
    margin-right: 7px;
}


/* =========================================
   FEES
========================================= */

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.fees-grid p {
    margin-top: 18px;
}

.fee-card {
    border-top: 5px solid var(--gold);
    background: var(--navy);
    padding: 35px;
}

.fee-card h3 {
    color: white;
    margin-bottom: 22px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}

.fee-row span {
    color: #c8d1d6;
}

.fee-row strong {
    color: var(--gold-light);
}

.full-btn {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    margin-top: 24px;
}


/* =========================================
   WHY
========================================= */

.why-section {
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.why-card {
    padding: 30px;
    background: white;
    min-height: 210px;
}

.why-card>span {
    color: var(--gold);
    font-family: "Barlow Condensed";
    font-size: 2rem;
    font-weight: 800;
}

.why-card h3 {
    margin: 10px 0;
}

.why-card p {
    font-size: 0.84rem;
}


/* =========================================
   SEO CONTENT
========================================= */

.seo-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 65px;
    align-items: start;
}

.seo-layout article p {
    margin: 18px 0;
}

.seo-layout article h3 {
    margin-top: 34px;
}

.seo-sidebar {
    background: var(--navy);
    padding: 30px;
    position: sticky;
    top: 105px;
}

.seo-sidebar h3 {
    color: white;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.seo-sidebar a {
    display: block;
    color: #d4dde1;
    font-size: 0.8rem;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-sidebar a:hover {
    color: var(--gold);
}


/* =========================================
   PREP CTA
========================================= */

.prep-cta {
    background: var(--army);
    padding: 60px 0;
}

.prep-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.prep-grid h2 {
    color: white;
}

.prep-grid p {
    color: #d9e1d3;
    max-width: 750px;
    margin-top: 10px;
}


/* =========================================
   FAQ
========================================= */

.faq-layout {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 70px;
}

.faq-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.faq-intro p {
    margin-top: 16px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;

    padding: 22px 0;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    text-align: left;
    color: var(--navy);

    font-family: "Barlow Condensed";
    font-size: 1.35rem;
    font-weight: 600;
}

.faq-question span {
    color: var(--army);
    font-size: 1.7rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.87rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* =========================================
   ENQUIRY
========================================= */

.enquiry-section {
    background: var(--navy);
    padding: 100px 0;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.enquiry-content h2 {
    color: white;
}

.enquiry-content>p {
    color: #c4cdd3;
    margin: 18px 0;
}

.enquiry-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    color: white;
    margin: 26px 0;
    font-size: 0.85rem;
}

.enquiry-benefits div::first-letter {
    color: var(--gold);
}

.call-card {
    display: inline-flex;
    flex-direction: column;
    background: var(--army);
    padding: 18px 25px;
    color: white;
}

.call-card span {
    font-size: 0.72rem;
}

.call-card strong {
    font-family: "Barlow Condensed";
    color: var(--gold-light);
    font-size: 1.8rem;
}

.enquiry-form {
    background: white;
    padding: 38px;
}

.enquiry-form h3 {
    font-size: 2rem;
}

.enquiry-form>p {
    font-size: 0.82rem;
    margin-bottom: 25px;
}


/* =========================================
   DISCLAIMER
========================================= */

.disclaimer-section {
    padding: 28px 0;
    background: #ece8da;
}

.disclaimer-box {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    align-items: start;
}

.disclaimer-box strong {
    color: var(--navy);
}

.disclaimer-box p {
    font-size: 0.75rem;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #04141f;
    color: #9eabb2;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.footer-brand .brand-text strong {
    color: white;
}

.footer-about p {
    font-size: 0.8rem;
    max-width: 380px;
    margin-top: 25px;
}

.footer h4 {
    color: white;
    margin-bottom: 18px;
}

.footer-grid>div:not(:first-child) {
    display: flex;
    flex-direction: column;
}

.footer a {
    color: #9eabb2;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--gold);
}

.footer-grid>div>p {
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 55px;
    padding: 20px 0;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-size: 0.72rem;
}


/* =========================================
   MOBILE CTA
========================================= */

.mobile-cta {
    display: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 0.78rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.82fr;
        gap: 35px;
    }

    .admission-steps {
        grid-template-columns: 1fr 1fr;
    }

    .eligibility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 820px) {

    body {
        padding-bottom: 58px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 70px 0;
    }


    /* top bar */

    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .topbar-inner p {
        display: none;
    }


    /* header */

    .navbar {
        height: 68px;
    }

    .brand-emblem {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 1.1rem;
    }

    .brand-text span {
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;

        position: absolute;
        left: 0;
        right: 0;
        top: 68px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: white;

        padding: 14px 20px 20px;

        box-shadow: 0 18px 25px rgba(0, 0, 0, 0.09);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 4px;
        border-bottom: 1px solid #eee;
    }

    .nav-btn {
        text-align: center;
        margin-top: 10px;
    }


    /* hero */

    .hero {
        min-height: 0;

        background:
            linear-gradient(rgba(4, 20, 31, 0.87),
                rgba(4, 20, 31, 0.95)),
            url("https://sainikschoolamaravathinagar.edu.in/assets/images/gallery/2025_26/POP/pop_35.jpg") center / cover no-repeat;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.7rem);
    }

    .hero-form-card {
        padding: 23px 18px;
    }


    /* quick */

    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-item {
        padding: 17px;
        min-height: 90px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }


    /* about */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image img {
        height: 400px;
    }

    .image-badge {
        right: 10px;
    }


    /* admission */

    .admission-steps {
        grid-template-columns: 1fr;
    }


    /* class */

    .class-grid {
        grid-template-columns: 1fr;
    }

    .class-card.featured-class {
        transform: none;
    }


    /* aissee */

    .aissee-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .exam-info-grid {
        grid-template-columns: 1fr;
    }


    /* eligibility */

    .eligibility-grid {
        grid-template-columns: 1fr;
    }


    /* syllabus */

    .syllabus-layout {
        grid-template-columns: 1fr;
    }

    .syllabus-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .syllabus-tab {
        padding: 15px 12px;
        font-size: 0.78rem;
    }

    .syllabus-content {
        padding: 28px 20px;
    }


    /* dates */

    .dates-grid {
        grid-template-columns: 1fr;
    }


    /* residential */

    .residential-section {
        background:
            linear-gradient(rgba(7, 28, 44, 0.90),
                rgba(7, 28, 44, 0.96)),
            url("https://cdnbbsr.s3waas.gov.in/s3kv05739e096fef40222c686a6ca2d789/uploads/2025/02/2025021864-1-1024x768.jpg") center / cover no-repeat;
    }

    .residential-grid {
        grid-template-columns: 1fr;
    }


    /* fees */

    .fees-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    /* why */

    .why-grid {
        grid-template-columns: 1fr;
    }


    /* seo */

    .seo-layout {
        grid-template-columns: 1fr;
    }

    .seo-sidebar {
        position: static;
    }


    /* preparation */

    .prep-grid {
        flex-direction: column;
        align-items: flex-start;
    }


    /* FAQ */

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-intro {
        position: static;
    }


    /* enquiry */

    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .enquiry-form {
        padding: 28px 20px;
    }


    /* disclaimer */

    .disclaimer-box {
        grid-template-columns: 1fr;
    }


    /* footer */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* mobile sticky */

    .mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;

        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 2000;

        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
    }

    .mobile-cta a {
        height: 58px;

        display: grid;
        place-items: center;

        font-size: 0.88rem;
        font-weight: 800;
    }

    .mobile-call {
        background: var(--navy);
        color: white;
    }

    .mobile-enquire {
        background: var(--gold);
        color: var(--navy);
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 520px) {

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-points {
        flex-direction: column;
        gap: 7px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-item strong {
        font-size: 1.15rem;
    }

    .about-feature-list {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 320px;
    }

    .topic-grid {
        grid-template-columns: 1fr;
    }

    .residential-list {
        grid-template-columns: 1fr;
    }

    .enquiry-benefits {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

}