﻿/* =============================================
   BRIGHT FUTURE ACADEMY â€” PREMIUM CSS
   Design System: Dark navy + Indigo + Gold
   ============================================= */

/* -------------------------
   DESIGN TOKENS
   ------------------------- */

:root {
    /* Colors */
    --navy:       #0A0F1E;
    --navy-mid:   #0F172A;
    --navy-card:  #131929;
    --navy-light: #1E2D4A;
    --slate:      #334155;
    --muted:      #64748B;
    --subtle:     #94A3B8;
    --border:     rgba(99,102,241,0.12);
    --border-mid: rgba(255,255,255,0.06);

    --indigo:     #6366F1;
    --indigo-dim: #4F46E5;
    --indigo-glow:rgba(99,102,241,0.25);

    --gold:       #F59E0B;
    --gold-light: #FCD34D;

    --white:      #FFFFFF;
    --off-white:  #F8FAFC;
    --body-text:  #CBD5E1;

    /* Typography */
    --font-body:  'Inter', sans-serif;
    --font-head:  'Syne', 'Inter', sans-serif;

    /* Spacing */
    --sp-xs:  8px;
    --sp-sm:  16px;
    --sp-md:  24px;
    --sp-lg:  48px;
    --sp-xl:  80px;
    --sp-2xl: 120px;

    /* Radius */
    --r-sm:  12px;
    --r-md:  20px;
    --r-lg:  28px;
    --r-xl:  40px;
    --r-pill:999px;

    /* Shadows */
    --shadow-sm:  0 4px 20px rgba(0,0,0,0.25);
    --shadow-md:  0 12px 40px rgba(0,0,0,0.35);
    --shadow-lg:  0 24px 60px rgba(0,0,0,0.45);
    --glow-indigo:0 0 40px rgba(99,102,241,0.3);
    --glow-gold:  0 0 30px rgba(245,158,11,0.3);
}

/* -------------------------
   RESET & BASE
   ------------------------- */

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

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

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

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

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

/* -------------------------
   LAYOUT UTILITY
   ------------------------- */

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* -------------------------
   TYPOGRAPHY UTILITIES
   ------------------------- */

.gradient-text {
    background: linear-gradient(135deg, var(--indigo), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: var(--sp-sm);
    padding: 6px 14px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--r-pill);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--sp-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--sp-sm);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--subtle);
    max-width: 560px;
}

/* -------------------------
   NAVBAR
   ------------------------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-mid);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.97);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: var(--sp-lg);
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.logo em {
    font-style: normal;
    color: var(--indigo);
}

/* Nav Links */

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--subtle);
    transition: color 0.25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--indigo);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Admission Btn */

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--indigo);
    color: white;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.25s, transform 0.2s;
}

.btn-nav:hover {
    background: var(--indigo-dim);
    transform: translateY(-1px);
}

/* Hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

/* -------------------------
   HERO
   ------------------------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--sp-xl) 0;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.1), transparent 70%);
    bottom: -50px;
    right: 10%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
    top: 40%;
    right: 30%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Badge */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: var(--sp-md);
    animation: fadeDown 0.6s ease both;
}

@keyframes fadeDown {
    from { opacity:0; transform:translateY(-16px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Hero H1 */

.hero-left h1 {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--sp-md);
    animation: fadeUp 0.7s 0.1s ease both;
}

@keyframes fadeUp {
    from { opacity:0; transform:translateY(24px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Hero Description */

.hero-desc {
    font-size: 1.05rem;
    color: var(--subtle);
    line-height: 1.8;
    margin-bottom: var(--sp-lg);
    max-width: 480px;
    animation: fadeUp 0.7s 0.2s ease both;
}

.hero-desc strong {
    color: var(--white);
    font-weight: 600;
}

/* Hero Buttons */

.hero-buttons {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    margin-bottom: var(--sp-lg);
    animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--indigo);
    color: white;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-primary:hover {
    background: var(--indigo-dim);
    transform: translateY(-2px);
    box-shadow: var(--glow-indigo);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Trust Row */

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeUp 0.7s 0.4s ease both;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-pill);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--subtle);
}

.trust-pill svg {
    color: var(--indigo);
}

/* Hero Right â€” Image Card */

.hero-right {
    position: relative;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-image-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: visible;
}

.hero-image-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-mid);
}

/* Floating Badges */

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
}

.floating-badge svg {
    color: var(--gold);
    flex-shrink: 0;
}

.floating-badge strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.floating-badge span {
    display: block;
    font-size: 0.72rem;
    color: var(--subtle);
    margin-top: 2px;
}

.badge-top {
    top: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.badge-bottom {
    bottom: 30px;
    left: -30px;
    animation: float 4s 2s ease-in-out infinite;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* -------------------------
   STATS STRIP
   ------------------------- */

.stats-strip {
    background: var(--navy-card);
    border-top: 1px solid var(--border-mid);
    border-bottom: 1px solid var(--border-mid);
    padding: 48px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--sp-lg);
}

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number em {
    font-style: normal;
    color: var(--indigo);
}

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

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-mid);
    flex-shrink: 0;
}

/* -------------------------
   ABOUT
   ------------------------- */

.about {
    padding: var(--sp-2xl) 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.about-accent-card {
    position: absolute;
    bottom: 28px;
    right: -28px;
    padding: 20px 24px;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    min-width: 140px;
}

.about-accent-card svg {
    color: var(--indigo);
}

.about-accent-card p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.about-accent-card .accent-sub {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
}

.about-content h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--sp-md);
}

.about-content > p {
    color: var(--subtle);
    line-height: 1.85;
    margin-bottom: var(--sp-sm);
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: var(--sp-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--body-text);
    padding: 12px 16px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: var(--r-sm);
    transition: background 0.2s, border-color 0.2s;
}

.feature-item:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.25);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99,102,241,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--indigo);
}

/* -------------------------
   COURSES
   ------------------------- */

.courses {
    padding: var(--sp-2xl) 0;
    background: var(--navy-card);
    border-top: 1px solid var(--border-mid);
    border-bottom: 1px solid var(--border-mid);
}

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

.course-card {
    background: var(--navy-mid);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: var(--glow-indigo);
}

.card-featured {
    background: linear-gradient(160deg, var(--navy-light), var(--navy-mid));
    border-color: rgba(99,102,241,0.25);
}

.course-card-inner {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-sm);
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
    margin-bottom: var(--sp-md);
    transition: background 0.3s;
}

.course-card:hover .course-icon {
    background: rgba(99,102,241,0.2);
}

.course-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--indigo);
    margin-bottom: 10px;
}

.course-card h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: var(--sp-sm);
}

.course-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--sp-md);
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--indigo);
    margin-top: auto;
    transition: gap 0.2s;
}

.course-link:hover {
    gap: 10px;
}

/* -------------------------
   WHY US
   ------------------------- */

.why-us {
    padding: var(--sp-2xl) 0;
}

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

.why-card {
    padding: 32px;
    background: var(--navy-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.25);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-sm);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
    margin-bottom: var(--sp-md);
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* -------------------------
   RESULTS
   ------------------------- */

.results {
    padding: var(--sp-2xl) 0;
    background: var(--navy-mid);
    border-top: 1px solid var(--border-mid);
    position: relative;
    overflow: hidden;
}

.results-bg-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.08), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.light-header h2 {
    color: var(--white);
}

.light-header p {
    color: var(--subtle);
}

.light-eyebrow {
    color: var(--gold-light);
    background: rgba(245,158,11,0.1);
    border-color: rgba(245,158,11,0.25);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: end;
}

.result-card {
    background: var(--navy-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.result-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245,158,11,0.3);
}

.result-card-hero {
    transform: scale(1.05);
    background: linear-gradient(160deg, var(--navy-light), var(--navy-card));
    border-color: rgba(245,158,11,0.35);
    box-shadow: var(--glow-gold);
}

.result-card-hero:hover {
    transform: scale(1.05) translateY(-8px);
}

.result-rank {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    letter-spacing: 0.05em;
}

.result-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--sp-md);
    border: 3px solid var(--gold);
}

.result-card-hero img {
    width: 120px;
    height: 120px;
    border-width: 4px;
}

.result-score {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.result-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.result-card p {
    font-size: 0.83rem;
    color: var(--muted);
    margin-bottom: var(--sp-sm);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* -------------------------
   FACULTY
   ------------------------- */

.faculty {
    padding: var(--sp-2xl) 0;
    background: var(--navy-card);
    border-top: 1px solid var(--border-mid);
    border-bottom: 1px solid var(--border-mid);
}

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

.faculty-card {
    background: var(--navy-mid);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.3);
}

.faculty-img-wrap {
    position: relative;
}

.faculty-img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
}

.faculty-exp-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-light);
}

.faculty-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.faculty-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.faculty-subject {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--indigo);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.faculty-info p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: var(--sp-sm);
    flex: 1;
}

.faculty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.faculty-tags span {
    padding: 4px 10px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--indigo);
}

/* -------------------------
   TESTIMONIALS
   ------------------------- */

.testimonials {
    padding: var(--sp-2xl) 0;
}

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

.testimonial-card {
    background: var(--navy-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.2);
}

.testimonial-featured {
    background: linear-gradient(160deg, var(--navy-light), var(--navy-card));
    border-color: rgba(99,102,241,0.25);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--indigo);
}

.testimonial-card p {
    font-size: 0.92rem;
    color: var(--subtle);
    line-height: 1.8;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(99,102,241,0.3);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.77rem;
    color: var(--muted);
}

.star-row {
    display: flex;
    gap: 3px;
    color: var(--gold);
}

/* -------------------------
   GALLERY
   ------------------------- */

.gallery {
    padding: var(--sp-2xl) 0;
    background: var(--navy-card);
    border-top: 1px solid var(--border-mid);
    border-bottom: 1px solid var(--border-mid);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gi-tall {
    grid-row: span 2;
}

.gi-wide {
    grid-column: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.gallery-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

/* -------------------------
   ADMISSION CTA
   ------------------------- */

.admission-cta {
    padding: var(--sp-xl) 0;
    background: linear-gradient(135deg, #1a1040, #0d0f2b, var(--navy-mid));
    border-top: 1px solid rgba(99,102,241,0.15);
    border-bottom: 1px solid rgba(99,102,241,0.15);
    position: relative;
    overflow: hidden;
}

.cta-bg-orb {
    position: absolute;
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.12), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

.cta-actions {
    display: flex;
    gap: var(--sp-sm);
    flex-shrink: 0;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--indigo);
    color: white;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    white-space: nowrap;
}

.btn-cta-primary:hover {
    background: var(--indigo-dim);
    transform: translateY(-2px);
    box-shadow: var(--glow-indigo);
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.2s;
    white-space: nowrap;
}

.btn-cta-ghost:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* -------------------------
   CONTACT
   ------------------------- */

/* --- Contact Section Shell --- */

.contact {
    padding: var(--sp-2xl) 0 0;
    overflow: hidden;
}

/* --- Section Header Row --- */

.contact-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-top: 12px;
}

.contact-header-desc {
    font-size: 1rem;
    color: var(--subtle);
    line-height: 1.8;
    max-width: 340px;
    text-align: right;
    flex-shrink: 0;
}

/* --- Info Cards Row --- */

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.cinfo-card {
    background: var(--navy-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.cinfo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.cinfo-card:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
}

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

.cinfo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.cinfo-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.cinfo-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.4;
    word-break: break-word;
}

.cinfo-action {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--indigo);
    margin-top: 6px;
    text-decoration: none;
    transition: color 0.2s;
}

.cinfo-action:hover {
    color: #a78bfa;
}

.cinfo-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    margin-top: 6px;
    width: fit-content;
}

/* --- Form + Map Full-Bleed Split --- */

.contact-split {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 640px;
}

/* Form Panel */

.contact-form-panel {
    background: var(--navy-card);
    border-top: 1px solid var(--border-mid);
    padding: 56px 60px;
    display: flex;
    flex-direction: column;
}

.form-inner-header {
    margin-bottom: 32px;
    position: relative;
    padding-left: 20px;
}

.form-inner-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--indigo), transparent);
    border-radius: 3px;
}

.form-inner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--indigo);
    margin-bottom: 12px;
    box-shadow: 0 0 12px rgba(99,102,241,0.7);
}

.form-inner-header h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.form-inner-header p {
    font-size: 0.88rem;
    color: var(--muted);
}

.admission-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--subtle);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-sm);
    font-size: 0.92rem;
    color: var(--white);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: var(--navy);
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--navy-mid);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.08);
    background: rgba(99,102,241,0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--indigo);
    color: white;
    border: none;
    border-radius: var(--r-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-form-submit:hover {
    background: var(--indigo-dim);
    transform: translateY(-2px);
    box-shadow: var(--glow-indigo);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.77rem;
    color: var(--slate);
    margin-top: 14px;
    justify-content: center;
}

.form-note svg {
    color: var(--indigo);
    flex-shrink: 0;
}

/* Map Panel */

.contact-map-panel {
    position: relative;
    overflow: hidden;
    min-height: 640px;
}

.contact-map-panel iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: invert(0.88) hue-rotate(180deg) saturate(0.75);
}

.map-overlay-card {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(10,15,30,0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--r-md);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    z-index: 10;
}

.map-overlay-pin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(99,102,241,0.5);
}

.map-overlay-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.map-overlay-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-overlay-info span {
    font-size: 0.78rem;
    color: var(--subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.map-overlay-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    text-decoration: none;
}

.map-overlay-btn:hover {
    background: var(--indigo);
    color: white;
    transform: scale(1.1);
}
/* -------------------------
   FOOTER
   ------------------------- */

footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--border-mid);
    padding-top: var(--sp-xl);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: var(--sp-xl);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: var(--sp-md);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.footer-socials a:hover {
    background: rgba(99,102,241,0.15);
    color: var(--indigo);
    border-color: rgba(99,102,241,0.3);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--sp-md);
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 12px;
    transition: color 0.2s;
    line-height: 1.4;
}

.footer-col a:hover {
    color: var(--indigo);
}

.footer-bottom {
    border-top: 1px solid var(--border-mid);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--muted);
    gap: var(--sp-sm);
    max-width: 1240px;
    margin: 0 auto;
    width: 90%;
}

.footer-bottom strong {
    color: var(--indigo);
}

/* -------------------------
   WHATSAPP FLOAT
   ------------------------- */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 40px rgba(37,211,102,0.55);
}

/* -------------------------
   RESPONSIVE
   ------------------------- */

@media (max-width: 1100px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-row {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto var(--sp-lg);
    }

    .badge-top {
        top: -16px;
        right: 10px;
    }

    .badge-bottom {
        bottom: 20px;
        left: 10px;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 0;
    }

    .stat-item {
        width: 50%;
        padding: var(--sp-md) var(--sp-sm);
    }

    .stat-divider {
        display: none;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-accent-card {
        right: 10px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-card-hero {
        transform: none;
    }

    .result-card-hero:hover {
        transform: translateY(-8px);
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gi-tall, .gi-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .cta-layout {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .cta-actions {
        justify-content: center;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .contact-header-desc {
        text-align: left;
        max-width: 100%;
    }

    .contact-info-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding: 40px 32px;
    }

    .contact-map-panel {
        min-height: 400px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-links, .btn-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

}

@media (max-width: 640px) {

    .hero-image-card img {
        height: 360px;
    }

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

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .feature-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
        padding: var(--sp-sm);
    }

    .contact-info-row {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-panel {
        padding: 32px 24px;
    }

    .contact-map-panel {
        min-height: 320px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

}

/* -------------------------
   MOBILE NAV OPEN STATE
   ------------------------- */

@media (max-width: 992px) {

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 30, 0.97);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-mid);
        z-index: 999;
    }

    .nav-links.mobile-open a {
        font-size: 1rem;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-mid);
    }

}

/* -------------------------
   SCROLL-IN ANIMATIONS
   ------------------------- */

.animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Stagger children of grids */
.course-grid .animate-in:nth-child(2) { transition-delay: 0.08s; }
.course-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.course-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }

.why-grid .animate-in:nth-child(2) { transition-delay: 0.07s; }
.why-grid .animate-in:nth-child(3) { transition-delay: 0.14s; }
.why-grid .animate-in:nth-child(4) { transition-delay: 0.07s; }
.why-grid .animate-in:nth-child(5) { transition-delay: 0.14s; }
.why-grid .animate-in:nth-child(6) { transition-delay: 0.21s; }

.results-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.results-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }

.faculty-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.faculty-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }

.stats-grid .animate-in:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }