/* 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);
   
}


/* Hero Section */
.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;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-40px, -40px);
    }
}

.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;
}

.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;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 195, 17, 0.4);
}

.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;
}

.hero-stats {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

        /* Statistics Section - CENTERED */
.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;
}

/* Features Section */
.features {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.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;
}

.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;
}

/* Courses Section */
.courses {
    padding: 80px 2rem;
    background: var(--white);
    overflow-x: hidden; /* <--- ADD THIS LINE */
}

.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);
}

/* 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 {
    /* text-align: center; <-- REMOVE THIS LINE */
    margin-bottom: 4rem;
}
.about-content h2 {
    text-align: center; /* Center just the title */
}

.about-content h2 {
    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;
}

.about-description {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 2rem;
    opacity: 0.95;
    /* max-width: 1000px; <-- REMOVE THIS */
    /* margin-left: auto; <-- REMOVE THIS */
    /* margin-right: auto; <-- REMOVE THIS */
    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;
    /* max-width: 1000px; <-- REMOVE THIS */
    /* margin-left: auto; <-- REMOVE THIS */
    /* margin-right: auto; <-- REMOVE THIS */
    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-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    text-align: center;
    padding: 1.5rem;
}

.about-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

/* --- NEW STYLES for 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; /* Gives the image a nice portrait ratio */
}

.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;
}

/* On mobile, we stack the image on top of the text */
@media (max-width: 968px) {
    .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 */
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
}

.cta-container {
    max-width: 1000px;
    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;
}

.cta-submit {
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-submit:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 52, 97, 0.3);
}

/* 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;
}

/* Responsive Design */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 1rem;
    }

    .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;
    }

    .features, .courses, .about, .cta-section {
        padding: 60px 1rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-input {
        width: 100%;
    }
}

/* 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);
    }
}

.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; }

/* 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); }
}

/* Section reveal animation */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Button hover effects */
.btn-primary, .btn-secondary, .cta-button {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .cta-button::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, .cta-button:hover::before {
    width: 300px;
    height: 300px;
}


.close-banner:hover {
    opacity: 1;
}

/* 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;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.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 */
.resources-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: var(--white);
}

.resources-container {
    max-width: 1400px;
    margin: 0 auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.resource-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.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);
}

/* 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;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.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);
}

/* 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);
}

/* WhatsApp Chat Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.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;
}

/* @keyframes pulse is already defined, no need to duplicate */

.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);
}

/* Mobile App Promotion Section */
.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;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.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;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    /* CHANGED: Font family */
    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;
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 0;
    width: 380px;
    height: 550px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    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;
    /* ADDED: color for SVG */
    color: var(--primary-blue);
}

/* ADDED: SVG sizing */
.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;
    /* ADDED: color for SVG */
    color: var(--white);
}

/* ADDED: SVG sizing */
.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);
    }
}

/* 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%;
}

/* Swipeable Course Cards (Mobile) */
.courses-scroll-container {
    display: none;
}

@media (max-width: 968px) {
    .courses-grid {
        display: none;
    }

    .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 -2rem;
    }

    .courses-scroll-wrapper {
        display: flex;
        gap: 1.5rem;
        padding: 0 2rem;
    }

    .courses-scroll-container .course-card {
        min-width: 320px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .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;
    }

    .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;
    }
}

/* Responsive adjustments for new sections */
@media (max-width: 968px) {
    .offer-banner {
        padding: 1rem;
    }

    .offer-content {
        gap: 1rem;
    }

    .close-banner {
        position: static;
        transform: none;
    }

    .newsletter-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .app-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-screenshots {
        justify-content: center;
        gap: 1rem;
    }

    .app-screenshot:nth-child(1),
    .app-screenshot:nth-child(3) {
        width: 150px;
        height: 300px;
    }

    .app-screenshot:nth-child(2) {
        width: 170px;
        height: 340px;
    }

   

    .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;
    }

  

    .chat-button {
        width: 55px;
        height: 55px;
    }

    .chat-button svg {
        width: 28px;
        height: 28px;
    }

    .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) {
    .header-container {
        padding: 1rem;
    }

    .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;
    }

    .features, .courses, .about, .cta-section {
        padding: 60px 1rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-input {
        width: 100%;
    }

  

    .chat-header {
        padding: 0.9rem;
    }

    .chat-status {
        max-width: 150px;
    }

    .chat-title {
        font-size: 0.95rem;
    }

    .chat-online {
        font-size: 0.7rem;
    }

    .message-avatar {
        width: 30px;
        height: 30px;
    }
    .message-avatar svg {
        width: 20px;
        height: 20px;
    }

    .message-content {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .chat-quick-replies {
        padding: 0.6rem;
        gap: 0.35rem;
    }

    .quick-reply-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.75rem;
    }

    .chat-input {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }

    .chat-send-btn {
        width: 38px;
        height: 38px;
    }

    .chat-send-btn svg {
        width: 18px;
        height: 18px;
    }

    
    .chat-button {
        width: 50px;
        height: 50px;
    }

    .chat-button svg {
        width: 26px;
        height: 26px;
    }

    .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 adjustments */
@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;
    }

    .chat-window {
        width: 380px;
        right: 10px;
    }
}

/* 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;
    }
}
/* ================================================= */
/* NEW HERO SECTION: "Career Path" Design            */
/* ================================================= */

.hero.hero-path {
    background: var(--white); /* Clean white background */
    color: var(--black);
    /* FIXED: Combined padding rules */
  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);
}


/* --- NEW CORRECTED CODE --- */
.hero-path-visual {
    position: relative;
    height: 450px; /* Reverted to original height */
    width: 100%;
    max-width: 500px; /* <-- THE FIX: Was 400px */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 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 */
.path-line #path-progress {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-path 2s ease-out 0.5s forwards;
}
@keyframes draw-path {
    to {
        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);
}

/* --- Replace with this block --- */
.milestone-1 {
    top: 25px; /* Start near the top */
    left: 0;
    animation-delay: 0.8s;
}
.milestone-2 {
    top: 125px; /* 110px gap */
    right: 0;
    animation-delay: 1.2s;
}
.milestone-3 {
    top: 235px; /* 110px gap */
    left: 0;
    animation-delay: 1.6s;
}
.milestone-4 {
    top: 345px; /* 110px gap */
    right: 0;
    animation-delay: 2.0s;
}
@keyframes pop-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* =================================== */
/* NEW STYLES FOR APP PROMOTION IMAGES */
/* =================================== */

.qr-code img {
    width: 120px;        /* Ensures it fits the container */
    height: 120px;
    border-radius: 8px; /* Matches your old style */
}

/* This replaces your old .screenshot-placeholder style */
.app-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* This makes the image fill the phone shape */
    border-radius: 20px;  /* This rounds the corners */
    background: #f0f0f0;  /* Shows a light gray while images load */
}
  /* NEW: 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;
}
    
/* FIXED: Removed duplicate .section-header, .section-subtitle, 
.section-title, and .section-description rules. 
The originals from "Features Section" will apply.
*/

/* 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%);
    }
}
.milestone-link {
  text-decoration: none; /* Removes the underline */
  color: inherit;      /* Makes the text use its original color */
  display: block;      /* Ensures the link behaves like a block element */
}

/* ================================================= */
/* AGGRESSIVE FIX: App Promotion Mobile View */
/* ================================================= */

@media (max-width: 968px) {

    .app-promotion .app-content {
        order: 2 !important; 
        text-align: center !important;
    }

/* --- This is the NEW, 2x2 Resized Grid code --- */
.app-promotion .app-features {
    /* Create the 2-column grid */
    grid-template-columns: 1fr 1fr !important; 

    /* Add gaps */
    gap: 1.5rem 1rem !important; /* 1.5rem vertical, 1rem horizontal */

    /* Remove old/conflicting properties */
    justify-items: unset !important;
    justify-content: unset !important;
}

.app-promotion .app-feature-item {
    /* Reduce the gap between the icon and text */
    gap: 0.75rem !important;

    /* Make all the text inside smaller */
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.app-promotion .app-feature-icon {
    /* Make the icon smaller */
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
}

/* --- This is the NEW, CORRECTED code --- */
.app-promotion .app-download-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;

    /* This centers items vertically and horizontally
       AND stops them from stretching. */
    place-items: center !important; 

    /* Remove the old flex rule */
    flex-direction: unset !important; 

    gap: 1rem !important;
}
    .app-promotion .app-screenshots {
        order: 1 !important; 
        justify-content: center !important;
    }

    /* This is the most important part: */
    .app-promotion .app-screenshot:nth-child(1),
    .app-promotion .app-screenshot:nth-child(3) {
        display: none !important; /* Hide the side phones */
    }

    .app-promotion .app-screenshot:nth-child(2) {
        /* Make the main, middle phone large and clear */
        width: 280px !important;
        height: 560px !important;
        margin: 0 auto !important; 
        animation: none !important; 
    }
}


/* ================================================= */
/* FINAL RESPONSIVE FIX: Hero Path Alignment */
/* ================================================= */
@media (max-width: 968px) {
    .hero.hero-path {
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-container-path {
        grid-template-columns: 1fr; /* Stack them */
        gap: 3rem; 
    }

    .hero-content-path {
        text-align: center; /* Center text on mobile */
        order: 1; /* Content comes FIRST */
    }

    .hero-content-path h1 {
        font-size: 2rem;
    }

    .hero-content-path p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content-path .hero-buttons {
        justify-content: center;
    }

    /* === THIS IS THE FIX === */
    .hero-path-visual {
        order: 2; /* Visual comes SECOND */
        height: 450px; 

        /* 1. Make container 520px wide */
        /* (Card: 220px) + (Card: 220px) + (Chat Button Gap: 80px) = 520px */
        max-width: 520px !important; 

        /* 2. Remove the old padding */
        padding-right: 0 !important; 
    }

    .path-milestone {
        /* 3. Set card width */
        width: 220px !important;
        padding: 0.75rem 1rem !important;
    }

    /* 4. Move *only* the right-side cards to avoid chat buttons */
    .hero-path-visual .milestone-2,
    .hero-path-visual .milestone-4 {
        right: 80px !important;
        left: auto !important; /* Override the 'left:0' on other cards */
    }
    /* === END OF FIX === */

    .path-milestone {
        width: 220px;
        padding: 0.75rem 1rem;
    }


/* ================================================= */
/* FINAL FIX: Floating Button Stacking */
/* ================================================= */

/* 1. Base position for Desktop */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-widget {
    position: fixed;
    bottom: 90px; /* Stacked 70px above chat button */
    right: 20px;  /* <-- Force it to the right */
    left: auto;   /* <-- Override the old 'left: 20px' */
    z-index: 999;
}

/* 2. On Mobile, move BOTH buttons up to avoid the cookie banner */
@media (max-width: 768px) {
    
    /* We move the chat widget up to 140px to be
      safely above the cookie banner (which is ~120px tall)
    */
    .live-chat-widget {
        bottom: 140px; 
    }
    
    /* We stack the WhatsApp button on top of that,
      at 210px
    */
    .whatsapp-widget {
        bottom: 210px; /* 140px + 70px space */
    }
}

/* ================================================= */
/* FORCE-APPLY FIX: Floating Button Stacking */
/* ================================================= */

/* --- 1. Set the stacking order --- */

/* Live chat is on the bottom */
.live-chat-widget {
    z-index: 1000 !important;
}
/* WhatsApp is on top of it */
.whatsapp-widget {
    z-index: 1001 !important;
}

/* --- 2. Set DESKTOP positions --- */

/* Live chat is at the bottom */
.live-chat-widget {
    right: 20px !important;
    bottom: 20px !important;
}

/* WhatsApp is 70px above it */
.whatsapp-widget {
    right: 20px !important;
    bottom: 90px !important; /* 20px + 70px space */
    left: auto !important;  /* Override original 'left: 20px' */
}

/* --- 3. Set MOBILE positions (to avoid cookie banner) --- */
@media (max-width: 768px) {
    
    /* Live chat is 140px from bottom */
    .live-chat-widget {
        bottom: 140px !important; 
    }
    
    /* WhatsApp is 70px above that */
    .whatsapp-widget {
        bottom: 210px !important; /* 140px + 70px space */
    }
}


/* ================================================= */
/* FORCE-APPLY FIX: Center Chat Window on Mobile */
/* =================================S================ */
@media (max-width: 968px) {
    .chat-window {
        /* This positions it relative to the screen */
        position: fixed !important; 
        
        /* These 3 lines center it perfectly */
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; 
        
        /* Set the size */
        width: 95vw !important; /* 95% of screen width */
        max-width: 400px !important;
        height: 70vh !important; /* 70% of screen height */
        max-height: 550px !important;
        
        /* Override all old desktop positions */
        bottom: auto !important; 
        right: auto !important;
    }
}

/* ================================================= */
/* RESPONSIVE FIX: 2x2 Stats Grid */
/* ================================================= */

@media (max-width: 768px) {
    .stats-section {
        /* Reduce top/bottom padding on mobile */
        padding: 60px 1rem 60px;
    }

    .stats-container {
        /* This is the main fix: force 2 columns */
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem; /* Smaller gap between cards */
    }

    .stat-card {
        /* Let the grid control the width */
        max-width: none;
        
        /* Reduce padding inside the card */
        padding: 2rem 1.5rem;
    }

    .stat-card .stat-icon {
        /* Make icon smaller */
        font-size: 2.5rem; 
        margin-bottom: 0.5rem;
    }

    .stat-card .stat-number {
        /* Make number smaller */
        font-size: 2.5rem; 
    }

    .stat-card .stat-label {
        /* Make label smaller */
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ================================================= */
/* RESPONSIVE FIX: Horizontal Feature Cards (Mobile) */
/* ================================================= */

@media (max-width: 768px) {
    .features-grid {
        /* Change from a multi-column grid to a 1-column list */
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Space between each card */
    }

    .feature-card {
        /* This is the magic: change the card to a flexbox */
        display: flex;
        align-items: center; /* Vertically center the icon and text */
        gap: 1.5rem; /* Space between icon and text */
        padding: 1.5rem; /* Adjust padding for the new layout */
    }

    .feature-icon {
        /* Stop the icon from shrinking */
        flex-shrink: 0; 
        
        /* Override the old bottom margin */
        margin-bottom: 0; 
        
        /* Smaller size for the horizontal layout */
        width: 50px; 
        height: 50px;
        font-size: 1.5rem;
    }
    
    .feature-card:hover .feature-icon {
        /* Disable the desktop hover animation on mobile */
        transform: none;
        box-shadow: none;
    }

    .feature-text-content {
        /* This is the new wrapper we added */
        flex-grow: 1; /* Allow the text to take all remaining space */
    }

    .feature-title {
        /* Remove the large bottom margin */
        margin-bottom: 0.25rem; 
        font-size: 1.1rem; 
    }

    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ================================================= */
/* RESPONSIVE FIX: Compact Course Cards */
/* ================================================= */

@media (max-width: 768px) {
    /* Target the scrolling container from your code */
    .courses-scroll-container .course-card {
        /* Make the header slightly smaller */
        padding-top: 1.5rem;
    }

    .courses-scroll-container .course-title {
        font-size: 1.3rem; /* Slightly smaller title */
    }

    .courses-scroll-container .course-list {
        /* Reduce space below the list */
        margin-bottom: 1rem; 
    }

    .courses-scroll-container .course-list li {
        /* This is the main fix: reduce vertical padding */
        padding: 0.25rem 0; 
        
        /* Make the list text smaller */
        font-size: 0.9rem;
    }
    
    .courses-scroll-container .course-list li:before {
        /* Make the checkmark smaller */
        font-size: 1rem;
    }

    .courses-scroll-container .course-link {
        /* Make the "View All" link smaller */
        font-size: 0.9rem;
    }
}

/* ================================================= */
/* FIX: Hero Path on Mobile Phones */
/* ================================================= */

@media (max-width: 640px) {
    /* Use the existing path visual container */
    .hero-path-visual {
        /* You can adjust height if needed */
        height: 420px;
    }

    /* Make all milestone cards smaller */
    .hero-path-visual .path-milestone {
        width: 170px !important; /* Smaller width */
        padding: 0.6rem 0.8rem !important; /* Less padding */
        font-size: 0.85rem;
    }

    /* Make icons smaller */
    .hero-path-visual .milestone-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
    }

    /* Make text smaller */
    .hero-path-visual .milestone-text strong {
        font-size: 0.8rem !important;
    }
    .hero-path-visual .milestone-text span {
        font-size: 0.75rem !important;
    }

    /* Pull right-side cards closer to the edge */
    .hero-path-visual .milestone-2,
    .hero-path-visual .milestone-4 {
        right: 10px !important; /* Was 80px */
    }
    
    /* Give left-side cards a small gutter */
    .hero-path-visual .milestone-1,
    .hero-path-visual .milestone-3 {
        left: 10px !important; /* Was 0px */
    }

    /* Adjust vertical positions slightly for the new height */
    .hero-path-visual .milestone-1 { top: 15px; }
    .hero-path-visual .milestone-2 { top: 105px; }
    .hero-path-visual .milestone-3 { top: 205px; }
    .hero-path-visual .milestone-4 { top: 305px; }
}