/* ==========================================================================
   Robobic AI Academy - Modern Stylesheet (White Background / Light-Theme UI)
   ========================================================================== */

/* --- Custom Design Tokens & Variables --- */
:root {
    /* Color Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --primary: #4f46e5;      /* Indigo */
    --primary-hover: #4338ca;
    --secondary: #06b6d4;    /* Cyan */
    --secondary-hover: #0891b2;
    --accent: #7c3aed;       /* Violet */
    --accent-pink: #ec4899;  /* Pink */
    
    /* Gaps and Sizing */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Glassmorphism settings for White Background */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-hover: rgba(79, 70, 229, 0.25);
    --glass-blur: blur(16px);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px -3px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 40px -4px rgba(15, 23, 42, 0.08), 0 8px 20px -6px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(79, 70, 229, 0.15);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Header height */
    --header-height: 80px;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* --- Global Reset & Base Elements --- */
* {
    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-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* WebGL Background Container */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85; /* Soft rendering to keep it unobtrusive over white bg */
}

main {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Containers --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    background: linear-gradient(135deg, #4338ca 0%, #0891b2 100%);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-text:hover {
    color: var(--accent);
}

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

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

/* --- Glassmorphic Layout Components --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 16px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Gradient Text Utilities --- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ==========================================================================
   Header Navigation Styles
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.main-header.scrolled .header-topbar {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border: none;
}

.header-topbar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    height: 38px;
    z-index: 102;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.topbar-item:hover {
    color: var(--primary);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.main-header.scrolled .header-container {
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.logo-icon {
    font-size: 1.3rem;
    z-index: 2;
}

.logo-pulse {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-pink);
    border-radius: 50%;
    border: 2px solid #ffffff;
    z-index: 3;
    animation: pulse-ring 2s infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-top: 2px;
}

/* Navbar Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.nav-btn {
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 75px);
    padding-bottom: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

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

.badge-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.hero-badge.highlight {
    background-color: rgba(79, 70, 229, 0.07);
    border-color: rgba(79, 70, 229, 0.15);
    color: var(--primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
    margin-top: 16px;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

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

/* Hero HUD Interactive Elements */
.hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-panel {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 220px;
    z-index: 10;
}

.hud-panel.top-left {
    top: 15%;
    left: -5%;
}

.hud-panel.bottom-right {
    bottom: 15%;
    right: -5%;
}

.hud-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 44px;
    height: 44px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-panel h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.hud-panel p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.circle-1 {
    width: 280px;
    height: 280px;
    background: rgba(6, 182, 212, 0.12);
    top: 10%;
    right: 10%;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(124, 58, 237, 0.12);
    bottom: 10%;
    left: 10%;
}

/* ==========================================================================
   Partners Ticker Section
   ========================================================================== */
.ticker-section {
    padding: 32px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.ticker-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ticker-wrap {
    display: flex;
    width: 100%;
}

.ticker {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: ticker-slide 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ticker-item:hover {
    opacity: 1;
    color: var(--primary);
}

.ticker-item i {
    font-size: 1.4rem;
}

/* ==========================================================================
   Section Headers Global
   ========================================================================== */
.section-header {
    max-width: 720px;
    margin-bottom: 60px;
}

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

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.75px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

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

.about-card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.cyan-grad {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.indigo-grad {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.purple-grad {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.courses-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

/* Select specific courses to expand wider or take full row later if needed,
   but we'll keep 3 columns, and adjust for responsive. */
.course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: var(--bg-primary);
}

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

.course-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    background-color: var(--bg-secondary);
    border-radius: 30px;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.course-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    height: 52px;
    display: flex;
    align-items: center;
}

.course-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

.course-meta i {
    color: var(--primary);
}

/* Accordion Detail Panel */
.course-expand-btn {
    justify-content: space-between;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    padding: 8px 0;
}

.course-expand-btn i {
    transition: transform 0.3s ease;
}

.course-card.expanded .course-expand-btn i {
    transform: rotate(180deg);
}

.course-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.course-card.expanded .course-details {
    max-height: 500px;
    opacity: 1;
    margin-top: 16px;
    border-top: 1px dashed var(--glass-border);
    padding-top: 16px;
}

.curriculum-list h4, .career-outlook h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.curriculum-list ul {
    margin-bottom: 16px;
}

.curriculum-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
}

.curriculum-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background-color: var(--secondary);
    border-radius: 50%;
}

.career-outlook p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.career-outlook strong {
    color: var(--primary);
}

/* ==========================================================================
   AI Sandbox Section
   ========================================================================== */
.sandbox-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.sandbox-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.sandbox-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sandbox-controls h3 {
    font-size: 1.5rem;
}

.control-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Toggle buttons */
.simulator-toggle-group {
    display: flex;
    gap: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 4px;
    border-radius: var(--border-radius-sm);
}

.sim-toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: none;
    background: none;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sim-toggle-btn.active {
    background-color: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Control Panels */
.sim-control-panel {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.sim-control-panel.active {
    display: flex;
}

/* Slider Controls */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background-color: var(--bg-tertiary);
    border-radius: 3px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
    transition: transform 0.1s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Sandbox Info Panels */
.sandbox-info-panel {
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sandbox-info-panel code {
    background-color: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent-pink);
}

/* Sandbox Canvas Display */
.sandbox-display {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.display-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    background-color: var(--bg-secondary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981; /* Green */
}

.display-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.canvas-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 12px;
}

#sandbox-canvas {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background-color: #fafafa;
}

/* ==========================================================================
   Student Journey (Timeline)
   ========================================================================== */
.journey-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-badge {
    border-color: var(--secondary);
    color: var(--secondary);
}

.timeline-item:nth-child(3) .timeline-badge {
    border-color: var(--accent);
    color: var(--accent);
}

.timeline-item:nth-child(4) .timeline-badge {
    border-color: #10b981;
    color: #10b981;
}

.timeline-panel {
    width: 44%;
    position: relative;
}

.timeline-step {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.timeline-item:nth-child(even) .timeline-step {
    color: var(--secondary);
}

.timeline-item:nth-child(3) .timeline-step {
    color: var(--accent);
}

.timeline-item:nth-child(4) .timeline-step {
    color: #10b981;
}

.timeline-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.timeline-panel p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Enrollment Form / Admission Section
   ========================================================================== */
.apply-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.apply-container {
    max-width: 780px;
    margin: 0 auto;
}

.apply-header {
    text-align: center;
    margin-bottom: 40px;
}

.apply-header p {
    color: var(--text-secondary);
    margin-top: 12px;
}

/* Form Progress Stepper */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: var(--bg-tertiary);
    margin: 0 16px;
    margin-top: -18px; /* Offset align with step-num */
    z-index: 1;
}

/* Active & Complete Stepper States */
.progress-step.active .step-num {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.progress-step.active .step-text {
    color: var(--primary);
}

.progress-step.complete .step-num {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.progress-step.complete .step-text {
    color: #10b981;
}

.progress-line.active {
    background-color: var(--primary);
}

.progress-line.complete {
    background-color: #10b981;
}

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

.form-step-panel.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Form Actions Button Alignment */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}

/* File Upload UI */
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    border: 2px dashed var(--glass-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    background-color: var(--bg-secondary);
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.02);
}

.file-upload-label i {
    font-size: 2.2rem;
    color: var(--primary);
}

.file-upload-label span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.file-spec {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-name-display {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: #10b981;
    margin-top: 8px;
    text-align: center;
}

/* Form Success State styling */
.form-success-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.form-success-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success-panel p {
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    color: #ffffff;
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.footer-links h4, 
.footer-newsletter h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

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

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

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

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    background-color: #ffffff;
    overflow: hidden;
    padding: 4px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.newsletter-form button {
    padding: 10px 18px;
}

/* Footer Bottom Strip */
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

.footer-legal a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Animations Definitions & Keyframes
   ========================================================================== */

/* Keyframe for horizontal ticker wrap scroll */
@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Float animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

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

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Logo Pulse Effect */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

.animate-pulse {
    animation: status-pulse 2s infinite;
}

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

/* Simple fade reveal animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-stats {
        max-width: 580px;
        width: 100%;
        margin: 16px auto 0;
    }
    
    .hero-visual {
        height: 380px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hud-panel.top-left {
        left: 0;
    }
    
    .hud-panel.bottom-right {
        right: 0;
    }
    
    .about-grid, 
    .courses-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    /* Make the third about card take full width if uneven */
    .about-card:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    
    .sandbox-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    /* Mobile Toggle Hamburger Navigation */
    .mobile-toggle {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: var(--glass-blur);
        border-top: 1px solid var(--glass-border);
        transition: all 0.4s ease;
        padding: 40px;
        z-index: 100;
        box-shadow: var(--shadow-md);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        display: block;
    }
    
    .nav-btn {
        width: 100%;
        padding: 14px;
        font-size: 1.05rem;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Title scale down */
    .hero-title {
        font-size: 2.6rem;
    }
    
    /* Grid components to 1 column */
    .about-grid, 
    .courses-container {
        grid-template-columns: 1fr;
    }
    
    .about-card:nth-child(3) {
        grid-column: span 1;
        max-width: 100%;
    }
    
    /* Timeline Mobile adjustments */
    .timeline::before {
        left: 24px;
    }
    
    .timeline-item {
        justify-content: flex-end;
        width: 100%;
    }
    
    .timeline-item:nth-child(even) {
        justify-content: flex-end;
    }
    
    .timeline-badge {
        left: 24px;
        transform: translateX(-50%);
    }
    
    .timeline-panel {
        width: calc(100% - 60px);
    }
    
    /* Stepper Form */
    .form-progress {
        padding: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Robobic AI Academy - New Dynamic Layout Styles
   ========================================================================== */

/* --- About Us Page Layout --- */
.about-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-top: 20px;
}

.about-intro-panel h3, .about-values-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

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

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    border-top: 1px dashed var(--glass-border);
    padding-top: 28px;
}

.vm-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vm-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: var(--gradient-secondary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.vm-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.vm-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.values-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.value-item:last-child {
    border-bottom: none;
}

.val-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

.val-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.val-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Courses Layout Tweaks --- */
.programs-category-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
}

.program-group-title {
    font-size: 1.45rem;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.program-group-title i {
    color: var(--primary);
}

.program-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.courses-container.two-columns {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Internship Section --- */
.internship-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.internship-programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.internship-prog-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.internship-prog-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
}

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

.icon-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.internship-prog-card.highlight .icon-header i {
    color: var(--accent-pink);
}

.icon-header h4 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.badge-new {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    background: var(--gradient-secondary);
    color: #ffffff;
    border-radius: 4px;
}

.internship-prog-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.internship-prog-card li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.internship-prog-card li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.countries-supported-tag {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    border-top: 1px dashed var(--glass-border);
    padding-top: 16px;
}

.countries-supported-tag span {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.08);
    border-radius: 30px;
    color: var(--secondary-hover);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Country Explorer styling */
.country-toggle-group {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 24px;
    padding-bottom: 8px;
}

.country-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.country-tab.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.country-display-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.country-display-panel.active {
    display: block;
}

.country-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.info-content h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.country-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.country-specs li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    padding-bottom: 6px;
}

.country-specs strong {
    color: var(--text-primary);
}

.info-image-placeholder {
    height: 240px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 5rem;
    box-shadow: var(--shadow-sm);
}

.uk-bg {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.uae-bg {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.india-bg {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

/* --- Events Section --- */
.events-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.events-intro-box p {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

.event-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffffff;
}

.badge-expo { background-color: var(--accent); }
.badge-workshop { background-color: var(--primary); }
.badge-seminar { background-color: var(--secondary-hover); }
.badge-webinar { background-color: var(--accent-pink); }

.event-status {
    font-size: 0.72rem;
    font-weight: 600;
}

.event-status.open { color: #10b981; }
.event-status.upcoming { color: #f59e0b; }

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--glass-border);
    padding-top: 16px;
    margin-top: auto;
}

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* --- Join Us Portal Tabs --- */
.join-tabs-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

.join-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.join-tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.join-form-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.join-form-pane.active {
    display: block;
}

.webinar-intro-text {
    text-align: center;
    margin-bottom: 28px;
}

.webinar-intro-text h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.webinar-intro-text p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.webinar-form {
    max-width: 650px;
    margin: 0 auto;
}

/* --- Floating Contact Widget --- */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.floating-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-contact-container.active .floating-contact-actions {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.contact-action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.contact-action-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.whatsapp-btn { background-color: #25d366; }
.phone-btn { background-color: #4f46e5; }
.email-btn { background-color: #ec4899; }

.contact-action-btn .tooltip {
    position: absolute;
    right: 60px;
    background-color: var(--text-primary);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.contact-action-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

.floating-contact-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: #ffffff;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
}

.floating-contact-trigger:hover {
    transform: rotate(15deg) scale(1.05);
}

.floating-contact-container.active .floating-contact-trigger {
    background: var(--gradient-secondary);
}

.contact-unread-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: var(--accent-pink);
    border-radius: 50%;
    border: 2px solid #ffffff;
    animation: pulse-ring 2s infinite;
}

.floating-contact-container.active .contact-unread-dot {
    display: none;
}

/* Responsive Overrides for New Sections */
@media (max-width: 1024px) {
    .about-main-grid {
        grid-template-columns: 1fr;
    }
    
    .country-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .info-image-placeholder {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .header-topbar {
        display: none; /* Hide topbar on mobile to save vertical space */
    }
    
    .internship-programs-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-container.two-columns {
        grid-template-columns: 1fr;
    }
    
    .join-tabs-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .join-tab-btn {
        width: 100%;
        justify-content: center;
    }
}

