/* ============================================
   ENN360 — Premium Educational Website
   Color Palette: Royal Blue, Gold, Clean White
   ============================================ */

/* CSS Custom Properties */
:root {
    --royal-blue: #1a3a8a;
    --royal-blue-dark: #0f2460;
    --royal-blue-light: #2a4fb0;
    --gold: #d4a843;
    --gold-light: #e8c76a;
    --gold-dark: #b8922d;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --gray-50: #f7f8fa;
    --gray-100: #eef0f5;
    --gray-200: #dde1ea;
    --gray-300: #bcc3d4;
    --gray-400: #8a94aa;
    --gray-500: #6b7690;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --vedic-color: #7c3aed;
    --spiritual-color: #059669;
    --skill-color: #2563eb;
    --creative-color: #e11d48;
    --tech-color: #0891b2;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--royal-blue-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-bar-stats strong {
    color: var(--gold-light);
    font-weight: 700;
}

.stat-divider {
    color: rgba(255,255,255,0.3);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-contact a {
    color: rgba(255,255,255,0.85);
}

.top-bar-contact a:hover {
    color: var(--gold-light);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 72px;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--royal-blue);
    background: rgba(26,58,138,0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.nav-cta {
    margin-left: 8px;
}

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

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--royal-blue);
    color: var(--white);
    border-color: var(--royal-blue);
}

.btn-primary:hover {
    background: var(--royal-blue-light);
    border-color: var(--royal-blue-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,58,138,0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212,168,67,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--royal-blue);
    border-color: var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--royal-blue);
    background: rgba(26,58,138,0.04);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn-sm {
    font-size: 0.8125rem;
    padding: 6px 16px;
}

.btn-lg {
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,36,96,0.92) 0%,
        rgba(26,58,138,0.85) 50%,
        rgba(15,36,96,0.88) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 120px 24px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,168,67,0.15);
    border: 1px solid rgba(212,168,67,0.3);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge svg {
    color: var(--gold-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gold-text {
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-counter-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.counter-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-light);
}

.counter-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
}

.counter-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 1s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(212,168,67,0.05));
    color: var(--gold-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(212,168,67,0.2);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

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

.subsection-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 32px;
}

.subsection-title svg {
    color: var(--gold);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--off-white);
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.about-story-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.about-story-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 400px;
}

.about-img-1 {
    grid-column: 1 / -1;
    border-radius: var(--radius-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-2,
.about-img-3 {
    border-radius: var(--radius-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission Strip */
.mission-strip {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-dark));
    color: var(--white);
    padding: 40px 48px;
    border-radius: var(--radius-lg);
    margin-bottom: 80px;
}

.mission-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg {
    color: var(--gold-light);
}

.mission-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--gold-light);
}

.mission-content p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

/* Founder */
.founder-section {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.founder-image-wrapper {
    position: relative;
}

.founder-image-wrapper img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top;
    box-shadow: var(--shadow-lg);
}

.founder-decorative {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.founder-content .section-tag {
    margin-bottom: 12px;
}

.founder-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.founder-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.founder-titles span {
    background: rgba(26,58,138,0.08);
    color: var(--royal-blue);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 50px;
}

.founder-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.founder-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

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

.achievement span {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* ============================================
   WORLD MAP
   ============================================ */
.world-map-section {
    padding-top: 40px;
}

.world-map-container {
    position: relative;
    margin-bottom: 48px;
}

.world-map {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 2 / 1;
    background: linear-gradient(180deg, #eef2ff 0%, #f0f4ff 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.active-dot {
    background: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(26,58,138,0.2);
}

.expanding-dot {
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.2);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.global-stat {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.global-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.global-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(26,58,138,0.1), rgba(212,168,67,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.global-stat-icon svg {
    color: var(--royal-blue);
}

.global-stat h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.global-stat p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
    background: var(--white);
}

.course-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--royal-blue);
    color: var(--royal-blue);
}

.filter-btn.active {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: var(--white);
}

.filter-btn-secondary {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-500);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.filter-btn-secondary.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold);
    color: var(--white);
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.course-card.hidden {
    display: none;
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
    color: var(--white);
}

.vedic-badge { background: var(--vedic-color); }
.spiritual-badge { background: var(--spiritual-color); }
.skill-badge { background: var(--skill-color); }
.creative-badge { background: var(--creative-color); }
.tech-badge { background: var(--tech-color); }

.course-mode {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.course-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.course-actions {
    display: flex;
    gap: 8px;
}

.courses-cta {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--off-white), rgba(212,168,67,0.05));
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.courses-cta p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* ============================================
   GALLERY & AWARDS
   ============================================ */
.gallery-section {
    background: var(--off-white);
}

.awards-hall {
    margin-bottom: 64px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.award-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    cursor: pointer;
}

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

.award-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(26,58,138,0.2);
}

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

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

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
    border-color: rgba(212,168,67,0.3);
    background: linear-gradient(180deg, rgba(212,168,67,0.03) 0%, var(--white) 100%);
}

.testimonial-quote svg {
    color: var(--gold);
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--gray-700);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(26,58,138,0.1);
    background: var(--white);
}

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

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(26,58,138,0.1), rgba(212,168,67,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    color: var(--royal-blue);
}

.contact-card h4 {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-card a {
    color: var(--royal-blue);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--gold-dark);
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-800);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
    filter: brightness(1.2);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-newsletter h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Map dot animations */
.map-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--royal-blue);
    transform: translate(-50%, -50%);
}

.map-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--royal-blue);
    animation: pulse 2s infinite;
    opacity: 0.4;
}

.map-dot.gold {
    background: var(--gold);
}

.map-dot.gold::after {
    border-color: var(--gold);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-image-wrapper img {
        height: 360px;
        max-width: 400px;
    }

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

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

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

@media (max-width: 768px) {
    .top-bar-contact {
        display: none;
    }

    .header-inner {
        height: 64px;
    }

    .logo img {
        height: 44px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
    }

    .hero-counter-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .counter-number {
        font-size: 2rem;
    }

    .section {
        padding: 64px 0;
    }

    .mission-strip {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

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

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

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

    .global-stats {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-counter-strip {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}
