/* ==========================================================================
   Design System variables (Red, Black, White theme)
   ========================================================================== */
:root {
    --color-bg: #FCFCFC;
    --color-text-dark: #121212;
    --color-text-muted: #5A5A5A;

    --color-primary: #D31820;
    /* Education Red */
    --color-primary-hover: #B01018;
    --color-black: #0E0E10;
    --color-white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;

    --z-nav: 100;
}

/* ==========================================================================
   Resets
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Global Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-dark);
}

.text-red {
    color: var(--color-primary);
}

.font-bold {
    font-weight: 700;
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 24, 32, 0.25);
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    border-color: #E2E8F0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
    border-color: var(--color-text-dark);
    background-color: #F8FAFC;
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn i {
    width: 28px;
    height: 28px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    z-index: var(--z-nav);
    background: transparent;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 80px;
}

.nav-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    /* Explicit override to hide bullets */
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-btn {
    border-radius: 8px;
    font-size: 0.95rem;
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    width: 100%;
    display: flex;
    align-items: stretch;
    background-color: var(--color-bg);
}

.hero-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 4rem 0;
    /* Padding-top accounts for navbar height */
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    gap: 3rem;
}

/* Left Content */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Stats / Courses Badges */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-right: 0.5rem;
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(213, 24, 32, 0.08);
    border-radius: 8px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.stat-icon {
    width: 20px;
    height: 20px;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Right side graphic design area with 3D perspective */
.hero-graphic-area {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px; /* Crucial for 3D depth */
    z-index: 2;
}

/* Ambient glowing gradients behind the card */
.glow-blob {
    display: none !important; /* User requested no background light/glows */
}

/* Premium Straight Video Card */
.video-3d-card-wrapper {
    width: 88%;
    height: 82%;
    z-index: 2;
}

.video-3d-card {
    width: 100%;
    height: 100%;
    background: var(--color-black); /* Premium brand solid black bezel */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 12px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.15); /* Removed the colored red glow */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease;
}

.hero-graphic-area:hover .video-3d-card {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Screen bezel and inner video frame */
.video-screen-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background-color: var(--color-black);
    transform: translateZ(20px); /* 3D pop effect */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Video Tint/Gradient Overlay inside frame */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 14, 16, 0) 50%, rgba(14, 14, 16, 0.75) 100%),
                linear-gradient(to right, rgba(14, 14, 16, 0.15) 0%, rgba(14, 14, 16, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Integrated bottom control bar */
.video-control-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(14, 14, 16, 0.95) 0%, rgba(14, 14, 16, 0) 100%);
    z-index: 2;
}

.video-status-dot {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.status-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-family: var(--font-heading);
}

.control-actions {
    display: flex;
    gap: 0.75rem;
}

.video-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.video-action-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.video-action-btn i {
    width: 14px;
    height: 14px;
}

/* Modern Frosted Glass Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.85rem 1.4rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.03);
    z-index: 10;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.floating-badge:hover {
    transform: translateY(-8px) scale(1.03) translateZ(40px); /* 3D hover pop */
    box-shadow: 0 25px 50px rgba(211, 24, 32, 0.18);
}

.badge-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(211, 24, 32, 0.08);
    border-radius: 12px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

/* Specific Badge Placements */
.badge-top-left {
    top: 15%;
    left: -2%;
}

.badge-bottom-right {
    bottom: 12%;
    right: 2%;
}

.badge-details {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.25;
}

.badge-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
    line-height: 1.25;
}

/* Glowing green pulse dot for live feeling */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #10B981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Floating Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* World Map overlay for the left background */
.hero-map-overlay {
    position: absolute;
    top: 15%;
    left: 4%;
    width: 50%;
    height: 70%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 2px, transparent 2px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Bottom Info Bar
   ========================================================================== */
.bottom-bar {
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    width: 100%;
    align-items: stretch;
}

.features-row {
    display: flex;
    flex: 1;
    padding: 2.5rem 4rem;
    gap: 3rem;
    justify-content: space-between;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.15rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: #B0B0B5;
    font-weight: 500;
}

.trusted-partner {
    padding: 2.5rem 4rem;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    min-width: 380px;
    justify-content: center;
}

.trusted-partner h3 {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.courses-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid #F1F1F1;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.course-image {
    position: relative;
    width: 100%;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(213, 24, 32, 0.3);
}

.course-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.course-meta i {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.course-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.course-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.course-footer {
    border-top: 1px solid #F1F1F1;
    padding-top: 1.25rem;
    margin-top: auto;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.btn-text i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-text:hover {
    color: var(--color-primary);
}

.btn-text:hover i {
    transform: translateX(4px);
}

.section-footer {
    text-align: center;
    margin-top: 4rem;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-us {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.wcu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-header-left {
    margin-bottom: 3rem;
}

.section-header-left .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header-left .section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.wcu-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wcu-feature {
    display: flex;
    gap: 1.25rem;
}

.wcu-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(213, 24, 32, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.wcu-icon i {
    width: 24px;
    height: 24px;
}

.wcu-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.wcu-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.wcu-image-wrapper {
    position: relative;
    border-radius: 20px;
    padding-left: 2rem;
    padding-top: 2rem;
}

.wcu-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: var(--color-primary);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.1;
}

.wcu-image {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.wcu-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.wcu-badge {
    position: absolute;
    bottom: -20px;
    left: 0;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.wcu-badge-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.wcu-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 6rem 0;
    background-color: #F8FAFC;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 3rem;
    position: relative;
}

.testimonials-slider-track {
    display: flex;
    width: 400%;
    /* 4 slides including the clone */
    animation: slide-carousel 15s infinite;
}

.testimonials-slider-track:hover {
    animation-play-state: paused;
}

.testimonials-slide {
    width: 25%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    flex-shrink: 0;
}

@keyframes slide-carousel {

    0%,
    28.33% {
        transform: translateX(0);
    }

    33.33%,
    61.66% {
        transform: translateX(-25%);
    }

    66.66%,
    95% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(-75%);
    }
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F1F1;
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star-filled {
    width: 20px;
    height: 20px;
    color: #F59E0B;
    fill: #F59E0B;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Promotional Banner
   ========================================================================== */
.promo-banner {
    padding: 0 4rem 6rem;
    background-color: var(--color-bg);
}

.promo-container {
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--color-black);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Red accent shapes in banner */
.promo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(50px);
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.promo-content h2 {
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.promo-content p {
    color: #B0B0B5;
    font-size: 1.15rem;
}

.promo-action {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.footer-brand p {
    color: #B0B0B5;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-white);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.social-links a i {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #B0B0B5;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #B0B0B5;
    font-size: 0.95rem;
}

.contact-info i {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #888888;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-white);
}


/* ==========================================================================
   Trainers Section
   ========================================================================== */
.trainers-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trainer-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-color: #121212;
    display: block;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(213, 24, 32, 0.2);
}

.trainer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trainer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    transition: opacity 500ms ease;
    opacity: 0.8;
}

.trainer-card:hover .trainer-image::after {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.trainer-social {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-card:hover .trainer-social {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.trainer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.trainer-social a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.trainer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.trainer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.trainer-info h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    text-align: left;
    width: 100%;
    transform: translateY(40px);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-info span {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 10px rgba(213, 24, 32, 0.3);
    transform: translateY(40px);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    text-align: left;
    width: 100%;
    transform: translateY(40px);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-card:hover .trainer-info h3,
.trainer-card:hover .trainer-info span {
    transform: translateY(0);
}

.trainer-card:hover .trainer-info p {
    opacity: 1;
    visibility: visible;
    max-height: 100px;
    transform: translateY(0);
}
/* ==========================================================================
   Career Paths Section
   ========================================================================== */
.career-paths-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.career-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    position: relative;
    transition: all var(--transition-normal);
}

.career-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(213, 24, 32, 0.08);
    transform: translateY(-5px);
}

.career-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(213, 24, 32, 0.08);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.career-card:hover .career-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.career-icon i {
    width: 24px;
    height: 24px;
}

.career-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.career-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.salary-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: #F8FAFC;
    color: var(--color-text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 16, 0.9) 0%, rgba(14, 14, 16, 0.2) 50%, transparent 100%);
    opacity: 0.7;
    z-index: 1;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover::before {
    opacity: 0.9;
}

.gallery-item.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.item-tall {
    grid-row: span 2;
}

.gallery-item.item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    z-index: 2;
}

.gallery-text {
    transform: translateY(20px);
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms ease;
    opacity: 0.8;
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
    opacity: 1;
}

.gallery-text h3 {
    color: var(--color-white);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.gallery-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1) 100ms, opacity 400ms ease 100ms;
}

.gallery-item:hover .gallery-text p {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

.faq-question i {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-out;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .navbar {
        height: 80px;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .hero {
        padding-top: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 120px 2rem 4rem;
        gap: 3rem;
        position: relative;
        z-index: 10;
        min-height: 100vh;
        align-items: center;
    }

    .hero-content {
        padding: 1.5rem 0;
        position: relative;
        z-index: 10;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
        color: var(--color-white);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        color: #ffffff;
        font-weight: 500;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7);
        letter-spacing: 0.3px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem 1.25rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .stat-item {
        background-color: transparent;
        border: none;
        border-radius: 0;
        padding: 0.25rem 0;
        box-shadow: none;
        border-right: none;
    }

    .stat-icon-wrapper {
        width: 42px;
        height: 42px;
        border-radius: 8px;
        background-color: rgba(213, 24, 32, 0.15);
        color: #ff4d4d;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
    }

    .stat-text h4 {
        font-size: 0.95rem;
        color: var(--color-white);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }

    .hero-graphic-area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
        z-index: 1;
        display: block;
    }

    .shape-red-underlay,
    .shape-black-underlay {
        display: none;
    }

    /* Hide glowing blobs on mobile/tablet */
    .glow-blob {
        display: none;
    }

    /* Make video full background */
    .video-3d-card-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        transform-style: flat;
    }

    .video-3d-card {
        width: 100%;
        height: 100%;
        transform: none !important;
        border-radius: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .video-screen-frame {
        border-radius: 0;
        height: 100%;
        width: 100%;
        transform: none;
    }

    .video-overlay {
        background: rgba(0, 0, 0, 0.65); /* Dark overlay to make text visible */
        z-index: 1;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-control-bar {
        display: none;
    }

    .video-status-dot {
        display: flex;
    }

    /* Hide floating badges to avoid overlapping text on background */
    .floating-badge {
        display: none !important;
    }

    .bottom-bar {
        flex-direction: column;
    }

    .features-row {
        flex-wrap: wrap;
        padding: 2.5rem 2rem;
        gap: 2rem;
        border-right: none;
    }

    .feature-item {
        flex: 1 1 calc(50% - 1rem);
        min-width: 250px;
    }

    .trusted-partner {
        width: 100%;
        padding: 2rem;
        text-align: center;
        border-top: 1px solid #E2E8F0;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wcu-grid {
        gap: 2rem;
    }

    .testimonials-slide {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-banner {
        padding: 0 2rem 4rem;
    }

    .promo-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    /* Success Stories Carousel to Swipeable Scroll Snap */
    .testimonials-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1.5rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .testimonials-slider::-webkit-scrollbar {
        display: none;
    }

    .testimonials-slider-track {
        display: flex;
        width: max-content;
        animation: none;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .testimonials-slide {
        display: contents;
    }

    .testimonials-slide[aria-hidden="true"] {
        display: none !important;
    }

    .success-card {
        flex: 0 0 320px;
        margin: 0;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .trainers-grid {
        grid-template-columns: 1fr;
    }
    .career-grid {
        grid-template-columns: 1fr;
    }

    .career-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.item-large,
    .gallery-item.item-tall,
    .gallery-item.item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .wcu-grid {
        grid-template-columns: 1fr;
    }

    .wcu-image-wrapper {
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .promo-content h2 {
        font-size: 1.75rem;
    }

    .navbar {
        background-color: var(--color-white);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        border-top: 1px solid #E2E8F0;
    }

    .nav-right.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .feature-item {
        flex: 1 1 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Hero Graphic Area Adjustments on mobile */
    .hero-content {
        position: relative;
        z-index: 10;
    }

    /* Removed fixed height for full background video */

    /* Adjust success card flex basis on smaller tablet/mobile views */
    .success-card {
        flex: 0 0 290px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .navbar {
        height: 70px;
    }

    .logo img {
        height: 42px;
    }

    .hero-container {
        padding: 90px 1.25rem 4rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    /* Hero Title and Stats on small mobile */
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 0.5rem;
    }

    /* Success Card Layout on small mobile */
    .success-card-middle {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        padding: 0 1rem;
    }

    .success-student-col {
        flex: 0 0 auto;
        width: 100%;
    }

    .success-image-container {
        width: 130px;
        height: 140px;
    }

    .success-name-plate {
        width: 100%;
        max-width: 180px;
        margin-top: -0.75rem;
    }

    .success-text-col {
        text-align: center;
    }

    .success-text-col .started-text {
        font-size: 1.1rem;
    }

    .success-text-col .offer-text {
        font-size: 1.3rem;
    }

    .success-card-bottom {
        padding: 1rem;
    }

    .success-details-box {
        padding: 0.75rem;
    }

    .success-details-box li {
        font-size: 0.72rem;
    }

    .success-details-box li span:first-child {
        width: 90px;
    }
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-banner-section {
    padding: 100px 0 0;
    /* Accounts for navbar */
    background-color: var(--color-bg);
}

.about-banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-banner {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
    width: 100%;
}

.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14, 14, 16, 0.8), rgba(14, 14, 16, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.about-banner-content {
    max-width: 600px;
    color: var(--color-white);
}

.about-banner-content h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 900;
}

.about-banner-content p {
    font-size: 1.1rem;
    color: #E2E8F0;
    font-weight: 500;
}

.who-we-are-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.who-we-are-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-text-dark);
}

.who-we-are-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.who-we-are-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.who-we-are-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

@media (max-width: 1200px) {
    .about-banner-container {
        padding: 0;
    }

    .about-banner {
        height: 400px;
    }

    .who-we-are-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-banner-overlay {
        padding: 2rem;
    }

    .about-banner-content h1 {
        font-size: 2.5rem;
    }

    .who-we-are-grid {
        grid-template-columns: 1fr;
    }
}

.mission-section {
    padding: 6rem 0;
    background-color: #F8FAFC;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.mission-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
}

.mission-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ==========================================================================
   Syllabus Section
   ========================================================================== */
.syllabus-header {
    padding: 160px 0 6rem;
    background-color: var(--color-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.syllabus-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 150%;
    background-color: rgba(213, 24, 32, 0.03);
    transform: rotate(15deg);
    z-index: 0;
}

.syllabus-header .container {
    position: relative;
    z-index: 1;
}

.syllabus-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.syllabus-header p {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.syllabus-info-bar {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 2.5rem 0;
}

.info-bar-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.info-item i {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.info-item-text {
    display: flex;
    flex-direction: column;
}

.info-item-text span:first-child {
    font-size: 0.85rem;
    color: #A0A0A5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.info-item-text span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
}

.syllabus-content {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.curriculum-container {
    max-width: 800px;
    margin: 0 auto;
}

.curriculum-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.module-card {
    background-color: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

details.module-card summary {
    list-style: none;
    outline: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background-color var(--transition-fast);
}

details.module-card summary::-webkit-details-marker {
    display: none;
}

details.module-card summary:hover {
    background-color: #F8FAFC;
}

.module-week {
    background-color: rgba(213, 24, 32, 0.08);
    color: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.module-icon {
    margin-left: auto;
    transition: transform var(--transition-normal);
    color: var(--color-text-muted);
}

details.module-card[open] .module-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.module-content {
    padding: 0 2rem 2rem 2rem;
    color: var(--color-text-muted);
    border-top: 1px solid #F1F1F1;
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.module-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.module-content ul {
    list-style-type: none;
    padding-left: 0;
}

.module-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.module-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ==========================================================================
   Responsive Syllabus Styles
   ========================================================================== */
@media (max-width: 992px) {
    .info-bar-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .syllabus-header {
        padding: 120px 0 3rem;
    }

    .syllabus-header h1 {
        font-size: 2.5rem;
    }

    .info-bar-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .curriculum-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    details.module-card summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem;
        position: relative;
    }

    .module-icon {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        margin-left: 0;
    }

    .module-title {
        font-size: 1.1rem;
        padding-right: 2rem;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-banner-section {
    padding: 100px 0 0;
    background-color: var(--color-bg);
}

.contact-banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-banner {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 100%;
}

.contact-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14, 14, 16, 0.9), rgba(14, 14, 16, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.contact-banner-content {
    max-width: 600px;
    color: var(--color-white);
}

.contact-banner-content h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 900;
}

.contact-banner-content p {
    font-size: 1.1rem;
    color: #E2E8F0;
    font-weight: 500;
}

.contact-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F1F1;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(213, 24, 32, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.contact-card:hover .contact-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.contact-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.contact-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F1F1;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(213, 24, 32, 0.1);
}

.form-control::placeholder {
    color: #A0AEC0;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.w-100 {
    width: 100%;
}

.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px;
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-content-grid {
        grid-template-columns: 1fr;
    }

    .contact-map-wrapper {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-banner-overlay {
        padding: 2rem;
    }

    .contact-banner-content h1 {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* ==========================================================================
   WhatsApp Floating Icon
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   Contact Strip Banner
   ========================================================================== */
.contact-strip-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem 0;
    width: 100%;
}

.contact-strip-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-strip-icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-strip-icon i {
    width: 24px;
    height: 24px;
}

.contact-strip-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.contact-strip-text strong {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Learning Process Section
   ========================================================================== */
.process-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connecting line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    /* Adjust based on padding and icon size to align with center of icons */
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(213, 24, 32, 0.1) 100%);
    z-index: 0;
    display: none;
}

@media (min-width: 1024px) {
    .process-grid::before {
        display: block;
    }
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: var(--color-white);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F1F1;
    transition: transform var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 72px;
    height: 72px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    position: relative;
    box-shadow: 0 0 0 10px var(--color-white);
    /* To cover the connecting line */
}

.step-icon i {
    width: 32px;
    height: 32px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 800;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-heading);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   Success Stories Card (New Model)
   ========================================================================== */
.success-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 1rem;
    font-family: var(--font-heading);
    z-index: 1;
    border: 1px solid #f0f0f0;
}

.success-bg-text {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    writing-mode: vertical-rl;
    line-height: 0.8;
    z-index: 0;
    pointer-events: none;
    letter-spacing: -5px;
}

.success-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0.5rem;
    z-index: 2;
}

.success-logo {
    height: 30px;
    object-fit: contain;
}

.success-tagline {
    text-align: right;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.success-card-middle {
    display: flex;
    padding: 0 1.5rem;
    gap: 1.5rem;
    z-index: 2;
    position: relative;
    align-items: center;
}

.success-student-col {
    flex: 0 0 140px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-image-container {
    width: 140px;
    height: 150px;
    border-radius: 16px;
    border: 5px solid var(--color-primary);
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
    box-shadow: 0 8px 15px rgba(211, 24, 32, 0.2);
}

.success-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.success-name-plate {
    background-color: var(--color-primary);
    border: 2px solid #FFD700; /* Gold border */
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    text-align: center;
    width: 115%;
    margin-top: -1rem; /* Overlap image */
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.success-name-plate .congrats {
    display: block;
    font-family: 'Brush Script MT', cursive, var(--font-body);
    color: #FFD700;
    font-size: 0.8rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.success-name-plate .name {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
}

.success-text-col {
    flex: 1;
}

.success-text-col .started-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.success-text-col .offer-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-black);
    line-height: 1.1;
}

.success-card-bottom {
    padding: 1rem 1.5rem 1.5rem;
    z-index: 2;
}

.success-details-box {
    background-color: var(--color-primary);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: white;
    box-shadow: 0 5px 15px rgba(211, 24, 32, 0.3);
}

.success-details-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.success-details-box li {
    font-size: 0.75rem;
    font-family: var(--font-body);
    display: flex;
    line-height: 1.3;
}

.success-details-box li span:first-child {
    font-weight: 700;
    width: 100px;
    flex-shrink: 0;
}

.success-details-box li span:last-child {
    font-weight: 500;
    text-transform: uppercase;
}

.success-card-footer {
    background-color: var(--color-black);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
}

.success-card-footer span {
    flex: 1;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.success-card-footer span:last-child {
    border-right: none;
}

/* Confetti decorations */
.success-card::before,
.success-card::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    background-color: #FFD700;
    border-radius: 4px;
    z-index: 0;
    opacity: 0.7;
}

.success-card::before {
    top: 30px;
    left: 45%;
    transform: rotate(45deg);
}

.success-card::after {
    top: 70%;
    right: 5%;
    transform: rotate(-30deg);
}

.success-card .confetti-3 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    top: 80px;
    right: 30%;
    opacity: 0.6;
    z-index: 0;
}

/* ==========================================================================
   Lead Generation Popup
   ========================================================================== */
.lead-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(14, 14, 16, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 400ms;
}

.lead-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.lead-popup-container {
    background-color: var(--color-white);
    width: 95%;
    max-width: 920px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(14, 14, 16, 0.25), 0 0 0 1px rgba(14, 14, 16, 0.05);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 400ms;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    opacity: 0;
}

.lead-popup-overlay.visible .lead-popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lead-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(14, 14, 16, 0.04);
    border: 1px solid rgba(14, 14, 16, 0.06);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.lead-popup-close:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(211, 24, 32, 0.2);
}

.lead-popup-close i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Left Side (Banner) */
.lead-popup-left {
    flex: 0 0 42%;
    background: linear-gradient(135deg, #b3141b 0%, #d31820 40%, #200405 100%);
    position: relative;
    overflow: hidden;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
}

/* Soft radial glow overlay */
.lead-popup-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.lead-popup-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 80%);
    z-index: 1;
}

.lead-popup-left-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popup-logo {
    height: 36px;
    width: auto;
    margin-bottom: auto; /* Pushes text to the middle/bottom */
    filter: brightness(0) invert(1);
    align-self: flex-start;
}

.popup-text-content {
    margin-top: auto;
}

.lead-popup-left h2 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: var(--color-white);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead-popup-left p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Trust checklist bullets */
.popup-features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.popup-features-list li i {
    width: 18px;
    height: 18px;
    color: #FFD700; /* Gold pop color */
    flex-shrink: 0;
}

.popup-features-list li span {
    font-weight: 600;
}

/* Right Side (Form) */
.lead-popup-right {
    flex: 0 0 58%;
    padding: 3.5rem 3rem;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lead-popup-header-mobile {
    display: none;
}

.lead-popup-form .form-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.lead-popup-form .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.lead-popup-form .form-group {
    margin-bottom: 1rem;
}

.lead-popup-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.lead-popup-form .required {
    color: var(--color-primary);
}

/* Input wrappers with icons */
.popup-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.popup-input-wrapper .input-icon {
    position: absolute;
    left: 1.1rem;
    width: 18px;
    height: 18px;
    color: #9CA3AF;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.lead-popup-form input,
.lead-popup-form select,
.lead-popup-form textarea {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 2.8rem; /* padding-left space for icon */
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

/* Fix dropdown arrow overlapping background and set arrow styling */
.lead-popup-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.1rem;
    padding-right: 2.8rem;
}

.lead-popup-form input::placeholder,
.lead-popup-form textarea::placeholder {
    color: #9CA3AF;
}

/* Input Focus States */
.lead-popup-form input:focus,
.lead-popup-form select:focus,
.lead-popup-form textarea:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(213, 24, 32, 0.08);
}

.popup-input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

.popup-input-wrapper.textarea-wrapper .textarea-icon {
    top: 1.1rem;
}

.lead-popup-form textarea {
    padding-top: 0.9rem;
    resize: none;
}

.lead-popup-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.popup-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

/* Visual CTA Hierarchy: Primary Form Button vs WhatsApp Outline */
.lead-popup-form .btn-primary.popup-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
}

.lead-popup-form .btn-primary.popup-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 24, 32, 0.25);
}

.popup-whatsapp-btn {
    background-color: transparent !important;
    border: 2px solid #25D366 !important;
    color: #25D366 !important;
    box-shadow: none !important;
}

.popup-whatsapp-btn:hover {
    background-color: #25D366 !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2) !important;
}

.popup-success-msg {
    display: flex;
    align-items: center;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #c8e6c9;
}

/* Responsive adjustments */
@media (max-width: 868px) {
    .lead-popup-container {
        flex-direction: column;
        max-width: 500px;
        max-height: 95vh;
    }
    
    .lead-popup-left {
        display: none;
    }
    
    .lead-popup-header-mobile {
        display: block;
        text-align: center;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }
    
    .lead-popup-header-mobile h2 {
        font-size: 1.75rem;
        color: var(--color-text-dark);
        margin-bottom: 0.5rem;
        font-weight: 800;
    }
    
    .lead-popup-header-mobile p {
        font-size: 0.95rem;
        color: var(--color-text-muted);
    }
    
    .lead-popup-right {
        padding: 3rem 2rem 2.5rem;
        flex: 1;
    }
    
    .lead-popup-form .form-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0;
    }
    
    .lead-popup-form .form-row .form-group {
        margin-bottom: 1rem;
    }
    
    .lead-popup-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }
    
    .popup-btn {
        width: 100%;
        padding: 0.85rem 1.2rem;
    }
}

/* ==========================================================================
   Contact Links
   ========================================================================== */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
    align-items: center;
    width: 100%;
}

.popup-input-wrapper .input-icon {
    position: absolute;
    left: 1.1rem;
    width: 18px;
    height: 18px;
    color: #9CA3AF;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.lead-popup-form input,
.lead-popup-form select,
.lead-popup-form textarea {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 2.8rem; /* padding-left space for icon */
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

/* Fix dropdown arrow overlapping background and set arrow styling */
.lead-popup-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.1rem;
    padding-right: 2.8rem;
}

.lead-popup-form input::placeholder,
.lead-popup-form textarea::placeholder {
    color: #9CA3AF;
}

/* Input Focus States */
.lead-popup-form input:focus,
.lead-popup-form select:focus,
.lead-popup-form textarea:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(213, 24, 32, 0.08);
}

.popup-input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

.popup-input-wrapper.textarea-wrapper .textarea-icon {
    top: 1.1rem;
}

.lead-popup-textarea {
    padding-top: 0.9rem;
    resize: none;
}

.lead-popup-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.popup-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

/* Visual CTA Hierarchy: Primary Form Button vs WhatsApp Outline */
.lead-popup-form .btn-primary.popup-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
}

.lead-popup-form .btn-primary.popup-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 24, 32, 0.25);
}

.popup-whatsapp-btn {
    background-color: transparent !important;
    border: 2px solid #25D366 !important;
    color: #25D366 !important;
    box-shadow: none !important;
}

.popup-whatsapp-btn:hover {
    background-color: #25D366 !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2) !important;
}

.popup-success-msg {
    display: flex;
    align-items: center;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #c8e6c9;
}

/* Responsive adjustments */
@media (max-width: 868px) {
    .lead-popup-container {
        flex-direction: column;
        max-width: 500px;
        max-height: 95vh;
    }
    
    .lead-popup-left {
        display: none;
    }
    
    .lead-popup-header-mobile {
        display: block;
        text-align: center;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }
    
    .lead-popup-header-mobile h2 {
        font-size: 1.75rem;
        color: var(--color-text-dark);
        margin-bottom: 0.5rem;
        font-weight: 800;
    }
    
    .lead-popup-header-mobile p {
        font-size: 0.95rem;
        color: var(--color-text-muted);
    }
    
    .lead-popup-right {
        padding: 3rem 2rem 2.5rem;
        flex: 1;
    }
    
    .lead-popup-form .form-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0;
    }
    
    .lead-popup-form .form-row .form-group {
        margin-bottom: 1rem;
    }
    
    .lead-popup-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }
    
    .popup-btn {
        width: 100%;
        padding: 0.85rem 1.2rem;
    }
}

/* ==========================================================================
   Contact Links
   ========================================================================== */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-primary);
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .lucide-spin { animation: spin 1s linear infinite; }

/* Center 7th course card on homepage */
@media (min-width: 1201px) {
    .courses-grid .course-card.center-card {
        grid-column: 2;
    }
}
@media (min-width: 769px) and (max-width: 1200px) {
    .courses-grid .course-card.center-card {
        grid-column: 1 / span 2;
        justify-self: center;
        width: 100%;
        max-width: 450px;
    }
}

/* ==========================================================================
   Desktop Home Page Background Video & Readable Typography
   ========================================================================== */
@media (min-width: 1201px) {
    /* 1. Transparent navbar style overrides */
    .home-page .navbar:not(.scrolled) .nav-links a {
        color: var(--color-white);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }
    
    .home-page .navbar:not(.scrolled) .nav-links a:hover,
    .home-page .navbar:not(.scrolled) .nav-links a.active {
        color: var(--color-primary);
    }

    .home-page .navbar:not(.scrolled) .logo img {
        filter: brightness(0) invert(1);
    }

    /* 2. Position the hero graphic area as a full-width background video */
    .home-page .hero-graphic-area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        perspective: none;
        display: block;
    }

    .home-page .video-3d-card-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        transform-style: flat;
    }

    .home-page .video-3d-card {
        width: 100%;
        height: 100%;
        transform: none !important;
        border-radius: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .home-page .video-screen-frame {
        border-radius: 0;
        height: 100%;
        width: 100%;
        transform: none;
    }

    /* Dark overlay over the video background to ensure text legibility */
    .home-page .video-overlay {
        background: rgba(0, 0, 0, 0.6) !important;
        z-index: 2;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .home-page .video-control-bar {
        display: none;
    }

    /* 3. Make the content text white and readable */
    .home-page .hero-title {
        color: var(--color-white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    }

    .home-page .hero-subtitle {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }

    .home-page .stat-text h4 {
        color: var(--color-white);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }

    .home-page .stat-icon-wrapper {
        background-color: rgba(255, 255, 255, 0.15);
        color: #ff4d4d;
    }

    .home-page .hero-map-overlay {
        display: none;
    }
}