/* ================================
   TOS WEBSITE - REVAMPED DESIGN
   Emerald Green Theme + Dark/Light Mode
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── LIGHT MODE (DEFAULT) ── */
:root {
    --primary: #168576;
    --primary-dark: #126b60;
    --primary-light: #2aab98;
    --primary-rgb: 22, 133, 118;
    
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --secondary: #06B6D4;
    --success: #10B981;
    --danger: #EF4444;
    --pink: #EC4899;
    
    --bg: #ffffff;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #ECFDF5 50%, #F8FAFC 100%);
    --bg-card: #ffffff;
    
    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -12px rgba(22,133,118,0.15);
    --shadow-primary: 0 10px 30px -5px rgba(22,133,118,0.35);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-bg: rgba(255,255,255,0.95);
    --header-scrolled: rgba(255,255,255,0.98);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
    --bg: #0B1120;
    --bg-alt: #111827;
    --bg-dark: #0B1120;
    --bg-gradient: linear-gradient(135deg, #0B1120 0%, #1a1f3a 50%, #0B1120 100%);
    --bg-card: #151D2E;
    
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-light: #64748B;
    
    --border: #1E293B;
    --border-light: #1a2332;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 40px -12px rgba(22,133,118,0.25);
    --shadow-primary: 0 10px 30px -5px rgba(22,133,118,0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.5);
    
    --header-bg: rgba(11,17,32,0.92);
    --header-scrolled: rgba(11,17,32,0.98);
}
[data-theme="dark"] .header { background: var(--header-bg); border-bottom-color: var(--border); }
[data-theme="dark"] .header.scrolled { background: var(--header-scrolled); }
[data-theme="dark"] .dropdown-menu { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .hero { background: var(--bg); }
[data-theme="dark"] .hero-badge { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .hero-float-card { background: var(--bg-card); }
[data-theme="dark"] .trust-bar { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .path-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .program-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .support-item,
[data-theme="dark"] .experience-item,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .card,
[data-theme="dark"] .job-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .course-card,
[data-theme="dark"] .enrollment-form { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .blog-image { background: var(--bg-alt); }
[data-theme="dark"] .logo-placeholder { background: var(--bg-alt); border-color: var(--border); }
[data-theme="dark"] .pricing-features li { border-bottom-color: var(--border); }
[data-theme="dark"] .footer { background: #060A14; }
[data-theme="dark"] .mobile-nav { background: var(--bg); }
[data-theme="dark"] .btn-secondary { background: var(--bg-card); color: var(--text); border-color: var(--border); }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select { background: var(--bg-alt); border-color: var(--border); color: var(--text); }

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(79,70,229,0.1); border-color: var(--primary); transform: rotate(30deg); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { transition: var(--transition); }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root .theme-toggle .icon-sun { display: none; }
:root .theme-toggle .icon-moon { display: inline; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    transition: background 0.4s ease, color 0.3s ease;
}
body * { cursor: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ================================
   CUSTOM ANIMATED CURSOR
   ================================ */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
}
.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(22,133,118,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}
.cursor-ring.hover {
    width: 55px;
    height: 55px;
    background: rgba(22,133,118,0.06);
    border-color: rgba(22,133,118,0.6);
    opacity: 1;
}
.cursor-ring.click {
    width: 30px;
    height: 30px;
    border-width: 3px;
    border-color: rgba(22,133,118,0.8);
}
.cursor-dot {
    position: fixed;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-4px, -2px);
    transition: transform 0.15s ease;
    background: url('../assets/cursor-pointer.svg') no-repeat center center;
    background-size: contain;
}
.cursor-dot.hover {
    transform: translate(-4px, -2px) scale(1.15);
}
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(22,133,118,0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.1s;
}

/* Show default cursor on mobile */
@media (max-width: 1024px) {
    body, body * { cursor: auto; }
    .cursor-ring, .cursor-dot, .cursor-trail { display: none !important; }
}

/* Cursor Glow (ambient) */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22,133,118,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
}
body:hover .cursor-glow { opacity: 1; }

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.preloader-logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================
   HEADER - Sticky with Dropdowns
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.98);
}
.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-text { color: var(--primary); line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover { color: var(--primary); background: rgba(79,70,229,0.06); }
.nav-link svg { width: 14px; height: 14px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border-light);
}
.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-submenu {
    position: relative;
    list-style: none; /* Just in case */
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.75rem;
    margin-left: 2px;
    border-radius: var(--radius);
}
/* For mobile/tablets where right side might overflow */
@media (max-width: 1024px) {
    .dropdown-submenu > .dropdown-menu {
        left: 0;
        top: 100%;
        margin-left: 1rem;
    }
}
.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--bg-alt); color: var(--primary); }
.dropdown-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(129,140,248,0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.header-cta {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}
.header-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 1.5rem;
    z-index: 999;
    overflow-y: auto;
}
.mobile-nav.active { display: block; }
.mobile-nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 1200px) {
    .nav-list { display: none; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(79,70,229,0.5);
}
.btn-secondary {
    background: white;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-light { background: white; color: var(--primary); font-weight: 700; }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ================================
   LAYOUT
   ================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: white; }

/* Section Headers */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(79,70,229,0.08);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-description { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   HERO SECTION - GSAP Animated, Creative
   ================================ */
.hero {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #ffffff;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0;
}
.hero-bg-gradient.g1 {
    background: rgba(79,70,229,0.15);
    top: -20%;
    right: -10%;
}
.hero-bg-gradient.g2 {
    background: rgba(236,72,153,0.1);
    bottom: -20%;
    left: -15%;
}
.hero-bg-gradient.g3 {
    background: rgba(6,182,212,0.08);
    top: 30%;
    left: 40%;
    width: 500px;
    height: 500px;
}

/* Grid Pattern */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(79,70,229,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,70,229,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    inset: 0;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}
.particle-1 { width: 6px; height: 6px; background: var(--primary); top: 20%; left: 10%; }
.particle-2 { width: 8px; height: 8px; background: var(--pink); top: 30%; right: 15%; }
.particle-3 { width: 5px; height: 5px; background: var(--accent); top: 60%; left: 20%; }
.particle-4 { width: 7px; height: 7px; background: var(--secondary); bottom: 25%; right: 25%; }
.particle-5 { width: 4px; height: 4px; background: var(--primary-light); top: 45%; left: 55%; }
.particle-6 { width: 6px; height: 6px; background: var(--success); bottom: 40%; left: 35%; }

/* Floating Shapes */
.hero-shape {
    position: absolute;
    opacity: 0;
}
.hero-shape.shape-ring {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(79,70,229,0.15);
    border-radius: 50%;
    top: 15%;
    right: 20%;
}
.hero-shape.shape-square {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(236,72,153,0.15);
    border-radius: 8px;
    bottom: 20%;
    left: 8%;
    transform: rotate(45deg);
}
.hero-shape.shape-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(245,158,11,0.12);
    top: 55%;
    right: 8%;
}
.hero-shape.shape-dots {
    display: grid;
    grid-template-columns: repeat(3, 6px);
    gap: 8px;
    top: 70%;
    left: 15%;
}
.hero-shape.shape-dots span {
    width: 6px;
    height: 6px;
    background: rgba(79,70,229,0.15);
    border-radius: 50%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content { max-width: 620px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem 0.5rem 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.badge-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.75rem;
    opacity: 0;
    transform: translateY(40px);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}
.hero-title .highlight-word {
    position: relative;
    display: inline-block;
}
.hero-title .highlight-underline {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(79,70,229,0.15);
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
}
.hero-stat { text-align: left; }
.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.hero-stat-label { font-size: 0.875rem; color: var(--text-muted); }

/* Hero Visual - Right Side */
.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(60px);
}
.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
}

/* Main Illustration Card */
.hero-main-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 420px;
    background: linear-gradient(145deg, var(--primary), #7C3AED);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.hero-main-card .card-illustration {
    font-size: 7rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}
.hero-main-card .card-label {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Floating Info Cards */
.hero-float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    opacity: 0;
    transform: scale(0.8);
}
.hero-float-card.card-success {
    bottom: 60px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.float-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.float-card-icon.green { background: rgba(16,185,129,0.1); }
.float-card-icon.blue { background: rgba(79,70,229,0.1); }
.float-card-icon.orange { background: rgba(245,158,11,0.1); }
.float-card-title { font-weight: 700; font-size: 0.95rem; }
.float-card-subtitle { font-size: 0.8rem; color: var(--text-muted); }

.hero-float-card.card-stats {
    top: 40px;
    left: 20px;
}
.hero-float-card.card-rating {
    bottom: 160px;
    right: -30px;
}
.float-card-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

/* Orbiting Dot */
.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -50px;
    border: 1px dashed rgba(79,70,229,0.1);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
}
.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    margin-left: -5px;
    box-shadow: 0 0 15px rgba(79,70,229,0.5);
}

@media (max-width: 1024px) {
    .hero { padding: 6rem 1.5rem 3rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
}
@media (max-width: 640px) {
    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
}

/* ================================
   CREDIBILITY BAR / TRUST SECTION
   ================================ */
.trust-bar {
    padding: 2.5rem 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.trust-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(129,140,248,0.06));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.trust-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}
.trust-label { font-size: 0.875rem; color: var(--text-muted); }

.trust-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-left: 2rem;
    border-left: 1px solid var(--border);
}
.trust-logos span { font-size: 0.825rem; color: var(--text-muted); white-space: nowrap; }
.logo-strip {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.logo-placeholder {
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

@media (max-width: 1024px) {
    .trust-container { justify-content: center; }
    .trust-logos { border-left: none; padding-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--border); width: 100%; justify-content: center; flex-wrap: wrap; }
}

/* ================================
   CAREER PATH CARDS
   ================================ */
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.path-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.path-image-cover {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.25rem;
    border: 3px solid rgba(79,70,229,0.15);
    box-shadow: 0 4px 12px rgba(79,70,229,0.12);
}
.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.path-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79,70,229,0.2);
}
.path-card:hover::before { transform: scaleX(1); }

.path-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(129,140,248,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.path-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 0;
}
.path-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.path-description { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.path-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.path-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.path-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}
.path-link:hover { gap: 0.85rem; }

/* ================================
   HOW IT WORKS - 3 STEPS
   ================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 18%;
    width: 64%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    z-index: 0;
}
.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-primary);
}
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
}

/* ================================
   FEATURED PROGRAMS / COURSES
   ================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.program-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.program-image {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.program-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}
.program-content { padding: 1.75rem; }
.program-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.program-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.program-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-bottom: 1rem;
}
.program-duration { font-size: 0.85rem; color: var(--text-muted); }
.program-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.program-actions { display: flex; gap: 0.75rem; }

/* ================================
   TESTIMONIALS / SUCCESS STORIES
   ================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
}
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}
.author-name { font-weight: 600; margin-bottom: 0.25rem; }
.author-role { font-size: 0.85rem; color: var(--text-muted); }
.author-company {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.3rem 0.7rem;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ================================
   CAREER SUPPORT SECTION
   ================================ */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.support-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.support-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(22,133,118,0.15);
    box-shadow: 0 4px 12px rgba(22,133,118,0.1);
    margin-bottom: 0.25rem;
}
.support-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(129,140,248,0.06));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.support-title { font-weight: 600; margin-bottom: 0.25rem; font-size: 1.05rem; }
.support-text { font-size: 0.85rem; color: var(--text-muted); }

/* ================================
   LEARNING EXPERIENCE
   ================================ */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.experience-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.experience-item:hover { box-shadow: var(--shadow); }
.experience-check {
    width: 32px;
    height: 32px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.experience-text { font-weight: 500; }

/* ================================
   PRICING SECTION
   ================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.pricing-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card .btn { margin-top: auto; cursor: pointer; }
/* Pricing card colored backgrounds */
.pricing-card.pricing-blue {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 60%);
    border-color: #bfdbfe;
}
.pricing-card.pricing-emerald {
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 60%);
    border-color: #a7f3d0;
}
.pricing-card.pricing-purple {
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 60%);
    border-color: #c4b5fd;
}
[data-theme="dark"] .pricing-card.pricing-blue {
    background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, var(--bg-card) 60%);
    border-color: rgba(59,130,246,0.2);
}
[data-theme="dark"] .pricing-card.pricing-emerald {
    background: linear-gradient(180deg, rgba(16,185,129,0.08) 0%, var(--bg-card) 60%);
    border-color: rgba(16,185,129,0.2);
}
[data-theme="dark"] .pricing-card.pricing-purple {
    background: linear-gradient(180deg, rgba(139,92,246,0.08) 0%, var(--bg-card) 60%);
    border-color: rgba(139,92,246,0.2);
}
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-description { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-features { text-align: left; margin-bottom: 2rem; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}
.pricing-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(16,185,129,0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ================================
   LEAD MAGNET / CTA SECTION
   ================================ */
.lead-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), #7C3AED);
    position: relative;
    overflow: hidden;
}
.lead-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.lead-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.lead-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.lead-title { font-size: clamp(1.75rem, 4vw, 2.5rem); color: white; margin-bottom: 1rem; font-weight: 800; }
.lead-text { font-size: 1.125rem; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; }
.lead-form {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.lead-form input {
    flex: 1;
    min-width: 180px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255,255,255,0.95);
    transition: var(--transition);
}
.lead-form input:focus {
    outline: none;
    border-color: white;
    background: white;
}
.lead-form .btn { flex-shrink: 0; }

/* ================================
   BLOG TEASER
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-image {
    height: 200px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover .blog-image img {
    transform: scale(1.08);
}
.blog-content { padding: 1.5rem; }
.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(79,70,229,0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}
.blog-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand { max-width: 300px; }
.footer-brand .logo { color: white; margin-bottom: 1.25rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.7; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: white; }
.footer-links h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 1.25rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links a:hover { color: white; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
}

/* Direction Variants */
.animate-on-scroll[data-animate="fade-left"] { transform: translateX(-50px); }
.animate-on-scroll[data-animate="fade-right"] { transform: translateX(50px); }
.animate-on-scroll[data-animate="fade-up"] { transform: translateY(50px); }
.animate-on-scroll[data-animate="zoom-in"] { transform: scale(0.85); }
.animate-on-scroll[data-animate="flip"] { transform: perspective(600px) rotateY(30deg); }

/* Stagger Delays (applied via JS) */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* Parallax Scroll Section Divider */
.section-divider {
    height: 80px;
    background: linear-gradient(to bottom, var(--bg), var(--bg-alt));
}

/* Smooth Element Transitions for Theme Toggle */
.header, .hero, .section, .section-alt, .footer, .trust-bar,
.lead-section, .stats-section, .cta-section {
    transition: background 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* ================================
   SUB-PAGE STYLES
   (about, contact, team, careers, programs)
   ================================ */

/* Page Hero (shorter hero for sub-pages) */
.hero.page-hero {
    min-height: auto;
    padding: 8rem 2rem 4rem;
    background: var(--bg-gradient);
}
.hero.page-hero .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
}
.hero.page-hero .hero-content {
    max-width: 700px;
    margin: 0 auto;
}
.hero.page-hero .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    opacity: 1;
    transform: none;
}
.hero.page-hero .hero-badge {
    opacity: 1;
    transform: none;
}
.hero.page-hero .hero-description {
    opacity: 1;
    transform: none;
}
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.hero-bg-shapes .shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(79,70,229,0.1);
    top: -20%;
    right: -10%;
}
.hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(236,72,153,0.07);
    bottom: -15%;
    left: -10%;
}

/* Generic Card */
.card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(129,140,248,0.06));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.card-title { font-size: 1.1rem; font-weight: 700; }
.card-description { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Team Cards */
.team-card { text-align: center; padding: 2.5rem 1.5rem; }
.team-card-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}
.team-card-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-card-role { font-size: 0.875rem; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }

/* Why Us / 2-Column Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) { .why-us-grid { grid-template-columns: 1fr; } }

/* Features Grid (used on team, programs) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), #7C3AED);
}
.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-card { color: white; }
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}
.cta-card {
    background: linear-gradient(135deg, var(--primary), #7C3AED);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Enrollment / Contact Form */
.enrollment-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.enrollment-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
    margin-bottom: 1rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

/* Footer Container alias */
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}
.toast.show { transform: translateX(0); }
.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.toast-content svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Job Listings (Careers page) */
.job-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}
.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.job-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.job-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.job-description { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }

/* Values Grid (Careers page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-title { font-weight: 700; margin-bottom: 0.5rem; }
.value-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Programs page grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    min-height: 140px;
}
.course-body { padding: 1.5rem; }
.course-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.course-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* ================================
   PARTNER LOGOS
   ================================ */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    opacity: 0.85;
    transition: var(--transition);
    position: relative;
    height: 50px;
}
.partner-logo:hover { opacity: 1; transform: translateY(-2px); }
.partner-logo-featured {
    opacity: 1;
    position: relative;
    padding-right: 1.5rem;
}
.partner-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    max-width: 100px;
    transition: var(--transition);
}
.partner-logo svg {
    height: 28px;
    width: auto;
}
.partner-logo:hover .partner-img { transform: scale(1.05); }
[data-theme="dark"] .partner-img { filter: brightness(1.3); }
[data-theme="dark"] .partner-logo:hover .partner-img { filter: brightness(1.5); }

.partner-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}

/* ================================
   PROGRAM FILTER PILLS
   ================================ */
.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.25rem;
    white-space: nowrap;
}
.filter-pill {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.filter-pill:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(79,70,229,0.04);
}
.filter-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}
/* Colored filter pill variants */
.filter-pill-green {
    background: rgba(16,185,129,0.1);
    color: #059669;
    border-color: rgba(16,185,129,0.3);
}
.filter-pill-green:hover {
    background: rgba(16,185,129,0.18);
    border-color: #10b981;
    color: #047857;
}
.filter-pill-green.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #059669;
    box-shadow: 0 2px 8px rgba(16,185,129,0.35);
}
.filter-pill-blue {
    background: rgba(59,130,246,0.1);
    color: #2563eb;
    border-color: rgba(59,130,246,0.3);
}
.filter-pill-blue:hover {
    background: rgba(59,130,246,0.18);
    border-color: #3b82f6;
    color: #1d4ed8;
}
.filter-pill-blue.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(59,130,246,0.35);
}
.filter-pill-amber {
    background: rgba(245,158,11,0.1);
    color: #d97706;
    border-color: rgba(245,158,11,0.3);
}
.filter-pill-amber:hover {
    background: rgba(245,158,11,0.18);
    border-color: #f59e0b;
    color: #b45309;
}
.filter-pill-amber.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #d97706;
    box-shadow: 0 2px 8px rgba(245,158,11,0.35);
}
.filter-pill-purple {
    background: rgba(139,92,246,0.1);
    color: #7c3aed;
    border-color: rgba(139,92,246,0.3);
}
.filter-pill-purple:hover {
    background: rgba(139,92,246,0.18);
    border-color: #8b5cf6;
    color: #6d28d9;
}
.filter-pill-purple.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-color: #7c3aed;
    box-shadow: 0 2px 8px rgba(139,92,246,0.35);
}

/* Meta icon styling (replaces emojis) */
.meta-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    position: relative;
    top: -1px;
}

/* Filtered card visibility */
.path-card { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.path-card.filtered-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* ================================
   5-STEP VISUAL ROADMAP
   ================================ */
.roadmap {
    position: relative;
    padding: 3rem 0 1rem;
}
.roadmap-track {
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border);
    z-index: 0;
}
.roadmap-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    animation: roadmapFill 3s ease-in-out forwards;
    animation-delay: 0.5s;
}
@keyframes roadmapFill { to { width: 100%; } }

.roadmap-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 180px;
}
.roadmap-icon-wrap {
    position: relative;
    margin-bottom: 1.25rem;
}
.roadmap-icon {
    width: 64px;
    height: 64px;
    background: var(--bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(79,70,229,0.2);
    transition: var(--transition);
    overflow: hidden; /* Added to clip image corners if needed */
}
.roadmap-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.roadmap-step:hover .roadmap-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(79,70,229,0.35);
}
.roadmap-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(79,70,229,0.2);
    animation: roadmapPulse 2.5s ease-in-out infinite;
}
@keyframes roadmapPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}
.roadmap-connector {
    display: none;
}
.roadmap-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.roadmap-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
/* Stagger pulse animation */
.roadmap-step:nth-child(2) .roadmap-pulse { animation-delay: 0.5s; }
.roadmap-step:nth-child(3) .roadmap-pulse { animation-delay: 1s; }
.roadmap-step:nth-child(4) .roadmap-pulse { animation-delay: 1.5s; }
.roadmap-step:nth-child(5) .roadmap-pulse { animation-delay: 2s; }

/* Mobile stacking */
@media (max-width: 768px) {
    .roadmap-track { display: none; }
    .roadmap-steps { flex-direction: column; align-items: center; gap: 0; }
    .roadmap-step { max-width: 320px; padding-bottom: 2rem; }
    .roadmap-connector {
        display: block;
        width: 3px;
        height: 32px;
        background: linear-gradient(to bottom, var(--primary), var(--primary-light));
        margin: -0.5rem 0 0.75rem;
        border-radius: 2px;
    }
    .roadmap-step:last-child .roadmap-connector { display: none; }
    .filter-bar { padding: 1rem; }
}

/* ================================
   AUTHOR PHOTO (TESTIMONIALS)
   ================================ */
.author-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    box-shadow: 0 2px 10px rgba(79,70,229,0.15);
    flex-shrink: 0;
}

/* ================================
   PRICING CHECK / CROSS MARKS
   ================================ */
.pricing-features li.included,
.pricing-features li.excluded {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16,185,129,0.12);
    color: #10B981;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.feature-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(239,68,68,0.1);
    color: #EF4444;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-features li.excluded {
    opacity: 0.55;
    text-decoration: line-through;
    text-decoration-color: rgba(239,68,68,0.3);
}

/* ================================
   FOOTER MAP
   ================================ */
.footer-map {
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-map iframe {
    display: block;
    filter: grayscale(0.3) brightness(0.9);
    transition: filter 0.3s;
}
.footer-map iframe:hover {
    filter: grayscale(0) brightness(1);
}
[data-theme="dark"] .footer-map iframe {
    filter: grayscale(0.3) brightness(0.7) invert(0.95) hue-rotate(180deg);
}
[data-theme="dark"] .footer-map iframe:hover {
    filter: grayscale(0) brightness(0.8) invert(0.95) hue-rotate(180deg);
}
[data-theme="dark"] .filter-bar {
    background: var(--bg-card);
    border-color: var(--border);
}
[data-theme="dark"] .filter-pill {
    background: var(--bg-alt);
    border-color: var(--border);
    color: var(--text-muted);
}
[data-theme="dark"] .roadmap-icon {
    background: var(--bg-card);
}

/* ================================
   BROCHURE HERO BUTTON
   ================================ */
.hero-brochure {
    margin-top: 1rem;
}

/* ================================
   MODAL OVERLAY & CARD
   ================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: modalSlideUp 0.3s ease;
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
}
.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.modal-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.modal-form input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
    margin-bottom: 0.75rem;
}
.modal-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}
.modal-form button {
    margin-top: 0.5rem;
}
.modal-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1rem;
}
[data-theme="dark"] .modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}
[data-theme="dark"] .modal-form input {
    background: var(--bg-alt);
    border-color: var(--border);
    color: var(--text);
}

/* ================================
   TESTIMONIAL CARDS V2 (CORIZO)
   ================================ */
.testimonials-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card-v2 {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: var(--transition);
}
.testimonial-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.tc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.tc-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb),0.15);
    flex-shrink: 0;
}
.tc-info {
    flex: 1;
    min-width: 0;
}
.tc-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text);
}
.tc-course {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}
.tc-university {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.tc-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    letter-spacing: 2px;
    white-space: nowrap;
}
.tc-highlight {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.tc-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.tc-placement {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.tc-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(var(--primary-rgb), 0.06);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}
.tc-salary {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-left: auto;
}

/* ================================
   VIDEO TESTIMONIALS
   ================================ */
.video-testimonials-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}
.video-testimonials-scroll::-webkit-scrollbar { display: none; }
.video-card {
    min-width: 300px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.video-thumbnail {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-dark), #1a2332);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-play-btn {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
    transition: var(--transition);
}
.video-card:hover .video-play-btn {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(var(--primary-rgb), 0.5);
}
.video-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.video-info {
    padding: 1rem 1.25rem;
}
.video-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.video-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .testimonials-grid-v2 {
        grid-template-columns: 1fr;
    }
    .video-card { min-width: 260px; }
}

/* ================================
   ABOUT PAGE — VALUE CARDS
   ================================ */
.about-value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.about-value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.about-value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(22,133,118,0.12), rgba(16,185,129,0.08));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

/* ================================
   ABOUT PAGE — QUOTE BLOCK
   ================================ */
.about-quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 3rem 2rem;
}
.about-quote-mark {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: -1.5rem;
}
.about-quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: var(--text);
}
.about-quote-subtext {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}
.about-quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-quote-author-line {
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

/* ================================
   ABOUT PAGE — FOUNDER SHOWCASE
   ================================ */
.founder-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.founder-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}
.founder-image-frame {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    border: 4px solid var(--bg);
}
.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.founder-image-wrapper:hover .founder-photo {
    transform: scale(1.05);
}
.founder-image-accent {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 320px;
    height: 380px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    z-index: 1;
    opacity: 0.25;
}
.founder-bio {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.founder-name-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.founder-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
}
.founder-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.founder-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}
.founder-highlights {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.founder-highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.founder-highlight-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}
.founder-highlight-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.founder-social {
    display: flex;
    gap: 0.75rem;
}
.founder-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.founder-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Founders grid (two-founder layout) */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}
.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}
.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.founder-card .founder-image-wrapper {
    margin-bottom: 1.5rem;
}
.founder-card .founder-image-frame {
    width: 220px;
    height: 260px;
}
.founder-card .founder-image-accent {
    width: 220px;
    height: 260px;
}
.founder-card .founder-bio {
    align-items: center;
}
.founder-card .founder-highlights {
    justify-content: center;
}
.founder-card .founder-social {
    justify-content: center;
}
.founder-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder-photo-placeholder span {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

/* Founder responsive */
@media (max-width: 768px) {
    .founder-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .founder-image-frame {
        width: 260px;
        height: 310px;
    }
    .founder-image-accent {
        width: 260px;
        height: 310px;
    }
    .founder-card .founder-image-frame {
        width: 200px;
        height: 240px;
    }
    .founder-card .founder-image-accent {
        width: 200px;
        height: 240px;
    }
    .founder-highlights {
        justify-content: center;
    }
    .founder-social {
        justify-content: center;
    }
}

/* ================================
   BLOG PAGE — CARDS
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.blog-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.15) 100%);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}
.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}
.blog-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(22,133,118,0.08);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    width: fit-content;
}
.blog-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}
.blog-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}
.blog-card-link:hover {
    gap: 0.6rem;
}
.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-link svg {
    transform: translateX(3px);
}

/* Blog responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode for new components */
[data-theme="dark"] .about-value-card {
    background: var(--bg-card);
    border-color: var(--border);
}
[data-theme="dark"] .blog-card {
    background: var(--bg-card);
    border-color: var(--border);
}
[data-theme="dark"] .founder-image-frame {
    border-color: var(--bg-card);
}
[data-theme="dark"] .founder-social-link {
    border-color: var(--border);
}

/* ================================
   JOURNEY CARDS — Mindenious-Style Colorful Steps
   ================================ */
.journey-section {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%, #eff6ff 100%);
}
[data-theme="dark"] .journey-section {
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 40%, var(--bg-alt) 100%);
}

.journey-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}
.journey-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--radius);
    width: 200px;
    position: relative;
    transition: var(--transition);
}
.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.journey-step-num {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(0,0,0,0.15);
    letter-spacing: 1px;
}
.journey-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}
.journey-card:hover .journey-icon-circle {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.journey-icon-circle img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.journey-connector {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.journey-card:last-child .journey-connector { display: none; }

.journey-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.journey-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Journey card colors */
.journey-card-blue { background: linear-gradient(180deg, #eff6ff, #dbeafe); border: 1px solid #93c5fd; }
.journey-card-green { background: linear-gradient(180deg, #ecfdf5, #d1fae5); border: 1px solid #6ee7b7; }
.journey-card-yellow { background: linear-gradient(180deg, #fefce8, #fef9c3); border: 1px solid #fde68a; }
.journey-card-orange { background: linear-gradient(180deg, #fff7ed, #ffedd5); border: 1px solid #fdba74; }
.journey-card-rose { background: linear-gradient(180deg, #fff1f2, #ffe4e6); border: 1px solid #fecdd3; }

[data-theme="dark"] .journey-card-blue { background: linear-gradient(180deg, rgba(59,130,246,0.1), rgba(59,130,246,0.05)); border-color: rgba(59,130,246,0.2); }
[data-theme="dark"] .journey-card-green { background: linear-gradient(180deg, rgba(16,185,129,0.1), rgba(16,185,129,0.05)); border-color: rgba(16,185,129,0.2); }
[data-theme="dark"] .journey-card-yellow { background: linear-gradient(180deg, rgba(245,158,11,0.1), rgba(245,158,11,0.05)); border-color: rgba(245,158,11,0.2); }
[data-theme="dark"] .journey-card-orange { background: linear-gradient(180deg, rgba(249,115,22,0.1), rgba(249,115,22,0.05)); border-color: rgba(249,115,22,0.2); }
[data-theme="dark"] .journey-card-rose { background: linear-gradient(180deg, rgba(244,63,94,0.1), rgba(244,63,94,0.05)); border-color: rgba(244,63,94,0.2); }
[data-theme="dark"] .journey-step-num { color: rgba(255,255,255,0.1); }

@media (max-width: 1024px) {
    .journey-grid { gap: 1rem; }
    .journey-card { width: 180px; }
    .journey-connector { display: none !important; }
}
@media (max-width: 768px) {
    .journey-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .journey-card { width: auto; }
    .journey-connector { display: none !important; }
}
@media (max-width: 480px) {
    .journey-grid { grid-template-columns: 1fr; }
}

/* ================================
   LEARNING EXPERIENCE — Vibrant Icon Cards
   ================================ */
.learning-exp-section {
    background: linear-gradient(180deg, #fef3c7 0%, #ffffff 40%, #fce4ec 100%);
}
[data-theme="dark"] .learning-exp-section {
    background: linear-gradient(180deg, rgba(245,158,11,0.05) 0%, var(--bg) 40%, rgba(244,63,94,0.05) 100%);
}

.exp-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.exp-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.exp-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.exp-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.exp-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 8 unique colors */
.exp-card-coral { background: linear-gradient(180deg, #fff1f2, #ffe4e6); border: 1px solid #fecdd3; }
.exp-card-coral::before { background: #f43f5e; }
.exp-card-blue { background: linear-gradient(180deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; }
.exp-card-blue::before { background: #3b82f6; }
.exp-card-amber { background: linear-gradient(180deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; }
.exp-card-amber::before { background: #f59e0b; }
.exp-card-emerald { background: linear-gradient(180deg, #ecfdf5, #d1fae5); border: 1px solid #a7f3d0; }
.exp-card-emerald::before { background: #10b981; }
.exp-card-purple { background: linear-gradient(180deg, #f5f3ff, #ede9fe); border: 1px solid #c4b5fd; }
.exp-card-purple::before { background: #8b5cf6; }
.exp-card-teal { background: linear-gradient(180deg, #f0fdfa, #ccfbf1); border: 1px solid #99f6e4; }
.exp-card-teal::before { background: #14b8a6; }
.exp-card-rose { background: linear-gradient(180deg, #fdf2f8, #fce7f3); border: 1px solid #f9a8d4; }
.exp-card-rose::before { background: #ec4899; }
.exp-card-indigo { background: linear-gradient(180deg, #eef2ff, #e0e7ff); border: 1px solid #a5b4fc; }
.exp-card-indigo::before { background: #6366f1; }

[data-theme="dark"] .exp-card-coral { background: linear-gradient(180deg, rgba(244,63,94,0.08), var(--bg-card)); border-color: rgba(244,63,94,0.2); }
[data-theme="dark"] .exp-card-blue { background: linear-gradient(180deg, rgba(59,130,246,0.08), var(--bg-card)); border-color: rgba(59,130,246,0.2); }
[data-theme="dark"] .exp-card-amber { background: linear-gradient(180deg, rgba(245,158,11,0.08), var(--bg-card)); border-color: rgba(245,158,11,0.2); }
[data-theme="dark"] .exp-card-emerald { background: linear-gradient(180deg, rgba(16,185,129,0.08), var(--bg-card)); border-color: rgba(16,185,129,0.2); }
[data-theme="dark"] .exp-card-purple { background: linear-gradient(180deg, rgba(139,92,246,0.08), var(--bg-card)); border-color: rgba(139,92,246,0.2); }
[data-theme="dark"] .exp-card-teal { background: linear-gradient(180deg, rgba(20,184,166,0.08), var(--bg-card)); border-color: rgba(20,184,166,0.2); }
[data-theme="dark"] .exp-card-rose { background: linear-gradient(180deg, rgba(236,72,153,0.08), var(--bg-card)); border-color: rgba(236,72,153,0.2); }
[data-theme="dark"] .exp-card-indigo { background: linear-gradient(180deg, rgba(99,102,241,0.08), var(--bg-card)); border-color: rgba(99,102,241,0.2); }

@media (max-width: 1024px) {
    .exp-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .exp-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .exp-cards-grid { grid-template-columns: 1fr; }
}

/* ================================
   HERO FLOATING TAGS — Timbuckdo-style
   ================================ */
.hero-floating-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.hero-floating-tag {
    position: absolute;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    pointer-events: none;
    z-index: 2;
}
.hero-floating-tag:nth-child(1) { top: 18%; left: 5%; background: rgba(59,130,246,0.15); color: #3b82f6; animation: floatTag1 6s ease-in-out infinite; }
.hero-floating-tag:nth-child(2) { top: 30%; right: 8%; background: rgba(245,158,11,0.15); color: #f59e0b; animation: floatTag2 7s ease-in-out infinite; }
.hero-floating-tag:nth-child(3) { bottom: 35%; left: 3%; background: rgba(16,185,129,0.15); color: #10b981; animation: floatTag3 5.5s ease-in-out infinite; }
.hero-floating-tag:nth-child(4) { bottom: 20%; right: 4%; background: rgba(236,72,153,0.15); color: #ec4899; animation: floatTag1 8s ease-in-out infinite; }
.hero-floating-tag:nth-child(5) { top: 55%; left: 8%; background: rgba(139,92,246,0.15); color: #8b5cf6; animation: floatTag2 6.5s ease-in-out infinite; }

@keyframes floatTag1 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 25% { transform: translate(10px,-15px) rotate(2deg); } 50% { transform: translate(-5px,-25px) rotate(-1deg); } 75% { transform: translate(15px,-10px) rotate(1deg); } }
@keyframes floatTag2 { 0%, 100% { transform: translate(0,0) rotate(0deg); } 33% { transform: translate(-12px,10px) rotate(-2deg); } 66% { transform: translate(8px,-12px) rotate(1deg); } }
@keyframes floatTag3 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(15px,-20px); } }

/* Hero watermark text */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 900;
    color: rgba(22,133,118,0.04);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.02em;
    user-select: none;
}
[data-theme="dark"] .hero-watermark { color: rgba(22,133,118,0.06); }

@media (max-width: 768px) {
    .hero-floating-tags { display: none; }
    .hero-watermark { font-size: 4rem; }
}

/* ================================
   TEAM GALLERY
   ================================ */
.team-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.team-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--bg-alt);
}
.team-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.team-gallery-item:hover img {
    transform: scale(1.1);
}
.team-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s;
}
.team-gallery-item:hover::after { opacity: 1; }

/* Team card with real photos */
.team-photo-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}
.team-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.team-photo-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1f5f9;
}
.team-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s;
}
.team-photo-card:hover .team-photo-wrapper img {
    filter: grayscale(0%);
}
.team-photo-info {
    padding: 1.5rem;
}
.team-photo-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.team-photo-info .role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.team-photo-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.team-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0077b5;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #0077b5;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.team-social-link:hover {
    background: #0077b5;
    color: white;
}

@media (max-width: 768px) {
    .team-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .team-gallery-grid { grid-template-columns: 1fr; }
}

/* ================================
   HERO INTERACTIVE GRID — Timbuckdo-style Tiles
   ================================ */
.hero-interactive-card {
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.hero-interactive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem;
}
.hero-grid-tile {
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}
.hero-grid-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-grid-tile:hover::before { opacity: 1; }
.hero-grid-tile:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.hero-grid-tile-lg {
    grid-column: span 2;
}
.tile-emoji {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.tile-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Hero visual parallax on wrapper */
#heroVisualWrapper {
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* ================================
   LOGO MARQUEE — Auto-scrolling Partner Logos
   ================================ */
.logo-marquee-wrapper {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-marquee {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: marqueeScroll 20s linear infinite;
    width: max-content;
}
.logo-marquee:hover {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================
   WHY CHOOSE — Mindenious-style Icon+Text Cards
   ================================ */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.why-choose-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.why-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.why-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.why-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Dark mode */
[data-theme="dark"] .why-choose-card {
    background: var(--bg-card);
    border-color: var(--border);
}
[data-theme="dark"] .hero-interactive-card {
    background: transparent !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-interactive-grid { gap: 0.5rem; padding: 0.5rem; }
    .hero-grid-tile { padding: 1rem 0.75rem; min-height: 80px; }
}
@media (max-width: 768px) {
    .why-choose-grid { grid-template-columns: 1fr; }
    .hero-interactive-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid-tile-lg { grid-column: span 1; }
}
@media (max-width: 480px) {
    .hero-interactive-grid { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
    .tile-emoji { font-size: 1.25rem; }
    .tile-label { font-size: 0.65rem; }
}
    overflow: hidden;
    will-change: transform;
    transition: transform 0.1s linear, box-shadow 0.3s ease;
}

.btn-magnetic:hover {
    box-shadow: 0 10px 30px rgba(22, 133, 118, 0.4); /* Assuming primary is greenish */
}

.btn-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.btn-magnetic:hover .btn-hover-effect {
    transform: translate(-50%, -50%) scale(1);
}

.btn-magnetic .btn-text {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Topic Hover List */
.cinematic-topics-wrapper {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    z-index: 2;
}

.topics-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.cinematic-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.topic-item {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    cursor: crosshair;
    transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    color: var(--text);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

[data-theme="dark"] .topic-item {
    background: rgba(0, 0, 0, 0.3);
}

.cinematic-topics:hover .topic-item:not(:hover) {
    opacity: 0.3;
}
.topic-item:hover {
    border-color: var(--primary);
    background: var(--surface);
}

/* Media Cursor */
#media-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, left, top;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#media-cursor.active {
    opacity: 1;
    transform: scale(1);
}

.media-cursor-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.media-cursor-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-cursor-inner img.active {
    opacity: 1;
}

.media-cursor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    z-index: 2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.media-cursor-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

@media (max-width: 768px) {
    #media-cursor {
        display: none !important;
    }
    .cinematic-topics-wrapper {
        margin-top: 3rem;
    }
    .topic-item {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ================================
   FAQ SECTION
   ================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 1rem; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: var(--primary); }
.faq-q { padding: 1.25rem 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q span { font-size: 1.5rem; transition: transform 0.3s ease; color: var(--primary); flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 1.5rem; color: var(--text-muted); line-height: 1.7; transition: all 0.3s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ================================
   VIDEO TESTIMONIALS
   ================================ */
.video-testimonials-scroll { display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.video-card { min-width: 280px; flex-shrink: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; transition: all 0.3s ease; cursor: pointer; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.video-thumbnail { height: 160px; background: linear-gradient(135deg, #1a1a2e, #16213e); display: flex; align-items: center; justify-content: center; position: relative; }
.video-play-btn { width: 56px; height: 56px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.3); }
.video-card:hover .video-play-btn { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.video-info { padding: 1rem; }
.video-author { font-weight: 600; margin-bottom: 0.25rem; }
.video-desc { font-size: 0.85rem; color: var(--text-muted); }

/* Video Modal */
.video-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999; display: none; align-items: center; justify-content: center; }
.video-modal-overlay.active { display: flex; }
.video-modal-content { background: var(--bg-card); border-radius: var(--radius-lg); padding: 2rem; max-width: 600px; width: 90%; text-align: center; position: relative; }
.video-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }
.video-modal-placeholder { height: 300px; background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; color: white; margin-bottom: 1rem; }
.video-modal-placeholder .play-icon { font-size: 3rem; }

/* ================================
   TEAM PAGE COMPONENTS
   ================================ */
.team-photo-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s ease; }
.team-photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.team-photo-wrapper { aspect-ratio: 1; overflow: hidden; }
.team-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-photo-card:hover .team-photo-wrapper img { transform: scale(1.05); }
.team-photo-info { padding: 1.25rem; text-align: center; }
.team-photo-info h4 { font-weight: 700; margin-bottom: 0.25rem; }
.team-photo-info .role { font-size: 0.85rem; color: var(--primary); font-weight: 500; margin-bottom: 0.5rem; }
.team-photo-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.team-social-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-size: 0.85rem; font-weight: 500; margin-top: 0.75rem; text-decoration: none; transition: opacity 0.3s; }
.team-social-link:hover { opacity: 0.8; }
.team-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.team-gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.team-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.team-gallery-item:hover img { transform: scale(1.03); }
