/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a;
    --secondary-color: #5b57ba;
    --accent-color: #7b78cc;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #232323;
    --text-muted: #64748b;
    --gray-color: #94a3b8;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p, span, a, li, input, select, textarea, button, label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

main {
    margin: 0;
    padding: 0;
}

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

/* Header and Navigation */
header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.logo-scrolled {
    display: none;
}

header.scrolled .logo-default {
    display: none;
}

header.scrolled .logo-scrolled {
    display: block;
}

header.scrolled .nav-links a {
    color: #232323;
}

header.scrolled .nav-links a:hover {
    color: #0f172a;
    background: rgba(91,87,186,0.07);
}

header.scrolled .nav-links a.active {
    color: #5b57ba;
    background: rgba(91,87,186,0.1);
}

header.scrolled .hamburger span {
    background: #232323;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
    filter: brightness(1.1);
}

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

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.nav-links a.active {
    color: white;
    background: rgba(91,87,186, 0.2);
}

.nav-links a::after {
    display: none;
}

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

.hamburger span {
    width: 22px;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

/* ==============================
   Hero Section — Redesigned
   ============================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background: #0a0f1a;
}

/* --- Image Slider (sits above video) --- */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg { transform: scale(1); }

/* --- Video fallback --- */
.hero-section .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    display: block;
}

/* --- Overlay --- */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(10,15,26,0.88) 0%,
        rgba(10,15,26,0.60) 45%,
        rgba(10,15,26,0.32) 100%
    );
    z-index: 2;
}

/* --- Hero Content Wrap --- */
.hero-content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 10;
    padding-bottom: 90px;
}

.hero-content-wrap .container {
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge i { color: #7b78cc; font-size: 11px; }

/* Slide text panels */
.hero-slide-text { display: none; }

.hero-slide-text.active {
    display: block;
    animation: heroFadeUp 0.65s ease forwards;
}

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

.hero-slide-text h1 {
    font-size: 58px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-hl {
    background: linear-gradient(135deg, #5b57ba, #7b78cc, #9896d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slide-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.62);
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 520px;
    font-weight: 300;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: linear-gradient(135deg, #5b57ba, #4a47a0);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(91,87,186,0.4);
    letter-spacing: 0.01em;
}

.hero-btn-primary i { font-size: 12px; transition: transform 0.3s ease; }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(91,87,186,0.55); }
.hero-btn-primary:hover i { transform: translateX(4px); }

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateY(-2px);
}

/* --- Slider Navigation (arrows + dots) --- */
.hero-slider-nav {
    position: absolute;
    bottom: 116px;
    left: 8%;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 20;
}

.hero-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-nav-btn:hover {
    background: #5b57ba;
    border-color: #5b57ba;
    color: white;
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.28);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.hero-dot.active {
    background: #5b57ba;
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(91,87,186,0.6);
}

/* --- Bottom Stats Strip --- */
.hero-info-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10;
    padding: 16px 0;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 36px;
    gap: 3px;
    font-size: 10px;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero-stat span {
    font-size: 22px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-stat-sep {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* --- Scroll Indicator --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 78px;
    right: 5%;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    z-index: 20;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.55);
    border-radius: 2px;
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(10px); opacity: 0.25; }
}

/* Responsive Hero */
@media (max-width: 960px) {
    .hero-slide-text h1 { font-size: 48px; }
    .hero-stat { padding: 4px 20px; }
}

@media (max-width: 768px) {
    .hero-slide-text h1 { font-size: 34px; }
    .hero-slide-text p { font-size: 15px; }
    .hero-actions { flex-direction: column; gap: 12px; align-items: flex-start; }
    .hero-btn-primary, .hero-btn-secondary { width: 100%; justify-content: center; }
    .hero-stat { padding: 4px 12px; font-size: 9px; }
    .hero-stat span { font-size: 17px; }
    .hero-stat-sep { height: 24px; }
    .hero-slider-nav { bottom: 106px; left: 5%; }
    .hero-scroll-indicator { display: none; }
    .hero-badge { font-size: 10px; }
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header .subtitle {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #5b57ba, #7b78cc);
    margin: 0 auto;
    border-radius: 3px;
}

/* About Section — Redesigned */
.about-section {
    background: #f5f6fa;
    position: relative;
    overflow: hidden;
    padding: 120px 0 140px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(91,87,186,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91,87,186,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

/* Text column */
.about-text-col .section-badge {
    margin-bottom: 20px;
}

.about-title {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.about-highlight {
    background: linear-gradient(135deg, #5b57ba, #7b78cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-body {
    margin-bottom: 32px;
}

.about-body p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.af-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(91,87,186,0.1);
    border: 1px solid rgba(91,87,186,0.18);
    color: #5b57ba;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.af-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 4px;
}

.af-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.af-text span {
    font-size: 13px;
    color: #94a3b8;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #5b57ba;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(91,87,186,0.32);
}

.about-cta:hover {
    background: #4a47a0;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(91,87,186,0.42);
}

.about-cta i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.about-cta:hover i {
    transform: translateX(4px);
}

/* Image column */
.about-image-col {
    position: relative;
    padding-bottom: 36px;
    padding-left: 12px;
}

.about-img-frame {
    position: relative;
    border-radius: 24px;
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(91,87,186,0.18), rgba(123,120,204,0.08));
    border-radius: 28px;
    z-index: 0;
}

.about-img-frame img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 56px rgba(15,23,42,0.16);
    position: relative;
    z-index: 1;
    display: block;
}

.about-exp-badge {
    position: absolute;
    bottom: -12px;
    left: -20px;
    background: white;
    border-radius: 18px;
    padding: 18px 26px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(91,87,186,0.1);
}

.exp-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #5b57ba;
    line-height: 1;
    letter-spacing: -0.03em;
}

.exp-number sup {
    font-size: 0.5em;
    vertical-align: super;
}

.exp-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-title {
        font-size: 34px;
    }

    .about-image-col {
        padding-left: 0;
    }

    .about-exp-badge {
        bottom: 16px;
        left: 16px;
    }
}

/* Proven Excellence Section */
.proven-excellence-section {
    background: #070d1a;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 110px 0;
}

.proven-excellence-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91,87,186,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91,87,186,0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

.proven-excellence-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 65% at 10% 50%, rgba(91,87,186,0.13) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 50%, rgba(91,87,186,0.09) 0%, transparent 60%);
    pointer-events: none;
}

.proven-excellence-section .container {
    position: relative;
    z-index: 2;
}

.proven-excellence-section .section-header {
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91,87,186,0.1);
    border: 1px solid rgba(91,87,186,0.35);
    color: #5b57ba;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.excellence-highlight {
    background: linear-gradient(135deg, #5b57ba 0%, #7b78cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.proven-excellence-section .section-header h2 {
    color: white;
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.proven-excellence-section .section-header .subtitle {
    color: rgba(255,255,255,0.52);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.85;
}

.proven-excellence-section .section-header .subtitle strong {
    color: #7b78cc;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255,255,255,0.033);
    padding: 44px 28px 40px;
    border-radius: 22px;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.065);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91,87,186,0.7), transparent);
    transition: opacity 0.35s ease;
    opacity: 0.55;
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(91,87,186,0);
    transition: box-shadow 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(91,87,186,0.07);
    border-color: rgba(91,87,186,0.28);
    box-shadow: 0 28px 64px rgba(0,0,0,0.45), 0 0 48px rgba(91,87,186,0.08);
}

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

.stat-card:hover::after {
    box-shadow: inset 0 0 0 1px rgba(91,87,186,0.18);
}

.stat-icon {
    font-size: 22px;
    color: #5b57ba;
    margin-bottom: 22px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91,87,186,0.1);
    border-radius: 50%;
    border: 1px solid rgba(91,87,186,0.22);
    box-shadow: 0 0 0 6px rgba(91,87,186,0.05);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: rgba(91,87,186,0.18);
    border-color: rgba(91,87,186,0.45);
    box-shadow: 0 0 0 8px rgba(91,87,186,0.07), 0 0 24px rgba(91,87,186,0.25);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 58px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 14px;
    text-shadow: 0 0 40px rgba(91,87,186,0.15);
}

.stat-plus {
    color: #5b57ba;
    font-weight: 800;
    font-size: 0.65em;
    vertical-align: super;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 32px 20px 28px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-icon {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

    .proven-excellence-section .section-header h2 {
        font-size: 32px;
    }
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: var(--light-color);
}

/* View Tabs */
.view-tabs {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 32px;
    background: white;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.view-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.view-tab:hover {
    color: var(--text-color);
    background: var(--light-color);
}

.view-tab.active {
    color: white;
    background: var(--dark-color);
    box-shadow: var(--shadow-md);
}

.view-tab i {
    font-size: 14px;
}

/* View Containers */
.view-container {
    display: none;
}

.view-container.active {
    display: block;
}

.events-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: #f9fafb;
    color: #374151;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: #9ca3af;
}

.search-box input:focus {
    outline: none;
    border-color: var(--dark-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.search-box i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.filter-box select {
    padding: 14px 40px 14px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    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='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.filter-box select:focus {
    outline: none;
    border-color: var(--dark-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.events-carousel {
    position: relative;
}

.carousel-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.carousel-container:active,
.carousel-container.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.carousel-container.dragging .event-card {
    pointer-events: none;
    cursor: grabbing;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.event-card {
    min-width: 340px;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-details {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.event-title {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--dark-color);
    line-height: 1.3;
    flex: 1;
    font-weight: 600;
}

.event-location {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-location i {
    color: var(--secondary-color);
    font-size: 12px;
}

.event-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.event-links a {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.event-links .register-btn {
    background: linear-gradient(135deg, #5b57ba, #4a47a0);
    color: white;
    box-shadow: 0 2px 8px rgba(91,87,186,0.25);
}

.event-links .register-btn:hover {
    box-shadow: 0 4px 15px rgba(91,87,186,0.4);
    transform: translateY(-1px);
}

.event-links .website-btn {
    background: var(--dark-color);
    color: white;
}

.event-links .website-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* Hide register button for past events */
.event-card[data-status="past"] .register-btn {
    display: none;
}

.event-card[data-status="past"] .website-btn {
    flex: 1;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    position: relative;
    z-index: 5;
}

.carousel-btn {
    background: white;
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--dark-color);
    color: white;
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Events Map */
.events-map-container {
    margin-bottom: 40px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    background: #0b1224;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

@media (min-width: 640px) {
    .map-wrapper {
        aspect-ratio: 5/3;
    }
}

.map-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 10% 50%, rgba(56,189,248,0.10), transparent 60%),
                radial-gradient(80% 60% at 75% 30%, rgba(197,160,89,0.10), transparent 65%),
                linear-gradient(180deg, #0b1224 0%, #0a0f1f 100%);
}

.map-gradient {
    position: absolute;
    inset: 0;
}

.map-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    pointer-events: none;
}

/* Ticker */
.map-ticker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.90), rgba(15, 23, 42, 0.95));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

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

.ticker-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 8px 24px;
    font-size: 11px;
    font-weight: 500;
    color: white;
}

.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    font-size: 9px;
    color: #fff;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-separator {
    color: var(--secondary-color);
}

/* Map Viewport */
.map-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.map-viewport:active {
    cursor: grabbing;
}

.map-content {
    position: absolute;
    inset: 0;
    transform: translate(0%, -0.105271%) scale(1.15);
    transform-origin: 0 50%;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-region {
    transition: all 400ms ease;
    cursor: pointer;
    pointer-events: auto;
}

.map-region:hover {
    fill: url(#landActive);
    stroke: rgba(197, 160, 89, 0.8);
    stroke-width: 0.35;
    filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.3));
}

.map-region.active {
    fill: url(#landActive);
    stroke: rgba(255, 107, 53, 0.9);
    stroke-width: 0.4;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.4));
}

/* Dimmed state for non-selected regions */
.map-region.dimmed {
    opacity: 0.4;
    filter: grayscale(0.5);
}

/* Heatmap Layer */
.heatmap-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.heatmap-pulse {
    position: absolute;
    width: 110px;
    height: 110px;
    background: radial-gradient(closest-side, rgba(91,87,186, 0.5), rgba(91,87,186, 0.18) 50%, transparent 75%);
    mix-blend-mode: screen;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.2;
    }
}

/* City Labels */
.city-labels {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.city-label {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 8.7px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(148, 163, 184, 0.65);
    white-space: nowrap;
    transition: all 300ms ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.city-label.highlighted {
    color: var(--secondary-color);
    font-size: 10px;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 15;
}

/* Dimmed state for filtered cities */
.city-label.dimmed {
    opacity: 0.3;
}

/* Cluster Markers */
.cluster-markers {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.cluster-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 200ms ease;
}

.cluster-marker:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 20;
}

.cluster-marker:hover .cluster-ring {
    box-shadow: rgba(197, 160, 89, 0.6) 0 0 0 2px,
                rgba(197, 160, 89, 0.4) 0 0 40px 10px,
                rgba(91,87,186, 0.3) 0 0 60px 15px;
}

.cluster-marker:hover .cluster-count {
    color: #fff;
    text-shadow: 0 0 10px rgba(91,87,186, 0.8);
}

/* Active state for selected marker */
.cluster-marker.active .cluster-ring {
    box-shadow: rgba(197, 160, 89, 0.8) 0 0 0 3px,
                rgba(197, 160, 89, 0.5) 0 0 50px 15px,
                rgba(91,87,186, 0.4) 0 0 80px 20px;
    background: radial-gradient(closest-side, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.cluster-marker.active .cluster-count {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Pulse animation for markers */
@keyframes markerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.cluster-marker.pulsing {
    animation: markerPulse 2s ease-in-out infinite;
}

.cluster-ring {
    position: absolute;
    inset: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    box-shadow: rgba(197, 160, 89, 0.45) 0 0 0 1px,
                rgba(197, 160, 89, 0.25) 0 0 28px 6px;
    background: radial-gradient(closest-side, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.55));
    backdrop-filter: blur(6px);
}

.cluster-content {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8px;
}

.cluster-count {
    font-size: 10px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.cluster-label {
    font-size: 7px;
    color: rgba(148, 163, 184, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 2px;
}

.cluster-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    white-space: nowrap;
    border-radius: 9999px;
    background: linear-gradient(135deg, #5b57ba 0%, #4a47a0 100%);
    color: white;
    font-size: 8px;
    font-weight: 800;
    padding: 3px 8px;
    border: 2px solid #0b1224;
    box-shadow: 0 2px 8px rgba(91,87,186, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.cluster-name {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    font-size: 9px;
    font-weight: bold;
    color: rgba(226, 232, 240, 0.9);
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

/* Hide cluster name on hover to reduce clutter */
.cluster-marker:hover .cluster-name {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
    transition: all 0.3s ease;
}

/* Event Markers - Individual event previews on map */
.event-markers {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.event-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 120px;
    max-width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 107, 53, 0.2);
}

.event-marker:hover {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: rgba(197, 160, 89, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 53, 0.3);
    z-index: 20;
}

.event-marker.active {
    border-color: rgba(255, 107, 53, 0.9);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

.event-marker-ring {
    position: absolute;
    inset: -4px;
    border-radius: 10px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    animation: markerPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.event-marker-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-marker-date {
    font-size: 9px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-marker-title {
    font-size: 11px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.event-marker-location {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    font-size: 9px;
    font-weight: bold;
    color: rgba(226, 232, 240, 0.8);
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 10px;
}

.event-marker:hover .event-marker-location {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Dimmed state for filtered events */
.event-marker.dimmed {
    opacity: 0.2;
    pointer-events: none;
}

/* Map Controls Panel */
.map-controls-panel {
    position: absolute;
    top: 48px;
    left: 12px;
    z-index: 30;
    width: 260px;
    max-width: 78vw;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    transition: all 300ms ease;
}

.controls-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.controls-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: bold;
    color: #fff;
}

.controls-title i {
    font-size: 14px;
}

.controls-toggle {
    background: none;
    border: none;
    color: white;
    opacity: 0.6;
    cursor: pointer;
    padding: 4px;
    transition: opacity 0.2s ease;
}

.controls-toggle:hover {
    opacity: 1;
}

/* Collapsed state for controls panel */
.map-controls-panel.collapsed .controls-body {
    display: none;
}

.map-controls-panel.collapsed {
    width: auto;
    min-width: 0;
}

.map-controls-panel.collapsed .controls-title span {
    display: none;
}

.controls-body {
    padding: 12px;
}

.controls-body .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
    margin-bottom: 12px;
}

.controls-body .search-box i {
    font-size: 14px;
    color: rgba(148, 163, 184, 1);
}

.controls-body .search-box input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: rgba(243, 244, 246, 1);
    flex: 1;
}

.controls-body .search-box input::placeholder {
    color: rgba(100, 116, 139, 1);
}

.filter-section {
    margin-bottom: 12px;
}

.filter-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(148, 163, 184, 1);
    margin-bottom: 6px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-buttons .filter-btn {
    border-radius: 6px;
    padding: 4px 8px;
    font-weight: bold;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
        color: #5b57ba;
    border-color: rgba(255, 255, 255, 0.1);
}

.filter-buttons .filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-buttons .filter-btn.active {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.tip-box {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    font-size: 10px;
    color: rgba(209, 213, 219, 1);
    line-height: 1.5;
}

.tip-label {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    bottom: 16px;
    right: 12px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.zoom-btn:hover {
    transform: scale(1.05);
}

.zoom-level {
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    color: var(--secondary-color);
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    padding: 4px 0;
}

/* Heatmap Toggle */
.heatmap-toggle {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    max-width: 90%;
}

.heatmap-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid rgba(91,87,186, 0.3);
    background: linear-gradient(90deg, #5b57ba, #7b78cc);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px rgba(91,87,186, 0.55);
}

.heatmap-btn:hover {
    filter: brightness(1.1);
}

.heatmap-status {
    margin-left: 4px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    color: #5b57ba;
    font-size: 9px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.map-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.95);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    backdrop-filter: blur(10px);
    max-width: 280px;
}

.map-search {
    position: relative;
    margin-bottom: 15px;
}

.map-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 14px;
}

.map-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.map-search input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.map-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}

.location-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 8px 14px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    background: rgba(197, 160, 89, 0.2);
    color: white;
}

.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

/* Map Popup */
.map-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 16px;
    padding: 0;
    max-width: 420px;
    width: 92%;
    max-height: 85vh;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(197, 160, 89, 0.2);
    backdrop-filter: blur(20px);
}

.map-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(197, 160, 89, 0.3);
    transform: rotate(90deg);
}

.popup-content {
    padding: 20px;
    max-height: calc(85vh - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.3) transparent;
}

.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-track {
    background: transparent;
}

.popup-content::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.3);
    border-radius: 3px;
}

.popup-event {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    animation: slideInEvent 0.4s ease forwards;
}

.popup-event:nth-child(2) { animation-delay: 0.1s; }
.popup-event:nth-child(3) { animation-delay: 0.2s; }
.popup-event:nth-child(4) { animation-delay: 0.3s; }
.popup-event:nth-child(5) { animation-delay: 0.4s; }

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

.popup-event:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(197, 160, 89, 0.4);
}

.popup-event:last-child {
    margin-bottom: 0;
}

.popup-event-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.popup-event-date {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.popup-event-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.popup-event-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.popup-event-links {
    display: flex;
    gap: 8px;
}

.popup-event-links a {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.popup-event-links .register-btn {
    background: var(--secondary-color);
    color: white;
}

.popup-event-links .register-btn:hover {
    background: #e55a2b;
}

.popup-event-links .website-btn {
    background: var(--primary-color);
    color: white;
}

.popup-event-links .website-btn:hover {
    background: #1557b0;
}

.popup-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup-header::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: headerPulse 2s infinite;
}

@keyframes headerPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Events counter badge in popup */
.popup-event-count {
    background: rgba(197, 160, 89, 0.2);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

/* Popup Footer for View All button */
.popup-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 10px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25) 0%, rgba(255, 107, 53, 0.25) 100%);
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.view-all-btn i {
    font-size: 14px;
}

/* ==============================
   Footer — Redesigned
   ============================== */

/* Pre-footer CTA Strip */
.footer-cta-strip {
    background: linear-gradient(135deg, #5b57ba 0%, #4a47a0 100%);
    position: relative;
    overflow: hidden;
    padding: 48px 0;
}

.footer-cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-cta-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.footer-cta-text p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin: 0;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    color: #5b57ba;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.footer-cta-btn i { font-size: 12px; transition: transform 0.3s ease; }
.footer-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.footer-cta-btn:hover i { transform: translateX(4px); }

/* Footer Main */
footer {
    background: #0a0f1a;
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91,87,186,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91,87,186,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    padding: 72px 0 56px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 160px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.05);
}

.footer-tagline {
    color: rgba(255,255,255,0.42);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Brand Stats */
.footer-brand-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.footer-stat span {
    font-size: 22px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #7b78cc, #9896d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-section h3 {
    position: relative;
    margin-bottom: 22px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 14px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #5b57ba, #7b78cc);
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a i {
    font-size: 9px;
    color: rgba(91,87,186,0.5);
    transition: transform 0.25s ease, color 0.25s ease;
}

.footer-section a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-section a:hover i {
    color: #7b78cc;
    transform: translateX(3px);
}

/* Footer Map */
.map-container {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.map-container iframe {
    width: 100%;
    height: 160px;
    border-radius: 0;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.map-container iframe:hover { opacity: 1; }

/* Contact Info in Footer */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.42);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-info i {
    color: #7b78cc;
    font-size: 12px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91,87,186,0.1);
    border: 1px solid rgba(91,87,186,0.2);
    border-radius: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
}

.social-links a:hover {
    background: #5b57ba;
    border-color: #5b57ba;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91,87,186,0.4);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.28);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: #7b78cc; }

@media (max-width: 992px) {
    .footer-cta-inner { flex-direction: column; text-align: center; align-items: center; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-stats { justify-content: flex-start; }
}

@media (max-width: 576px) {
    .footer-cta-text h3 { font-size: 20px; }
    .footer-cta-btn { width: 100%; justify-content: center; }
    .footer-links-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-brand-stats { gap: 16px; }
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.no-events-message {
    text-align: center;
    padding: 40px;
    color: var(--gray-color);
    min-width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .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(7px, -6px);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .events-filter {
        flex-direction: column;
    }

    .search-box {
        min-width: 100%;
    }
}

/* ================================================
   Testimonials Section
   ================================================ */
.testimonials-section {
    background: #faf8f3;
    padding: 100px 0;
    position: relative;
}

.testimonials-heading {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 56px;
}

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e8e3da;
    border-radius: 18px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.09);
    transform: translateY(-5px);
    border-color: #d6d0c6;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #5b57ba;
    font-size: 15px;
}

.testimonial-quote {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.75;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0ebe2;
    margin-top: auto;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5e1d8;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-info strong {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.author-info span {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.2;
}

@media (max-width: 960px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonials-heading {
        font-size: 32px;
        margin-bottom: 40px;
    }
}
