/* ==========================================================================
   BrightBots Premium Stylesheet
   Theme: Kid-Tech & Future Coding (Light-Dark Mix)
   ========================================================================== */

/* --- Custom Variables & Tokens --- */
:root {
    --bg-primary: #0a0d16;
    --bg-secondary: #111625;
    --bg-card: rgba(20, 28, 48, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.2);

    /* Light Section Variables */
    --bg-light: #f4f7fe;
    --bg-light-alt: #eef2fb;
    --bg-light-card: #ffffff;
    --border-light: rgba(0, 0, 0, 0.07);
    --text-light-primary: #0f172a;
    --text-light-secondary: #475569;
    --text-light-muted: #94a3b8;
    --shadow-light-card: 0 8px 32px -8px rgba(0, 0, 0, 0.10);
    
    /* Text Colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Accent Palette */
    --color-cyan: #00f0ff;
    --color-purple: #b967ff;
    --color-pink: #ff5e97;
    --color-amber: #ff9e2c;
    --color-blue: #38bdf8;
    --color-green: #4ade80;
    
    /* Elegant Gradients */
    --gradient-glow: linear-gradient(90deg, var(--color-cyan), var(--color-purple), var(--color-pink));
    --gradient-hero: radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 45%);
    --gradient-cyan: linear-gradient(135deg, #00f0ff 0%, #0072ff 100%);
    --gradient-purple: linear-gradient(135deg, #b967ff 0%, #6d28d9 100%);
    --gradient-pink: linear-gradient(135deg, #ff5e97 0%, #db2777 100%);
    --gradient-amber: linear-gradient(135deg, #ff9e2c 0%, #ea580c 100%);
    --gradient-blue: linear-gradient(135deg, #38bdf8 0%, #1d4ed8 100%);
    --gradient-green: linear-gradient(135deg, #4ade80 0%, #15803d 100%);
    
    /* Premium Shadows */
    --shadow-cyan: 0 10px 30px -10px rgba(0, 240, 255, 0.3);
    --shadow-purple: 0 10px 30px -10px rgba(185, 103, 255, 0.3);
    --shadow-pink: 0 10px 30px -10px rgba(255, 94, 151, 0.3);
    --shadow-amber: 0 10px 30px -10px rgba(255, 158, 44, 0.3);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    
    /* Utilities */
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-outfit);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mr-2 { margin-right: 8px; }
.w-full { width: 100%; }

/* --- Micro-Animations --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

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

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.08); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.2; }
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* --- Styled Buttons & Badges --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-outfit);
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-cyan);
    color: #ffffff;
    box-shadow: var(--shadow-cyan);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(0, 240, 255, 0.5);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-cyan);
    border: 2px solid var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--color-cyan);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* --- Premium Navigation Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 13, 22, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 12px 0;
    background: rgba(6, 9, 16, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.main-header.scrolled .header-container {
    padding: 10px 24px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-cyan);
}

.logo-text {
    font-size: 1.6rem;
    font-family: var(--font-outfit);
    font-weight: 800;
    color: #ffffff;
}

.logo-text .highlight {
    color: var(--color-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Image-Based Logo (Transparent Background) */
.logo-brand {
    display: flex;
    align-items: center;
    height: 54px;
    padding: 2px 0;
    transition: var(--transition-smooth);
    gap: 12px;
}

@media (min-width: 769px) {
    .logo-brand {
        margin-right: 32px;
    }
}

@media (min-width: 1024px) {
    .logo-brand {
        margin-right: 80px;
    }
}

.logo-brand:hover {
    transform: translateY(-1px);
}

.brand-logo-img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-brand .logo-text {
    font-size: 1.4rem;
    font-family: var(--font-outfit);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.logo-brand .logo-text .highlight {
    color: var(--color-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.logo-description {
    font-size: 0.68rem;
    font-family: var(--font-inter);
    color: var(--text-secondary);
    line-height: 1.2;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
}

.hero-company-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--font-outfit);
}

.brand-name-tag {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-cyan);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.brand-divider {
    color: var(--text-muted);
    font-weight: 300;
}

.brand-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Responsive logo scaling on smaller screens */
@media (max-width: 480px) {
    .logo-brand {
        gap: 8px;
        height: 48px;
    }
    .logo-brand .logo-text {
        font-size: 1.2rem;
    }
    .logo-description {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-company-brand {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 12px;
    }
    .brand-divider {
        display: none;
    }
}


.navbar {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-outfit);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Mobile Navigation Drawer --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 200;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
    right: 0;
}

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

.close-drawer {
    background: transparent;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

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

.mobile-nav-link {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding: 8px 0;
}

.mobile-nav-link:hover {
    color: var(--color-cyan);
}

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

.drawer-action-btn {
    text-align: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-weight: 600;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
}

.shape-1 {
    top: 20%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: var(--color-cyan);
}

.shape-2 {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: var(--color-purple);
}

.shape-3 {
    top: 50%;
    left: 45%;
    width: 250px;
    height: 250px;
    background: var(--color-pink);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1, .hero-brand-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-brand-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    font-family: var(--font-outfit);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.gradient-text {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-plus {
    color: var(--color-cyan);
    font-weight: 800;
    font-size: 1.8rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 45px;
    background: var(--border-color);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.glow-backdrop {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(185, 103, 255, 0.3));
    filter: blur(50px);
    z-index: 1;
    animation: spin-slow 20s linear infinite;
}

.hero-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-badge {
    position: absolute;
    background: rgba(17, 22, 37, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    font-family: var(--font-outfit);
    font-weight: 600;
    box-shadow: var(--shadow-card);
}

.floating-badge i {
    font-size: 1.2rem;
}

.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }

.badge-top-left {
    top: 10%;
    left: -15%;
    border-left: 3px solid var(--color-cyan);
}

.badge-bottom-right {
    bottom: 12%;
    right: -15%;
    border-right: 3px solid var(--color-purple);
}

/* --- Section Global Layout --- */
section {
    padding: 72px 0;
    position: relative;
}

.section-header {
    margin-bottom: 44px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Light section title override */
.section-light .section-title {
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Light section subtitle override */
.section-light .section-subtitle {
    color: var(--text-light-secondary);
}

/* --- Course Section & Explorer Filter --- */
.courses-section {
    background: rgba(17, 22, 37, 0.4);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.filter-group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 100px;
    gap: 4px;
}

.filter-btn {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 100px;
    font-family: var(--font-outfit);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: #ffffff;
}

.filter-btn.active {
    background: var(--gradient-cyan);
    color: #ffffff;
    box-shadow: var(--shadow-cyan);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 25px 50px -12px rgba(0, 240, 255, 0.15);
}

.course-banner {
    position: relative;
    padding: 30px;
    height: 120px;
    display: flex;
    align-items: flex-start;
}

.bg-grad-cyan { background: var(--gradient-cyan); }
.bg-grad-purple { background: var(--gradient-purple); }
.bg-grad-pink { background: var(--gradient-pink); }
.bg-grad-amber { background: var(--gradient-amber); }
.bg-grad-blue { background: var(--gradient-blue); }
.bg-grad-green { background: var(--gradient-green); }

.course-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-icon-floating {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-cyan);
    box-shadow: var(--shadow-card);
}

.course-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 16px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-level {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-amber);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-text-link {
    font-family: var(--font-outfit);
    font-weight: 600;
    color: var(--color-cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-text-link i {
    transition: var(--transition-smooth);
}

.btn-text-link:hover i {
    transform: translateX(4px);
}

/* --- Learning Roadmap Timeline --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-cyan), var(--color-purple), var(--color-pink));
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
}

.timeline-item.left {
    left: 0;
    padding-right: 45px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 45px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 3;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 15px currentColor;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.bg-cyan { background-color: var(--color-cyan); color: var(--color-cyan); }
.bg-purple { background-color: var(--color-purple); color: var(--color-purple); }
.bg-pink { background-color: var(--color-pink); color: var(--color-pink); }

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
}

.timeline-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.timeline-age {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.timeline-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Why Choose Us Section --- */
.why-section {
    background: radial-gradient(circle at bottom left, rgba(185, 103, 255, 0.05), transparent 40%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
}

.why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.bg-light-cyan { background: rgba(0, 240, 255, 0.08); }
.bg-light-purple { background: rgba(185, 103, 255, 0.08); }
.bg-light-pink { background: rgba(255, 94, 151, 0.08); }
.bg-light-blue { background: rgba(56, 189, 248, 0.08); }

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Enroll Subpage (enroll.html) — Standalone Page Layout
   ========================================================================== */

/* Offset fixed header so content is never hidden underneath it */
body.enroll-subpage {
    padding-top: 90px;
}

/* Give the register section proper vertical breathing room on the subpage */
body.enroll-subpage .register-section {
    padding: 60px 0 80px;
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.enroll-subpage .register-section .container {
    width: 100%;
}

/* Mobile — make the info sidebar and form stack nicely */
@media (max-width: 768px) {
    body.enroll-subpage {
        padding-top: 80px;
    }
    body.enroll-subpage .register-section {
        padding: 40px 0 60px;
        min-height: unset;
    }
    body.enroll-subpage .register-wrapper {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    body.enroll-subpage {
        padding-top: 72px;
    }
    body.enroll-subpage .register-section {
        padding: 32px 0 48px;
    }
}

/* --- Registration Section --- */
.register-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.register-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.register-form-container {
    width: 100%;
    max-width: 680px;
}

.register-info {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-badge {
    display: inline-block;
    color: var(--color-cyan);
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.register-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.info-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: left;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Visual Map Simulation --- */
.map-simulation-card {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius-lg);
    background: #0f1422;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.map-marker {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.4rem;
    box-shadow: 0 0 20px var(--color-cyan);
}

.map-marker-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    animation: pulse-glow 2s infinite ease-in-out;
}

.map-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(17, 22, 37, 0.85);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.map-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 13, 22, 0.9);
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    z-index: 2;
}

/* --- Registration Form Details --- */
.register-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.register-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-glow);
}

.glass-header {
    margin-bottom: 30px;
}

.glass-header h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.glass-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-label {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.input-wrapper-custom {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.custom-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 14px 16px 14px 48px;
    border-radius: var(--border-radius-md);
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.custom-input:focus {
    border-color: var(--color-cyan);
    background: rgba(0, 240, 255, 0.02);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.custom-input:focus + .input-icon {
    color: var(--color-cyan);
}

/* --- Radio & Slot Selectors --- */
.radio-selector-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-content {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.radio-content i {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.radio-content span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.radio-card input:checked + .radio-content {
    border-color: var(--color-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.radio-card input:checked + .radio-content i {
    color: var(--color-cyan);
}

.radio-card input:checked + .radio-content span {
    color: #ffffff;
}

/* --- Slot Selection Grid --- */
.select-grid-slot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.slot-pill {
    position: relative;
    cursor: pointer;
}

.slot-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slot-text {
    display: block;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.slot-pill input:checked + .slot-text {
    border-color: var(--color-purple);
    background: rgba(185, 103, 255, 0.06);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(185, 103, 255, 0.05);
}

.btn-submit {
    height: 52px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Spinner element */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin-slow 1s linear infinite;
}

.loading .btn-text {
    display: none;
}

.loading .spinner {
    display: inline-block;
}

/* --- Premium Footer --- */
.main-footer {
    background: #060910;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .brand-pitch {
    color: var(--text-secondary);
    margin: 20px 0 24px;
    font-size: 0.95rem;
    max-width: 280px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--color-cyan);
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--color-cyan);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--color-cyan);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Interactive Success Modal Overlay --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.modal-card {
    background: #121826;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 480px;
    width: 90%;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modal-overlay.show .modal-card {
    transform: translateY(0) scale(1);
}

.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-cyan);
}

.modal-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-robot {
    font-size: 3.5rem;
    color: var(--color-cyan);
    z-index: 2;
}

.modal-icon-decor {
    position: absolute;
    font-size: 5rem;
    color: rgba(0, 240, 255, 0.1);
    z-index: 1;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.summary-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
    text-align: left;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-label {
    color: var(--text-muted);
}

.summary-val {
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   School Programs Section Styles
   ========================================================================== */
.school-programs-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

/* Light section overrides for school-programs */
.school-programs-section .section-title {
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.school-programs-section .section-subtitle {
    color: var(--text-light-secondary);
}

.school-programs-section .club-program-showcase {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light-card);
}

.school-programs-section .club-showcase-text h3 {
    color: var(--text-light-primary);
}

.school-programs-section .club-showcase-text .lead-desc {
    color: var(--text-light-secondary);
}

.school-programs-section .club-detail-col h5 {
    color: var(--text-light-primary);
}

.school-programs-section .check-list-custom li {
    color: var(--text-light-secondary);
}

.school-programs-section .curriculum-header h3 {
    color: var(--text-light-primary);
}

.school-programs-section .curriculum-subtitle {
    color: var(--text-light-secondary);
}

.school-programs-section .curriculum-section-level {
    background: var(--bg-light-card);
    border-color: var(--border-light);
    box-shadow: var(--shadow-light-card);
}

.school-programs-section .curriculum-level-content h4 {
    color: var(--text-light-primary);
}

.school-programs-section .level-lead-desc {
    color: var(--text-light-secondary);
}

.school-programs-section .level-feature-list li {
    color: var(--text-light-secondary);
}

.school-programs-section .curriculum-level-visual {
    background: #1a2236;
    border-color: rgba(0,0,0,0.07);
}

.school-programs-section .deliverables-box {
    background: var(--bg-light-alt);
    border: 1px solid var(--border-light);
}

.school-programs-section .deliverables-title {
    color: var(--text-light-primary);
}

.school-programs-section .deliverables-subtitle {
    color: var(--text-light-secondary);
}

.school-programs-section .deliverable-item-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light-card);
}

.school-programs-section .deliverable-item-card h4 {
    color: var(--text-light-primary);
}

.school-programs-section .deliverable-item-card p {
    color: var(--text-light-secondary);
}

.school-programs-section .sim-battery span,
.school-programs-section .sim-motor span,
.school-programs-section .sim-switch span {
    color: var(--text-light-secondary);
}

.school-programs-section .sim-battery,
.school-programs-section .sim-motor,
.school-programs-section .sim-switch {
    border-color: rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
    color: var(--text-light-primary);
}

.school-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.school-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.school-shape-1 {
    top: 10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--color-purple);
}

.school-shape-2 {
    bottom: 20%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: var(--color-cyan);
}

.option-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--font-outfit);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.option-badge.bg-cyan { background: var(--gradient-cyan); box-shadow: var(--shadow-cyan); }
.option-badge.bg-purple { background: var(--gradient-purple); box-shadow: var(--shadow-purple); }

/* Robotics Club Showcase Details */
.club-program-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-top: 30px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.club-program-showcase:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 20px 40px -10px rgba(0, 240, 255, 0.08);
}

.club-showcase-text {
    padding: 50px;
}

.club-showcase-text h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.club-showcase-text .lead-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.club-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.club-detail-col h5 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.check-list-custom li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.check-list-custom li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-cyan);
    font-weight: 700;
}

.club-showcase-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    text-align: center;
}

.club-icon-orb {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.visual-icon {
    font-size: 4rem;
    color: #ffffff;
}

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
}

.visual-badge i {
    color: var(--color-amber);
}

/* Curriculum Header Styles */
.curriculum-header {
    margin: 36px 0 16px;
}

.curriculum-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.curriculum-subtitle {
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
}


/* Section by Section Grade Levels Styles */
.curriculum-levels-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.curriculum-section-level {
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.alternating-level {
    flex-direction: row-reverse;
}

#foundation-level { border-left: 4px solid var(--color-cyan); }
#intermediate-level { border-left: 4px solid var(--color-purple); }
#advanced-level { border-left: 4px solid var(--color-pink); }

#foundation-level:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.3);
}
#intermediate-level:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(185, 103, 255, 0.15);
    border-color: rgba(185, 103, 255, 0.3);
}
#advanced-level:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(255, 94, 151, 0.15);
    border-color: rgba(255, 94, 151, 0.3);
}

.curriculum-level-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.level-grade {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-pink { color: var(--color-pink); }

.curriculum-level-content h4 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.level-lead-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.level-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.level-feature-list li {
    font-size: 0.98rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.level-feature-list li i {
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Simulations Styles */
.curriculum-level-visual {
    flex: 0.8;
    background: #0f1422;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.border-cyan { border: 1px solid rgba(0, 240, 255, 0.15); }
.border-purple { border: 1px solid rgba(185, 103, 255, 0.15); }
.border-pink { border: 1px solid rgba(255, 94, 151, 0.15); }

/* DC Circuit Simulation style */
.circuit-visual-simulation {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.sim-battery, .sim-motor, .sim-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

.sim-battery i { color: var(--color-cyan); font-size: 1.8rem; }
.sim-motor i { color: var(--color-amber); font-size: 1.8rem; }
.sim-switch i { color: var(--color-green); font-size: 1.8rem; }

.sim-wire-left, .sim-wire-right {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    flex-grow: 1;
    position: relative;
}

.sim-wire-left.active-flow::after, .sim-wire-right.active-flow::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    animation: flowPulse 2s linear infinite;
}

.sim-wire-right.active-flow::after {
    animation-delay: 1s;
}

@keyframes flowPulse {
    0% { left: 0%; }
    100% { left: 100%; }
}

.rotate-slow i {
    animation: spin-slow 8s linear infinite;
}

/* Arduino board simulation style */
.arduino-visual-simulation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.arduino-board {
    width: 180px;
    height: 120px;
    background: #005a70;
    border: 2px solid #004656;
    border-radius: var(--border-radius-sm);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.arduino-header {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.arduino-chip {
    width: 100px;
    height: 24px;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 2px;
    color: #888888;
    font-size: 0.6rem;
    font-family: monospace;
    display: flex;
    align-items: center;
    justify-content: center;
}

.led-indicator {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.usb-port {
    position: absolute;
    left: -10px;
    top: 40px;
    width: 20px;
    height: 30px;
    background: #b0b0b0;
    border-radius: 2px;
}

.sensor-flow {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sim-node {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
}

.sim-node i {
    color: var(--color-purple);
}

.data-pulse {
    color: var(--color-purple);
    animation: float 2s ease-in-out infinite;
}

/* AI Visual Code editor simulation */
.ai-visual-simulation {
    width: 100%;
    height: 100%;
    background: #181d28;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.code-editor-header {
    background: #111622;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dot-c.red { background: #ff5f56; }
.dot-c.yellow { background: #ffbd2e; }
.dot-c.green { background: #27c93f; }

.file-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-left: 10px;
}

.code-editor-body {
    padding: 16px;
    font-size: 0.82rem;
    font-family: monospace;
    color: #e2e8f0;
    margin: 0;
    overflow-x: auto;
}

.code-editor-body code {
    color: var(--color-pink);
}


/* Deliverables Box */
.deliverables-box {
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px 32px;
    position: relative;
    z-index: 2;
}

.deliverables-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.deliverables-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1rem;
}

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

.deliverable-item-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-smooth);
}

.deliverable-item-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: var(--shadow-cyan);
}

.deliverable-icon {
    font-size: 2.2rem;
    color: var(--color-cyan);
    margin-bottom: 16px;
}

.deliverable-item-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.deliverable-item-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-site-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Dropdown Explore Button styling */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.mr-2-left {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.dropdown-wrapper.active .mr-2-left {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    background: rgba(17, 22, 37, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.05);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 50;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.dropdown-menu-custom.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    margin-bottom: 4px;
    border: 1px solid transparent;
    cursor: pointer;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item-header {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.98rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.dropdown-item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Add Responsive Rules for School Programs */
@media (max-width: 992px) {
    .club-program-showcase {
        grid-template-columns: 1fr;
    }
    .club-showcase-text {
        padding: 30px;
    }
    .club-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .club-showcase-visual {
        padding: 40px 30px;
    }
    .curriculum-levels-container {
        gap: 30px;
    }
    .curriculum-section-level, .alternating-level {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    .curriculum-level-content, .curriculum-level-visual {
        width: 100%;
        flex: none;
    }
    .curriculum-level-visual {
        height: 220px;
        padding: 20px;
    }
    .deliverables-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
    .deliverables-box {
        padding: 30px 20px;
    }
}


/* --- Responsiveness & Viewports styling --- */

@media (max-width: 1024px) {
    html { font-size: 15px; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content h1, .hero-brand-title {
        font-size: 3.8rem;
    }
    .hero-brand-subtitle {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .badge-tag {
        margin-bottom: 16px;
    }
    .hero-lead {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    .register-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .register-info {
        position: static;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar, .header-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .timeline-line {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
    }
    .timeline-item.left, .timeline-item.right {
        left: 0;
        padding-left: 45px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot {
        left: 10px;
    }
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-content h1, .hero-brand-title {
        font-size: 2.8rem;
    }
    .hero-brand-subtitle {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .radio-selector-group {
        grid-template-columns: 1fr;
    }
    .register-form-container {
        padding: 24px;
    }
}

/* ==========================================================================
   Multi-Step Registration Wizard Styles
   ========================================================================== */

/* Step Progress Indicators */
.step-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-outfit);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.step-indicator.active .step-number {
    background: var(--gradient-cyan);
    color: #ffffff;
    box-shadow: var(--shadow-cyan);
    border: none;
}

.step-indicator.completed .step-number {
    background: var(--color-green);
    color: #ffffff;
    border: none;
}

.step-indicator:not(.active):not(.completed) .step-number {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.step-label {
    font-size: 0.72rem;
    margin-top: 6px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    transition: var(--transition-smooth);
}

.step-indicator.active .step-label {
    color: var(--color-cyan);
}

.step-indicator.completed .step-label {
    color: var(--color-green);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 10px;
    position: relative;
    top: -10px;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.step-line.completed {
    background: var(--color-green);
}

.step-line.active {
    background: var(--color-cyan);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideInFade 0.4s ease-out;
}

@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 28px;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.step-decor-icon {
    font-size: 1.6rem;
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.step-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: #ffffff;
}

.step-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Step Navigation Controls */
.step-controls {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.btn-nav {
    flex-grow: 1;
}

.hidden {
    display: none !important;
}

/* Review details step card */
.review-details-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.review-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}

/* Premium Selection Cards in Step 5 */
.plan-options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.plan-option-card {
    display: block;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.01);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.plan-option-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.02);
}

.plan-option-card.active {
    border-color: var(--color-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.1);
}

.plan-badge {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 0.65rem;
    background: var(--gradient-cyan);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-cyan);
}

.plan-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.plan-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-cyan);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Mobile responsive rules for wizard */
@media (max-width: 576px) {
    .step-progress-bar {
        margin-bottom: 24px;
        padding-bottom: 12px;
    }
    
    .step-label {
        display: none;
    }
    
    .step-line {
        top: 0;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .review-details-card {
        padding: 16px;
    }
    
    .review-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ==========================================================================
   Courses Catalog Sub-Page Styles
   ========================================================================== */
.courses-subpage,
.enroll-subpage {
    padding-top: 80px;
}

.courses-hero {
    position: relative;
    padding: 80px 0 40px;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.08), transparent 45%);
}

.courses-title-main {
    font-family: var(--font-outfit);
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.courses-subtitle-main {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}

.catalog-section {
    padding: 20px 0 100px;
}

.catalog-filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.catalog-filter-group {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 100px;
    gap: 4px;
    box-shadow: var(--shadow-card);
}

.catalog-filter-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: var(--font-outfit);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.catalog-filter-btn:hover {
    color: #ffffff;
}

.catalog-filter-btn.active {
    background: var(--gradient-cyan);
    color: #ffffff;
    box-shadow: var(--shadow-cyan);
}

/* Specific styling overrides for Catalog Cards */
#catalog-courses-grid .course-card {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease, var(--transition-smooth);
}

#catalog-courses-grid .course-card.hidden-card {
    display: none !important;
}

.course-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 240, 255, 0.05);
    color: var(--color-cyan);
    border: 1px solid rgba(0, 240, 255, 0.12);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.course-levels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
}

.level-item-desc {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    line-height: 1.45;
}

.level-item-desc span strong {
    color: #ffffff;
}

.lvl-tag {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
}

/* Responsiveness overrides for catalog */
@media (max-width: 992px) {
    .catalog-filter-group {
        flex-wrap: wrap;
        border-radius: var(--border-radius-md);
        justify-content: center;
    }
    .catalog-filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 50px 0 20px;
    }
    .courses-title-main {
        font-size: 2.4rem;
    }
    .catalog-section {
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   Home Page Course Catalog Grid Section
   ========================================================================== */
.catalog-links-section {
    padding: 72px 0;
    position: relative;
    background: var(--bg-light-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Catalog section in light mode */
.catalog-links-section .section-title {
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.catalog-links-section .section-subtitle {
    color: var(--text-light-secondary);
}

.catalog-links-section .option-badge.bg-cyan {
    background: var(--gradient-cyan);
    box-shadow: var(--shadow-cyan);
}

.catalog-links-section .catalog-link-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light-card);
}

.catalog-links-section .catalog-link-card h4 {
    color: var(--text-light-primary);
}

.catalog-links-section .catalog-link-card p {
    color: var(--text-light-secondary);
}

.catalog-links-section .catalog-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 12px 32px -8px rgba(0, 200, 255, 0.12);
}

.catalog-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.catalog-link-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.catalog-link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.01);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.03);
}

.catalog-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.catalog-link-card h4 {
    font-size: 1.15rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.catalog-link-card:hover h4 {
    color: var(--color-cyan);
}

.catalog-link-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.catalog-link-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.catalog-link-action i {
    transition: transform 0.3s ease;
}

.catalog-link-card:hover .catalog-link-action i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .catalog-links-section {
        padding: 60px 0;
    }
    .catalog-buttons-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }
    .catalog-link-card {
        padding: 24px;
    }
}

/* ==========================================================================
   Antigravity Premium Redesign Overrides & Enhancements
   ========================================================================== */

/* 1. Global Ambient Background Particles Canvas */
#ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background: transparent;
}

/* 2. Scroll Reveal Animations System */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.slide-left {
    transform: translateX(-50px);
}

.reveal-on-scroll.slide-right {
    transform: translateX(50px);
}

.reveal-on-scroll.scale-up {
    transform: scale(0.9);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* 3. Magnetic Glow Card Hover Effects */
.course-card, .why-card, .deliverable-item-card, .catalog-link-card, .register-form-container {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Glowing mouse track background element to inject dynamically or hover states */
.glow-card-interactive {
    position: relative;
}

.glow-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(circle 180px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 240, 255, 0.3), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-card-interactive:hover::before {
    opacity: 1;
}

/* Course card overrides for high-end feel */
.course-card {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.course-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1) !important;
}

/* Why Choose Us Cards Glow */
.why-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(185, 103, 255, 0.25) !important;
    box-shadow: 0 15px 35px rgba(185, 103, 255, 0.1) !important;
}

/* Deliverable Item Cards */
.deliverable-item-card {
    background: rgba(13, 20, 38, 0.5) !important;
    padding: 30px 24px;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.deliverable-item-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 94, 151, 0.25);
    box-shadow: 0 15px 35px rgba(255, 94, 151, 0.1);
}

/* 4. Elevated Hero Section Enhancements */
@media (min-width: 992px) {
    .hero-brand-title {
        font-size: 5.8rem !important;
    }
}

.hero-brand-title {
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.gradient-text {
    background: linear-gradient(90deg, #00f0ff, #b967ff, #ff5e97, #00f0ff);
    background-size: 300% 100%;
    animation: gradient-flow-text 8s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradient-flow-text {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Circular glowing halo behind the robot image */
.visual-wrapper {
    position: relative;
}

.visual-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 108%;
    height: 108%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(0, 240, 255, 0.2);
    z-index: 0;
    animation: spin-slow 25s linear infinite;
}

.visual-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 116%;
    height: 116%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(185, 103, 255, 0.1);
    z-index: 0;
    animation: spin-slow 40s linear infinite reverse;
}

/* Parallax drifting badges */
.floating-badge {
    transition: transform 0.2s ease-out;
}

@media (max-width: 768px) {
    .badge-top-left {
        left: -5% !important;
    }
    .badge-bottom-right {
        right: -5% !important;
    }
}

@media (max-width: 480px) {
    .badge-top-left {
        left: 0 !important;
        top: 0 !important;
    }
    .badge-bottom-right {
        right: 0 !important;
        bottom: 0 !important;
    }
}

/* 5. Custom Dynamic Simulators Redesign */
.curriculum-section-level {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 90px;
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.curriculum-level-content {
    flex: 1.1;
}

.curriculum-level-visual {
    flex: 0.9;
}

.curriculum-level-visual {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 30px;
}

/* Active flowing electron cables */
.sim-wire-left, .sim-wire-right {
    height: 3px !important;
    background: #0f1c3f !important;
    position: relative;
}

.sim-wire-left.active-flow::after, .sim-wire-right.active-flow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    animation: wire-electricity 2s linear infinite;
}

.sim-wire-right.active-flow::after {
    animation-delay: 1s;
}

@keyframes wire-electricity {
    0% { left: -30px; }
    100% { left: 100%; }
}

/* Spin motor fan */
.rotate-slow i {
    animation: spin-slow 2.5s linear infinite;
    color: var(--color-cyan) !important;
}

/* Arduino data pulse stream animation */
.sensor-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
}

.data-pulse {
    position: relative;
    color: var(--color-purple) !important;
    animation: pulse-horizontal 1.5s infinite ease-in-out;
}

@keyframes pulse-horizontal {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15) translateX(5px); opacity: 1; text-shadow: 0 0 10px var(--color-purple); }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Advanced AI Scanline Terminal Simulation */
.ai-visual-simulation {
    position: relative;
}

.ai-visual-simulation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 10;
}

.code-editor-header {
    background: rgba(17, 24, 39, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.code-editor-body {
    background: #04060b !important;
    font-size: 0.9rem !important;
    text-shadow: 0 0 5px rgba(255, 94, 151, 0.2);
}

/* 6. Glowing Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #050811;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid #050811;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
    box-shadow: 0 0 15px var(--color-cyan);
}

/* 7. Scroll-to-Top Floating Ring Widget */
.scroll-top-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 16, 32, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 240, 255, 0.1);
}

.scroll-top-widget.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-widget:hover {
    background: var(--gradient-cyan);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-cyan), 0 0 20px rgba(0, 240, 255, 0.4);
    transform: scale(1.08) translateY(-3px);
}

.scroll-top-widget svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.scroll-top-widget:hover svg {
    transform: translateY(-2px);
}

/* 8. Futuristic Page Preloader Screen */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #05070e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo-ring {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(0, 240, 255, 0.1);
    border-top-color: var(--color-cyan);
    border-bottom-color: var(--color-purple);
    animation: spin-slow 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin-bottom: 20px;
}

.preloader-text {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-transform: uppercase;
    animation: text-pulse-glow 1.5s ease-in-out infinite alternate;
}

@keyframes text-pulse-glow {
    0% { opacity: 0.4; text-shadow: 0 0 5px rgba(255,255,255,0.1); }
    100% { opacity: 1; text-shadow: 0 0 20px var(--color-cyan), 0 0 10px rgba(0,240,255,0.3); }
}

/* 9. Timeline scroll highlighting */
.timeline-dot.active-dot {
    background: #ffffff !important;
    border-color: var(--color-cyan) !important;
    box-shadow: 0 0 25px var(--color-cyan), 0 0 10px var(--color-cyan) !important;
}

.timeline-card.active-card {
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1) !important;
    transform: translateY(-4px);
}

/* 10. Multi-step choice cards */
.plan-option-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.plan-option-card.active {
    transform: scale(1.025) !important;
    border-color: var(--color-cyan) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2) !important;
}

/* ==========================================================================
   WhatsApp Branding Buttons & Spacing
   ========================================================================== */
.whatsapp-connect-wrapper {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 12px 24px;
    width: 100%;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(37, 211, 102, 0.6);
}

.form-whatsapp-connect {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.whatsapp-or-divider {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.whatsapp-prompt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.btn-whatsapp-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-whatsapp-secondary:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.3);
}

/* Responsive Overrides for Stacked Contact Layout */
@media (max-width: 992px) {
    .contact-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        padding: 16px;
        gap: 12px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

