/* Parimala Gurukula Mudgal — static rebuild of parimalagurukula.com */

:root {
    --primary: #A1463E;
    --secondary: #CB5201;
    --maroon: #7D1C16;
    --ink: #080A12;
    --muted: #5C606E;
    --light: #F8FBFF;
    --line: #E7ECF3;
    --white: #FFFFFF;
    --blue: #2459A8;
    --blue-dark: #023AA2;
    --yellow: #FBFF33;
    --font-head: "Barlow", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --container: 1170px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    margin: 0 0 16px;
    line-height: 1.2;
}

p {
    margin: 0 0 16px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 120px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
}

.text-muted {
    color: var(--muted);
}

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

/* Background image sections with a colour overlay */
.bg-cover {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-cover > .overlay {
    position: absolute;
    inset: 0;
}

.bg-cover > .container {
    position: relative;
    z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 10px 30px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--white);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s;
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--ink);
}

.btn-dark-hover:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.btn-blue {
    background: var(--blue);
}

.btn-blue:hover {
    background: var(--blue-dark);
}

/* ---------- Header ---------- */
@font-face {
    font-family: "Samarkan";
    src: url("../fonts/SAMARN__.woff") format("woff");
    font-display: swap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(8, 10, 18, .08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1260px;
}

/* Orange contact strip */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    font-size: 14px;
}

.top-bar .container {
    min-height: 40px;
    gap: 15px;
}

.top-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.top-contact i {
    margin-right: 8px;
}

.top-contact .divider {
    color: #FFD9A8;
}

.top-social {
    display: flex;
    gap: 18px;
    font-size: 17px;
}

.top-bar a {
    transition: opacity .3s;
}

.top-bar a:hover {
    opacity: .8;
}

/* Logo + navigation */
.main-bar .container {
    min-height: 100px;
}

.site-header .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-header .logo img {
    width: auto;
    height: 84px;
}

.logo-text {
    font-family: "Samarkan", var(--font-head);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    white-space: nowrap;
    font-family: "Jost", var(--font-head);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    transition: color .3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav .btn-enquire {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary);
    color: var(--white);
    transition: background-color .3s;
}

.main-nav .btn-enquire:hover {
    background: var(--maroon);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    padding: 8px 12px;
    font-size: 20px;
    color: var(--ink);
    cursor: pointer;
}

/* ---------- Home hero ---------- */
.hero {
    background-image: url("../images/Gurukula.webp");
    padding: 40px 0 60px;
}

.hero .overlay {
    background: #000;
    opacity: .8;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
}

.hero p {
    color: var(--white);
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ---------- Enquiry form ---------- */
.form-card {
    background: var(--white);
    border-radius: 25px;
    padding: 20px;
    scroll-margin-top: 170px;
}

.enquiry-title {
    font-size: 28px;
    font-weight: 700;
    color: #8b5a2b;
    text-align: center;
    margin-bottom: 18px;
}

.input-container {
    position: relative;
    margin-bottom: 12px;
}

.input-container .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a7a7a;
    font-size: 16px;
    z-index: 2;
}

.input-container input,
.input-container select {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: var(--white);
    padding: 0 15px 0 48px;
    font-family: var(--font-body);
    font-size: 15px;
    color: #333;
    transition: all .3s ease;
}

.input-container select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-container input:focus,
.input-container select:focus {
    outline: none;
    border-color: #f4a62a;
    box-shadow: 0 0 0 4px rgba(244, 166, 42, .15);
}

.errormsg {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.errormsg:empty {
    display: none;
}

.input-container + .errormsg:empty + .form-submit {
    margin-top: 4px;
}

.form-submit {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f4a62a, #ff7b00);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 166, 42, .3);
}

.form-submit:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

/* ---------- Icon boxes ---------- */
.icon-box .icon {
    width: 50px;
    margin-bottom: 15px;
}

.icon-box h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
}

.icon-box p {
    color: var(--muted);
    margin: 0;
}

.icon-box.row-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box.row-layout .icon {
    flex: 0 0 50px;
    margin: 0;
}

/* Orange highlights strip */
.highlights {
    background: var(--secondary);
    padding: 40px 0;
}

.highlights .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.highlights .icon-box h3,
.highlights .icon-box p {
    color: var(--white);
}

/* Icon and heading side by side, description below */
.highlights .icon-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: start;
    column-gap: 16px;
}

.highlights .icon-box .icon {
    width: 60px;
    margin: 0;
}

.highlights .icon-box h3 {
    margin: 0;
    line-height: 1.2;
}

.highlights .icon-box p {
    grid-column: 1 / -1;
    margin-top: 16px;
}

/* Maroon admissions band */
.admission-band {
    background: var(--maroon);
    padding: 40px 0;
}

.admission-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.admission-band h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.admission-band p {
    color: var(--light);
    margin: 0;
}

.admission-band .btn {
    flex-shrink: 0;
}

/* ---------- Home about ---------- */
.about-home {
    padding: 130px 0;
}

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

.sanskrit-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--maroon);
}

.about-home .text-muted {
    margin-bottom: 30px;
}

.stack {
    display: grid;
    gap: 30px;
}

/* ---------- Facilities (orange) ---------- */
.facilities-home {
    background-image: url("../images/college-life-at-columbia-university-e1638161461940.jpg");
}

.facilities-home .overlay {
    background: var(--secondary);
    opacity: .97;
}

.facilities-home .container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    padding-top: 100px;
    padding-bottom: 55px;
}

.facilities-home .section-title {
    color: var(--white);
    padding-bottom: 14px;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Icon and heading side by side, description below */
.facility-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: start;
    column-gap: 16px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, .13);
    transition: background-color .3s;
}

.facilities-home .facility-box {
    padding: 32px 24px;
}

.facility-box:hover {
    background: rgba(255, 255, 255, .13);
}

.facility-box .icon {
    width: 40px;
    margin: 0;
}

.facility-box h3 {
    margin: 0;
}

.facility-box p {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.facility-box h3,
.facility-box p {
    color: var(--white);
}

.facilities-photo {
    background: url("../images/AQSEaqw.webp") center top / cover no-repeat;
    min-height: 420px;
}

/* ---------- Principal ---------- */
.principal {
    padding: 80px 0 120px;
}

.principal .two-col {
    grid-template-columns: 5fr 7fr;
}

.principal-photo {
    position: relative;
}

.principal-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 18, .17);
}

.eyebrow {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
}

.principal h2 {
    font-size: 48px;
    font-weight: 600;
}

.principal p {
    color: var(--muted);
    margin-bottom: 30px;
}

/* ---------- Counters ---------- */
.counters {
    background-image: url("../images/counter-section.webp");
    padding: 100px 0;
}

.counters .overlay {
    background: var(--primary);
    opacity: .8;
}

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

.counter {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.counter img {
    width: 60px;
    flex-shrink: 0;
}

.counter .number {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
}

/* ---------- Learning (light) ---------- */
.learning {
    background: var(--light);
}

.learning .two-col {
    align-items: start;
}

.learning-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.learning-collage .tall {
    grid-row: span 2;
}

.learning-collage .circle {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 30%;
    z-index: 0;
}

.learning-collage img:not(.circle) {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 10px;
}

/* ---------- Inner page banner ---------- */
.page-banner {
    padding: 140px 0 120px;
    text-align: center;
}

.page-banner .overlay {
    background: var(--ink);
    opacity: .6;
}

.page-banner h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
}

.page-banner p {
    color: var(--white);
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto;
}

/* ---------- Progress bars ---------- */
.progress-item {
    margin-bottom: 22px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-track {
    height: 8px;
    background: var(--line);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--secondary);
    transition: width 1.5s ease;
}

/* ---------- About page ---------- */
.breadcrumb {
    display: inline-flex;
    gap: 10px;
    margin-top: 22px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--white);
    font-size: 15px;
}

.breadcrumb a:hover {
    color: #FFD9A8;
}

.eyebrow-tag {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
}

.eyebrow-tag::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--secondary);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-head .eyebrow-tag::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    margin-left: 10px;
    vertical-align: middle;
    background: var(--secondary);
}

/* Intro */
.motto-card {
    margin: 26px 0 30px;
    padding: 18px 24px;
    background: #FFF4EA;
    border-left: 4px solid var(--secondary);
}

.motto-card .motto {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--maroon);
    margin-bottom: 4px;
}

.motto-card p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.about-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 0 40px 30px;
}

.about-collage::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 70%;
    background: var(--secondary);
    opacity: .12;
}

.about-collage img {
    position: relative;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(8, 10, 18, .15);
}

.about-collage img:last-of-type {
    margin-top: 60px;
}

.about-badge {
    position: absolute;
    left: 0;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--maroon);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(125, 28, 22, .3);
}

.about-badge i {
    font-size: 28px;
    color: #FFD9A8;
}

.about-badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 18px;
}

.about-badge span {
    font-size: 13px;
    opacity: .85;
}

/* Listen · See · Do */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.way-card {
    position: relative;
    padding: 40px 30px 34px;
    background: var(--white);
    border-top: 4px solid var(--secondary);
    box-shadow: 0 15px 40px rgba(8, 10, 18, .07);
    transition: transform .3s, box-shadow .3s;
}

.way-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(8, 10, 18, .12);
}

.way-card .way-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 50%;
    background: #FFF4EA;
    color: var(--secondary);
    font-size: 26px;
}

.way-card .step {
    position: absolute;
    top: 26px;
    right: 28px;
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: var(--line);
}

.way-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.way-card p {
    color: var(--muted);
}

/* Icon and heading side by side, everything else full width below */
.way-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: start;
    column-gap: 18px;
}

.way-card > :not(.way-icon):not(h3):not(.step) {
    grid-column: 1 / -1;
}

.way-card > p {
    margin-top: 20px;
}

.way-card .progress-label {
    font-size: 15px;
    color: var(--ink);
}

.way-card .progress-track {
    background: var(--line);
}

/* Pillars band */
.pillars {
    background: var(--secondary);
    padding: 50px 0;
}

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

.pillar {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.pillar img {
    width: 54px;
    flex-shrink: 0;
}

/* 5E lesson model */
.model-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.model-step {
    padding: 30px 22px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .3s, transform .3s;
}

.model-step:hover {
    border-color: var(--step);
    transform: translateY(-4px);
}

.model-step .letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--step);
    color: var(--white);
    font-size: 22px;
}

.model-step h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--step);
    margin-bottom: 8px;
}

.model-step p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* Principal profile */
.principal-profile .two-col {
    grid-template-columns: 5fr 7fr;
}

.principal-frame {
    position: relative;
    padding: 0 30px 30px 0;
}

.principal-frame::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    border: 4px solid var(--secondary);
}

.principal-frame img {
    position: relative;
    width: 100%;
}

.principal-quote {
    position: relative;
    margin: 0 0 26px;
    padding: 0 0 0 28px;
    border-left: 3px solid var(--line);
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
}

.principal-quote::before {
    content: "\201C";
    position: absolute;
    top: -70px;
    right: 0;
    font-family: Georgia, serif;
    font-size: 160px;
    line-height: 1;
    color: var(--secondary);
    opacity: .15;
}

.principal-quote p:last-child {
    margin: 0;
}

.signature strong {
    display: block;
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--ink);
}

.signature span {
    color: var(--secondary);
    font-weight: 500;
}

/* Learning in action cards (light background) */
.action-section .image-box {
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(8, 10, 18, .08);
}

.action-section .image-box .body {
    border-top: 4px solid var(--secondary);
}

/* Closing CTA */
.cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cta .cta-phone {
    display: block;
    margin-top: 22px;
    color: #FFD9A8;
    font-weight: 500;
}

.cta .cta-phone a {
    color: var(--white);
    font-weight: 600;
}

.image-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.image-box {
    background: var(--white);
    overflow: hidden;
}

.image-box img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .5s;
}

.image-box:hover img {
    transform: scale(1.05);
}

.image-box .body {
    padding: 25px;
}

.image-box h3 {
    font-size: 24px;
    font-weight: 600;
}

.image-box p {
    color: var(--muted);
    margin: 0;
}

/* CTA band used at the bottom of inner pages */
.cta {
    background: var(--maroon);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 40px;
    font-weight: 600;
    color: var(--white);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--light);
}

/* ---------- Facilities page ---------- */
.space-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 0 30px 30px;
}

.space-collage::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%;
    height: 60%;
    background: var(--secondary);
    opacity: .12;
}

.space-collage img {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(8, 10, 18, .12);
}

.space-collage img.wide {
    grid-column: span 2;
    height: 300px;
}

.space-collage .about-badge {
    left: auto;
    right: -10px;
    bottom: -10px;
}

.provide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Icon and heading side by side, description below */
.provide-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: start;
    column-gap: 20px;
    padding: 36px;
    background: var(--white);
    border-bottom: 4px solid transparent;
    box-shadow: 0 15px 40px rgba(8, 10, 18, .07);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.provide-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: 0 25px 50px rgba(8, 10, 18, .12);
}

.provide-card .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--secondary);
}

.provide-card .icon-circle img {
    width: 36px;
}

.provide-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.provide-card p {
    grid-column: 1 / -1;
    margin: 20px 0 0;
    color: var(--muted);
}

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

.kit-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}

.kit-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.kit-card:hover img {
    transform: scale(1.06);
}

.kit-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px 20px 20px;
    background: linear-gradient(transparent, rgba(8, 10, 18, .85));
    color: var(--white);
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
}

.discover {
    background-image: url("../images/what-we-provode.webp");
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.discover .overlay {
    background: var(--maroon);
    opacity: .85;
}

.discover h2 {
    font-size: 40px;
    font-weight: 600;
    color: var(--white);
}

.discover p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.discover .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.discover .cta-phone {
    display: block;
    margin-top: 22px;
    color: #FFD9A8;
    font-weight: 500;
}

.discover .cta-phone a {
    color: var(--white);
    font-weight: 600;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.gallery-grid a:hover img {
    transform: scale(1.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 10, 18, .92);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-height: 90vh;
    width: auto;
}

.lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 34px;
    cursor: pointer;
    padding: 10px 16px;
}

.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.provide-card .icon-circle i {
    font-size: 26px;
    color: var(--white);
}

.info-card {
    padding: 30px 26px;
}

.info-card h3 {
    font-size: 22px;
}

.info-card p {
    line-height: 1.7;
}

.info-card a {
    color: var(--ink);
    font-weight: 500;
    transition: color .3s;
}

.info-card a:hover {
    color: var(--secondary);
}

.connect .two-col {
    align-items: start;
}

.contact-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.contact-images img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.contact-images .wide {
    grid-column: span 2;
    height: 260px;
}

.contact-form-card {
    border: 1px solid var(--line);
    border-top: 5px solid var(--secondary);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(8, 10, 18, .1);
    padding: 30px;
}

.contact-form-card .form-note {
    margin: -12px 0 22px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

.map-section {
    position: relative;
    background: var(--line);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 480px;
    border: 0;
}

.map-card {
    position: absolute;
    top: 50%;
    left: max(16px, calc((100% - 1230px) / 2));
    transform: translateY(-50%);
    width: 340px;
    padding: 30px;
    background: var(--white);
    border-left: 5px solid var(--secondary);
    box-shadow: 0 25px 60px rgba(8, 10, 18, .2);
}

.map-card h2 {
    font-size: 30px;
    font-weight: 600;
}

.map-card p {
    color: var(--muted);
}

.map-card address {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    font-style: normal;
    font-weight: 500;
}

.map-card address i {
    color: var(--secondary);
    margin-top: 4px;
}

.call-band {
    background-image: url("../images/form.webp");
    padding: 90px 0;
    text-align: center;
    color: var(--white);
}

.call-band .overlay {
    background: var(--maroon);
    opacity: .88;
}

.call-band h2 {
    max-width: 800px;
    margin: 0 auto 14px;
    color: var(--white);
    font-size: 38px;
    font-weight: 600;
}

.call-band p {
    max-width: 680px;
    margin: 0 auto 26px;
    color: var(--light);
}

.call-band .phone-big {
    display: inline-block;
    margin-bottom: 26px;
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
}

.call-band .phone-big i {
    color: #FFD9A8;
    margin-right: 10px;
}

.call-band .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr 1.2fr;
    gap: 30px;
    padding-bottom: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(235, 236, 240, .15);
}

.footer-logo img {
    width: 50%;
    margin: 40px auto;
}

.site-footer h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    margin: 40px 0 20px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 16px;
}

.site-footer li i {
    color: var(--secondary);
    margin-top: 5px;
    width: 14px;
}

.site-footer a {
    transition: color .3s;
}

.site-footer a:hover {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.footer-bottom a {
    font-weight: 600;
}

.footer-bottom .credit-link {
    color: var(--secondary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom .credit-link:hover {
    color: var(--white);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

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

/* Skip scroll animations for visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .progress-bar {
        transition: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .section { padding: 90px 0; }
    .section-title,
    .sanskrit-title,
    .principal h2 { font-size: 38px; }
    .hero h1 { font-size: 36px; }
    .hero h2 { font-size: 28px; }
    .hero .container,
    .facilities-home .container { grid-template-columns: 1fr; }
    .facilities-photo { min-height: 360px; }
    .counters .grid,
    .pillars .grid { grid-template-columns: repeat(2, 1fr); }
    .model-grid { grid-template-columns: repeat(3, 1fr); }
    .kits-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .ways-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1300px) {
    .main-nav ul { gap: 18px; }
    .main-nav a { font-size: 16px; }
    .logo-text { font-size: 24px; }
}

@media (max-width: 1100px) {
    .main-bar .container { min-height: 90px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(8, 10, 18, .1);
        display: none;
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 16px;
    }
    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }
    .main-nav .nav-cta { padding: 14px 0 6px; }
    .main-nav .btn-enquire {
        display: block;
        text-align: center;
        padding: 12px;
        border: 0;
    }
}

@media (max-width: 600px) {
    .top-bar .container {
        flex-direction: column;
        justify-content: center;
        padding-top: 6px;
        padding-bottom: 6px;
        gap: 4px;
    }
    .top-contact { justify-content: center; font-size: 13px; }
    .top-email,
    .top-contact .divider:last-of-type { display: none; }
    .site-header .logo img { height: 64px; }
    .logo-text { font-size: 18px; }
}

@media (max-width: 767px) {
    .container { padding: 0 16px; }
    .section,
    .about-home { padding: 70px 0; }
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero h2 { font-size: 22px; }
    .hero-text { text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .form-card { padding: 20px 16px; }
    .enquiry-title {
        font-size: clamp(17px, 5.4vw, 22px);
        white-space: nowrap;
        margin-bottom: 20px;
    }
    .section-title,
    .sanskrit-title,
    .principal h2,
    .cta h2,
    .discover h2 { font-size: 30px; }
    .page-banner { padding: 90px 0 80px; }
    .page-banner h1 { font-size: 40px; }
    .two-col,
    .principal .two-col,
    .principal-profile .two-col,
    .highlights .grid,
    .facility-grid,
    .image-box-grid { grid-template-columns: 1fr; }
    .two-col { gap: 40px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .counters .grid,
    .pillars .grid { grid-template-columns: 1fr; }
    .model-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .model-step { padding: 22px 14px; }
    .model-step:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 7px);
    }
    .provide-grid { grid-template-columns: 1fr; }
    .provide-card { padding: 26px; }
    .kits-grid { gap: 12px; }
    .kit-card span { font-size: 17px; padding: 40px 12px 12px; }
    .space-collage { padding-left: 15px; }
    .space-collage img { height: 140px; }
    .space-collage img.wide { height: 210px; }
    .space-collage .about-badge { right: 0; }
    .about-collage { padding-left: 15px; }
    .about-collage img { height: 260px; }
    .about-collage img:last-of-type { margin-top: 40px; }
    .principal-frame { padding: 0 15px 15px 0; }
    .principal-frame::before { top: 15px; left: 15px; }
    .motto-card .motto { font-size: 24px; }
    .admission-band .container {
        flex-direction: column;
        text-align: center;
    }
    .admission-band h2 { font-size: 26px; }
    .facility-box { padding: 28px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-logo img { margin: 0; width: 120px; }
    .site-footer h4 { margin-top: 10px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .info-grid { grid-template-columns: 1fr; }
    .info-card {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0 18px;
        text-align: center;
    }
    .info-card p { flex-basis: 100%; }
    .contact-form-card { padding: 22px 16px; }
    .contact-images img { height: 130px; }
    .contact-images .wide { height: 200px; }
    .map-section iframe { height: 340px; }
    .map-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: auto;
        margin: -40px 16px 60px;
        border-left: 0;
        border-top: 5px solid var(--secondary);
    }
    .call-band h2 { font-size: 28px; }
    .call-band .phone-big { font-size: 24px; }
}

@media (max-width: 374px) {
    .top-contact .divider { display: none; }
    .site-header .logo img { height: 54px; }
    .logo-text { font-size: 15px; }
}

/* Let grid children shrink below their content width */
.two-col > *,
.hero .container > *,
.facilities-home .container > * {
    min-width: 0;
}

#principal {
    scroll-margin-top: 150px;
}
