/* ------------------- */
/* 1. Global & Setup  */
/* ------------------- */
:root {
    --primary-blue: #4A90E2;
    --accent-yellow: #FFC107;
    --dark-text: #2D3748;
    --light-text: #718096;
    --background-light: #F7FAFC;
    --background-white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-family: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-family);
    color: var(--dark-text);
    background-color: var(--background-white);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* ------------------- */
/* 2. Header & Nav    */
/* ------------------- */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.navbar { padding: 1rem 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 60px; }
.nav-menu { list-style: none; display: flex; gap: 2rem; }
.nav-menu a { text-decoration: none; color: var(--dark-text); font-weight: 500; }
.nav-actions { display: flex; gap: 1rem; }
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary { background-color: var(--primary-blue); color: white; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background-color: var(--background-light); color: var(--primary-blue); }

/* ------------------- */
/* 3. Hero Section    */
/* ------------------- */
.hero-section { padding: 4rem 0 6rem 0; }
.hero-container { display: flex; align-items: center; gap: 4rem; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.1rem; color: var(--light-text); margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-image { flex: 1; }
.hero-image img { max-width: 100%; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.hero-stat-card {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
}
.hero-stat-card.highlighted {
    background-color: var(--accent-yellow);
    color: var(--dark-text);
}
.hero-stat-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.hero-stat-card p { font-size: 0.9rem; color: var(--light-text); }
.hero-stat-card.highlighted p { color: var(--dark-text); }

/* ------------------- */
/* 4. Other Sections  */
/* ------------------- */
.programs-section { padding: 4rem 0; background-color: var(--background-light); }
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.program-card {
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}
.program-card img { width: 100%; height: 180px; object-fit: cover; }
.card-content { padding: 1.5rem; }
.card-category { color: var(--primary-blue); font-weight: 600; font-size: 0.875rem; }
.card-content h3 { font-size: 1.2rem; margin: 0.5rem 0; }
.card-meta { display: flex; justify-content: space-between; color: var(--light-text); font-size: 0.9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.card-rating { color: var(--accent-yellow); font-weight: 600; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.card-price { font-weight: 700; font-size: 1.25rem; }
.card-lessons { color: var(--light-text); font-size: 0.9rem; }

.features-section { padding: 6rem 0; }
.features-container { display: flex; align-items: center; gap: 4rem; }
.features-image { flex: 1; }
.features-image img { max-width: 100%; border-radius: 12px; }
.features-content { flex: 1; }
.features-content .section-title { text-align: left; }
.feature-item { margin-bottom: 2rem; }
.feature-item h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--light-text); line-height: 1.6; }

.community-stats-section { padding: 6rem 0; background-color: var(--primary-blue); color: white; }
.community-stats-container { display: flex; justify-content: space-between; align-items: center; }
.community-text h2 { font-size: 2rem; max-width: 300px; }
.stats-grid { display: flex; gap: 4rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; }

.testimonials-section { padding: 6rem 0; }
.testimonial-slider { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}
.testimonial-card p { color: var(--light-text); margin-bottom: 1.5rem; font-style: italic; }
.author { display: flex; align-items: center; gap: 1rem; }
.author img { width: 50px; height: 50px; border-radius: 50%; }
.author h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.author span { color: var(--light-text); font-size: 0.9rem; }

.blog-section { padding: 4rem 0; background-color: var(--background-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
    background-color: var(--background-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.blog-card img { width: 100%; border-radius: 8px; margin-bottom: 1rem; }
.blog-card h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.blog-card a { color: var(--primary-blue); text-decoration: none; font-weight: 600; }

.final-cta-section { padding: 4rem 0; text-align: center; }
.final-cta-section h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }

/* ------------------- */
/* 5. Footer          */
/* ------------------- */
.footer { padding: 4rem 0 2rem 0; background-color: var(--dark-text); color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-logo { height: 40px; filter: brightness(0); margin-bottom: 1rem; }
.footer-col p { color: #A0AEC0; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #A0AEC0; text-decoration: none; }
.footer-bottom { border-top: 1px solid #4A5568; padding-top: 2rem; text-align: center; color: #A0AEC0; font-size: 0.9rem; }
/* Partners Section - Two Row Marquee Style */
.partners-section {
    padding: 4rem 0;
    background-color: var(--background-light);
    overflow: hidden;
}

.partners-section .section-title {
    margin-bottom: 3rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 50s linear infinite;
    margin-bottom: 1.5rem; /* Space between the two rows */
}

.marquee-content--reverse {
    animation-name: marquee-scroll-reverse;
    animation-duration: 55s; /* Slightly different speed for visual interest */
    margin-bottom: 0;
}

.marquee-content img {
    height: 60px;
    width: auto;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
    vertical-align: middle;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Keyframe animation for scrolling Right to Left */
@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Keyframe animation for scrolling Left to Right */
@keyframes marquee-scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}
/* About Us Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-image {
    flex: 1;
}
.about-image img {
    max-width: 100%;
    border-radius: 12px;
}
.about-content {
    flex: 1;
}
.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}
.about-content p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.about-stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.about-stat-item span {
    color: var(--light-text);
    font-size: 0.9rem;
}