/* Save this as style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* CHANGED: Google Theme Colors */
    --primary-blue: #4285F4;    /* Google Blue */
    --primary-yellow: #FBBC05; /* Google Yellow */
    --dark-blue: #1967D2;     /* Darker Google Blue */
    --light-blue: #8ab4f8;     /* Lighter Google Blue */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-700: #495057;
    --white: #ffffff;
    --black: #1a1a1a;
}

body {
    /* CHANGED: Font family */
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden !important;
}


/* ================================================= */
/* Hero Section (Original)                           */
/* ================================================= */
.hero {
    background: linear-gradient(135deg, #1e4db7 0%, #0c2d6b 100%);
    padding: 5px 1rem 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(252,195,17,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: moveBackground 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,77,183,0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    /* Typing Text Cursor Effect */
.txt-type > .txt {
    border-right: 0.2rem solid #38bdf8;
    color: #38bdf8; /* Highlight color for changing text */
}
}

.hero-content .highlight {
    color: var(--primary-yellow);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 195, 17, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 2;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-visual-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInFromTop 0.8s ease forwards;
}

.hero-visual-item:nth-child(1) { animation-delay: 0.2s; opacity: 0; }
.hero-visual-item:nth-child(2) { animation-delay: 0.4s; opacity: 0; }
.hero-visual-item:nth-child(3) { animation-delay: 0.6s; opacity: 0; }

.hero-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.hero-visual-content h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.hero-visual-content p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin: 0;
}

/* Original Hero Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 120px 1rem 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}


/* ================================================= */
/* Hero Section: "Career Path" Design                */
/* ================================================= */

.hero.hero-path {
    background: var(--white); /* Clean white background */
    color: var(--black);
    padding: 80px 1rem 80px;
    position: relative;
    overflow: hidden;
}

.hero-container-path {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 split */
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* --- Left Side: Content --- */
.hero-content-path h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--black);  
    margin-bottom: 1.5rem;
    line-height: 1.2;
    
}

.hero-content-path h1 .highlight {
    color: var(--primary-blue);
}

.hero-content-path p {
    font-size: 1.2rem;
    color: var(--gray-700);  
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
}

/* Social Proof Bar */
.hero-social-proof {
    margin-top: 2.5rem;
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
}
.hero-social-proof strong {
    color: var(--primary-blue);
}

/* --- Button Styles (for light background) --- */
.hero-path .btn-primary {
    background: var(--primary-blue); /* Strong blue CTA */
    color: var(--white);
    box-shadow: 0 8px 25px rgba(36, 70, 135, 0.3);
}
.hero-path .btn-primary:hover {
    background: var(--dark-blue);
    box-shadow: 0 10px 30px rgba(36, 70, 135, 0.4);
    transform: translateY(-3px);
}
.hero-path .btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--gray-200);
}
.hero-path .btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--primary-blue);
}

/* --- Right Side: Visual --- */
.hero-path-visual {
    position: relative;
    height: 450px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
   
}
/* The S-curve SVG line */
.path-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    z-index: 1;
}

/* Animate the path line drawing itself */

/* 1. Target the foreground path */
#path-progress {
    /* distinct dashes: 15px dash, 15px gap */
    stroke-dasharray: 25 25; 
    
    /* Rounds the ends of the dashes for a cleaner look */
    stroke-linecap: round; 
    
    /* Calls the animation defined below */
    animation: flowData 23s linear infinite; 
}

/* 2. Define the movement animation */
@keyframes flowData {
    from {
        /* Starts the dashes shifted back */
        stroke-dashoffset: 300; 
    }
    to {
        /* Moves them to 0, creating the flowing illusion */
        stroke-dashoffset: 0; 
    }
}


/* The milestone cards */
.path-milestone {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(36, 70, 135, 0.1);
    border: 1px solid var(--gray-200);
    position: absolute;
    z-index: 10;
    width: 250px;
    /* Animation */
    opacity: 0;
    animation: pop-in 0.5s ease-out forwards;
}
.path-milestone:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(36, 70, 135, 0.15);
}

.milestone-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: var(--gray-100);
}

.milestone-text strong {
    font-size: .9rem;
    color: var(--black);
    display: block;
}
.milestone-text span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.milestone-link {
    text-decoration: none; 
    color: inherit;     
    display: contents; /* This makes the <a> tag 'disappear' from layout */
}

/* Positioning for milestone cards */
.milestone-1 {
    top: 25px;
    left: 0;
    animation-delay: 0.8s;
    
}
.milestone-2 {
    top: 125px;
    right: 0;
    animation-delay: 1.2s;
}
.milestone-3 {
    top: 235px;
    left: 0;
    animation-delay: 1.6s;
}
.milestone-4 {
    top: 345px;
    right: 0;
    animation-delay: 2.0s;
}
@keyframes pop-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* --- Hero Path Responsive --- */

/* Tablet View (641px - 968px) */
@media (min-width: 641px) and (max-width: 968px) {
    .hero.hero-path {
        padding: 60px 2rem 60px;
    }

    .hero-container-path {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content-path {
        text-align: center;
        order: 1;
    }

    .hero-content-path h1 {
        font-size: 2.5rem;
    }

    .hero-content-path p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-path-visual {
        order: 2;
        height: 450px;
        max-width: 480px;
        margin: 0 auto;
    }

    .path-milestone {
        width: 200px;
    }

    .milestone-2,
    .milestone-4 {
        right: 40px;
    }

    .milestone-1,
    .milestone-3 {
        left: 40px;
    }
}

/* Mobile View (max-width: 640px) */
@media (max-width: 640px) {
    .hero.hero-path {
        padding: 40px 1rem 60px;
    }

    .hero-container-path {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content-path {
        text-align: center;
        order: 1;
    }

    .hero-content-path h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .hero-path-visual {
        order: 2;
        height: 500px;
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        position: relative;
        overflow: visible;
    }

    .hero-path-visual .path-line {
        width: 100%;
        max-width: 280px;
        height: 100%;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 1;
        overflow: visible;
    }

    .hero-path-visual .path-line svg {
        width: 100%;
        height: 100%;
    }

    .hero-path-visual .path-line path {
        stroke-width: 8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .hero-path-visual .path-line #path-progress {
        stroke-width: 8;
        opacity: 1;
    }

    .hero-path-visual .path-line path:first-of-type {
        stroke: rgba(200, 210, 230, 0.4);
        stroke-width: 8;
    }

    .hero-path-visual .path-milestone {
        width: 170px;
        padding: 0.6rem 0.8rem;
        gap: 0.7rem;
        height: 95px;
        overflow: visible;
        z-index: 10;
        box-shadow: 0 8px 24px rgba(36, 70, 135, 0.15);
        position: absolute;
        background: white;
        border-radius: 16px;
    }

    .hero-path-visual .milestone-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 10px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-path-visual .milestone-text {
        flex: 1;
        min-width: 0;
    }

    .hero-path-visual .milestone-text strong {
        font-size: 0.8rem;
        line-height: 1.3;
        display: block;
        margin-bottom: 0.15rem;
        color: var(--black);
    }

    .hero-path-visual .milestone-text span {
        font-size: 0.75rem;
        line-height: 1.35;
        display: block;
        color: var(--gray-700);
    }

    .hero-path-visual .milestone-arrow {
        font-size: 1.2rem;
        color: var(--primary-blue);
    }

   /* ✅ CARD POSITIONS - Aligned with SVG curve */
    .hero-path-visual .milestone-1 {
        top: 25px !important;
        left: 6px !important;
    }

    .hero-path-visual .milestone-2 {
        top: 125px !important;
        right: 20px !important;
        left: auto !important;
    }

    .hero-path-visual .milestone-3 {
        top: 245px !important;
        
        left: 6px !important;
    }

    .hero-path-visual .milestone-4 {
        top: 345px !important;
        right: 6px !important;
        left: auto !important;
    }

    .hero-social-proof {
        font-size: 0.9rem;
    }
}

/* Extra Small Phones (320px - 375px) */
@media (max-width: 375px) {
    .hero-path-visual {
        height: 510px;
        padding: 0 3px;
    }

    .hero-path-visual .path-line {
        max-width: 260px;
    }

    .hero-path-visual .path-line path,
    .hero-path-visual .path-line #path-progress {
        stroke-width: 7;
    }

    .hero-path-visual .path-milestone {
        width: 158px;
        padding: 0.65rem 0.75rem;
    }

    .hero-path-visual .milestone-icon {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
    }

    .hero-path-visual .milestone-text strong {
        font-size: 0.78rem;
    }

    .hero-path-visual .milestone-text span {
        font-size: 0.72rem;
    }

    /* Slightly tighter positioning */
    .hero-path-visual .milestone-1 { top: 22px; left: 4px; }
    .hero-path-visual .milestone-2 { top: 148px; right: 4px; }
    .hero-path-visual .milestone-3 { top: 274px; left: 4px; }
    .hero-path-visual .milestone-4 { top: 400px; right: 4px; }
}


/* ================================================= */
/* Statistics Section                                */
/* ================================================= */
.stats-section {
    padding: 60px 2rem 80px;
    background: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(36, 70, 135, 0.1);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow));
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(36, 70, 135, 0.2);
    border-color: var(--primary-yellow);
}

.stat-card .stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 500;
}

/* --- Stats Section Responsive --- */
@media (max-width: 768px) {
    .stats-section {
        padding: 60px 1rem 60px;
    }

    .stats-container {
        /* Force 2 columns */
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        max-width: none;
        padding: 2rem 1.5rem;
    }

    .stat-card .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .stat-card .stat-number {
        font-size: 2.5rem;
    }

    .stat-card .stat-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}


/* ================================================= */
/* Section Headers (Used by multiple sections)       */
/* ================================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section-subtitle {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Section Headers Responsive --- */
@media (max-width: 968px) {
    .section-title {
        font-size: 2rem;
    }
}


/* ================================================= */
/* Features Section                                  */
/* ================================================= */
.features {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-yellow) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(36, 70, 135, 0.2);
    border-color: var(--primary-yellow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(36, 70, 135, 0.3);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--gray-700);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* --- Features Section Responsive --- */
@media (max-width: 768px) {
    .features {
        padding: 60px 1rem;
    }
    
    .features-grid {
        /* Change from a multi-column grid to a 1-column list */
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        /* Change the card to a horizontal flexbox */
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .feature-icon {
        flex-shrink: 0;
        margin-bottom: 0;
        /* Smaller size for the horizontal layout */
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .feature-card:hover .feature-icon {
        transform: none;
        box-shadow: none;
    }

    /* We need a wrapper for the text, which you should add to your HTML:
       <div class="feature-text-content">
           <h3 class="feature-title">...</h3>
           <p class="feature-description">...</p>
       </div>
       If you can't add HTML, this will still work, but the
       <div class="feature-text-content"> wrapper is cleaner.
    */
    
    .feature-title {
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ================================================= */
/* 🎨 New Multi-Color Card Backgrounds               */
/* ================================================= */

/* Card 1: Light Blue */
.feature-card:nth-child(1) {
    background-color: #E8F0FE; /* Google Blue Light */
}

/* Card 2: Light Green */
.feature-card:nth-child(2) {
    background-color: #E6F4EA; /* Google Green Light */
}

/* Card 3: Light Yellow */
.feature-card:nth-child(3) {
    background-color: #FEF7E0; /* Google Yellow Light */
}

/* Card 4: Light Red/Pink */
.feature-card:nth-child(4) {
    background-color: #FCE8E6; /* Google Red Light */
}

/* Card 5: Light Purple */
.feature-card:nth-child(5) {
    background-color: #F3E8FD;
}

/* Card 6: Light Teal */
.feature-card:nth-child(6) {
    background-color: #E0F7FA;
}

/* ================================================= */
/* Courses Section                                   */
/* ================================================= */
.courses {
    padding: 80px 2rem;
    background: var(--white);
    overflow-x: hidden;
}

.courses-container {
    max-width: 1400px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--gray-200);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252,195,17,0.2), transparent);
    transition: left 0.5s ease;
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(36, 70, 135, 0.25);
    border-color: var(--primary-yellow);
}

.course-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    padding: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover .course-header {
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
}

.course-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--primary-yellow);
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.5s ease;
}

.course-card:hover .course-header::after {
    transform: scale(1.5) translate(-20px, 20px);
    opacity: 0.2;
}


.course-category {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.course-body {
    padding: 1.5rem 2rem 2rem;
}

.course-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-list li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-list li:before {
    content: '✓';
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

.course-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-link:hover {
    color: var(--light-blue);
}

/* Swipeable Course Cards (Mobile) */
.courses-scroll-container {
    display: none;
}

/* --- Courses Section Responsive --- */
@media (max-width: 968px) {
    .courses {
        padding: 60px 1rem;
    }
    
    .courses-grid {
        display: none; /* Hide the desktop grid */
    }

    .courses-scroll-container {
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 2rem 0;
        margin: 0 -1rem; /* Adjust margin slightly to prevent full-width overflow */
        
        /* FIX: Hide the scrollbar visually */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;     /* Firefox */
    }
    
    /* FIX: Hide scrollbar in Chrome/Safari/Opera */
    .courses-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .courses-scroll-wrapper {
        display: flex;
        gap: 1.5rem;
        padding: 0 1rem; /* Align padding with container margin */
        padding-right: 4rem; /* Ensures the last card isn't cut off awkwardly */
    }

    .courses-scroll-container .course-card {
        min-width: 85vw; /* Use viewport width for better responsiveness */
        max-width: 350px;
        scroll-snap-align: center;
        flex-shrink: 0;
        /* Keep existing card styles for mobile */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        border: none;
    }

    .scroll-indicator {
        text-align: center;
        color: var(--gray-700);
        font-size: 0.9rem;
        margin-top: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .scroll-dots {
        display: flex;
        gap: 0.5rem;
        cursor: pointer; /* Implies clickability */
    }

    .scroll-dot {
        width: 8px;
        height: 8px;
        background: var(--gray-200);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .scroll-dot.active {
        background: var(--primary-blue);
        width: 24px;
        border-radius: 4px;
    }
    
    .scroll-dot:hover:not(.active) {
        background: var(--gray-700); /* Show hover state */
    }
}
/* You can remove the 'Compact course cards on smaller screens' media query if it is redundant after this */

/* Compact course cards on smaller screens */
@media (max-width: 768px) {
    .courses {
        padding: 60px 1rem;
    }
    
    .courses-scroll-container .course-card .course-header {
        padding-top: 1.5rem;
    }

    .courses-scroll-container .course-title {
        font-size: 1.3rem; /* Slightly smaller title */
    }

    .courses-scroll-container .course-list {
        margin-bottom: 1rem;  
    }

    .courses-scroll-container .course-list li {
        padding: 0.25rem 0;
        font-size: 0.9rem;
    }
    
    .courses-scroll-container .course-list li:before {
        font-size: 1rem;
    }

    .courses-scroll-container .course-link {
        font-size: 0.9rem;
    }
}


/* ================================================= */
/* About Section                                     */
/* ================================================= */
.about {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #2d5aa8 0%, #1e3a70 50%, #2d5aa8 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(252,195,17,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: moveBackground 30s linear infinite;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    text-align: center; /* Center just the title */
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease forwards;
}

.about-content .highlight-text {
    color: var(--primary-yellow);
    display: inline-block;
    position: relative;
}

/* --- Humanized About Section --- */
.about-main-content {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Image: 1 part, Text: 2 parts */
    gap: 3rem;
    align-items: center;
    margin-top: 4rem; /* Space below the h2 title */
}

.about-founder-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
}

.about-founder-image img {
    width: 100%;
    border-radius: 16px;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    margin-bottom: 1rem;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.founder-caption {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.founder-caption strong {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
}

.about-description {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
}
.about-description-highlight {
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 2rem;
    font-weight: 600;
    padding: 1.5rem;
    background: rgba(252, 195, 17, 0.1);
    border-left: 4px solid var(--primary-yellow);
    border-radius: 8px;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
}
.about-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.about-icon-item {
    text-align: center;
    flex: 0 1 200px;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(252, 195, 17, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 195, 17, 0.2), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-icon-item:hover .icon-circle {
    transform: translateY(-10px) scale(1.1);
    border-color: var(--primary-yellow);
    box-shadow: 0 15px 40px rgba(252, 195, 17, 0.4);
    animation: float 2s ease-in-out infinite;
}

.about-icon-item:hover .icon-circle::before {
    transform: translateY(0);
}

.about-icon-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 1rem;
}

/* --- About Section Responsive --- */
@media (max-width: 968px) {
    .about {
        padding: 60px 1rem;
    }
    
    .about-main-content {
        grid-template-columns: 1fr; /* Stack them */
        gap: 2.5rem;
    }
    
    .about-founder-image {
        max-width: 300px;
        grid-row: 1; /* Ensure image comes first */
    }

    .about-text-content {
        text-align: center; /* Center the text on mobile */
    }
    
    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-description,
    .about-description-highlight {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-icons {
        gap: 2rem;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .about-icon-item p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 60px 1rem;
    }
    .about-content h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .about-description,
    .about-description-highlight {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .about-icons {
        gap: 1.5rem;
    }

    .icon-circle {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .about-icon-item {
        flex: 0 1 140px;
    }

    .about-icon-item p {
        font-size: 0.9rem;
    }
}

/* Tablet specific */
@media (min-width: 641px) and (max-width: 968px) {
    .about-content h2 {
        font-size: 2.5rem;
    }

    .about-icons {
        gap: 2.5rem;
    }

    .icon-circle {
        width: 110px;
        height: 110px;
        font-size: 3rem;
    }
}

/* Large desktop */
@media (min-width: 1400px) {
    .about-content h2 {
        font-size: 3.5rem;
    }

    .about-description {
        font-size: 1.3rem;
    }

    .about-description-highlight {
        font-size: 1.4rem;
    }
}


/* ================================================= */
/* Companies Section                                 */
/* ================================================= */
.companies-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.companies-container {
    max-width: 1400px;
    margin: 0 auto;
}
    
/* Uses the .section-header styles */

/* Scrolling Logo Animation */
.companies-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--white);
    padding: 3rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.companies-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.companies-track:hover {
    animation-play-state: paused;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
    min-width: 200px;
    height: 100px;
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.1);
}

.company-logo img {
    max-width: 150px;
    max-height: 60px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ================================================= */
/* CTA Section (Updated for Functionality)           */
/* ================================================= */
.cta-section {
    padding: 80px 2rem;
    /* Using your theme gradient */
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    min-height: 400px; /* Ensures height doesn't collapse */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.cta-submit {
    padding: 1rem 2rem;
    background: var(--primary-yellow); /* Matches your theme button */
    color: var(--primary-blue);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-submit:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 52, 97, 0.3);
}

/* --- Success Message Styles --- */
#success-view {
    animation: slideUp 0.5s ease-out;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.checkmark {
    color: var(--primary-blue);
    font-size: 40px;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .cta-section {
        padding: 60px 1rem;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .cta-form {
        flex-direction: column;
    }
    .cta-input, .cta-submit {
        width: 100%;
    }
}

/* ================================================= */
/* Blog Section                                      */
/* ================================================= */
.blog-section {
    padding: 80px 2rem;
    background: var(--gray-100);
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(36, 70, 135, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(252,195,17,0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.blog-image span {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--light-blue);
}


/* ================================================= */
/* Upcoming Batches                                  */
/* ================================================= */
.batches-section {
    padding: 80px 2rem;
    background: var(--white);
}

.batches-container {
    max-width: 1400px;
    margin: 0 auto;
}

.batches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.batch-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.batch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-yellow);
}

.batch-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(36, 70, 135, 0.15);
}

.batch-tag {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.batch-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.batch-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.batch-details li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.batch-details li::before { content: '📅'; }
.batch-details li:nth-child(2)::before { content: '⏰'; }
.batch-details li:nth-child(3)::before { content: '💺'; }

.batch-enroll {
    display: block;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.batch-enroll:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}


/* ================================================= */
/* Free Resources - CORRECTED FOR LIGHT GRADIENT     */
/* ================================================= */
/* ================================================= */
/* Free Resources - WITH PATTERN BACKGROUND           */
/* ================================================= */

.resources-section {
    padding: 80px 2rem;
    /* Main Dark Gradient */
    background: linear-gradient(135deg, #1f3f6e 0%,#94d4e2 100%) !important; 
    color: var(--white); 
    position: relative; /* CRITICAL: Allows the pattern overlay to be positioned */
    overflow: hidden; /* Ensures the pattern doesn't bleed out */
}

/* --- Pattern Overlay --- */
.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Ensures pattern is behind content */
    opacity: 0.1; /* Very subtle transparency */
    
    /* Subtle Diagonal Line Pattern (You can adjust '20' for size) */
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v20H0V0zm19 19h1v1h-1v-1z'/%3E%3C/g%3E%3C/svg%3E");
    
    /* Uncomment the line below for a subtle dot pattern instead: */
    /* background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='10' cy='10' r='1'%3E%3C/circle%3E%3C/g%3E%3C/svg%3E"); */
}

.resources-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative; /* CRITICAL: Ensures content is on top of the pattern (z-index: 1 or higher) */
    z-index: 1;
}



.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    /* 3. CRITICAL FIX: Make cards opaque and solid white for visibility on light BG */
background: transparent;
    backdrop-filter: none; /* Disable blur */
    border: 1px solid var(--white);; /* Thin light border */
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    /* Card text should be dark (inherits from .resources-section) */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.resource-card:hover {
    background: var(--gray-700);
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    /* Make the icon stand out with theme color */
    color: var(--primary-blue); 
}

.resource-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.resource-description {
    margin-bottom: 1.5rem;
    /* Darken description text slightly */
    color: var(--white); 
    opacity: 1;
}

.resource-download {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-download:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(252, 195, 17, 0.4);
}
/* ================================================= */
/* Mobile App Promotion                              */
/* ================================================= */
.app-promotion {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.app-promotion::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(252,195,17,0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.app-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.app-download-section {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.download-button img {
    width: 35px;
    height: 35px;
}

.qr-code-container {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--gray-200);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.qr-label {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 600;
}

.app-screenshots {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-end;
}

.app-screenshot {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-10px);
}

.app-screenshot:nth-child(1) { width: 200px; height: 400px; animation: float 4s ease-in-out infinite; }
.app-screenshot:nth-child(2) { width: 220px; height: 440px; animation: float 4s ease-in-out infinite 1s; }
.app-screenshot:nth-child(3) { width: 200px; height: 400px; animation: float 4s ease-in-out infinite 2s; }

.app-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background: #f0f0f0;
}

/* --- App Promotion Responsive --- */
@media (max-width: 968px) {
    .app-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-promotion .app-content {
        order: 2;
        text-align: center;
    }

    /* 2x2 Resized Grid */
    .app-promotion .app-features {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .app-promotion .app-feature-item {
        gap: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .app-promotion .app-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .app-promotion .app-download-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        place-items: center;
        gap: 1rem;
    }
        
    .app-promotion .app-screenshots {
        order: 1;
        justify-content: center;
    }

    /* Hide side phones on mobile */
    .app-promotion .app-screenshot:nth-child(1),
    .app-promotion .app-screenshot:nth-child(3) {
        display: none;
    }

    .app-promotion .app-screenshot:nth-child(2) {
        width: 280px;
        height: 560px;
        margin: 0 auto;
        animation: none;
    }
}


/* ================================================= */
/* Footer                                            */
/* ================================================= */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 2rem 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-yellow);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}


/* ================================================= */
/* Mobile Menu Toggle                                */
/* ================================================= */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* --- Mobile Menu Responsive --- */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }
}


/* ================================================= */
/* Preloader                                         */
/* ================================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(255,255,255,0.2);
    border-top: 6px solid var(--primary-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(252,195,17,0.3);
}

.loader-text {
    color: var(--white);
    margin-top: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ================================================= */
/* Newsletter Popup                                  */
/* ================================================= */
.newsletter-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 2rem;
    max-width: 400px;
    z-index: 1000;
    display: none;
    animation: slideUp 0.5s ease;
}

.newsletter-popup.show {
    display: block;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--black);
}

.popup-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-input {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
}

.popup-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.popup-submit {
    padding: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-submit:hover {
    background: var(--dark-blue);
}

/* --- Newsletter Popup Responsive --- */
@media (max-width: 768px) {
    .newsletter-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}


/* ================================================= */
/* Cookie Consent                                    */
/* ================================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-blue);
    color: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text a {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept, .cookie-decline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

.cookie-accept:hover {
    background: #ffd54f;
}

.cookie-decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-decline:hover {
    background: rgba(255,255,255,0.1);
}

/* --- Cookie Consent Responsive --- */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}


/* ================================================= */
/* FLOATING WIDGETS (WhatsApp & Live Chat)           */
/* (Consolidated from multiple "FIX" blocks)         */
/* ================================================= */

/* 1. WhatsApp Widget - Bottom Left */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 998; /* Lower priority */
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    white-space: nowrap;
    display: none;
    animation: fadeInUp 0.3s ease;
}

.whatsapp-widget:hover .whatsapp-tooltip {
    display: block;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--white);
}

/* 2. Live Chat Widget - Bottom Right */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    font-family: 'Roboto', sans-serif;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(36, 70, 135, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: relative;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(36, 70, 135, 0.6);
}

.chat-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

/* 3. Chat Window Popup */
.chat-window {
    position: fixed;
    bottom: 90px; /* 70px above chat button */
    right: 20px;
    width: 380px;
    height: 550px;
    max-height: calc(100vh - 120px); /* Prevents overflow */
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000; /* Highest priority */
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.chat-avatar svg {
    width: 28px;
    height: 28px;
}

.chat-status {
    display: flex;
    flex-direction: column;
}

.chat-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.chat-online {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    padding: 0.5rem;
    margin: -0.5rem;
    flex-shrink: 0;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--gray-100);
    min-height: 0;
}

.chat-message {
    margin-bottom: 1rem;
    animation: fadeInUp 0.3s ease;
}

.message-bot {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.message-user {
    display: flex;
    justify-content: flex-end;
}

.message-avatar {
    width: 35px;
    height: 35px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.message-avatar svg {
    width: 24px;
    height: 24px;
}

.message-content {
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 70%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    word-wrap: break-word;
}

.message-user .message-content {
    background: var(--primary-blue);
    color: var(--white);
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray-700);
    margin-top: 0.25rem;
    opacity: 0.7;
}

.chat-quick-replies {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
    max-height: 120px;
    overflow-y: auto;
}

.quick-reply-btn {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.quick-reply-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.quick-reply-btn:active {
    transform: translateY(0);
}

.chat-input-area {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    min-width: 0;
}

.chat-input:focus {
    border-color: var(--primary-blue);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: var(--dark-blue);
    transform: scale(1.1);
}

.typing-indicator {
    display: flex;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-700);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* --- Floating Widgets Responsive --- */
@media (max-width: 768px) {
    /* WhatsApp stays bottom left */
    .whatsapp-widget {
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
/* Add to Floating Widgets Responsive Section */
@media (max-width: 768px) {
    /* Create a class to apply when the keyboard is open on mobile */
    .keyboard-open .whatsapp-widget,
    .keyboard-open .live-chat-widget {
        transform: translateY(-50px); /* Adjust as needed */
        transition: transform 0.3s ease;
    }
}
    /* Chat button stays bottom right */
    .live-chat-widget {
        bottom: 20px;
        right: 20px;
    }
    .chat-button {
        width: 55px;
        height: 55px;
    }

    /* Chat window - Full screen on mobile */
    .chat-window {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 95vw;
        max-width: 400px;
        height: 75vh;
        max-height: 600px;
    }

    /* Chat window content adjustments */
    .chat-header { padding: 1rem; }
    .chat-avatar { width: 40px; height: 40px; }
    .chat-avatar svg { width: 24px; height: 24px; }
    .chat-title { font-size: 1rem; }
    .chat-online { font-size: 0.75rem; }
    .chat-messages { padding: 1rem; }
    .message-content { max-width: 80%; font-size: 0.9rem; }
    .chat-quick-replies { padding: 0.75rem; gap: 0.4rem; }
    .quick-reply-btn { font-size: 0.8rem; padding: 0.5rem 0.8rem; }
    .chat-input-area { padding: 0.75rem; }
    .chat-input { font-size: 0.9rem; padding: 0.65rem 0.9rem; }
    .chat-send-btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    /* Even smaller buttons on tiny screens */
    .whatsapp-button,
    .chat-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button svg { width: 26px; height: 26px; }
    .chat-button svg { width: 26px; height: 26px; }

    /* Chat window takes more screen */
    .chat-window {
        width: 98vw;
        height: 80vh;
    }
}


/* ================================================= */
/* Loading Skeleton Screens                          */
/* ================================================= */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.skeleton-header {
    height: 150px;
    margin-bottom: 1rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    width: 80%;
}


/* ================================================= */
/* General Animations                                */
/* ================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-10deg) scale(0.8); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes slideInFromTop {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation trigger classes */
.animate-in { animation: fadeInUp 0.8s ease forwards; }
.animate-left { animation: fadeInLeft 0.8s ease forwards; }
.animate-right { animation: fadeInRight 0.8s ease forwards; }
.animate-scale { animation: scaleIn 0.8s ease forwards; }
.animate-rotate { animation: rotateIn 0.8s ease forwards; }
.float-animation { animation: float 3s ease-in-out infinite; }

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; }
.stagger-5 { animation-delay: 0.5s; opacity: 0; }
.stagger-6 { animation-delay: 0.6s; opacity: 0; }

/* ================================================= */
/* RESPONSIVE FIX: Mobile Batch Cards Redesign (v2)  */
/* ================================================= */

@media (max-width: 768px) {
    .batches-section {
        padding: 60px 1rem;
    }

    .batches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .batch-card {
        padding: 1.5rem;
    }

    .batch-card .batch-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    /* --- NEW GRID LOGIC --- */
    .batch-card .batch-details {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2-column layout */
        gap: 1.25rem 0.75rem; /* 1.25rem row gap, 0.75rem column gap */
        margin-bottom: 1.5rem; 
    }

    .batch-card .batch-details li {
        padding: 0;
        font-size: 0.9rem;
        line-height: 1.4;
        
        /* This is the FIX for the text wrapping:
           It aligns the icon to the TOP of the text, not the middle. */
        align-items: flex-start;
    }

    /* --- NEW EXPLICIT GRID PLACEMENT --- */

    /* Start Date: Row 1, Col 1 */
    .batch-card .batch-details li:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }

    /* Duration: Row 2, Full Span */
    .batch-card .batch-details li:nth-child(2) {
        grid-row: 2;
        grid-column: 1 / -1; /* Span full width */
    }

    /* Seats Left: Row 1, Col 2 */
    .batch-card .batch-details li:nth-child(3) {
        grid-row: 1;
        grid-column: 2;
    }
    
    /* --- End of Grid Logic --- */

    .batch-enroll {
        padding: 0.875rem;
        font-size: 1rem;
    }
}
/* ================================================= */
/* 🎨 Career Path Multi-Color Cards (Corrected)       */
/* ================================================= */

/* Card 1 ("You Are Here"): Light Blue */
.path-milestone.milestone-1 {
    background-color: #E8F0FE; /* Google Blue Light */
}

/* Card 2 ("Step 1"): Light Green */
.path-milestone.milestone-2 {
    background-color: #E6F4EA; /* Google Green Light */
}

/* Card 3 ("Step 2"): Light Yellow */
.path-milestone.milestone-3 {
    background-color: #FEF7E0; /* Google Yellow Light */
}

/* Card 4 ("Goal"): Light Red */
.path-milestone.milestone-4 {
    background-color: #FCE8E6; /* Google Red Light */
}

/*==========================================================*/
/*  ...........  background-color all section  ...........  */
/*==========================================================*/

/* Update this section */
.hero.hero-path {
    background-color: var(--white);
    position: relative;
    z-index: 2; /* Keeps it above the colored stats section */
}
/* Update this section */
.stats-section {
    /* Changed from white to Dark Blue Gradient */
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 80px 2rem 80px;
    margin-top: 0; /* Removed negative margin for cleaner separation */
    position: relative;
}

/* Update the Stat Cards to look good on blue */
.stat-card {
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white); /* Text becomes white */
}

.stat-card .stat-number {
    /* Make numbers bright yellow/white to stand out on blue */
    background: none;
    -webkit-text-fill-color: var(--white); 
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9); /* Light text for label */
}

.stat-card .stat-icon {
    color: var(--primary-yellow); /* Icon becomes Yellow */
}

/* Update this section */
.stats-section {
    /* Changed from white to Dark Blue Gradient */
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 80px 2rem 80px;
    margin-top: 0; /* Removed negative margin for cleaner separation */
    position: relative;
}

/* Update the Stat Cards to look good on blue */
.stat-card {
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white); /* Text becomes white */
}

.stat-card .stat-number {
    /* Make numbers bright yellow/white to stand out on blue */
    background: none;
    -webkit-text-fill-color: var(--white); 
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9); /* Light text for label */
}

.stat-card .stat-icon {
    color: var(--primary-yellow); /* Icon becomes Yellow */
}

/* Update this section */
.courses {
    /* Changed from white to Light Blue Tint */
    background-color: #F0F4F8; 
    padding: 100px 2rem; /* Extra padding for breathing room */
}

/* Ensure cards remain white to stand out */
.course-card {
    background: var(--white);
    border: none; /* Remove border, rely on shadow */
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.1); /* Blue-ish shadow */
}


/* Update this section */
.batches-section {
    /* Changed from white to Light Green Tint */
    background-color: #E6F4EA; 
    padding: 80px 2rem;
}

.batch-card {
    background: var(--white);
    border: none;
    box-shadow: 0 8px 20px rgba(52, 168, 83, 0.15); /* Green-ish shadow */
}

/* Update the batch tag to match */
.batch-tag {
    background-color: #34A853; /* Google Green */
    color: var(--white);
}

/* Update this section */
.blog-section {
    /* Changed to a specific clean grey */
    background-color: #F8F9FA; 
    padding: 80px 2rem;
}

.blog-card {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}





/* ================================================= */
/* 🎨 SECTION COLOR OVERRIDES (Paste at bottom of CSS) */
/* ================================================= */

/* 1. HERO: Keep Clean White */
.hero.hero-path {
    background-color: #ffffff !important;
    /* Ensure no gradient from original hero bleeds in */
    background-image: none !important; 
}

/* 2. STATS: Dark Blue Background + Layout Fix */
.stats-section {
    /* Change background to Dark Google Blue */
    background: linear-gradient(135deg, #1967D2 0%, #4285F4 10%) !important;
    
    /* FIX: Remove the negative margin so it doesn't overlap weirdly */
    margin-top: 0 !important; 
    padding-top: 60px !important;
}

/* FIX: Make Stat Text White so it's visible on Blue */
.stats-section .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
}
.stats-section .stat-number {
    /* Make the number bright white/yellow */
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -webkit-text-fill-color: #ffffff !important;
}
.stats-section .stat-card {
    /* Optional: Make cards slightly transparent to blend with blue */
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2) !important;
}

/* 3. COURSES: Light Blue Tint */
.courses {
    background-color: #F0F4F8 !important; /* Light Google Blue */
}
/* Keep course cards white so they pop */
.courses .course-card {
    background-color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.1) !important;
}

/* 4. BATCHES: Light Green Tint */
.batches-section {
    background-color: #E6F4EA !important; /* Light Google Green */
}
/* Make batch cards white */
.batches-section .batch-card {
    background-color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.15) !important;
}

/* 5. BLOG: Light Grey (Keep existing or ensure specific grey) */
.blog-section {
    background-color: #F8F9FA !important;
}


/* ================================================= */
/* EXPERT POPUP MODAL                                */
/* ================================================= */

/* The Background Overlay */
.expert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dimmed background */
    backdrop-filter: blur(5px);
    z-index: 2000; /* Highest priority */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expert-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* The Modal Box */
.expert-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 750px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expert-modal-overlay.active .expert-modal-content {
    transform: scale(1);
}

/* Close "X" Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #5f6368;
    transition: color 0.2s;
}

.modal-close:hover { color: #202124; }

/* Header */
.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 0.5rem;
}

.modal-header p { color: #5f6368; }

/* Modal Grid Body */
.modal-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Left - Divider - Right */
    gap: 2rem;
    align-items: center;
}

/* Divider Line */
.modal-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.modal-divider span {
    background: #f8f9fa;
    padding: 0.5rem;
    color: #5f6368;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    z-index: 1;
}

.modal-divider::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background: #e0e0e0;
    left: 50%;
}

/* Options styling */
.contact-option {
    text-align: center;
    padding: 1rem;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg { width: 35px; height: 35px; }

.icon-wrapper.blue { background: linear-gradient(135deg, #4285F4, #1967D2); box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3); }
.icon-wrapper.green { background: linear-gradient(135deg, #34A853, #188038); box-shadow: 0 10px 20px rgba(52, 168, 83, 0.3); }

.contact-option h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.contact-option p { color: #5f6368; margin-bottom: 1.5rem; font-size: 0.9rem; }

/* Form Inputs */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-form input {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 100%;
}

.modal-form input:focus {
    outline: none;
    border-color: #4285F4;
}

/* Action Buttons */
.btn-modal-action {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
    color: white;
}

.btn-modal-action:hover { transform: translateY(-2px); }
.btn-blue { background: #4285F4; }
.btn-green { background: #34A853; }

/* Responsive Popup */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 2rem;
    }
    .modal-divider {
        height: 1px;
        width: 100%;
    }
    .modal-divider::before {
        height: 1px;
        width: 100%;
        top: 50%;
        left: 0;
    }
    .expert-modal-content {
        padding: 2rem 1.5rem;
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* ================================================= */
/* 📱 MOBILE & TABLET OPTIMIZATIONS                  */
/* ================================================= */

@media (max-width: 968px) {
    /* --- 1. Hero Section: Stack Vertically --- */
    .hero-container-path {
        grid-template-columns: 1fr !important; /* Force single column */
        gap: 3rem;
        text-align: center;
    }

    .hero-content-path {
        order: 1; /* Text on top */
        padding: 0 1rem;
    }

    .hero-content-path h1 {
        font-size: 2.5rem; /* Smaller font */
    }

    .hero-buttons {
        justify-content: center; /* Center buttons */
    }

    /* --- 2. Path Visual: Center & Scale --- */
    .hero-path-visual {
        order: 2; /* Visual on bottom */
        height: 550px; /* Taller to fit vertical stacking */
        width: 100%;
        max-width: 360px; /* Prevent it from getting too wide */
        margin: 0 auto; /* Center align */
        overflow: hidden; /* Prevent horizontal scroll */
    }

    /* Center the SVG Line */
    .path-line {
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
    }

    /* --- 3. Milestones: Shrink & Reposition --- */
    .path-milestone {
        width: 160px; /* Smaller cards */
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .milestone-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .milestone-text strong { font-size: 0.8rem; }
    .milestone-text span { font-size: 0.7rem; }

    /* Tighter positioning for mobile */
    .milestone-1 { top: 20px; left: 5px; }
    .milestone-2 { top: 140px; right: 5px; left: auto; }
    .milestone-3 { top: 260px; left: 5px; }
    .milestone-4 { top: 380px; right: 5px; left: auto; }

    /* --- 4. Expert Modal: Stack Options --- */
    .expert-modal-content {
        width: 95%; /* Full width on mobile */
        padding: 1.5rem;
        max-height: 90vh; /* Prevent cutting off on small screens */
        overflow-y: auto; /* Allow scrolling inside modal */
    }

    .modal-body {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 1.5rem;
    }

    /* Turn vertical divider into horizontal */
    .modal-divider {
        height: auto;
        margin: 1rem 0;
        width: 100%;
        
        
        
        
        
        
        /* ================================================= */
/* 📱 ULTRA-COMPACT MOBILE FIX (Max Width 640px)     */
/* ================================================= */

@media (max-width: 640px) {
    
    /* --- 1. Compact Hero Section --- */
    .hero.hero-path {
        padding: 30px 1rem 40px; /* Reduce padding */
    }

    .hero-content-path h1 {
        font-size: 2rem; /* Smaller Headline */
        margin-bottom: 1rem;
    }
    
    .hero-content-path p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    /* --- 2. Shrink the Path Visual Height --- */
    .hero-path-visual {
        height: 380px !important; /* Much shorter height */
        margin-top: 2rem;
        max-width: 320px;
    }

    /* Scale down the SVG line to fit */
    .path-line {
        transform: scaleY(0.85); 
        transform-origin: top center;
    }

    /* --- 3. Tiny Milestone Cards --- */
    .path-milestone {
        width: 135px !important; /* Narrower cards */
        padding: 0.5rem !important; /* Less padding */
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        height: auto;
        min-height: 50px;
    }

    /* Tiny Icons */
    .milestone-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 1rem !important;
        border-radius: 8px;
    }

    /* Tiny Text */
    .milestone-text strong {
        font-size: 0.75rem !important;
        line-height: 1.1;
        margin-bottom: 2px;
    }
    
    .milestone-text span {
        font-size: 0.65rem !important;
        line-height: 1;
        display: block;
    }
    
    .milestone-arrow {
        display: none; /* Hide arrow on mobile to save space */
    }

    /* --- 4. Re-Position Cards for Compact Height --- */
    /* Tighter vertical gaps */
    .milestone-1 { top: 10px !important; left: 0 !important; }
    .milestone-2 { top: 100px !important; right: 0 !important; left: auto !important; }
    .milestone-3 { top: 190px !important; left: 0 !important; }
    .milestone-4 { top: 280px !important; right: 0 !important; left: auto !important; }

    /* --- 5. Compact Expert Modal --- */
    .expert-modal-content {
        width: 90%;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .modal-header h3 { font-size: 1.4rem; }
    .modal-header p { font-size: 0.9rem; margin-bottom: 0; }
    .modal-header { margin-bottom: 1.5rem; }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    .icon-wrapper svg { width: 24px; height: 24px; }
    
    .contact-option h4 { font-size: 1rem; }
    .contact-option p { font-size: 0.85rem; margin-bottom: 1rem; }
    
    .btn-modal-action {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* ================================================= */
/* 📱 MOBILE POPUP FIX: FIT TO SCREEN                */
/* ================================================= */

@media (max-width: 768px) {
    /* 1. Slim down the main container */
    .expert-modal-content {
        padding: 1rem 1.2rem !important;
        width: 85% !important;
        max-width: 350px !important; /* Prevent it from getting too wide */
        border-radius: 16px !important;
        margin: auto;
    }

    /* 2. Compact Header */
    .modal-header {
        margin-bottom: 1rem !important;
    }
    .modal-header h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.2rem !important;
    }
    .modal-header p {
        font-size: 0.85rem !important;
        color: #666;
    }
    /* Move close button a bit tighter */
    .modal-close {
        top: 10px !important;
        right: 10px !important;
        font-size: 1.5rem !important;
    }

    /* 3. Shrink Icons (Major Space Saver) */
    .icon-wrapper {
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 0.5rem !important; /* Less bottom margin */
    }
    .icon-wrapper svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* 4. Tighten Text & Remove Subtitles if needed */
    .contact-option h4 {
        font-size: 1rem !important;
        margin-bottom: 0.1rem !important;
    }
    .contact-option p {
        font-size: 0.75rem !important;
        margin-bottom: 0.6rem !important;
        opacity: 0.8;
    }

    /* 5. Compact Buttons & Inputs */
    .btn-modal-action {
        padding: 10px !important;
        font-size: 0.9rem !important;
    }
    .modal-form input {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important; /* Tighter input spacing */
    }
    .modal-form {
        gap: 0 !important; /* Remove flex gap, rely on margin */
    }

    /* 6. Shrink the "OR" Divider */
    .modal-divider {
        margin: 0.8rem 0 !important;
    }
    .modal-divider span {
        padding: 0.3rem !important;
        font-size: 0.7rem !important;
    }
    
    /* 7. Ensure body grid is tight */
    .modal-body {
        gap: 0 !important;
    }
}

/* The container for the typing text */
.txt-type {
  color: #4285F4 !important; /* Google Blue */
  font-weight: 700;
  text-decoration: none;
}

/* The actual text span created by JavaScript */
.txt-type > .txt {
  color: #4285F4 !important; /* Ensures the inner text is also Blue */
  border-right: 0.2rem solid #777; /* The typing cursor */
}

/* FORCE HIDE PRELOADER TO TEST SPEED */
#preloader {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Add to your style.css */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 3px solid var(--primary-yellow); /* Bright, visible focus ring */
    outline-offset: 2px;
}

.cta-input:focus, .popup-input:focus, .chat-input:focus {
    border-color: var(--primary-yellow); /* Change focus color to yellow */
    box-shadow: 0 0 0 2px rgba(251, 188, 5, 0.5);
}

