/* ═══════════════════════════════════════════════════════════════
   GEMS — Gayathri English Medium School
   Design System & Styles — White & Deep Blue Theme
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
    /* Primary palette — Deep Blue / Navy */
    --green-50: #eff6ff;
    --green-100: #dbeafe;
    --green-200: #bfdbfe;
    --green-300: #93c5fd;
    --green-400: #60a5fa;
    --green-500: #3b82f6;
    --green-600: #2563eb;
    --green-700: #1d4ed8;
    --green-800: #1e3a8a;
    --green-900: #1e3a5f;
    --green-950: #0f1d32;

    /* Gold / Amber accent */
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;

    /* Neutrals */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    /* Semantic */
    --bg-primary: #ffffff;
    --bg-section: #f8fafc;
    --bg-section-alt: #f1f5f9;
    --bg-card: rgba(30, 58, 138, 0.04);
    --bg-card-hover: rgba(30, 58, 138, 0.08);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --border-card: rgba(30, 58, 138, 0.10);
    --border-glow: rgba(30, 58, 138, 0.20);

    /* Spacing */
    --section-py: clamp(4rem, 10vw, 8rem);
    --container-px: clamp(1.25rem, 4vw, 3rem);
    --container-max: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s var(--ease-out-expo);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.15;
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-py) 0;
    position: relative;
}

/* ── Ticker Bar ─────────────────────────────────────────────── */
.ticker-bar {
    background: linear-gradient(90deg, var(--green-800), #1a2e6b, var(--green-800));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 32px;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-content span {
    flex-shrink: 0;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 var(--border-card), 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: white;
    box-shadow: 0 2px 12px rgba(30, 58, 138, 0.25);
}

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

.logo-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-base), background var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-800);
    background: rgba(30, 58, 138, 0.06);
}

.nav-cta-link {
    background: linear-gradient(135deg, var(--green-700), var(--green-800)) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

.nav-cta-link:hover {
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--green-800);
    border-radius: 4px;
    transition: transform 0.35s var(--ease-out-expo), opacity 0.25s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: white;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--green-800);
    border: 1.5px solid rgba(30, 58, 138, 0.25);
}

.btn-outline:hover {
    background: rgba(30, 58, 138, 0.05);
    border-color: var(--green-700);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 20%, rgba(30, 58, 138, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
    padding-top: 100px;
}

/* Animated bg shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--green-500);
    top: -10%;
    left: -5%;
    animation-duration: 25s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--gold-400);
    top: 60%;
    right: -8%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--green-400);
    top: 30%;
    left: 60%;
    animation-duration: 18s;
    animation-delay: -8s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--gold-300);
    bottom: 20%;
    left: 15%;
    animation-duration: 22s;
    animation-delay: -3s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: var(--green-600);
    top: 15%;
    right: 20%;
    animation-duration: 16s;
    animation-delay: -10s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 35px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--container-px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--gold-600);
    padding: 0.45rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.85rem;
}

.hero-suptext {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--green-600);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 50%, var(--green-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1.05;
}

.hero-location {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.hero-location i {
    color: var(--green-600);
    margin-right: 0.25rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 0.75rem;
    line-height: 1.8;
}

.hero-grades {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Stats row */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-700), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-600), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-700);
    margin-bottom: 1rem;
    background: rgba(30, 58, 138, 0.06);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(30, 58, 138, 0.10);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── About Section ──────────────────────────────────────────── */
.about {
    background: var(--bg-section);
}

.about-intro {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    font-size: 1.08rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.10), rgba(30, 58, 138, 0.04));
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: var(--green-700);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    position: relative;
}

/* ── Kalaripayattu Section ──────────────────────────────────── */
.kalaripayattu {
    background: var(--bg-section-alt);
    overflow: hidden;
}

.kalari-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.kalari-visual {
    position: relative;
}

.kalari-image-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.kalari-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kalari-icon-large {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.kalari-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 8s ease-in-out infinite;
}

.kalari-particles span:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.kalari-particles span:nth-child(2) {
    top: 40%;
    right: 20%;
    animation-delay: -1.5s;
}

.kalari-particles span:nth-child(3) {
    bottom: 25%;
    left: 25%;
    animation-delay: -3s;
}

.kalari-particles span:nth-child(4) {
    top: 60%;
    left: 60%;
    animation-delay: -4.5s;
}

.kalari-particles span:nth-child(5) {
    bottom: 40%;
    right: 15%;
    animation-delay: -6s;
}

@keyframes particle-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(15px, -20px) scale(1.5);
        opacity: 0.6;
    }
}

.kalari-badge-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-600);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kalari-badge-card i {
    font-size: 1rem;
}

.kalari-content .section-tag {
    margin-bottom: 1rem;
}

.kalari-content .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.kalari-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.kalari-content>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.kalari-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.kalari-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    transition: border-color var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.kalari-feature:hover {
    border-color: var(--border-glow);
}

.kalari-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--green-700);
    font-size: 1rem;
}

.kalari-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

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

/* ── Tech Section ───────────────────────────────────────────── */
.tech {
    background: var(--bg-section);
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-visual {
    position: relative;
}

.tech-image-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-icon-large {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    animation: spin-slow 30s linear infinite reverse;
}

.tech-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 8s ease-in-out infinite;
}

.tech-particles span:nth-child(1) {
    top: 18%;
    left: 12%;
    animation-delay: -0.5s;
}

.tech-particles span:nth-child(2) {
    top: 35%;
    right: 18%;
    animation-delay: -2s;
}

.tech-particles span:nth-child(3) {
    bottom: 22%;
    left: 28%;
    animation-delay: -3.5s;
}

.tech-particles span:nth-child(4) {
    top: 55%;
    left: 55%;
    animation-delay: -5s;
}

.tech-particles span:nth-child(5) {
    bottom: 35%;
    right: 12%;
    animation-delay: -6.5s;
}

.tech-badge-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-700);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tech-badge-card i {
    font-size: 1rem;
}

.tech-content .section-tag {
    margin-bottom: 1rem;
}

.tech-content .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.tech-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tech-content>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    transition: border-color var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tech-feature:hover {
    border-color: var(--border-glow);
}

.tech-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--green-700);
    font-size: 1rem;
}

.tech-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

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

/* ── Admissions Section ─────────────────────────────────────── */
.admissions {
    background: var(--bg-section-alt);
    overflow: hidden;
}

.admissions::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(30, 58, 138, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.admissions-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.admissions-content .section-tag {
    margin-bottom: 1rem;
}

.admissions-content .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.admissions-content>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.admissions-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--gold-600);
    font-size: 1rem;
}

.benefit h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    color: var(--text-primary);
}

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

/* CTA Card */
.admissions-cta-card {
    position: relative;
}

.cta-card-inner {
    background: linear-gradient(160deg, rgba(30, 58, 138, 0.06), rgba(30, 58, 138, 0.03));
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cta-card-inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(30, 58, 138, 0.08), transparent 50%, rgba(245, 158, 11, 0.04));
    z-index: -1;
}

.cta-card-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.20);
}

.cta-card-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-card-inner>p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.cta-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--green-600), var(--gold-500));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.cta-offer {
    font-weight: 600;
    color: var(--gold-600) !important;
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
}

.cta-phone {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem !important;
    font-weight: 700;
    color: var(--text-primary) !important;
    letter-spacing: 0.04em;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: var(--green-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0 0;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.footer .logo-name {
    background: linear-gradient(135deg, #93c5fd, #bfdbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links-group h4,
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #e2e8f0;
    margin-bottom: 1.25rem;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: #94a3b8;
    transition: color var(--transition-base);
}

.footer-links-group a:hover {
    color: #60a5fa;
}

.footer-contact p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #60a5fa;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--green-700);
    color: white;
    border-color: var(--green-700);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #64748b;
}

/* ── Scroll Animations ──────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.features-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.features-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.features-grid .animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.tech-features .tech-feature:nth-child(2) {
    transition-delay: 0.1s;
}

.tech-features .tech-feature:nth-child(3) {
    transition-delay: 0.15s;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .kalari-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .kalari-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .kalari-content .section-title {
        text-align: center;
    }

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

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

    .admissions-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .admissions-content .section-title {
        text-align: center;
    }

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

    .admissions-benefits {
        align-items: center;
    }

    .benefit {
        max-width: 400px;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Nav mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.25rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out-expo);
        border-left: 1px solid var(--border-card);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-cta-link {
        text-align: center;
        margin-top: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    /* Tech */
    .tech-layout {
        grid-template-columns: 1fr;
    }

    .tech-visual {
        order: -1;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-card-inner {
        padding: 1.75rem;
    }

    .kalari-image-card {
        aspect-ratio: 1;
    }
}