/* =========================================
   SAINIK SCHOOL AHMADABAD
   Defence Institution Design
========================================= */

:root {
    --navy: #071521;
    --navy-light: #0d2231;
    --sand: #e9dfc9;
    --cream: #f5f1e8;
    --white: #ffffff;
    --red: #b83b32;
    --red-dark: #8f2924;
    --gold: #c8a96b;
    --text: #18232c;
    --muted: #69737a;
    --border: #d9d6ce;

    --container: 1180px;
    --radius: 4px;

    --heading-font: "Barlow Condensed", sans-serif;
    --body-font: "DM Sans", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}


/* =========================================
   TOP BAR
========================================= */

.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-divider {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, .2);
}

.topbar a {
    color: var(--gold);
}


/* =========================================
   HEADER
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 241, 232, .96);
    border-bottom: 1px solid rgba(7, 21, 33, .1);
    transition: .3s ease;
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(7, 21, 33, .08);
}

.nav-wrapper {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-emblem {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 800;
    border: 2px solid var(--gold);
    transform: rotate(45deg);
}

.brand-emblem span {
    transform: rotate(-45deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: var(--heading-font);
    font-size: 20px;
    letter-spacing: 1px;
}

.brand-text small {
    margin-top: 5px;
    color: var(--red);
    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.navigation a {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    position: relative;
}

.navigation a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: .25s;
}

.navigation a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 11px 20px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    display: block;
    background: var(--navy);
    margin: 5px 0;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        url("https://images.unsplash.com/photo-1594736797933-d0501ba2fe65?auto=format&fit=crop&w=2000&q=90") center / cover no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(7, 21, 33, .97) 0%,
            rgba(7, 21, 33, .82) 43%,
            rgba(7, 21, 33, .35) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
}

.hero-kicker,
.section-number,
.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.kicker-line {
    width: 45px;
    height: 2px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--red);
}

.hero h1 {
    max-width: 720px;
    margin: 22px 0;
    font-family: var(--heading-font);
    font-size: clamp(64px, 8vw, 112px);
    line-height: .88;
    font-weight: 700;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.hero h1 span,
.hero h2 span,
.hero h2 em {
    color: var(--gold);
    font-style: normal;
}

.hero-description {
    max-width: 620px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .25s ease;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, .4);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 820px;
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.hero-stats div {
    display: flex;
    gap: 12px;
    padding: 22px 15px 0 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
}

.hero-stats div:not(:first-child) {
    padding-left: 20px;
}

.hero-stats strong {
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 28px;
}

.hero-stats span {
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.hero-scroll {
    position: absolute;
    right: 30px;
    bottom: 35px;
    z-index: 2;
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, .55);
    font-size: 9px;
    letter-spacing: 2px;
}

.hero-scroll span {
    width: 1px;
    height: 40px;
    display: block;
    margin: 0 auto 12px;
    background: var(--gold);
}


/* =========================================
   INTRO
========================================= */

.intro {
    background: var(--sand);
}

.intro-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 80px;
}

.intro-label {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.intro-label span {
    display: block;
    margin-bottom: 12px;
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: 54px;
}

.intro-content {
    max-width: 820px;
}

.intro-content h2,
.section-heading h2,
.development-content h2,
.hostel-content h2,
.routine-header h2,
.admission-header h2,
.fees h2,
.new-school-content h2,
.defence-content h2,
.why h2,
.regional-heading h2,
.faq-intro h2,
.contact-info h2 {
    margin: 12px 0 25px;
    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 76px);
    line-height: .94;
    text-transform: uppercase;
    color: var(--navy);
}

.intro-content p {
    max-width: 760px;
    margin-bottom: 18px;
    color: var(--muted);
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading p {
    color: var(--muted);
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 620px;
    object-fit: cover;
}

.image-tag {
    position: absolute;
    left: 25px;
    bottom: 25px;
    padding: 14px 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.image-tag span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
}

.about-feature {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.about-feature:first-child {
    padding-top: 0;
}

.about-feature>span {
    color: var(--red);
    font-family: var(--heading-font);
    font-size: 27px;
}

.about-feature h3 {
    margin-bottom: 7px;
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: 26px;
    text-transform: uppercase;
}

.about-feature p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================
   MISSION
========================================= */

.mission-strip {
    padding: 70px 0;
    background: var(--navy);
    color: var(--white);
}

.mission-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.mission-strip span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.mission-strip h2 {
    max-width: 850px;
    margin-top: 10px;
    font-family: var(--heading-font);
    font-size: 48px;
    line-height: 1;
    text-transform: uppercase;
}

.mission-mark {
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 30px;
}


/* =========================================
   ACADEMICS
========================================= */

.academics {
    background: var(--sand);
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.academic-card {
    position: relative;
    min-height: 360px;
    padding: 35px 30px;
    background: var(--cream);
    border: 1px solid var(--border);
    transition: .3s ease;
}

.academic-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(7, 21, 33, .08);
}

.academic-card.featured {
    background: var(--navy);
    color: var(--white);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 20px;
}

.card-icon {
    margin-top: 25px;
    color: var(--red);
    font-size: 38px;
}

.academic-card h3 {
    margin: 25px 0 13px;
    font-family: var(--heading-font);
    font-size: 29px;
    line-height: 1;
    text-transform: uppercase;
}

.academic-card p {
    color: var(--muted);
    font-size: 13px;
}

.academic-card.featured p {
    color: rgba(255, 255, 255, .65);
}

.academic-card a {
    position: absolute;
    bottom: 28px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.academic-card.featured a {
    color: var(--gold);
}


/* =========================================
   DEVELOPMENT
========================================= */

.development {
    background: var(--navy);
    color: var(--white);
}

.development-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.development-content h2 {
    color: var(--white);
}

.development-content p {
    max-width: 570px;
    color: rgba(255, 255, 255, .65);
}

.development-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.development-list div {
    display: flex;
    gap: 15px;
    padding: 18px 10px 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.development-list strong {
    color: var(--gold);
    font-family: var(--heading-font);
}

.development-list span {
    font-size: 13px;
}

.development-image {
    position: relative;
}

.development-image img {
    height: 620px;
    object-fit: cover;
}

.quote-box {
    position: absolute;
    left: -40px;
    bottom: 35px;
    width: 250px;
    padding: 25px;
    background: var(--red);
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 25px;
    line-height: 1.05;
    text-transform: uppercase;
}

.quote-box span {
    display: block;
    font-size: 40px;
    color: var(--gold);
}


/* =========================================
   FACILITIES
========================================= */

.facilities {
    background: var(--cream);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 15px;
}

.facility-card {
    position: relative;
    overflow: hidden;
}

.facility-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.facility-card:hover img {
    transform: scale(1.06);
}

.facility-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
    color: var(--white);
}

.facility-overlay span {
    color: var(--gold);
    font-family: var(--heading-font);
}

.facility-overlay h3 {
    margin-top: 3px;
    font-family: var(--heading-font);
    font-size: 27px;
    text-transform: uppercase;
}

.facility-overlay p {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}


/* =========================================
   HOSTEL
========================================= */

.hostel {
    background: var(--sand);
}

.hostel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hostel-image {
    position: relative;
}

.hostel-image img {
    height: 620px;
    object-fit: cover;
}

.hostel-label {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 9px 13px;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hostel-content p {
    color: var(--muted);
}

.hostel-points {
    margin-top: 35px;
}

.hostel-points>div {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.hostel-points>div>span {
    color: var(--red);
    font-family: var(--heading-font);
    font-size: 24px;
}

.hostel-points strong {
    font-family: var(--heading-font);
    font-size: 23px;
    text-transform: uppercase;
}

.hostel-points p {
    margin-top: 5px;
    font-size: 13px;
}


/* =========================================
   ROUTINE
========================================= */

.routine {
    background: var(--cream);
}

.routine-header {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    margin-bottom: 60px;
}

.routine-header h2 {
    margin-bottom: 0;
}

.routine-header p {
    color: var(--muted);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
}

.timeline-item {
    min-height: 220px;
    padding: 25px;
    border-right: 1px solid var(--border);
}

.timeline-item:last-child {
    border-right: 0;
}

.timeline-item span {
    color: var(--red);
    font-family: var(--heading-font);
    font-size: 25px;
}

.timeline-item strong {
    display: block;
    margin-top: 30px;
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: 29px;
    text-transform: uppercase;
}

.timeline-item p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================
   ADMISSION
========================================= */

.admission {
    background: var(--navy);
    color: var(--white);
}

.admission-header {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
}

.admission-header h2 {
    color: var(--white);
}

.admission-header p {
    color: rgba(255, 255, 255, .65);
}

.admission-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
}

.process-card {
    padding: 35px 25px;
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, .15);
}

.process-card span {
    color: var(--gold);
    font-family: var(--heading-font);
    font-size: 30px;
}

.process-card h3 {
    margin: 40px 0 10px;
    font-family: var(--heading-font);
    font-size: 28px;
    text-transform: uppercase;
}

.process-card p {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

.admission-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    padding: 35px;
    background: #102a3b;
}

.admission-cta span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.admission-cta h3 {
    margin-top: 5px;
    font-family: var(--heading-font);
    font-size: 30px;
    text-transform: uppercase;
}


/* =========================================
   FEES
========================================= */

.fees {
    background: var(--sand);
}

.fees-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.fees p {
    color: var(--muted);
}

.fee-box {
    border-top: 2px solid var(--navy);
}

.fee-row {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.fee-row span {
    color: var(--red);
    font-family: var(--heading-font);
}

.fee-row strong {
    font-family: var(--heading-font);
    font-size: 21px;
    text-transform: uppercase;
}

.fee-row em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}


/* =========================================
   NEW SCHOOL
========================================= */

.new-school {
    background: var(--cream);
}

.new-school-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.new-school-image img {
    height: 550px;
    object-fit: cover;
}

.new-school-content p {
    color: var(--muted);
    margin-bottom: 15px;
}

.new-school-note {
    margin-top: 25px;
    padding: 20px;
    background: var(--sand);
    border-left: 3px solid var(--red);
    color: var(--muted);
    font-size: 13px;
}

.new-school-note strong {
    color: var(--navy);
}


/* =========================================
   DEFENCE
========================================= */

.defence {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.defence-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(7, 21, 33, .9), rgba(7, 21, 33, .92)),
        url("https://images.unsplash.com/photo-1564981797816-1043664bf78d?auto=format&fit=crop&w=2000&q=85") center / cover;
}

.defence-content {
    position: relative;
    z-index: 1;
}

.defence h2 {
    max-width: 850px;
    color: var(--white);
}

.defence-content>p {
    max-width: 720px;
    color: rgba(255, 255, 255, .7);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.career-grid div {
    padding: 25px;
    border-right: 1px solid rgba(255, 255, 255, .2);
}

.career-grid div:last-child {
    border-right: 0;
}

.career-grid strong {
    display: block;
    color: var(--gold);
    font-family: var(--heading-font);
}

.career-grid span {
    display: block;
    margin-top: 25px;
    font-family: var(--heading-font);
    font-size: 27px;
}

.career-grid small {
    display: block;
    color: rgba(255, 255, 255, .5);
    font-size: 11px;
}


/* =========================================
   WHY
========================================= */

.why {
    background: var(--sand);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.why-card {
    min-height: 240px;
    padding: 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-card span {
    color: var(--red);
    font-family: var(--heading-font);
    font-size: 25px;
}

.why-card h3 {
    margin: 30px 0 10px;
    font-family: var(--heading-font);
    font-size: 28px;
    text-transform: uppercase;
}

.why-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================
   REGIONAL
========================================= */

.regional {
    background: var(--cream);
}

.regional-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
}

.regional-content p {
    margin-bottom: 20px;
    color: var(--muted);
}

.regional-content strong {
    color: var(--navy);
}

.regional-disclaimer {
    padding: 18px;
    background: var(--sand);
    border-left: 3px solid var(--red);
    font-size: 13px;
}


/* =========================================
   FAQ
========================================= */

.faq {
    background: var(--navy);
    color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 100px;
}

.faq-intro h2 {
    color: var(--white);
}

.faq-intro p {
    color: rgba(255, 255, 255, .6);
}

.faq-item {
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    background: transparent;
    border: 0;
    color: var(--white);
    text-align: left;
    font-family: var(--heading-font);
    font-size: 24px;
    text-transform: uppercase;
}

.faq-icon {
    color: var(--gold);
    font-family: var(--body-font);
    font-size: 25px;
    transition: .3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: .35s ease;
}

.faq-answer p {
    max-width: 800px;
    padding: 0 40px 25px 0;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* =========================================
   FINAL CTA
========================================= */

.final-cta {
    padding: 80px 0;
    background: var(--red);
    color: var(--white);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta span {
    color: rgba(255, 255, 255, .65);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.final-cta h2 {
    margin-top: 8px;
    font-family: var(--heading-font);
    font-size: 60px;
    line-height: .9;
    text-transform: uppercase;
}

.final-cta h2 span {
    color: var(--gold);
    font-size: inherit;
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    background: var(--gold);
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
}

.contact-info>p {
    max-width: 500px;
    color: var(--muted);
}

.contact-details {
    margin-top: 40px;
}

.contact-details div {
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.contact-details span {
    display: block;
    color: var(--red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-details strong {
    display: block;
    margin-top: 4px;
    font-family: var(--heading-font);
    font-size: 22px;
    text-transform: uppercase;
}

.contact-form {
    padding: 45px;
    background: var(--sand);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cfc9ba;
    background: var(--cream);
    color: var(--text);
    padding: 13px 14px;
    outline: none;
    transition: .2s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
}

.form-submit {
    border: 0;
}

.form-note {
    margin-top: 13px;
    color: var(--red);
    font-size: 12px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #04101a;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    padding: 70px 0;
}

.footer .brand-text strong {
    color: var(--white);
}

.footer-brand p {
    max-width: 320px;
    margin-top: 25px;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-column a {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    transition: .2s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .35);
    font-size: 10px;
}


/* =========================================
   BACK TO TOP
========================================= */

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 45px;
    height: 45px;
    border: 0;
    background: var(--red);
    color: var(--white);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .navigation {
        gap: 16px;
    }

    .navigation a {
        font-size: 12px;
    }

    .section-heading,
    .routine-header,
    .admission-header {
        grid-template-columns: 1fr 330px;
    }

    .academic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admission-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-grid div:nth-child(2) {
        border-right: 0;
    }

}


@media (max-width: 850px) {

    .topbar-left {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .navigation {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
    }

    .navigation a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .intro-grid,
    .about-grid,
    .development-grid,
    .hostel-grid,
    .fees-grid,
    .new-school-grid,
    .regional-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .section-heading,
    .routine-header,
    .admission-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-image img,
    .development-image img,
    .hostel-image img {
        height: 500px;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-card.large {
        grid-column: span 2;
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-item:nth-child(2) {
        border-right: 0;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .section {
        padding: 75px 0;
    }

    .topbar {
        font-size: 9px;
    }

    .topbar-right {
        gap: 8px;
    }

    .topbar-right span:last-child {
        display: none;
    }

    .nav-wrapper {
        min-height: 72px;
    }

    .navigation {
        top: 72px;
    }

    .brand-emblem {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: clamp(54px, 16vw, 80px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 50px;
    }

    .hero-stats div {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .hero-stats div:nth-child(2) {
        border-right: 0;
    }

    .hero-scroll {
        display: none;
    }

    .intro-content h2,
    .section-heading h2,
    .development-content h2,
    .hostel-content h2,
    .routine-header h2,
    .admission-header h2,
    .fees h2,
    .new-school-content h2,
    .defence-content h2,
    .why h2,
    .regional-heading h2,
    .faq-intro h2,
    .contact-info h2 {
        font-size: 50px;
    }

    .mission-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .mission-strip h2 {
        font-size: 38px;
    }

    .academic-grid {
        grid-template-columns: 1fr;
    }

    .development-list {
        grid-template-columns: 1fr;
    }

    .quote-box {
        left: 15px;
        bottom: 15px;
    }

    .facility-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .facility-card.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .about-image img,
    .development-image img,
    .hostel-image img,
    .new-school-image img {
        height: 420px;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        border-right: 0;
        min-height: 0;
    }

    .admission-process {
        grid-template-columns: 1fr;
    }

    .admission-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .fee-row {
        grid-template-columns: 30px 1fr;
    }

    .fee-row em {
        grid-column: 2;
    }

    .career-grid {
        grid-template-columns: 1fr;
    }

    .career-grid div,
    .career-grid div:nth-child(2) {
        border-right: 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 19px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 25px;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta h2 {
        font-size: 48px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


@media (max-width: 390px) {

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 52px;
    }

    .intro-content h2,
    .section-heading h2,
    .development-content h2,
    .hostel-content h2,
    .routine-header h2,
    .admission-header h2,
    .fees h2,
    .new-school-content h2,
    .defence-content h2,
    .why h2,
    .regional-heading h2,
    .faq-intro h2,
    .contact-info h2 {
        font-size: 43px;
    }

}