/*
Theme Name: AIRS - Adab International Residential School
Theme URI: https://adabschool.edu.in
Author: AIRS Web Team
Author URI: https://adabschool.edu.in
Description: Premium, mobile-first school website theme for Adab International Residential School, Islampur, Uttar Dinajpur, West Bengal. Features CBSE & Madrasah curriculum, admissions, facilities and more.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airs
Tags: education, school, mobile-first, responsive, custom-colors, featured-images

This theme is designed specifically for AIRS - Adab International Residential School.
*/

/* ==================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
================================================== */
:root {
    /* Brand Colors */
    --clr-navy:       #1a2f6e;
    --clr-blue:       #1e4db7;
    --clr-blue-mid:   #2563eb;
    --clr-blue-light: #3b82f6;
    --clr-purple:     #5b21b6;
    --clr-purple-mid: #7c3aed;
    --clr-cyan:       #0891b2;
    --clr-cyan-light: #06b6d4;
    --clr-sky:        #38bdf8;

    /* Gradients */
    --grad-primary:   linear-gradient(135deg, #1a2f6e 0%, #1e4db7 45%, #5b21b6 100%);
    --grad-hero:      linear-gradient(160deg, #0f1f5c 0%, #1a3a8f 40%, #4338ca 80%, #6d28d9 100%);
    --grad-card:      linear-gradient(135deg, #1e4db7 0%, #5b21b6 100%);
    --grad-accent:    linear-gradient(90deg, #06b6d4 0%, #3b82f6 100%);
    --grad-warm:      linear-gradient(135deg, #1e4db7 0%, #0891b2 100%);

    /* Neutrals */
    --clr-dark:       #0d1b40;
    --clr-text:       #1e293b;
    --clr-muted:      #64748b;
    --clr-light:      #f0f4ff;
    --clr-lighter:    #f8fafc;
    --clr-white:      #ffffff;
    --clr-border:     #dde4f0;

    /* Status */
    --clr-success:    #059669;
    --clr-warning:    #d97706;
    --clr-gold:       #f59e0b;

    /* Typography */
    --font-heading:   'Cormorant Garamond', 'Georgia', serif;
    --font-sub:       'DM Sans', 'Helvetica Neue', sans-serif;
    --font-body:      'DM Sans', 'Helvetica Neue', sans-serif;
    --font-mono:      'JetBrains Mono', monospace;

    /* Spacing */
    --sp-xs:  0.5rem;
    --sp-sm:  1rem;
    --sp-md:  1.5rem;
    --sp-lg:  2.5rem;
    --sp-xl:  4rem;
    --sp-2xl: 6rem;

    /* Borders */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(30,77,183,.12), 0 1px 2px rgba(30,77,183,.08);
    --shadow-md:  0 4px 16px rgba(30,77,183,.15), 0 2px 6px rgba(30,77,183,.08);
    --shadow-lg:  0 10px 40px rgba(26,47,110,.2), 0 4px 12px rgba(26,47,110,.1);
    --shadow-xl:  0 20px 60px rgba(26,47,110,.25), 0 8px 20px rgba(26,47,110,.12);
    --shadow-glow: 0 0 30px rgba(6,182,212,.3);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    --dur-fast: 200ms;
    --dur-mid: 350ms;
    --dur-slow: 600ms;

    /* Layout */
    --container-max: 1200px;
    --header-h: 70px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ==================================================
   TYPOGRAPHY
================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--clr-dark);
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-family: var(--font-sub); font-weight: 600; }
p  { font-size: 1rem; color: var(--clr-muted); line-height: 1.75; }

.text-gradient {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6,182,212,.1);
    color: var(--clr-cyan);
    border: 1px solid rgba(6,182,212,.25);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--clr-cyan-light);
}

/* ==================================================
   CONTAINER & LAYOUT
================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section-pad { padding: 4rem 0; }
.section-pad-lg { padding: 6rem 0; }

.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.25rem; }

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 2rem; }
}
@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .section-pad { padding: 5rem 0; }
    .section-pad-lg { padding: 7rem 0; }
}

/* ==================================================
   BUTTONS
================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sub);
    transition: all var(--dur-mid) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%);
    transition: transform var(--dur-mid) var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
    background: var(--grad-primary);
    color: var(--clr-white);
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(30,77,183,0);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(30,77,183,.35);
}

.btn-outline {
    background: transparent;
    color: var(--clr-white);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--clr-white);
    color: var(--clr-blue);
    box-shadow: var(--shadow-sm);
}
.btn-light:hover {
    background: var(--clr-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,.4);
}
.btn-whatsapp:hover { background: #20bb5a; transform: translateY(-2px); }

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; border-radius: 50%; }

/* ==================================================
   HEADER
================================================== */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all var(--dur-mid) var(--ease-out);
}

.header-top {
    background: var(--clr-navy);
    padding: 0.4rem 0;
    display: none;
}
@media (min-width: 768px) { .header-top { display: block; } }

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,.75);
}
.header-top a { color: rgba(255,255,255,.75); transition: color var(--dur-fast); }
.header-top a:hover { color: var(--clr-sky); }
.header-top-left, .header-top-right { display: flex; align-items: center; gap: 1.25rem; }

.header-main {
    background: rgba(15, 28, 75, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

#site-header.scrolled .header-top { display: none; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(1.1);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: 0.01em;
}
.logo-tagline {
    font-size: 0.65rem;
    color: var(--clr-sky);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Desktop Nav */
#primary-nav { display: none; }
@media (min-width: 1024px) {
    #primary-nav {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.85rem;
    color: rgba(255,255,255,.85);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--dur-fast);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--clr-white);
    background: rgba(255,255,255,.1);
}

.nav-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--clr-border);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-mid) var(--ease-out);
    transform: translateX(-50%) translateY(-8px);
    z-index: 100;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: var(--clr-text);
    border-radius: var(--radius-sm);
    transition: all var(--dur-fast);
}
.dropdown-menu a:hover {
    background: var(--clr-light);
    color: var(--clr-blue);
    padding-left: 1.25rem;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Hamburger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.1);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: all var(--dur-mid) var(--ease-out);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #0d1b40;
    z-index: 999;
    padding: 1rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,.1);
}
#mobile-menu.open { display: block; }

.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0.5rem;
    color: rgba(255,255,255,.85);
    font-size: 0.95rem;
    font-weight: 500;
}
.mobile-sub { display: none; padding: 0 0 0.5rem 1rem; }
.mobile-sub.open { display: block; }
.mobile-sub a {
    display: block;
    padding: 0.6rem 0.5rem;
    color: rgba(255,255,255,.6);
    font-size: 0.875rem;
    border-left: 2px solid rgba(6,182,212,.4);
    padding-left: 1rem;
    margin-bottom: 2px;
    transition: all var(--dur-fast);
}
.mobile-sub a:hover { color: var(--clr-sky); border-color: var(--clr-sky); }

.mobile-menu-footer {
    padding: 1rem 0.5rem;
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

/* ==================================================
   HERO SECTION
================================================== */
#hero {
    min-height: 100svh;
    background: var(--grad-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(99,102,241,.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(6,182,212,.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}
.hero-orb-1 {
    width: 300px; height: 300px;
    background: rgba(99,102,241,.2);
    top: 10%; right: 10%;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 200px; height: 200px;
    background: rgba(6,182,212,.15);
    bottom: 15%; left: 5%;
    animation-delay: 3s;
}
@keyframes floatOrb {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.hero-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.35);
    color: #fbbf24;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    animation: pulse-badge 2.5s ease infinite;
}
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,.3); }
    50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}
.hero-admission-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    animation: blink 1.5s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-eyebrow {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-sky);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hero-title em {
    font-style: normal;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,.7);
}
.trust-item svg { color: var(--clr-cyan-light); flex-shrink: 0; }

/* Hero Image Side */
.hero-visual {
    position: relative;
}
.hero-main-img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 3px rgba(255,255,255,.1);
    aspect-ratio: 4/3;
    background: rgba(255,255,255,.05);
}
.hero-main-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    animation: floatCard 5s ease-in-out infinite;
}
.hero-float-card-1 {
    bottom: -1rem; left: -1rem;
    animation-delay: 0s;
}
.hero-float-card-2 {
    top: -1rem; right: -0.5rem;
    animation-delay: 2.5s;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.float-card-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.float-card-icon.blue { background: var(--clr-light); }
.float-card-icon.cyan { background: rgba(6,182,212,.1); }

.float-card-text { line-height: 1.2; }
.float-card-label { font-size: 0.7rem; color: var(--clr-muted); font-weight: 500; }
.float-card-value { font-size: 1rem; font-weight: 700; color: var(--clr-dark); }

/* ==================================================
   STATS BAR
================================================== */
#stats-bar {
    background: var(--grad-primary);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}
#stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    position: relative;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
    text-align: center;
    padding: 1.25rem 1rem;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.15);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-number span { color: var(--clr-sky); }
.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==================================================
   SECTION HEADER (common pattern)
================================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; }

/* ==================================================
   WHY CHOOSE US
================================================== */
#why-us {
    padding: 5rem 0;
    background: var(--clr-lighter);
}
.why-layout {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) { .why-layout { grid-template-columns: 1fr 1fr; } }

.why-img-stack { position: relative; }
.why-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-xl);
}
.why-img-main img { width: 100%; height: 100%; object-fit: cover; }
.why-img-badge {
    position: absolute;
    bottom: -1.5rem; right: -0.5rem;
    background: var(--grad-card);
    color: var(--clr-white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
@media (min-width: 768px) { .why-img-badge { right: -1.5rem; } }
.why-img-badge .big { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--clr-white); }
.why-img-badge .small { font-size: 0.75rem; opacity: .85; }

.why-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.why-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    transition: all var(--dur-mid) var(--ease-out);
}
.why-feature-item:hover {
    border-color: rgba(30,77,183,.25);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.feature-icon-wrap {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: var(--clr-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.feature-text h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.feature-text p { font-size: 0.875rem; margin: 0; }

/* ==================================================
   PROGRAMS
================================================== */
#programs { padding: 5rem 0; }

.program-cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .program-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .program-cards { grid-template-columns: repeat(3, 1fr); } }

.program-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--dur-mid) var(--ease-out);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30,77,183,.2);
}
.program-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--clr-light);
}
.program-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.program-card:hover .program-card-thumb img { transform: scale(1.06); }

.program-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.program-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.tag-cbse { background: rgba(30,77,183,.1); color: var(--clr-blue); }
.tag-madrasah { background: rgba(5,150,105,.1); color: #059669; }
.tag-hostel { background: rgba(99,102,241,.1); color: #6366f1; }

.program-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.program-card-body p { font-size: 0.875rem; flex: 1; margin-bottom: 1rem; }

.program-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--clr-light);
    color: var(--clr-muted);
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ==================================================
   FACILITIES
================================================== */
#facilities {
    padding: 5rem 0;
    background: var(--clr-dark);
    position: relative;
    overflow: hidden;
}
#facilities::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 90% 20%, rgba(30,77,183,.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(99,102,241,.15) 0%, transparent 60%);
    pointer-events: none;
}
#facilities .section-header h2 { color: var(--clr-white); }
#facilities .section-header p { color: rgba(255,255,255,.6); }

.facility-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .facility-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facility-grid { grid-template-columns: repeat(4, 1fr); } }

.facility-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--dur-mid) var(--ease-out);
    position: relative;
    group: true;
}
.facility-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(6,182,212,.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.facility-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(255,255,255,.05);
}
.facility-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); opacity: 0.85; }
.facility-card:hover .facility-img img { transform: scale(1.06); opacity: 1; }

.facility-body { padding: 1.25rem; }
.facility-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.facility-body h4 { color: var(--clr-white); font-size: 1rem; margin-bottom: 0.35rem; }
.facility-body p { font-size: 0.8rem; color: rgba(255,255,255,.55); margin: 0; }

/* Featured facility */
.facility-card.featured {
    grid-column: span 2;
    background: var(--grad-card);
    border-color: rgba(255,255,255,.15);
}
@media (max-width: 640px) { .facility-card.featured { grid-column: span 1; } }

/* ==================================================
   ADMISSION BANNER
================================================== */
#admission-cta {
    background: var(--grad-hero);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
#admission-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
}
.admission-cta-inner { position: relative; z-index: 1; }
.admission-cta-inner h2 { color: var(--clr-white); margin-bottom: 0.75rem; }
.admission-cta-inner p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.05rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==================================================
   TESTIMONIALS
================================================== */
#testimonials { padding: 5rem 0; background: var(--clr-lighter); }

.testimonial-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: all var(--dur-mid) var(--ease-out);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30,77,183,.2);
}
.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--clr-light);
    position: absolute;
    top: 0.5rem; left: 1.25rem;
    line-height: 1;
    pointer-events: none;
}
.stars { display: flex; gap: 2px; color: var(--clr-gold); font-size: 0.85rem; margin-bottom: 0.85rem; }
.testimonial-text { font-style: italic; font-size: 0.95rem; color: var(--clr-text); margin-bottom: 1.25rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--clr-light);
    flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--clr-dark); }
.author-role { font-size: 0.78rem; color: var(--clr-muted); }

/* ==================================================
   FOOTER
================================================== */
#site-footer {
    background: var(--clr-dark);
    color: rgba(255,255,255,.7);
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; margin-bottom: 1.25rem; }

.footer-col h5 {
    font-family: var(--font-sub);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,.6);
    transition: color var(--dur-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a:hover { color: var(--clr-sky); }
.footer-links a::before { content: '→'; font-size: 0.75rem; opacity: 0.5; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--clr-sky); margin-top: 2px; }

.social-links { display: flex; gap: 0.65rem; margin-top: 1rem; }
.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,.7);
    transition: all var(--dur-fast);
    text-decoration: none;
}
.social-link:hover { background: var(--clr-blue); border-color: var(--clr-blue); color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

/* ==================================================
   FLOATING ELEMENTS
================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 1.25rem;
    z-index: 900;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.3);
    animation: whatsapp-pulse 3s ease infinite;
    transition: transform var(--dur-mid) var(--ease-out);
    text-decoration: none;
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp svg { width: 28px; height: 28px; fill: white; }
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.3); }
    70% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* Mobile sticky bottom bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--clr-white);
    border-top: 1px solid var(--clr-border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 950;
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
@media (min-width: 1024px) { .mobile-bottom-bar { display: none; } }

.bottom-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--dur-fast);
}
.bottom-bar-btn:nth-child(1) { background: var(--grad-primary); color: white; }
.bottom-bar-btn:nth-child(2) { background: #25D366; color: white; }
.bottom-bar-btn:nth-child(3) { color: var(--clr-blue); }
.bottom-bar-btn:nth-child(3):hover { background: var(--clr-light); }
.bottom-bar-btn svg { width: 20px; height: 20px; }

/* Body padding for bottom bar on mobile */
@media (max-width: 1023px) {
    body { padding-bottom: 70px; }
}

/* ==================================================
   INNER PAGE HERO (subpages)
================================================== */
.page-hero {
    background: var(--grad-hero);
    padding: calc(var(--header-h) + 3rem) 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--clr-white); margin-bottom: 0.75rem; }
.page-hero .breadcrumb { color: rgba(255,255,255,.6); font-size: 0.875rem; }
.page-hero .breadcrumb a { color: var(--clr-sky); }
.page-hero .breadcrumb span { margin: 0 0.4rem; }

/* ==================================================
   ABOUT PAGE
================================================== */
.about-mission-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}
@media (min-width: 768px) { .about-mission-grid { grid-template-columns: repeat(2, 1fr); } }

.mission-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.mission-card.blue-card {
    background: var(--grad-primary);
    color: white;
}
.mission-card.light-card {
    background: var(--clr-lighter);
    border: 1px solid var(--clr-border);
}
.mission-card h3 { color: inherit; margin-bottom: 0.75rem; }
.mission-card.blue-card p { color: rgba(255,255,255,.8); margin: 0; }
.mission-card.light-card p { margin: 0; }

.principal-card {
    display: grid;
    gap: 2rem;
    align-items: center;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-top: 3rem;
}
@media (min-width: 768px) { .principal-card { grid-template-columns: auto 1fr; } }
.principal-img {
    width: 160px; height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--clr-light);
    margin: 0 auto;
    border: 4px solid var(--clr-light);
    box-shadow: var(--shadow-md);
}
.principal-img img { width: 100%; height: 100%; object-fit: cover; }
blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--clr-text);
    margin-bottom: 1rem;
    border-left: 3px solid var(--clr-cyan-light);
    padding-left: 1rem;
}

/* Faculty */
.faculty-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .faculty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .faculty-grid { grid-template-columns: repeat(4, 1fr); } }

.faculty-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--dur-mid) var(--ease-out);
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.faculty-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--clr-light);
    margin: 0 auto 1rem;
    border: 3px solid var(--clr-border);
}
.faculty-avatar img { width: 100%; height: 100%; object-fit: cover; }
.faculty-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.faculty-card .subject { font-size: 0.8rem; color: var(--clr-cyan); font-weight: 600; }
.faculty-card .qual { font-size: 0.78rem; color: var(--clr-muted); }

/* ==================================================
   ADMISSIONS PAGE
================================================== */
.admission-steps {
    display: grid;
    gap: 1.5rem;
    counter-reset: step-counter;
    margin-top: 2rem;
}
@media (min-width: 768px) { .admission-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .admission-steps { grid-template-columns: repeat(4, 1fr); } }

.step-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    position: relative;
    transition: all var(--dur-mid) var(--ease-out);
    counter-increment: step-counter;
}
.step-card::before {
    content: counter(step-counter, decimal-leading-zero);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-light);
    position: absolute;
    top: 1rem; right: 1.25rem;
    line-height: 1;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(30,77,183,.2); }
.step-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.step-card h4 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; margin: 0; }

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}
.fee-table thead { background: var(--grad-primary); color: white; }
.fee-table th, .fee-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--clr-border);
}
.fee-table th { font-weight: 600; color: white; }
.fee-table tbody tr:nth-child(even) { background: var(--clr-lighter); }
.fee-table tbody tr:hover { background: var(--clr-light); }
.fee-table .amount { font-weight: 700; color: var(--clr-blue); }

/* ==================================================
   GALLERY
================================================== */
.gallery-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--clr-light);
    color: var(--clr-muted);
    border: 2px solid transparent;
    transition: all var(--dur-fast);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--clr-blue);
    color: white;
    border-color: var(--clr-blue);
}

.gallery-masonry { columns: 2; gap: 1rem; }
@media (min-width: 768px) { .gallery-masonry { columns: 3; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 4; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform var(--dur-slow) var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,47,110,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dur-mid);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { color: white; width: 32px; height: 32px; }

/* ==================================================
   CONTACT PAGE
================================================== */
.contact-layout {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1.5fr; } }

.contact-info-card {
    background: var(--grad-primary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: white;
}
.contact-info-card h3 { color: white; margin-bottom: 0.5rem; }
.contact-info-card p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-detail-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-detail-text a { color: rgba(255,255,255,.85); font-size: 0.9rem; display: block; }
.contact-detail-text small { color: rgba(255,255,255,.5); font-size: 0.78rem; }

.enquiry-form {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--clr-text);
    background: var(--clr-lighter);
    transition: all var(--dur-fast);
    outline: none;
}
.form-control:focus {
    border-color: var(--clr-blue-light);
    background: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }

/* Map placeholder */
.map-embed {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    margin-top: 3rem;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==================================================
   DONATION PAGE
================================================== */
.donation-hero-banner {
    background: var(--grad-hero);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.donation-hero-banner h2 { color: white; margin-bottom: 0.75rem; }
.donation-hero-banner p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }

.donation-purposes { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .donation-purposes { grid-template-columns: repeat(3, 1fr); } }
.purpose-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all var(--dur-mid) var(--ease-out);
}
.purpose-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(30,77,183,.2); }
.purpose-card .purpose-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.purpose-card h4 { margin-bottom: 0.5rem; }

/* ==================================================
   ANNOUNCEMENT TICKER
================================================== */
.news-ticker {
    background: var(--clr-navy);
    padding: 0.6rem 0;
    overflow: hidden;
}
.ticker-wrap {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}
.ticker-label {
    flex-shrink: 0;
    background: var(--clr-gold);
    color: var(--clr-dark);
    padding: 0.1rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: 2rem;
    border-radius: var(--radius-full);
}
.ticker-item {
    flex-shrink: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,.8);
    padding: 0 2.5rem;
    position: relative;
}
.ticker-item::before {
    content: '★';
    color: var(--clr-gold);
    margin-right: 0.5rem;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================================================
   ACADEMICS PAGE
================================================== */
.curriculum-tabs { margin-top: 2rem; }
.tab-btns {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--clr-border);
    overflow-x: auto;
    padding-bottom: 0;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all var(--dur-fast);
}
.tab-btn.active, .tab-btn:hover { color: var(--clr-blue); border-color: var(--clr-blue); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.strength-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* ==================================================
   UTILITIES
================================================== */
.text-center { text-align: center; }
.text-white { color: var(--clr-white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Animations on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); }
.lightbox-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: white;
    font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background var(--dur-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* Print */
@media print {
    #site-header, .float-whatsapp, .mobile-bottom-bar, #mobile-menu { display: none !important; }
    body { padding: 0 !important; }
}
