/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-maroon: #8E1B2F;
    --primary-maroon-rgb: 142, 27, 47;
    --secondary-navy: #122B52;
    --secondary-navy-rgb: 18, 43, 82;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gold-accent: #D4AF37;
    
    /* Text Colors */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    
    /* Functional Colors */
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --error-color: #EF4444;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(18, 43, 82, 0.08);
    --shadow-hover: 0 20px 40px rgba(18, 43, 82, 0.12);
    
    /* Border Radius & Transitions */
    --radius-md: 12px;
    --radius-full: 9999px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-navy);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Common Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-maroon);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--secondary-navy);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-maroon), var(--gold-accent));
    margin: 15px auto 0 auto;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: var(--transition-smooth);
}

.btn:hover::after {
    left: 200%;
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--primary-maroon);
    color: var(--white);
}

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

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

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

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

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

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

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ==========================================================================
   INTRO ANIMATION OVERLAY
   ========================================================================== */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0.6s;
    opacity: 1;
    visibility: visible;
}

#intro-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 2. Logo Fades in & scales from 85% to 100% */
.logo-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.loader-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.85);
    animation: logoFadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

/* 4. A thin Navy Blue circular stroke draws around the logo */
.loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-circle circle {
    fill: none;
    stroke: var(--secondary-navy);
    stroke-width: 2.5;
    stroke-dasharray: 290;
    stroke-dashoffset: 290;
    animation: drawCircle 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

/* 7. Subtle Maroon glow appears around the logo */
@keyframes logoFadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 25px rgba(142, 27, 47, 0.45));
    }
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

/* 5. School Name fades in below */
.loader-title {
    font-size: 1.8rem;
    color: var(--secondary-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(10px);
    animation: textFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.5s;
    margin-bottom: 8px;
}

/* 6. Tagline appears below */
.loader-tagline {
    font-size: 1rem;
    font-style: italic;
    color: var(--primary-maroon);
    opacity: 0;
    transform: translateY(10px);
    animation: textFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.9s;
}

@keyframes textFadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 2px;
    }
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--secondary-navy);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.text-gold {
    color: var(--gold-accent) !important;
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--secondary-navy);
    letter-spacing: -0.5px;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--primary-maroon);
    font-style: italic;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-navy);
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--primary-maroon);
}

.nav-item.active {
    background-color: var(--light-gray);
    color: var(--secondary-navy);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-header {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Mobile Toggle Hamburger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--secondary-navy);
    transition: var(--transition-fast);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.03);
    animation: zoomHeroBg 20s infinite alternate linear;
}

@keyframes zoomHeroBg {
    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 43, 82, 0.85) 0%, rgba(142, 27, 47, 0.4) 100%);
    z-index: 2;
}

.hero-grid-overlay {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, rgba(18, 43, 82, 0.9) 0%, rgba(20, 40, 80, 0.4) 100%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    background-position: center center;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 900px;
    width: 100%;
}

.hero-left-aligned {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-left-aligned .hero-content {
    text-align: left;
    margin: 0;
}

.hero-left-aligned .fade-up-init {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 650px;
    color: var(--text-light);
    line-height: 1.6;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-accent);
    border-radius: 50%;
}

/* ==========================================================================
   ABOUT TRS SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    height: 480px;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-maroon);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--gold-accent);
}

.badge-years {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    font-family: var(--font-heading);
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 500;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--secondary-navy);
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-features li {
    display: flex;
    gap: 20px;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(142, 27, 47, 0.08);
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-navy);
    margin-bottom: 4px;
}

.feature-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Counters Component */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.counter-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 5px solid var(--secondary-navy);
    transition: var(--transition-smooth);
}

.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.counter-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-maroon);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   WHY CHOOSE TRS
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background-color: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-spring);
    border: 1px solid var(--border-color);
}

.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(142, 27, 47, 0.15);
    border-color: rgba(142, 27, 47, 0.2);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(18, 43, 82, 0.06);
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-spring);
}

.why-card:hover .why-icon {
    background-color: var(--primary-maroon);
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary-navy);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FACILITIES SECTION
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    border: 1px solid var(--border-color);
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(18, 43, 82, 0.15);
}

.facility-img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.facility-info {
    padding: 30px 24px;
}

.facility-info h3 {
    font-size: 1.35rem;
    color: var(--secondary-navy);
    margin-bottom: 12px;
}

.facility-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   ACADEMICS SECTION
   ========================================================================== */
.academics-curriculum {
    margin-bottom: 60px;
}

.curriculum-banner {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-maroon);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.curriculum-badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(142, 27, 47, 0.08);
    color: var(--primary-maroon);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.curriculum-banner h3 {
    font-size: 1.8rem;
    color: var(--secondary-navy);
    margin-bottom: 16px;
}

.curriculum-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.curriculum-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.c-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.c-feat svg {
    color: var(--success-color);
}

/* Academic Levels Grid */
.academics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.academic-card {
    background-color: var(--white);
    padding: 40px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(142, 27, 47, 0.15);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-maroon), var(--gold-accent));
}

.card-level {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-maroon);
    display: block;
    margin-bottom: 12px;
}

.academic-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-navy);
    margin-bottom: 16px;
}

.academic-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer-info {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-navy);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ACTIVITIES SECTION
   ========================================================================== */
.activities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.activity-block {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.activity-block.full-width {
    grid-column: 1 / -1;
}

.activity-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--secondary-navy);
}

.activity-block-header svg {
    color: var(--primary-maroon);
}

.activity-block-header h3 {
    font-size: 1.5rem;
}

.activity-block p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.activity-tags .tag {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--light-gray);
    color: var(--secondary-navy);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.activity-tags .tag:hover {
    background-color: var(--secondary-navy);
    color: var(--white);
    border-color: var(--secondary-navy);
}

.activity-tags.sports-tags .tag:hover {
    background-color: var(--primary-maroon);
    border-color: var(--primary-maroon);
}

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

.event-item {
    background-color: var(--light-gray);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.event-item:hover {
    background-color: var(--white);
    border-color: var(--gold-accent);
}

.event-item strong {
    display: block;
    color: var(--secondary-navy);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.event-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   PHOTO GALLERY
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-maroon);
    border-color: var(--primary-maroon);
    color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: none; /* Controlled by JS for animation filter */
}

.gallery-item.show {
    display: block;
    animation: scaleInGallery 0.4s ease forwards;
}

@keyframes scaleInGallery {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 43, 82, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--white);
    text-align: center;
}

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

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin-bottom: 8px;
    font-weight: 300;
}

.gallery-hover-overlay h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.gallery-hover-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 43, 82, 0.97);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox-modal[aria-hidden="false"] {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--gold-accent);
}

.lightbox-content {
    max-width: 80%;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
    font-family: var(--font-heading);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* ==========================================================================
   VIDEO GALLERY
   ========================================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-thumbnail-container img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-maroon);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(142, 27, 47, 0.4);
    transition: var(--transition-smooth);
    padding-left: 4px; /* Align play triangle */
}

.video-card:hover .video-play-btn {
    background-color: var(--secondary-navy);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(18, 43, 82, 0.4);
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-navy);
}

.video-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 43, 82, 0.97);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.video-modal[aria-hidden="false"] {
    display: flex;
}

.video-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.video-close:hover {
    color: var(--gold-accent);
}

.video-modal-content {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.video-player-wrapper {
    width: 100%;
    height: 100%;
}

.simulated-player {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

.simulated-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.simulated-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    font-family: var(--font-heading);
}

.play-indicator {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gold-accent);
}

.progress-bar-sim {
    width: 100%;
    height: 6px;
    background-color: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    overflow: hidden;
}

.progress-fill {
    width: 45%;
    height: 100%;
    background-color: var(--primary-maroon);
    animation: simulatedPlay 8s infinite linear;
}

@keyframes simulatedPlay {
    from { width: 0%; }
    to { width: 100%; }
}

.control-bottom {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.testimonial-quote-icon {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.2;
    color: rgba(142, 27, 47, 0.12);
    position: absolute;
    top: 24px;
    left: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary-navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.meta-info h4 {
    font-size: 1rem;
    color: var(--secondary-navy);
    margin-bottom: 2px;
}

.meta-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background: transparent;
    border: none;
    color: var(--secondary-navy);
    font-size: 1.1rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.slider-btn:hover {
    background-color: var(--secondary-navy);
    color: var(--white);
    border-color: var(--secondary-navy);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-maroon);
    width: 20px;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   ADMISSIONS CTA SECTION
   ========================================================================== */
.admissions-cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-maroon) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.cta-container h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-container p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn.bg-white-text {
    background-color: var(--white);
    color: var(--primary-maroon);
}

.btn.bg-white-text:hover {
    background-color: var(--secondary-navy);
    color: var(--white);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    color: var(--secondary-navy);
    margin-bottom: 16px;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(18, 43, 82, 0.08);
    color: var(--secondary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-text h4 {
    font-size: 1.1rem;
    color: var(--secondary-navy);
    margin-bottom: 4px;
}

.detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.detail-text a:hover {
    color: var(--primary-maroon);
}

.quick-connect-actions {
    display: flex;
    gap: 16px;
}

.btn-connect {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-call {
    background-color: var(--primary-maroon);
}

.btn-call:hover {
    background-color: var(--secondary-navy);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-panel {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--secondary-navy);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-navy);
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-maroon);
    box-shadow: 0 0 0 3px rgba(142, 27, 47, 0.1);
}

.error-msg {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group.invalid input, .form-group.invalid select {
    border-color: var(--error-color);
}

.form-group.invalid .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 10px;
}

.form-success-alert {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    border-radius: 8px;
    color: var(--success-color);
}

.form-success-alert h4 {
    color: var(--success-color);
    margin-bottom: 4px;
}

.form-success-alert p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.maps-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-top: 60px;
}

.maps-container iframe {
    display: block;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: var(--secondary-navy);
    color: var(--white);
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--primary-maroon);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--gold-accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links ul a:hover {
    color: var(--gold-accent);
    opacity: 1;
    padding-left: 4px;
}

.footer-links p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-contact-info strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
    transform: translateY(-2px);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-maroon);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition-smooth);
}

.back-to-top.show {
    right: 30px;
}

.back-to-top:hover {
    background-color: var(--secondary-navy);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Lightweight CSS Transitions)
   ========================================================================== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-active {
    opacity: 1;
    transform: translate(0) !important;
}

/* Hero entrance animation */
.fade-up-init {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpInit 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 3s; /* Runs immediately after loader ends */
}

@keyframes fadeUpInit {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile First / Breakpoints)
   ========================================================================== */

/* Max Width 1200px (Large Screens / Desktop) */
@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .academics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Max Width 992px (Tablets / Medium Screens) */
@media (max-width: 992px) {
    .top-bar {
        display: none !important;
    }
    .section-padding {
        padding: 70px 0;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        height: 380px;
    }
    .about-experience-badge {
        right: 10px;
        bottom: -15px;
    }
    .counters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .academics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .activities-layout {
        grid-template-columns: 1fr;
    }
    .activities-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Max Width 768px (Mobile Landscapes / Small Screens) */
@media (max-width: 768px) {
    /* Responsive Header & Hamburger drawer */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    /* Toggle Hamburger shape to X */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .btn-header {
        display: none; /* Hide top CTA on small phones to avoid crowding */
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .curriculum-banner {
        padding: 30px;
    }
    .curriculum-features {
        gap: 20px;
    }
    .lightbox-modal {
        padding: 20px;
    }
    .lightbox-content {
        max-width: 95%;
    }
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Max Width 480px (Portrait Phones) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    .counters-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .academics-grid {
        grid-template-columns: 1fr;
    }
    .activities-events-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .quick-connect-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-connect {
        width: 100%;
        justify-content: center;
    }
    .contact-form-panel {
        padding: 24px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   FLOATING CONTACT BUTTONS
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition-spring);
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-4px);
    color: var(--white);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #1EBE55;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.call-btn {
    background-color: var(--primary-maroon);
}

.call-btn:hover {
    background-color: var(--secondary-navy);
    box-shadow: 0 12px 30px rgba(18, 43, 82, 0.4);
}
