/* ==========================================================================
   NOVA HAVEN AI - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Custom Variables & Tokens --- */
:root {
    /* Color Palette */
    --bg-dark-obsidian: #060b19;
    --bg-dark-card: rgba(13, 22, 45, 0.65);
    --bg-dark-header: rgba(6, 11, 25, 0.75);
    
    --primary-blue: #0ea5e9;
    --primary-blue-glow: rgba(14, 165, 233, 0.35);
    --primary-green: #2563eb;
    --primary-green-glow: rgba(37, 99, 235, 0.35);
    --primary-purple: #6366f1;
    --primary-purple-glow: rgba(99, 102, 241, 0.35);
    --primary-orange: #8b5cf6;
    --primary-orange-glow: rgba(139, 92, 246, 0.35);
    --primary-pink: #a855f7;
    --primary-pink-glow: rgba(168, 85, 247, 0.35);

    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-active: rgba(255, 255, 255, 0.2);

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-accent: 'Outfit', sans-serif;

    /* Transitions & Borders */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Layout */
    --header-height: 80px;
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100%;
}

body {
    background-color: var(--bg-dark-obsidian);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* --- Background Particles Canvas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    opacity: 0.4;
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: width 0.2s, height 0.2s, background-color 0.2s, opacity 0.3s;
}

.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s, opacity 0.3s;
}

.custom-cursor.visible,
.custom-cursor-follower.visible {
    opacity: 1;
}

/* Hover effects for interactive items */
.hovering .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: var(--primary-purple);
}

.hovering .custom-cursor-follower {
    width: 48px;
    height: 48px;
    border-color: var(--primary-purple);
    background-color: rgba(99, 102, 241, 0.08);
}

/* Hide defaults on devices that support hover */
@media (hover: hover) {
    body {
        cursor: none;
    }
    a, button, .interactive, .step-indicator, .sidebar-event-card, .calendar-days div {
        cursor: none;
    }
}

@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
    body, a, button, .interactive, .step-indicator, .sidebar-event-card, .calendar-days div {
        cursor: auto !important;
    }
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--bg-dark-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-normal);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center !important;
}

.section-tag {
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    display: inline-block;
    margin-bottom: 12px;
}

/* --- Headers & Navigations --- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-normal);
}

.glass-header {
    background-color: var(--bg-dark-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

#site-header.scrolled {
    height: 70px;
    background-color: var(--bg-header-scrolled, rgba(3, 7, 18, 0.9));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.logo-area {
    display: flex;
    align-items: center;
}

.main-logo-img {
    height: 60px; /* Increased from 48px for better prominence and legibility */
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

#site-header.scrolled .main-logo-img {
    height: 46px; /* Increased from 38px */
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.nav-item:hover::after, .nav-item.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Services Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 320px;
    background-color: rgba(13, 22, 45, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.light-theme .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.dropdown-menu a {
    font-family: var(--font-accent);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    line-height: 1.3;
}

.dropdown-menu a i {
    font-size: 14px;
    opacity: 0.8;
    width: 16px;
    text-align: center;
    transition: color 0.2s ease;
}

.dropdown-menu a:hover {
    color: #ffffff;
    background-color: rgba(14, 165, 233, 0.15);
}

.dropdown-menu a:hover i {
    color: var(--primary-blue);
}

body.light-theme .dropdown-menu a {
    color: #475569;
}

body.light-theme .dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

body.light-theme .dropdown-menu a:hover i {
    color: #0284c7;
}

/* Arrow indicator inside menu item */
.nav-item-dropdown .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-item-dropdown .nav-item i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-item i {
    transform: rotate(180deg);
}

/* Adjust dropdown position wrapper */
.nav-item-dropdown::after {
    display: none !important; /* Hide default line animation on wrapper */
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background-color: #0284c7;
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-blue-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-active);
    transform: translateY(-1px);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    background: none;
    border: none;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* --- Mobile Nav Drawer --- */
.mobile-nav-drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-dark-obsidian);
    z-index: 999;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: var(--transition-normal);
    border-top: 1px solid var(--border-light);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mob-nav-item {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.mob-nav-item.active {
    color: var(--primary-blue);
}

.mob-sub-nav-item {
    font-family: var(--font-accent) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding-left: 12px;
}

.mob-sub-nav-item.active {
    color: var(--primary-blue) !important;
}

.drawer-cta-btn {
    width: 100%;
    justify-content: center;
    background: var(--primary-blue);
    color: white;
    margin-top: 24px;
}

/* Toggle Menu Animation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Main Layout Containers --- */
#app-container {
    flex: 1;
    margin-top: var(--header-height);
    position: relative;
    background: #060b19;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.page-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
}

/* --- Section Dividers / Paddings --- */
.section-padding {
    padding: 80px 0;
}
.section-padding-top {
    padding-top: 80px;
}
.section-padding-bottom {
    padding-bottom: 80px;
}

.section-header {
    margin-bottom: 48px;
    max-width: 600px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ==========================================================================
   PAGE SPECIFIC MODULES
   ========================================================================== */

/* --- 1. HOME PAGE --- */
#home.page-section {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.hero-fullscreen-slider {
    margin-top: calc(-1 * var(--header-height));
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider-overlay {
    display: none; /* overlay now handled per-slide via ::before */
}

/* Dark gradient overlay inside each slide so text sits above it */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.7) 0%, rgba(3, 7, 18, 0.45) 50%, rgba(3, 7, 18, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 960px;
    text-align: center;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(3, 7, 18, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.6);
    border-radius: 100px;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 15px rgba(59, 130, 246, 0.15);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    letter-spacing: 0.03em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(0, 0, 0, 1),
        0 0 40px rgba(0, 0, 0, 0.8),
        0 4px 30px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-title .gradient-text {
    color: #67e8f9;
    -webkit-text-fill-color: #67e8f9;
    text-shadow:
        0 0 20px rgba(103, 232, 249, 0.4),
        0 0 40px rgba(103, 232, 249, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Banner - Primary Button: Bright Gradient */
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a855f7 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(14, 165, 233, 0.2) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 14px 32px !important;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%) !important;
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(14, 165, 233, 0.3) !important;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Hero Banner - Secondary Button: Frosted Bright Outline */
.hero-buttons .btn-secondary {
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 13px 28px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px);
}

/* --- Redesigned Mission Intro Section --- */
.mission-intro-section {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05) 0%, rgba(14, 165, 233, 0.03) 50%, transparent 100%), #060b19;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding: 100px 0;
}

body.light-theme .mission-intro-section {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.04) 0%, rgba(14, 165, 233, 0.02) 100%), #f8fafc;
    border-top-color: rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: flex-start;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.mission-text-block {
    display: flex;
    flex-direction: column;
}

.mission-tag-wrapper {
    margin-bottom: 16px;
}

.mission-section-tag {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    display: inline-block;
}

.mission-title-main {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

body.light-theme .mission-title-main {
    background: linear-gradient(135deg, #0f172a 30%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-lead-text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

.mission-lead-text span {
    font-weight: 550;
    transition: var(--transition-fast);
}

.h-blue {
    color: var(--primary-blue);
}

.h-purple {
    color: var(--primary-purple);
}

.h-green {
    color: #10b981; /* Accent Green for clean energy */
}

/* Feature Bullet Items under Lead Paragraph */
.mission-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.mission-bullet-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mission-bullet-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.mission-bullet-item:hover .mission-bullet-icon {
    transform: scale(1.1);
}

.mission-bullet-icon.blue-theme {
    color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.06);
    border-color: rgba(14, 165, 233, 0.15);
}

.mission-bullet-icon.purple-theme {
    color: var(--primary-purple);
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}

.mission-bullet-icon.green-theme {
    color: #10b981;
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
}

.mission-bullet-content h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.mission-bullet-content p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Sidebar Styling */
.mission-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Pills styling */
.tagline-pills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.tagline-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(13, 22, 45, 0.45);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
}

body.light-theme .tagline-pill {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

.tagline-pill:hover {
    transform: translateY(-2px);
    background: rgba(13, 22, 45, 0.65);
}

body.light-theme .tagline-pill:hover {
    background: rgba(255, 255, 255, 0.95);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pill-text {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pill-blue .pill-dot {
    background-color: var(--primary-blue);
    box-shadow: 0 0 8px var(--primary-blue);
}
.pill-blue .pill-text {
    color: var(--primary-blue);
}
.pill-blue:hover {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

.pill-purple .pill-dot {
    background-color: var(--primary-purple);
    box-shadow: 0 0 8px var(--primary-purple);
}
.pill-purple .pill-text {
    color: var(--primary-purple);
}
.pill-purple:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.pill-green .pill-dot {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
}
.pill-green .pill-text {
    color: #10b981;
}
.pill-green:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

/* Stats Cards styling */
.mission-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.stat-detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(13, 22, 45, 0.45);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

body.light-theme .stat-detail-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

.stat-detail-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.stat-detail-card:hover .stat-detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.blue-border {
    border-left: 3px solid var(--primary-blue);
}
.blue-border:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
    background: rgba(13, 22, 45, 0.6);
}

body.light-theme .blue-border:hover {
    background: rgba(255, 255, 255, 0.95);
}

.green-border {
    border-left: 3px solid #10b981;
}
.green-border:hover {
    border-color: #10b981;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.08);
    background: rgba(13, 22, 45, 0.6);
}

body.light-theme .green-border:hover {
    background: rgba(255, 255, 255, 0.95);
}

.stat-detail-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .mission-bullet-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .tagline-pills-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .mission-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --- Mission CTA Section --- */
.mission-cta-container {
    margin-top: 64px;
    width: 100%;
}

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

.mission-cta-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    background: var(--bg-dark-card);
    transition: var(--transition-normal);
}

.mission-cta-card .cta-card-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.mission-cta-card .cta-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.mission-cta-card .cta-text-wrapper h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.mission-cta-card .cta-text-wrapper p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mission-cta-card .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
    justify-content: center;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

/* Card Themes */
/* Blue Theme */
.cta-blue .cta-icon-wrapper {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(14, 165, 233, 0.2);
}
.cta-blue .cta-button {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary-blue);
    border-color: rgba(14, 165, 233, 0.2);
}
.cta-blue:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15) !important;
}
.cta-blue:hover .cta-icon-wrapper {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-blue-glow);
}
.cta-blue .cta-button:hover {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-blue-glow);
    transform: translateY(-2px);
}

/* Purple Theme */
.cta-purple .cta-icon-wrapper {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-purple);
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.cta-purple .cta-button {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-purple);
    border-color: rgba(99, 102, 241, 0.2);
}
.cta-purple:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15) !important;
}
.cta-purple:hover .cta-icon-wrapper {
    background: var(--primary-purple);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-purple-glow);
}
.cta-purple .cta-button:hover {
    background: var(--primary-purple);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-purple-glow);
    transform: translateY(-2px);
}

/* Green Theme */
.cta-green .cta-icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.cta-green .cta-button {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-green);
    border-color: rgba(16, 185, 129, 0.2);
}
.cta-green:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15) !important;
}
.cta-green:hover .cta-icon-wrapper {
    background: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-green-glow);
}
.cta-green .cta-button:hover {
    background: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-green-glow);
    transform: translateY(-2px);
}

/* Light theme adjustments */
body.light-theme .mission-cta-card {
    background: var(--bg-dark-card);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .cta-blue .cta-button {
    background: rgba(14, 165, 233, 0.05);
}
body.light-theme .cta-purple .cta-button {
    background: rgba(99, 102, 241, 0.05);
}
body.light-theme .cta-green .cta-button {
    background: rgba(16, 185, 129, 0.05);
}
body.light-theme .cta-text-wrapper p {
    color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .mission-cta-grid {
        gap: 20px;
    }
    .mission-cta-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .mission-cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mission-cta-container {
        margin-top: 48px;
    }
    .mission-cta-card .cta-card-content {
        gap: 16px;
    }
}

/* --- Who We Are Section (Home) --- */
.who-we-are-home {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.who-we-are-title-block {
    position: relative;
}

.who-we-are-title-block .section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-purple);
    margin-bottom: 12px;
}

.who-we-are-title-block h2 {
    font-size: 44px;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 24px;
}

.title-glow-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-purple-glow);
}

.who-we-are-text-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.who-we-are-text-block .text-highlight {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
}

.who-we-are-text-block .text-body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.who-we-are-actions {
    margin-top: 16px;
}

.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-accent);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    padding: 14px 28px !important;
    border-radius: 30px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: var(--transition-normal);
}

.know-more-btn:hover {
    background-color: var(--primary-purple) !important;
    border-color: var(--primary-purple) !important;
    box-shadow: 0 0 20px var(--primary-purple-glow) !important;
    transform: translateY(-2px);
}

.know-more-btn i {
    transition: transform 0.3s ease;
}

.know-more-btn:hover i {
    transform: translateX(4px);
}

/* Light Theme overrides */
body.light-theme .who-we-are-title-block h2 {
    color: var(--text-primary);
}

body.light-theme .know-more-btn {
    color: var(--text-primary) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    background-color: rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .know-more-btn:hover {
    color: #ffffff !important;
    background-color: var(--primary-purple) !important;
    border-color: var(--primary-purple) !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .who-we-are-grid {
        gap: 40px;
    }
    .who-we-are-title-block h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .who-we-are-title-block h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

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

/* Per-Slide Text Overlay Transitions */
.slide .slide-text {
    opacity: 0;
    transition: opacity 0.6s ease 0.15s;
    pointer-events: none;
}

.slide.active .slide-text {
    opacity: 1;
    pointer-events: auto;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.slider-arrow {
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    color: white;
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

.slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
    box-shadow: 0 0 6px var(--primary-blue);
}

/* Scroll Down Hint Styles */
.scroll-down-hint {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.scroll-btn:hover {
    opacity: 1;
    color: var(--text-primary);
}

.bounce-arrow {
    animation: bounce 2s infinite;
    font-size: 16px;
    color: var(--primary-blue);
    margin-top: 4px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

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

.floating-stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    z-index: 10;
}

.floating-stat-card.card-1 {
    top: 20%;
    left: -20px;
    border-left: 3px solid var(--primary-blue);
    animation: float-reverse 7s ease-in-out infinite;
}

.floating-stat-card.card-2 {
    bottom: 10%;
    right: -20px;
    border-left: 3px solid var(--primary-green);
    animation: float 5s ease-in-out infinite;
}

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

.stat-icon {
    font-size: 24px;
    color: var(--text-primary);
}

.floating-stat-card.card-1 .stat-icon { color: var(--primary-blue); }
.floating-stat-card.card-2 .stat-icon { color: var(--primary-green); }

.stat-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.stat-lbl {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Partners Strip */
.partners-strip {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

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

.partner-title {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.partners-logos {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

.partner-logo i {
    font-size: 20px;
    color: var(--primary-blue);
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 36px;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.hover-glow:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 24px;
}

.feature-icon-box.blue-glow { background: var(--primary-blue); box-shadow: 0 4px 12px var(--primary-blue-glow); }
.feature-icon-box.green-glow { background: var(--primary-green); box-shadow: 0 4px 12px var(--primary-green-glow); }
.feature-icon-box.purple-glow { background: var(--primary-purple); box-shadow: 0 4px 12px var(--primary-purple-glow); }
.feature-icon-box.orange-glow { background: var(--primary-orange); box-shadow: 0 4px 12px var(--primary-orange-glow); }
.feature-icon-box.pink-glow { background: var(--primary-pink); box-shadow: 0 4px 12px var(--primary-pink-glow); }

/* Custom hover glows for features cards based on their icon boxes */
.feature-card:hover:has(.blue-glow) { border-color: var(--primary-blue); box-shadow: 0 12px 30px var(--primary-blue-glow); }
.feature-card:hover:has(.green-glow) { border-color: var(--primary-green); box-shadow: 0 12px 30px var(--primary-green-glow); }
.feature-card:hover:has(.purple-glow) { border-color: var(--primary-purple); box-shadow: 0 12px 30px var(--primary-purple-glow); }
.feature-card:hover:has(.orange-glow) { border-color: var(--primary-orange); box-shadow: 0 12px 30px var(--primary-orange-glow); }
.feature-card:hover:has(.pink-glow) { border-color: var(--primary-pink); box-shadow: 0 12px 30px var(--primary-pink-glow); }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* --- 2. ABOUT PAGE --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-title {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-metrics {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.metric-value {
    font-size: 32px;
    font-family: var(--font-heading);
    color: var(--primary-blue);
}

.metric-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.timeline-glass-card {
    padding: 36px;
}

.values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 24px;
}

.values-list li {
    display: flex;
    gap: 20px;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.value-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- 3. PROGRAMS PAGE --- */
.programs-page .page-section {
    max-width: 100%;
    padding-left: 48px;
    padding-right: 48px;
}

@media (max-width: 768px) {
    .programs-page .page-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.program-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    border-radius: var(--border-radius-md);
    overflow: hidden; /* Ensure image border-radius matches card */
    position: relative;
}

.program-card-image-wrapper {
    width: calc(100% + 72px);
    margin-left: -36px;
    margin-right: -36px;
    margin-top: -36px;
    height: 180px;
    overflow: hidden;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

body.light-theme .program-card-image-wrapper {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.program-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.program-card:hover .program-card-img {
    transform: scale(1.06);
}

.program-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.program-badge {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
}

.badge-blue { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); color: var(--primary-blue); }
.badge-green { background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2); color: var(--primary-green); }
.badge-purple { background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); color: var(--primary-purple); }
.badge-orange { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.2); color: var(--primary-orange); }
.badge-pink { background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.2); color: var(--primary-pink); }

.program-icon {
    font-size: 24px;
}

.text-blue { color: var(--primary-blue); }
.text-green { color: var(--primary-green); }
.text-purple { color: var(--primary-purple); }
.text-orange { color: var(--primary-orange); }
.text-pink { color: var(--primary-pink); }

.program-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.program-summary {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.program-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: auto;
    font-size: 13px;
    color: var(--text-secondary);
}

.program-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-bullets i {
    color: var(--text-primary);
}

.btn-program-details {
    margin-top: 24px;
    width: 100%;
}

.btn-outline-primary {
    border: 1px solid var(--border-active);
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* Custom track border glows matching correct data-track names in index.html */
.program-card[data-track="ai-education"]:hover { border-color: var(--primary-blue); box-shadow: 0 0 20px var(--primary-blue-glow); }
.program-card[data-track="robotics-automation"]:hover { border-color: var(--primary-purple); box-shadow: 0 0 20px var(--primary-purple-glow); }
.program-card[data-track="digital-skills"]:hover { border-color: var(--primary-blue); box-shadow: 0 0 20px var(--primary-blue-glow); }
.program-card[data-track="clean-energy"]:hover { border-color: var(--primary-green); box-shadow: 0 0 20px var(--primary-green-glow); }
.program-card[data-track="mentorship-pathways"]:hover { border-color: var(--primary-orange); box-shadow: 0 0 20px var(--primary-orange-glow); }
.program-card[data-track="personal-growth"]:hover { border-color: var(--primary-pink); box-shadow: 0 0 20px var(--primary-pink-glow); }

/* --- 4. VOLUNTEER PAGE --- */
.volunteer-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: start;
}

.volunteer-intro {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.volunteer-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.step-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

.volunteer-form-container {
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(14, 165, 233, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.volunteer-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    z-index: 10;
}

.form-wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.form-wizard-header h3 {
    font-size: 20px;
}

.wizard-steps-indicator {
    display: flex;
    gap: 12px;
}

.step-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.step-indicator.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

.step-indicator.completed {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slide-up-step var(--transition-normal);
}

@keyframes slide-up-step {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Floating Label Inputs */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--primary-blue);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

.input-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-fast);
    font-size: 14px;
}

.input-group textarea ~ label {
    top: 24px;
}

/* Float label when focused or not empty */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-blue);
    background-color: var(--bg-dark-obsidian);
    padding: 2px 8px;
    border-radius: 4px;
}

.error-msg {
    font-size: 11px;
    color: var(--primary-pink);
    display: block;
    margin-top: 4px;
    height: 14px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

/* Custom Checkboxes */
.select-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.custom-checkbox {
    position: relative;
    padding-left: 32px;
    user-select: none;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-blue);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ span {
    color: var(--text-primary);
}

/* --- 5. CALENDAR PAGE --- */
.calendar-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.calendar-sidebar h2 {
    margin-bottom: 16px;
}

.calendar-sidebar p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.upcoming-events-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.sidebar-event-card {
    display: flex;
    gap: 20px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-fast);
    border-radius: var(--border-radius-sm);
}

.sidebar-event-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: transparent;
}

.ev-date {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.ev-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ev-details p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.calendar-container {
    padding: 24px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-header h3 {
    font-size: 20px;
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cal-nav-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary-blue);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-days div {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    position: relative;
}

.calendar-days div:not(.empty-day) {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.calendar-days div:hover:not(.empty-day) {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-active);
}

.calendar-days .current-day:not(.empty-day) {
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.08);
}

.calendar-days .has-event:not(.empty-day) {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.05);
}

.calendar-days .has-event::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
}

.calendar-days .empty-day {
    opacity: 0.2;
}

/* --- 6. CONTACT PAGE --- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: start;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.channel-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    align-items: center;
}

.channel-icon {
    font-size: 24px;
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.channel-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-form-box {
    padding: 36px;
}

.contact-form-box h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#site-footer {
    position: relative;
    background: linear-gradient(180deg, #02040a 0%, #060b19 100%);
    padding: 80px 24px 40px;
    overflow: hidden;
}

/* Glowing top border line */
#site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-purple), transparent);
    z-index: 1;
}

/* Ambient glow spot inside footer */
#site-footer::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

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

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 280px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Brand specific social hover states */
.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

.social-links a[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-links a[aria-label="Twitter"]:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

.social-links a[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.social-links a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.footer-grid h4 {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

/* Colored underline accents for headers */
.footer-grid h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
}
.footer-links h4::after { background: var(--primary-blue); }
.footer-legal h4::after { background: var(--primary-purple); }
.footer-newsletter h4::after { background: var(--primary-green); }

.footer-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-grid ul a {
    font-size: 14px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover slide-in bullet arrows */
.footer-grid ul a::before {
    content: '→';
    font-size: 12px;
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
}
.footer-links ul a::before { color: var(--primary-blue); }
.footer-legal ul a::before { color: var(--primary-purple); }

.footer-grid ul a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-grid ul a:hover::before {
    opacity: 1;
    width: 12px;
    margin-right: 6px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.newsletter-input {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-input:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 10px var(--primary-green-glow);
}

.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    background: none;
    border: none;
    color: var(--text-primary);
    outline: none;
}

.newsletter-input button {
    padding: 0 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.newsletter-input button:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 10px var(--primary-blue-glow);
}

.footer-copyright {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   MODALS & TOAST SYSTEM
   ========================================================================== */

/* Modal Backdrop */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 4, 10, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Box */
.modal-container {
    background: linear-gradient(135deg, rgba(13, 18, 30, 0.95) 0%, rgba(7, 10, 17, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 1100px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(59, 130, 246, 0.12);
    transform: scale(0.93) translateY(15px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(13, 18, 30, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: rotate(90deg) scale(1.05);
}

.modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}

/* Specific: Immigration Modal Body */
.modal-info-banner {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 32px;
    background: rgba(59, 130, 246, 0.04);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    color: rgba(156, 163, 175, 0.9);
    font-size: 13px;
    line-height: 1.5;
}

.modal-info-banner i {
    color: var(--primary-blue);
    font-size: 15px;
    animation: pulse-icon 2s infinite ease-in-out;
}

.iframe-wrapper {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
}

#immigration-iframe, #estimator-iframe {
    width: 100%;
    height: 100%;
    background-color: white; /* Processcope platform is white */
    border: none;
}

/* iframe loading state styles */
.iframe-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #090d16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.iframe-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.iframe-loader .spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.iframe-loader p {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    animation: pulse-text 1.5s infinite ease-in-out;
}

/* Specific: Programs details Modal Custom styling */
.program-details-container {
    max-width: 650px;
    height: auto;
    max-height: 88vh;
}

.program-details-container .modal-body {
    padding: 40px 48px;
}

.program-intro {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-syllabus-section {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    transition: border-color 0.3s;
}

.modal-syllabus-section:hover {
    border-color: rgba(59, 130, 246, 0.15);
}

.modal-syllabus-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-syllabus-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-syllabus-list li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-syllabus-list i {
    color: var(--primary-green);
    font-size: 12px;
    margin-top: 5px;
}

/* Specific: Calendar Event Modal Custom styling */
.event-details-container {
    max-width: 500px;
    height: auto;
}

.event-details-container .modal-body {
    padding: 40px 48px;
}

.event-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 24px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.02);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.08);
    font-size: 14px;
    color: var(--text-secondary);
}

.event-modal-meta p {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-modal-meta i {
    color: var(--primary-blue);
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.event-modal-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    padding-left: 16px;
}

.btn-event-register {
    width: 100%;
}

/* Light Theme for Immigration Portal Modal (to match white iframe) */
#immigration-modal .modal-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.18), 0 0 50px -10px rgba(14, 165, 233, 0.1);
}

#immigration-modal .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#immigration-modal .modal-header h3 {
    background: none;
    -webkit-text-fill-color: initial;
    color: #0f172a;
    font-weight: 600;
}

#immigration-modal .modal-close-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #64748b;
}

#immigration-modal .modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

#immigration-modal .iframe-loader {
    background: #ffffff;
}

#immigration-modal .iframe-loader .spinner {
    border-color: rgba(14, 165, 233, 0.1);
    border-top-color: var(--primary-blue);
}

#immigration-modal .iframe-loader p {
    color: #64748b;
}

/* Custom animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

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

/* --- Toast Notifications --- */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-msg {
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    background: #090d16;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 300px;
    color: var(--text-primary);
    transform: translateX(120%);
    animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-slide-in {
    to { transform: translateX(0); }
}

.toast-msg.success { border-left: 4px solid var(--primary-green); }
.toast-msg.error { border-left: 4px solid var(--primary-pink); }
.toast-msg.info { border-left: 4px solid var(--primary-blue); }

.toast-msg i {
    font-size: 18px;
}

.toast-msg.success i { color: var(--primary-green); }
.toast-msg.error i { color: var(--primary-pink); }
.toast-msg.info i { color: var(--primary-blue); }

.toast-msg p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   NEW COPY REDESIGN LAYOUTS
   ========================================================================== */

/* 1. Why Nova Haven Grid - Redesigned to a premium 1+4 grid layout */
.features-section {
    margin-top: 48px; /* Push section down from partners strip */
    padding: 100px 0; /* Add generous top and bottom whitespace */
    position: relative;
    overflow: hidden;
}

/* Ambient Glowing Background Blobs */
.why-nova-bg-glow-1 {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0) 70%);
    top: 10%;
    left: -50px;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.why-nova-bg-glow-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 70%);
    bottom: 5%;
    right: -50px;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
body.light-theme .why-nova-bg-glow-1 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(14, 165, 233, 0) 70%);
}
body.light-theme .why-nova-bg-glow-2 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(99, 102, 241, 0) 70%);
}

.why-nova-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: stretch;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.why-nova-left {
    padding: 48px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, rgba(13, 22, 45, 0.7) 0%, rgba(6, 11, 25, 0.8) 100%);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

body.light-theme .why-nova-left {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

/* Technical blueprint grid overlay */
.why-nova-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.8;
    z-index: 0;
}

body.light-theme .why-nova-left::before {
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.025) 1px, transparent 1px);
}

.why-nova-left:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.12);
}

body.light-theme .why-nova-left:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.06);
}

.left-card-glow {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

body.light-theme .left-card-glow {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 75%);
}

.left-card-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #fff;
    z-index: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 40%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .left-card-title {
    background: linear-gradient(135deg, #0f172a 40%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 36px;
    z-index: 1;
}

.pillar-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.pillar-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .pillar-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pillar-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body.light-theme .pillar-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(14, 165, 233, 0.15);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.pillar-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pillar-item:hover .pillar-icon-box {
    transform: scale(1.1) rotate(-3deg);
}

.pillar-icon-box.blue-theme {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary-blue);
    border-color: rgba(14, 165, 233, 0.15);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.1);
}
.pillar-icon-box.purple-theme {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-purple);
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}
.pillar-icon-box.green-theme {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-green);
    border-color: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.pillar-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.pillar-item p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.why-nova-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.why-card {
    padding: 36px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(13, 22, 45, 0.45) 0%, rgba(6, 11, 25, 0.55) 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

body.light-theme .why-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-card:hover {
    transform: translateY(-5px);
}

/* Hover Card Spotlight Glow */
.why-card-glow {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.12;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.why-card:hover .why-card-glow {
    opacity: 0.32;
    transform: scale(1.25);
}

.why-card.blue-theme .why-card-glow { background: var(--primary-blue); }
.why-card.green-theme .why-card-glow { background: var(--primary-green); }
.why-card.purple-theme .why-card-glow { background: var(--primary-purple); }
.why-card.orange-theme .why-card-glow { background: var(--primary-orange); }

/* Card Category Badges */
.why-card-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-family: var(--font-accent);
    z-index: 1;
    border: 1px solid transparent;
}

.why-card-badge.blue-theme {
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary-blue);
    border-color: rgba(14, 165, 233, 0.15);
}
.why-card-badge.green-theme {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary-green);
    border-color: rgba(16, 185, 129, 0.15);
}
.why-card-badge.purple-theme {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-purple);
    border-color: rgba(99, 102, 241, 0.15);
}
.why-card-badge.orange-theme {
    background: rgba(249, 115, 22, 0.08);
    color: var(--primary-orange);
    border-color: rgba(249, 115, 22, 0.15);
}

.why-card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

body.light-theme .why-card-icon-box {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-card:hover .why-card-icon-box {
    transform: scale(1.1) rotate(6deg);
}

.why-card.blue-theme .why-card-icon-box { color: var(--primary-blue); border-color: rgba(14, 165, 233, 0.25); background: rgba(14, 165, 233, 0.05); }
.why-card.green-theme .why-card-icon-box { color: var(--primary-green); border-color: rgba(16, 185, 129, 0.25); background: rgba(16, 185, 129, 0.05); }
.why-card.purple-theme .why-card-icon-box { color: var(--primary-purple); border-color: rgba(99, 102, 241, 0.25); background: rgba(99, 102, 241, 0.05); }
.why-card.orange-theme .why-card-icon-box { color: var(--primary-orange); border-color: rgba(249, 115, 22, 0.25); background: rgba(249, 115, 22, 0.05); }

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    z-index: 1;
}

.why-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    z-index: 1;
}

/* Hover border effects for individual themes */
.why-card.blue-theme:hover { border-color: rgba(14, 165, 233, 0.35); box-shadow: 0 15px 35px rgba(14, 165, 233, 0.08); }
.why-card.green-theme:hover { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.08); }
.why-card.purple-theme:hover { border-color: rgba(99, 102, 241, 0.35); box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08); }
.why-card.orange-theme:hover { border-color: rgba(249, 115, 22, 0.35); box-shadow: 0 15px 35px rgba(249, 115, 22, 0.08); }

/* 2. About Us Layout */
.about-layout-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.about-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-left-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-desc-large {
    font-size: 20px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
}

.about-desc-accent {
    font-size: 16px;
    color: var(--primary-blue);
    font-style: italic;
    border-left: 2px solid var(--primary-blue);
    padding-left: 20px;
    margin-top: 24px;
    font-weight: 600;
    line-height: 1.6;
}

.about-right-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mission-vision-card {
    padding: 32px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.card-header-icon.blue-glow { background: var(--primary-blue); box-shadow: 0 4px 12px var(--primary-blue-glow); }
.card-header-icon.green-glow { background: var(--primary-green); box-shadow: 0 4px 12px var(--primary-green-glow); }

.mission-vision-card h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 4px;
}

.mv-text-intro {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
}

.mission-vision-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 3. Impact Section */
.impact-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.impact-content-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.impact-content-box h2 {
    font-size: 38px;
    color: #fff;
}

.impact-intro-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.impact-bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.impact-bullets-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.impact-bullets-list i {
    font-size: 15px;
    margin-top: 4px;
}

.impact-footer-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 12px;
}

.impact-stats-box {
    width: 100%;
}

.stats-glass-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-glass-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
}

.stat-card-icon {
    font-size: 28px;
}

.stat-num-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-num-container h3 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.stat-num-container .pct {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.stat-glass-card p {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 4. Bottom CTA Section */
.cta-block-section {
    padding: 48px 24px;
}

.cta-block-container {
    padding: 40px 36px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta-block-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #fff;
}

.cta-block-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.cta-block-subdesc {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 28px;
}

.cta-block-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-block-buttons .btn {
    font-weight: 750;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-block-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    color: #ffffff;
}

.cta-block-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    transform: translateY(-2px);
}

.cta-block-buttons .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

.cta-block-buttons .btn-secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.08);
    box-shadow: 0 6px 15px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 64px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .why-nova-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

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

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

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

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .cta-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 30px;
    }

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

    .why-nova-right-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .cta-block-container {
        padding: 40px 24px;
    }

    .cta-block-title {
        font-size: 28px;
    }

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

    .calendar-weekdays, .calendar-days {
        font-size: 11px;
    }

    .calendar-days div {
        padding: 4px;
    }
}

/* ==========================================================================
   TAX ESTIMATOR & CALLBACK MODAL CUSTOM STYLES
   ========================================================================== */

/* Shimmer Glitter Button Animation */
.glitter-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-green) 100%);
    border: none;
    color: white;
    font-weight: 700;
    box-shadow: 0 0 12px var(--primary-blue-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glitter-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    animation: btnShimmer 3.5s infinite linear;
}

@keyframes btnShimmer {
    0% {
        transform: translate(-30%, -30%) rotate(45deg);
    }
    100% {
        transform: translate(30%, 30%) rotate(45deg);
    }
}

.glitter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-blue-glow), 0 0 12px var(--primary-green-glow);
    filter: brightness(1.1);
}

/* Modals Custom Containers */
.estimator-modal-container {
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.4) !important;
}

.estimator-modal-container .modal-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 14px 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.estimator-modal-container .modal-header h3 {
    display: block !important;
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 !important;
}

.estimator-modal-container .modal-close-btn {
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    color: #4b5563 !important;
}

.estimator-modal-container .modal-close-btn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
}

/* Ensure modal body has no padding and takes full space */
.estimator-modal-container .modal-body {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.estimator-modal-container .iframe-loader {
    background: #ffffff !important;
    color: #111827 !important;
}

.estimator-modal-container .iframe-loader p {
    color: #111827 !important;
    font-weight: 500 !important;
}

.estimator-modal-container .iframe-loader .spinner {
    border-color: rgba(17, 24, 39, 0.1) !important;
    border-top-color: var(--primary-blue) !important;
}

.callback-modal-container {
    width: 90%;
    max-width: 480px;
    height: auto;
    max-height: 90vh;
}

.callback-modal-container .modal-body {
    padding: 16px 24px 32px;
}

/* Custom form selector inside callback modal */
.callback-modal-container select {
    outline: none;
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.callback-modal-container select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments for new header buttons */
@media (max-width: 1150px) {
    #header-estimator-btn span, 
    #header-callback-btn span {
        display: none;
    }
    #header-estimator-btn, 
    #header-callback-btn {
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    #header-estimator-btn, 
    #header-callback-btn {
        display: none; /* Hidden in mobile navigation drawer */
    }
    
    .mob-nav-item i {
        width: 24px;
        text-align: center;
    }
}

/* ==========================================================================
   LIGHT THEME OVERRIDES (White Background Theme)
   ========================================================================== */
body.light-theme {
    /* Color Palette */
    --bg-dark-obsidian: #f8fafc; /* light slate background */
    --bg-dark-card: rgba(255, 255, 255, 0.7); /* white card glassmorphism */
    --bg-dark-header: rgba(248, 250, 252, 0.8); /* white header blur */
    
    --bg-header-scrolled: rgba(255, 255, 255, 0.95);
    
    --text-primary: #0f172a; /* dark slate primary text */
    --text-secondary: #475569; /* slate secondary text */
    --text-muted: #64748b; /* slate muted text */
    
    --border-light: rgba(0, 0, 0, 0.08);
    --border-active: rgba(0, 0, 0, 0.15);
}

body.light-theme #app-container {
    background: #f8fafc;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.03) 0%, transparent 40%);
}

body.light-theme #particle-canvas {
    opacity: 0.12; /* Subtler particles on light background for corporate design */
}

body.light-theme .why-nova-bg-glow-1,
body.light-theme .why-nova-bg-glow-2 {
    display: none !important;
}

/* Scroll Header */
body.light-theme #site-header.scrolled {
    background-color: var(--bg-header-scrolled);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Custom Cursor Follower */
body.light-theme .custom-cursor-follower {
    border-color: rgba(15, 23, 42, 0.2);
}

/* Floating label fields adjustment */
body.light-theme .input-group input, 
body.light-theme .input-group textarea {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

body.light-theme .input-group input:focus, 
body.light-theme .input-group textarea:focus {
    background: rgba(0, 0, 0, 0.04);
}

body.light-theme .input-group input:focus ~ label,
body.light-theme .input-group input:not(:placeholder-shown) ~ label,
body.light-theme .input-group textarea:focus ~ label,
body.light-theme .input-group textarea:not(:placeholder-shown) ~ label {
    background-color: #f8fafc;
}

/* Checkbox visual fixes */
body.light-theme .checkmark {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Calendar Day cells */
body.light-theme .calendar-days div:not(.empty-day) {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .calendar-days div:hover:not(.empty-day) {
    background: rgba(0, 0, 0, 0.05);
}

/* Toast Messages */
body.light-theme .toast-msg {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

/* Modals */
body.light-theme .modal-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.99) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .modal-header {
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .modal-header h3 {
    background: none;
    -webkit-text-fill-color: initial;
    color: #0f172a;
}

body.light-theme .modal-close-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #475569;
}

body.light-theme .modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

body.light-theme .modal-syllabus-section h4 {
    color: #0f172a;
}

body.light-theme .modal-syllabus-section {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.03);
}

body.light-theme .event-modal-desc {
    border-left-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .stat-num-container h3 {
    color: #0f172a;
}

body.light-theme .impact-content-box h2 {
    color: #0f172a;
}

/* Bottom CTA and Footer styling */
body.light-theme .cta-block-title {
    color: #0f172a;
}

body.light-theme .cta-block-desc {
    color: #475569;
}

body.light-theme .cta-block-subdesc {
    color: #0284c7;
}

body.light-theme .cta-block-container {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

body.light-theme .cta-block-buttons .btn-secondary {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #0f172a;
}

body.light-theme .cta-block-buttons .btn-secondary:hover {
    border-color: #0284c7;
    background: rgba(2, 132, 199, 0.05);
    color: #0284c7;
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.15);
}

/* Light Theme Buttons Override */
body.light-theme .btn-primary {
    background-color: #0284c7;
    color: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.2);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.light-theme .btn-primary:hover {
    background-color: #0369a1;
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    transform: translateY(-1px);
}

body.light-theme .btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

body.light-theme .btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

body.light-theme .btn-outline-primary {
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

body.light-theme .btn-outline-primary:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

body.light-theme #site-footer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: none;
}

body.light-theme #site-footer::before {
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.25), transparent);
}

body.light-theme #site-footer::after {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
}

body.light-theme .footer-tagline,
body.light-theme .footer-grid ul a,
body.light-theme .footer-newsletter p {
    color: #475569;
}

body.light-theme .footer-grid ul a:hover {
    color: #0f172a;
}

body.light-theme .footer-copyright {
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .social-links a {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   PREMIUM VOLUNTEER SECTION STYLES
   ========================================================================== */

/* 1. Timeline Steps Layout */
.volunteer-steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
    padding-left: 20px; /* Offset for timeline line */
}

.timeline-track {
    position: absolute;
    left: 44px; /* Centered with icon wrappers */
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--border-light);
    z-index: 0;
}

body.light-theme .timeline-track {
    background: rgba(0, 0, 0, 0.06);
}

.step-card-premium {
    position: relative;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    z-index: 1;
    transition: var(--transition-normal);
}

.step-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.step-icon-wrapper.blue-glow { background: var(--primary-blue); box-shadow: 0 4px 12px var(--primary-blue-glow); }
.step-icon-wrapper.green-glow { background: var(--primary-green); box-shadow: 0 4px 12px var(--primary-green-glow); }
.step-icon-wrapper.purple-glow { background: var(--primary-purple); box-shadow: 0 4px 12px var(--primary-purple-glow); }

.step-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.step-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-card-premium:hover .step-icon-wrapper {
    transform: scale(1.1);
}

.wizard-progress-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
}

.wizard-progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

body.light-theme .wizard-progress-bar::after {
    background: rgba(0, 0, 0, 0.08);
}

.wizard-progress-bar .progress-line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    width: 0%; /* Dynamic width controlled by JS */
    z-index: 1;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-steps-indicator {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.wizard-steps-indicator .step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark-obsidian);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    transition: var(--transition-normal);
}

body.light-theme .wizard-steps-indicator .step-indicator {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
}

.wizard-steps-indicator .step-indicator.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 0 15px var(--primary-blue-glow);
    transform: scale(1.1);
}

.wizard-steps-indicator .step-indicator.completed {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 0 10px var(--primary-green-glow);
}

/* 3. Interest Selection Chips */
.interest-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.interest-chip {
    cursor: pointer;
    position: relative;
}

.interest-chip input[type="checkbox"] {
    display: none; /* Hide real input */
}

.chip-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    transition: var(--transition-normal);
    color: var(--text-secondary);
}

body.light-theme .chip-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.chip-card i {
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.chip-card span {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Hover effect */
.interest-chip:hover .chip-card {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

body.light-theme .interest-chip:hover .chip-card {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Checked state */
.interest-chip input[type="checkbox"]:checked + .chip-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.35);
    transform: translateY(-2px);
}

.interest-chip input[type="checkbox"]:checked + .chip-card i {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .interest-chips-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DEDICATED PROGRAM PAGES STYLING
   ========================================================================== */

.program-details-page {
    padding-top: 24px;
}

.program-banner {
    width: 100%;
    min-height: 250px;
    padding: 40px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.banner-image-wrapper {
    width: 280px;
    height: 160px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.banner-image-wrapper:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.banner-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradients for Banners */
.theme-ai-education {
    background: linear-gradient(135deg, rgba(11, 30, 79, 0.9) 0%, rgba(30, 58, 138, 0.85) 40%, rgba(88, 28, 135, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.theme-robotics-automation {
    background: linear-gradient(135deg, rgba(49, 16, 66, 0.9) 0%, rgba(88, 28, 135, 0.85) 40%, rgba(157, 23, 77, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.theme-digital-skills {
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.9) 0%, rgba(19, 64, 116, 0.85) 40%, rgba(14, 165, 233, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.theme-clean-energy {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.85) 40%, rgba(37, 99, 235, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.theme-mentorship-pathways {
    background: linear-gradient(135deg, rgba(49, 16, 66, 0.9) 0%, rgba(79, 70, 229, 0.85) 40%, rgba(139, 92, 246, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.theme-personal-growth {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9) 0%, rgba(124, 58, 237, 0.85) 40%, rgba(168, 85, 247, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.theme-all-programs {
    background: linear-gradient(135deg, rgba(6, 11, 25, 0.92) 0%, rgba(15, 23, 42, 0.88) 40%, rgba(30, 41, 59, 0.92) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-services {
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.9) 0%, rgba(19, 64, 116, 0.85) 40%, rgba(14, 165, 233, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.theme-volunteer {
    background: linear-gradient(135deg, rgba(11, 30, 79, 0.9) 0%, rgba(79, 70, 229, 0.85) 40%, rgba(99, 102, 241, 0.9) 100%), url('assets/breadcrumb_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.banner-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.program-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.program-description {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Layout Grid */
.program-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.syllabus-heading {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.syllabus-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.syllabus-module-card {
    padding: 32px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.syllabus-module-card:hover {
    transform: translateY(-2px);
}

.program-details-page:has(.theme-ai-education) .syllabus-module-card:hover { border-color: var(--primary-blue); box-shadow: 0 8px 30px var(--primary-blue-glow); }
.program-details-page:has(.theme-robotics-automation) .syllabus-module-card:hover { border-color: var(--primary-purple); box-shadow: 0 8px 30px var(--primary-purple-glow); }
.program-details-page:has(.theme-digital-skills) .syllabus-module-card:hover { border-color: var(--primary-blue); box-shadow: 0 8px 30px var(--primary-blue-glow); }
.program-details-page:has(.theme-clean-energy) .syllabus-module-card:hover { border-color: var(--primary-green); box-shadow: 0 8px 30px var(--primary-green-glow); }
.program-details-page:has(.theme-mentorship-pathways) .syllabus-module-card:hover { border-color: var(--primary-orange); box-shadow: 0 8px 30px var(--primary-orange-glow); }
.program-details-page:has(.theme-personal-growth) .syllabus-module-card:hover { border-color: var(--primary-pink); box-shadow: 0 8px 30px var(--primary-pink-glow); }

.module-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.module-number {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.light-theme .module-number {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.module-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.module-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.module-bullets i {
    margin-top: 4px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Sidebar Info Card */
.program-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.category-filter.active {
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
}

.sidebar-summary-card {
    padding: 32px;
    border-radius: var(--border-radius-md);
}

.sidebar-summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

body.light-theme .sidebar-summary-card h3 {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

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

.summary-item i {
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.summary-item h4 {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.summary-item p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-cta-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.w-full {
    width: 100%;
}

/* --- Program Details Overview Box --- */
.program-details-overview {
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
    background: var(--bg-dark-card);
}

.program-details-overview h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.program-details-overview .overview-intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 36px;
}

.overview-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.overview-col p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.overview-col strong {
    color: var(--text-primary);
}

.key-skills-box {
    margin-bottom: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.key-skills-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.skills-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.skill-tag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.skill-tag-item:hover {
    background: rgba(14, 165, 233, 0.05);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateX(4px);
}

.skill-tag-item i {
    font-size: 16px;
    flex-shrink: 0;
}

.skill-tag-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-tag-item.two-line {
    align-items: flex-start;
}

.skill-tag-item.two-line i {
    margin-top: 3px;
}

.skill-tag-item.two-line strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.skill-tag-item.two-line span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
}

.career-paths-box {
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.career-paths-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.career-paths-box p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.careers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.career-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    box-shadow: 0 0 8px var(--primary-blue);
    flex-shrink: 0;
    margin-top: 8px;
}

.career-item div {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.career-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Light theme adjustments */
body.light-theme .program-details-overview {
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .key-skills-box,
body.light-theme .career-paths-box {
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .skill-tag-item {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .skill-tag-item:hover {
    background: rgba(14, 165, 233, 0.04);
    border-color: rgba(14, 165, 233, 0.2);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-tags-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .program-details-overview {
        padding: 24px;
    }
}

/* Responsive Grid */
@media (max-width: 992px) {
    .program-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .program-sidebar {
        position: static;
    }
}

@media (max-width: 850px) {
    .program-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    .banner-image-wrapper {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .program-banner {
        padding: 24px;
        min-height: 180px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .banner-image-wrapper {
        width: 100%;
        height: 140px;
    }
    
    .program-title {
        font-size: 28px;
    }
    
    .program-description {
        font-size: 14px;
    }
    
    .syllabus-module-card {
        padding: 20px;
    }
}

/* ==========================================================================
   COMMUNITY & LANGUAGE SUPPORT PAGE STYLING
   ========================================================================== */

.support-grid-two {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 992px) {
    .support-grid-two {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}


/* ==========================================================================
   PAGINATION STYLING
   ========================================================================== */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 56px;
    margin-bottom: 32px;
}

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

.pagination-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-blue);
    color: #ffffff;
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
}

.pagination-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    border-color: var(--border-light);
}

.page-num-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-num-btn:hover {
    border-color: var(--primary-blue);
    color: #ffffff;
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.page-num-btn.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    font-weight: 700;
}

/* --- Language Support Detail Page Custom Rows --- */
.language-info-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 36px;
}

.language-info-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.language-info-row:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
}

.language-info-img-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.01);
}

.language-info-img-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.language-info-img-wrapper:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .language-info-row,
    .language-info-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .language-info-row:nth-child(even) .language-info-img-wrapper {
        order: -1;
    }
}

/* --- Interactive Dark Mode Map Styling --- */
.contact-map-wrapper {
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

.contact-map-wrapper .map-header {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.contact-map-wrapper .map-header i {
    color: var(--primary-blue);
    font-size: 16px;
}

.contact-map-wrapper .map-container {
    width: 100%;
    height: 420px;
    position: relative;
    background: #090d16;
}

.contact-map-wrapper .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- Modern Hover Gradients for Channel Cards --- */
.channel-card.glass-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.channel-card.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.channel-card.glass-card:hover::before {
    opacity: 1;
}

.channel-card.glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(59, 130, 246, 0.05) !important;
}

.channel-card.glass-card > * {
    position: relative;
    z-index: 1;
}

/* --- Floating Form Input Glow Outlines --- */
.contact-form-box {
    position: relative;
    overflow: hidden;
}

.contact-form-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-box form {
    position: relative;
    z-index: 1;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--primary-blue) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25) !important;
}

/* --- Button Loading Spinner for SMTP Send --- */
.btn-loading {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: calc(50% - 9px);
    left: calc(50% - 9px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


