/* ==========================================================================
   Finlit Analytics LLP - Modern FinTech UI Design System (2026)
   ========================================================================== */

:root {
    /* Brand Colors */
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    
    /* Layout Tokens */
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   THEME PALETTES: LUXURY DARK (Default) vs CRISP LIGHT
   ========================================================================== */

/* DARK THEME (Default) */
:root,
[data-theme="dark"] {
    color-scheme: dark;
    --bg-base: #0b0f19;
    --bg-body: radial-gradient(circle at 50% -10%, #151f33 0%, #0b0f19 80%);
    --bg-surface: #111827;
    --bg-card: rgba(17, 24, 39, 0.78);
    --bg-card-hover: rgba(23, 33, 53, 0.9);
    --bg-card-featured: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 24, 39, 0.85) 100%);
    --bg-input: #1a2333;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.4);
    --border-featured: rgba(16, 185, 129, 0.5);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --header-bg: rgba(11, 15, 25, 0.85);
    --header-border: rgba(255, 255, 255, 0.08);
    --nav-btn-color: #cbd5e1;
    --nav-btn-hover: #ffffff;
    
    --ticker-bg: #0e1422;
    --ticker-border: rgba(255, 255, 255, 0.06);
    --ticker-text: #94a3b8;
    
    --pill-bg: rgba(255, 255, 255, 0.05);
    --pill-border: rgba(255, 255, 255, 0.09);
    --pill-text: #e2e8f0;
    --pill-highlight-bg: rgba(16, 185, 129, 0.15);
    --pill-highlight-border: rgba(16, 185, 129, 0.35);
    --pill-highlight-text: #6ee7b7;
    
    --sebi-bg: rgba(245, 158, 11, 0.08);
    --sebi-border: rgba(245, 158, 11, 0.25);
    --sebi-text: #fbbf24;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
    --shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
    
    --spotify-bg: rgba(34, 197, 94, 0.08);
    --spotify-border: rgba(34, 197, 94, 0.25);
    
    --footer-bg: #080c14;
    --footer-border: rgba(255, 255, 255, 0.08);
    
    --dialog-bg: #0f172a;
    
    --map-bg: #090e1a;
    --map-land-fill: #121c2d;
    --map-land-stroke: #2e4468;
    --map-land-hover: #1c2b42;
    --map-presence-fill: rgba(16, 185, 129, 0.22);
    --map-presence-stroke: #34d399;
    --map-grid-color: rgba(255, 255, 255, 0.08);
    --map-bg: #0b1120;
    --map-land-fill: #1a253c;
    --map-land-stroke: #2a3b5c;
    --map-grid-color: rgba(255, 255, 255, 0.07);
}

/* LIGHT THEME */
[data-theme="light"] {
    color-scheme: light;
    --bg-base: #f8fafc;
    --bg-body: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-hover: #ffffff;
    --bg-card-featured: linear-gradient(180deg, #ffffff 0%, #f0fdf9 100%);
    --bg-input: #f1f5f9;
    --border: #e2e8f0;
    --border-hover: #10b981;
    --border-featured: rgba(16, 185, 129, 0.5);
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --header-bg: rgba(255, 255, 255, 0.92);
    --header-border: rgba(226, 232, 240, 0.85);
    --nav-btn-color: #475467;
    --nav-btn-hover: #0f172a;
    
    --ticker-bg: #ffffff;
    --ticker-border: #e2e8f0;
    --ticker-text: #475467;
    
    --pill-bg: #f1f5f9;
    --pill-border: #e2e8f0;
    --pill-text: #334155;
    --pill-highlight-bg: #ecfdf5;
    --pill-highlight-border: #a7f3d0;
    --pill-highlight-text: #065f46;
    
    --sebi-bg: #fffbeb;
    --sebi-border: #fde68a;
    --sebi-text: #92400e;
    
    --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.12);
    
    --spotify-bg: #f2f8f6;
    --spotify-border: #caf0df;
    
    --footer-bg: #ffffff;
    --footer-border: #e2e8f0;
    
    --dialog-bg: #ffffff;
    
    --map-bg: #f8fafc;
    --map-land-fill: #e2e8f0;
    --map-land-stroke: #94a3b8;
    --map-land-hover: #dbeafe;
    --map-presence-fill: rgba(16, 185, 129, 0.16);
    --map-presence-stroke: rgba(16, 185, 129, 0.45);
    --map-grid-color: rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   RESET & CORE BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

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

button, summary, a {
    font: inherit;
}

/* Modern Scrollbar */
@supports (scrollbar-color: auto) {
    * {
        scrollbar-color: var(--accent) transparent;
        scrollbar-width: thin;
    }
}
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    ::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 999px;
    }
    ::-webkit-scrollbar-track {
        background: transparent;
    }
}

/* ==========================================================================
   HEADER & FLOATING NAVIGATION
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--header-border);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    flex-shrink: 0;
}

.brand-logo.sm {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.brand-logo-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    border: 1.5px solid rgba(14, 165, 233, 0.45);
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo-img:hover {
    transform: scale(1.06) rotate(3deg);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.55);
}

.brand-logo-img.sm {
    width: 40px;
    height: 40px;
}


.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    color: var(--text-primary);
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseRing 2s infinite;
    display: inline-block;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-tabs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    color: var(--nav-btn-color);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--nav-btn-hover);
    background: var(--pill-bg);
}

.tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Theme Switcher Button */
.nav-actions {
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: var(--pill-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    transform: scale(1.03);
}

.theme-icon {
    font-size: 1rem;
    line-height: 1;
}

/* ==========================================================================
   METRICS TICKER BAR
   ========================================================================== */

.metrics-ticker-bar {
    background: var(--ticker-bg);
    border-bottom: 1px solid var(--ticker-border);
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    color: var(--ticker-text);
    overflow-x: auto;
    white-space: nowrap;
}

.ticker-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.ticker-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.ticker-scroll {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ticker-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ticker-link:hover {
    color: var(--accent);
}

.ticker-item strong {
    color: var(--text-primary);
}

.ticker-sep {
    color: var(--border);
    user-select: none;
}

/* ==========================================================================
   MAIN LAYOUT & TABS
   ========================================================================== */

.main-container {
    max-width: 1240px;
    margin: 2rem auto 4rem;
    padding: 0 1.25rem;
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active-content {
    display: block;
}

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

/* ==========================================================================
   HERO BANNER & ABOUT US
   ========================================================================== */

.hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 32, 54, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #a7f3d0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

.hero-banner h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1.12;
    margin: 0.5rem 0 0.8rem;
    letter-spacing: -0.03em;
    font-weight: 800;
    max-width: 900px;
}

.hero-bull-icon {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.9em;
    vertical-align: -0.05em;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
}

.hero-banner p {
    max-width: 820px;
    color: #cbd5e1;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.65;
}

/* Founder Card */
.founder-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: clamp(1.5rem, 2.5vw, 2.8rem);
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    transition: var(--transition-smooth);
}

.founder-image-wrapper {
    position: relative;
    width: 100%;
}

.founder-image-wrapper img {
    width: 100%;
    aspect-ratio: 4 / 4.8;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.experience-badge {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.founder-bio h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-weight: 800;
}

.designation {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
}

.founder-bio p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.98rem;
    line-height: 1.7;
}

.spotify-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--spotify-bg);
    border: 1px solid var(--spotify-border);
    border-left: 4px solid #10b981;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-top: 1.3rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.spotify-box:hover {
    transform: translateY(-2px);
    border-color: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.spotify-icon {
    font-size: 1.9rem;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    margin: 1.5rem auto 2.2rem;
    max-width: 720px;
}

.section-header h2 {
    color: var(--text-primary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.sebi-notice {
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--sebi-bg);
    border: 1px solid var(--sebi-border);
    color: var(--sebi-text);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
}

/* ==========================================================================
   COURSES SECTION
   ========================================================================== */

.courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
    align-items: stretch;
}

.course-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.4rem 1.3rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Tablet: 2 courses per row, centered */
@media (min-width: 680px) and (max-width: 1023px) {
    .course-card {
        flex: 0 1 calc((100% - 1.6rem) / 2);
        max-width: calc((100% - 1.6rem) / 2);
        width: calc((100% - 1.6rem) / 2);
    }
}

/* Desktop: exactly 3 in first row, 2 centered in second row with equal left and right gaps */
@media (min-width: 1024px) {
    .course-card {
        flex: 0 1 calc((100% - 2 * 1.6rem) / 3);
        max-width: calc((100% - 2 * 1.6rem) / 3);
        width: calc((100% - 2 * 1.6rem) / 3);
    }
}

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

.course-card.featured {
    background: var(--bg-card-featured);
    border-color: var(--border-featured);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.15);
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--pill-bg);
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.card-badge.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.35);
}

.card-badge.cosmic-badge {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.35);
}

[data-theme="light"] .card-badge.cosmic-badge {
    background: rgba(147, 51, 234, 0.1);
    color: #7e22ce;
    border-color: rgba(147, 51, 234, 0.25);
}

.course-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.course-desc {
    color: var(--text-secondary);
    font-size: 0.94rem;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

.course-details-pills {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    color: var(--pill-text);
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
}

.pill.highlight-pill {
    background: var(--pill-highlight-bg);
    border-color: var(--pill-highlight-border);
    color: var(--pill-highlight-text);
    font-weight: 700;
}

.syllabus-accordion {
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding-top: 1rem;
}

.syllabus-accordion summary {
    list-style: none;
    cursor: pointer;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    user-select: none;
}

.syllabus-accordion summary::-webkit-details-marker {
    display: none;
}

.syllabus-accordion summary::before {
    content: '▸';
    transition: transform 0.2s ease;
    font-size: 0.95rem;
}

.syllabus-accordion[open] summary::before {
    transform: rotate(90deg);
}

.syllabus-list {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

.syllabus-list li {
    margin-bottom: 0.5rem;
}

.syllabus-list strong {
    color: var(--text-primary);
}

.card-footer {
    margin-top: auto;
    border-top: 1px dashed var(--border);
    padding-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.price {
    color: var(--text-primary);
    font-size: clamp(1.35rem, 1.8vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    background: #20ba5a;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: var(--transition-smooth);
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   LEARNINGS / METHODOLOGY SECTION
   ========================================================================== */

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

.feature-box {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 2rem 1.6rem;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1.1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.2));
}

.feature-box h3 {
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* ==========================================================================
   GALLERY SECTION & LIGHTBOX
   ========================================================================== */

.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--pill-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1.15rem;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1.6rem;
    align-items: stretch;
}

.gallery-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    position: relative;
}

.gallery-card:hover,
.gallery-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.gallery-card.card-hidden {
    display: none !important;
}

.gallery-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: #111827;
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-image-wrap img,
.gallery-card:focus-visible .gallery-image-wrap img {
    transform: scale(1.06);
}

.gallery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.3);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.85) 0%, rgba(11, 15, 25, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-hover-overlay,
.gallery-card:focus-visible .gallery-hover-overlay {
    opacity: 1;
}

.gallery-zoom-btn {
    background: #ffffff;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transform: translateY(6px);
    transition: transform 0.25s ease;
}

.gallery-card:hover .gallery-zoom-btn,
.gallery-card:focus-visible .gallery-zoom-btn {
    transform: translateY(0);
}

.gallery-info {
    padding: 1.15rem 1.25rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
    text-align: left;
}

.gallery-info h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.gallery-info p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* --- LIGHTBOX DIALOG --- */
.gallery-dialog {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 900px;
    width: calc(100% - 2rem);
    max-height: 92vh;
    margin: auto;
    overflow: visible;
}

.gallery-dialog::backdrop {
    background: rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dialog-content {
    background: var(--dialog-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: dialogPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dialogPop {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.dialog-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--transition-smooth);
    line-height: 1;
}

.dialog-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.dialog-image-container {
    background: #000000;
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
}

#dialogImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.dialog-details {
    padding: 1.3rem 1.6rem 1.6rem;
    background: var(--dialog-bg);
    border-top: 1px solid var(--border);
}

.dialog-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

#dialogTitle {
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}

#dialogDesc {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.social-proof-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.social-proof-pill .stars {
    color: #f59e0b;
    letter-spacing: 0.08em;
}

/* Testimonial Filter Buttons */
.testimonials-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.t-filter-btn {
    background: var(--pill-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.t-filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.t-filter-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.6rem;
    align-items: stretch;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.testimonial-card.featured-testimonial {
    background: var(--bg-card-featured);
    border-color: var(--border-featured);
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.12);
}

.testimonial-card.card-hidden {
    display: none !important;
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.testimonial-avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    background: #1f293d;
    box-shadow: 0 0 0 3px var(--bg-surface), 0 0 0 5px rgba(16, 185, 129, 0.35);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid var(--bg-surface);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-meta h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.testimonial-role {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.testimonial-org {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.testimonial-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--border);
}

.course-pill {
    background: var(--pill-bg);
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.testimonial-rating {
    color: #f59e0b;
    letter-spacing: 0.12em;
    font-size: 0.92rem;
}

.testimonial-quote {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
}

/* Subtle decorative quote marks watermark */
.testimonial-card::after {
    content: "“";
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 4.5rem;
    line-height: 1;
    font-family: serif;
    color: var(--text-muted);
    opacity: 0.12;
    pointer-events: none;
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */

.footer {
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    color: var(--text-secondary);
    padding: 3rem 1.25rem 1.5rem;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.footer-social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    background: var(--pill-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-btn {
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0;
    text-align: left;
    transition: var(--transition-smooth);
}

.footer-nav-btn:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-disclaimer {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    border-top: 1px solid var(--footer-border);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING ACTION HUB (WhatsApp & Back To Top)
   ========================================================================== */

.floating-hub {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.floating-btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
}

.whatsapp-fab {
    background: #25d366;
    color: #ffffff;
    padding: 0.65rem 1.1rem;
}

.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.02);
    background: #20ba5a;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.top-fab {
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.top-fab.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.top-fab:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ==========================================================================
   PERFORMANCE & CORE WEB VITALS OPTIMIZATIONS
   ========================================================================== */

/* Defer rendering calculations for off-screen cards */
.gallery-card,
.testimonial-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 340px;
}

/* Optimize font rendering and text stability */
body {
    text-rendering: optimizeLegibility;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 960px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }

    .nav-tabs {
        justify-content: center;
    }

    .founder-card {
        grid-template-columns: 1fr;
    }

    .founder-image-wrapper img {
        aspect-ratio: 4 / 3.8;
    }

    .metrics-ticker-bar {
        padding-inline: 0.5rem;
    }

    .hero-banner {
        padding: 1.8rem 1.25rem;
    }
}

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

    .header {
        position: static;
    }

    .tab-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
    }

    .course-card,
    .feature-box,
    .testimonial-card,
    .gallery-card {
        border-radius: var(--radius-lg);
    }

    .floating-hub {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-fab .fab-text {
        display: none;
    }

    .whatsapp-fab {
        width: 46px;
        height: 46px;
        padding: 0;
        display: grid;
        place-items: center;
    }
}

/* ==========================================================================
   GLOBAL PRESENCE & WORLD MAP COMPONENT (2026)
   ========================================================================== */

.global-presence-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.presence-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2.2rem auto;
}

.presence-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.presence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.presence-status-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.presence-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.presence-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.presence-lead strong {
    color: var(--text-primary);
}

/* Metrics Row */
.presence-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.p-metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.p-metric-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.p-metric-num {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.p-metric-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.p-metric-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Regional Filters */
.presence-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.region-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.region-filter-btn:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.region-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Map Viewport Card */
.map-viewport-card {
    position: relative;
    background: var(--map-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 1.8rem;
}

.map-stage-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.world-map-svg {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
}

/* Real World Map Country Shapes & Styling */
.map-countries {
    stroke-linejoin: round;
    stroke-linecap: round;
}

.country-shape {
    fill: var(--map-land-fill);
    stroke: var(--map-land-stroke);
    stroke-width: 0.75;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: fill 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.country-shape:hover {
    fill: var(--map-land-hover);
    stroke: #60a5fa;
    stroke-width: 1.1;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.45));
}

.country-shape.presence-country {
    fill: var(--map-presence-fill);
    stroke: var(--map-presence-stroke);
    stroke-width: 1.15;
    filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.3));
}

.country-shape.presence-country:hover {
    fill: rgba(16, 185, 129, 0.38);
    stroke: #6ee7b7;
    stroke-width: 1.45;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.65));
}

.country-shape.dimmed {
    opacity: 0.35;
}

.map-grid-layer {
    color: var(--map-grid-color);
}

.map-labels {
    color: var(--text-muted);
}

/* Mentorship Flow Arcs Animation */
.flow-path {
    animation: flow-arc 3.5s linear infinite;
}

.arc-bangkok { animation-delay: 0.3s; }
.arc-singapore { animation-delay: 0.6s; }
.arc-uae { animation-delay: 0.9s; }
.arc-uk { animation-delay: 1.2s; }
.arc-usa { animation-delay: 1.5s; }
.arc-canada { animation-delay: 1.8s; }
.arc-australia { animation-delay: 2.1s; }
.arc-germany { animation-delay: 2.4s; }
.arc-safrica { animation-delay: 2.7s; }

@keyframes flow-arc {
    from {
        stroke-dashoffset: 60;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Radar Pulse Rings */
.pulse-ring {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    animation: radar-ripple 2.5s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

.hq-ring-1 {
    stroke: #f59e0b;
    stroke-width: 1.8;
    animation: radar-ripple 2s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

.hq-ring-2 {
    stroke: #10b981;
    stroke-width: 1.5;
    animation: radar-ripple 2s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
    animation-delay: 0.8s;
}

.keynote-ring {
    stroke: #06b6d4;
    stroke-width: 1.6;
    animation-delay: 0.4s;
}

.special-ring {
    stroke: #f59e0b;
    animation-delay: 0.5s;
}

@keyframes radar-ripple {
    0% {
        transform: scale(0.3);
        opacity: 0.95;
    }
    60% {
        opacity: 0.45;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Map Pins */
.map-pin {
    cursor: pointer;
    outline: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.map-pin:hover,
.map-pin:focus-visible,
.map-pin.active-hub {
    transform: scale(1.22);
}

.map-pin.dimmed {
    opacity: 0.22;
}

.map-pin.highlighted {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--accent));
}

.pin-label-tag rect,
.pin-badge rect {
    transition: var(--transition-smooth);
}

.map-pin:hover .pin-label-tag rect,
.map-pin:focus-visible .pin-label-tag rect {
    fill: var(--bg-card-hover);
    stroke: var(--accent);
}

/* Floating Interactive Tooltip */
.map-floating-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 60;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    width: 290px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -125%) scale(0.95);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

.map-floating-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -135%) scale(1);
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}

.tooltip-flag {
    font-size: 1.75rem;
    line-height: 1;
}

.tooltip-title-wrap h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.15rem 0;
}

.tooltip-type-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.tooltip-body {
    font-size: 0.85rem;
    line-height: 1.5;
}

.tooltip-info-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.tt-label {
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
}

.tt-val {
    color: var(--text-secondary);
    text-align: right;
    font-weight: 500;
}

.highlight-val {
    color: var(--accent);
    font-weight: 700;
}

.tooltip-desc {
    margin: 0.6rem 0 0 0;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

/* Map Legend */
.map-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

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

.hq-dot { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.keynote-dot { background: #06b6d4; box-shadow: 0 0 8px #06b6d4; }
.study-dot { background: #f59e0b; }
.active-dot { background: #10b981; box-shadow: 0 0 8px #10b981; }

.legend-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #06b6d4, #f59e0b);
    display: inline-block;
    border-radius: 1px;
}

/* Country Quick-Selector Chips */
.country-chips-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}

.chips-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.country-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.country-chip:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.country-chip.active-chip {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.more-countries-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border);
    color: var(--text-muted);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   WHATSAPP QR CODE COMPONENT & FAB POPUP STYLES (2026)
   ========================================================================== */

.founder-action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.4rem;
}

.whatsapp-qr-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-left: 4px solid #25D366;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.whatsapp-qr-card:hover {
    transform: translateY(-2px);
    border-color: #25D366;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.2);
}

.qr-code-frame {
    background: #ffffff;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-img {
    display: block;
    width: 100px;
    height: 100px;
}

.qr-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.qr-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #25D366;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.qr-card-text strong {
    font-size: 0.98rem;
    color: var(--text-primary);
}

.qr-card-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0 !important;
    line-height: 1.4;
}

.qr-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #25D366;
    text-decoration: none;
    margin-top: 0.2rem;
    transition: color 0.2s ease;
}

.qr-link-btn:hover {
    color: #10b981;
    text-decoration: underline;
}

/* Floating Action Hub WhatsApp QR Popup */
.whatsapp-fab-container {
    position: relative;
    display: inline-block;
}

.whatsapp-fab-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    padding: 1.25rem;
    width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 120;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.whatsapp-fab-popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fab-popup-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.fab-popup-close:hover {
    color: var(--text-primary);
}

.fab-qr-wrap {
    background: #ffffff;
    padding: 0.45rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.65rem;
}

.fab-qr-wrap img {
    display: block;
    width: 140px;
    height: 140px;
}

.fab-qr-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.fab-qr-text p {
    font-size: 0.82rem;
    color: #25D366;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.fab-open-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.fab-open-link:hover {
    text-decoration: underline;
}

/* Blogs & Research Articles Showcase */
.blogs-container {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.subsection-title {
    color: var(--text-primary);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.blog-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.78rem;
}

.blog-category-tag {
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-read-time {
    color: var(--text-muted);
    font-weight: 600;
}

.blog-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-read-link:hover {
    color: var(--accent-light);
    transform: translateX(3px);
}


/* ==========================================================================
   CANDIDATE ENROLLMENT FORM & MICROSOFT FORMS STYLING
   ========================================================================== */

/* Enrollment CTA Banner */
.enrollment-cta-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(2, 132, 199, 0.12) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-xl);
    padding: 1.8rem 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.enrollment-cta-content {
    max-width: 680px;
}

.enrollment-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.enrollment-cta-content h3 {
    color: var(--text-primary);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.enrollment-cta-content p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

.enrollment-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-enroll-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.96rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    transition: var(--transition-smooth);
}

.btn-enroll-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.55);
}


.btn-admin-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.btn-admin-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-card-enroll {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.btn-card-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-card-enroll.featured-enroll {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-card-enroll.featured-enroll:hover {
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

/* Enrollment Dialog Modal */
.enrollment-dialog {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 760px;
    width: calc(100% - 2rem);
    max-height: 92vh;
    margin: auto;
    overflow: visible;
}

.enrollment-dialog::backdrop {
    background: rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.enrollment-dialog-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    max-height: 88vh;
    position: relative;
}

.enrollment-dialog-header {
    position: sticky;
    top: -2.2rem;
    margin-top: -2.2rem;
    margin-left: -2.2rem;
    margin-right: -2.2rem;
    padding: 1.1rem 2.2rem;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    z-index: 25;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}

.enr-brand-top-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.enr-modal-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.enr-modal-brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.enr-modal-company-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.enr-modal-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: #38bdf8;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.enr-header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.enr-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-green-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.enr-form-intro {
    margin-bottom: 1.5rem;
}

.enr-meta-strip {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.enr-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.14);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.enr-badge-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.enr-form-intro h3 {
    color: var(--text-primary);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.enr-subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.req-star {
    color: #ef4444;
    font-weight: 800;
}

.enr-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.enr-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Auto-Dispatched Banner */
.auto-dispatched-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(2, 132, 199, 0.18) 100%);
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    margin-bottom: 1.6rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.auto-disp-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.auto-disp-text strong {
    display: block;
    color: #34d399;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.auto-disp-text span {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
}


/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.field-error {
    color: #f87171;
    font-size: 0.78rem;
    font-weight: 600;
    display: none;
    margin-top: 0.2rem;
}

.course-fee-notice {
    display: none;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-top: 0.4rem;
}

.payment-hint {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.95rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.45rem;
}

.payment-hint code {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.btn-form-cancel {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-form-cancel:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.btn-form-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
    transition: var(--transition-smooth);
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* Success Confirmation State */
.enrollment-success-box {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
}

.enrollment-success-box h4 {
    color: #34d399;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.enrollment-success-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.reg-number-wrap {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.5rem;
    display: inline-block;
    margin-bottom: 1.4rem;
}

.reg-number-wrap span {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.reg-number-wrap strong {
    color: #38bdf8;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

.succ-instruction {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 520px;
    margin: 0 auto 1.8rem auto;
}

.succ-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-succ-wa {
    background: #25d366;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-smooth);
}

.btn-succ-wa:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
}

.btn-succ-email {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition-smooth);
}

.btn-succ-email:hover {
    background: rgba(2, 132, 199, 0.35);
    color: #7dd3fc;
    transform: translateY(-2px);
}

.btn-succ-done {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-succ-done:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* Footer Admin Registrations Link */
.footer-admin-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

.footer-admin-link:hover {
    text-decoration: underline;
    color: #7dd3fc;
}

/* Document Upload Box & Preview Styling */
.id-type-label-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.id-type-select {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.id-type-select:focus,
.id-type-select:hover {
    border-color: #38bdf8;
    background: rgba(14, 165, 233, 0.22);
}

.id-type-select option {
    background: #0f172a;
    color: #f1f5f9;
}

.file-upload-box {
    background: var(--bg-input);
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    min-height: 68px;
    display: flex;
    align-items: center;
    position: relative;
    user-select: none;
    box-sizing: border-box;
}

.file-upload-box:hover {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.04);
}

.file-upload-box.dragover {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.upload-placeholder {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
}

.upload-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.upload-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.upload-text-wrap strong {
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
}

.upload-text-wrap small {
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.2;
}

.upload-preview-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.upload-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(16, 185, 129, 0.4);
    background: #020617;
    flex-shrink: 0;
}

.doc-icon-preview {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.upload-file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.upload-filename {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-filesize {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-remove-file {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.btn-remove-file:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: scale(1.08);
}

.doc-verification-status {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.doc-tag {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 768px) {
    .enrollment-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    .enrollment-cta-actions {
        width: 100%;
    }
    .btn-enroll-primary,
    .btn-admin-pill {
        width: 100%;
        justify-content: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .enrollment-dialog-content {
        padding: 1.5rem;
    }
    .enrollment-dialog-header {
        top: -1.5rem;
        margin: -1.5rem -1.5rem 1.2rem -1.5rem;
        padding: 0.85rem 1.2rem;
    }
    .enr-modal-logo {
        width: 38px;
        height: 38px;
    }
    .enr-modal-company-name {
        font-size: 0.96rem;
    }
    .enr-modal-tagline {
        font-size: 0.68rem;
    }
    .enr-live-pill {
        display: none;
    }
    .id-type-label-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    .succ-actions {
        flex-direction: column;
    }
    .btn-succ-wa,
    .btn-succ-email,
    .btn-succ-done {
        width: 100%;
        justify-content: center;
    }
}
