* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f8fafc;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px !important;
    height: auto !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

.cta-nav {
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-nav:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Hero Section */
.hero {
    background: white;
    color: #1e293b;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2;
}

.hero-image img {
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    order: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: #475569;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #333;
    padding: 16px 32px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Sections General */
.learn-section, .benefits-section, .build-section, .faq-section {
    padding: 100px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* What You'll Learn */
.learn-section {
    background: #f8fafc;
}

.learn-flyer-scroll {
    display: grid;
    grid-template-columns: 1fr; /* Mobile default */
    gap: 32px;
}

@media (min-width: 768px) {
    .learn-flyer-scroll {
        grid-template-columns: repeat(2, 1fr); /* 2 per row desktop */
    }
}

.learn-flyer-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease;
}

.learn-flyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.learn-flyer-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.learn-flyer-title {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #f1f5f9;
}

/* Benefits */
.benefits-section {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.benefit-card {
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.benefit-card.highlight {
    background: #eff6ff;
    border-color: #dbeafe;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.benefit-description {
    color: #64748b;
    line-height: 1.6;
}

/* What You'll Build */
.build-section {
    background: #f8fafc;
}

.build-flyer-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile default */
    gap: 32px;
}

@media (min-width: 768px) {
    .build-flyer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row desktop */
    }
}

.build-flyer-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.build-flyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.build-flyer-img {
    width: 100%;
    height: auto;
    display: block;
}

.build-flyer-title {
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #f1f5f9;
}


/* --- TESTIMONIALS SECTION --- */
.testimonials {
    padding: 100px 0;
    background-color: #f8fafc; /* Slate 50 */
    position: relative;
    overflow: hidden;
}

/* Subtle pattern background */
.testimonials-bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(#0f172a 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 10;
}

.testimonials .section-title {
    color: #0f172a;
    margin-bottom: 16px;
}

.testimonials .section-subtitle {
    color: #64748b;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Testimonial Card Styling */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s ease;
    width: 380px; /* Fixed width for marquee consistency */
    flex-shrink: 0;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Quote Icon */
.card-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #f1f5f9;
    width: 48px;
    height: 48px;
}

.cohort-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    width: fit-content;
}

.cohort-badge.cohort-1 {
    background-color: #fef3c7; /* Amber 100 */
    color: #92400e; /* Amber 800 */
    border: 1px solid #fde68a;
}

.cohort-badge.cohort-2 {
    background-color: #d1fae5; /* Emerald 100 */
    color: #065f46; /* Emerald 800 */
    border: 1px solid #a7f3d0;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569; /* Slate 600 */
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-footer {
    padding-top: 24px;
    border-top: 1px solid #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    flex-shrink: 0;
}

.testimonial-author {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.read-more-actions {
    display: flex;
    gap: 8px;
}

.read-more-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* Marquee Desktop */
.testimonials-marquee-container {
    display: none; /* hidden on mobile */
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
    position: relative;
}

@media (min-width: 768px) {
    .testimonials-marquee-container {
        display: flex;
    }
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Ensure only the wrapper hover triggers the pause for its children */
}

/* Pause on hover - Independent rows */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Gradient Fade for Marquee */
.marquee-fade-left, .marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 20;
    pointer-events: none;
}
.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}
.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding-left: 24px; /* offset start */
}

/* Animation */
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); } /* -50% because we duplicate data, 12px is half gap */
}

@keyframes marquee-right {
    0% { transform: translateX(calc(-50% - 12px)); }
    100% { transform: translateX(0); }
}

.animate-left {
    animation: marquee-left 60s linear infinite;
}

.animate-right {
    animation: marquee-right 60s linear infinite;
}

/* Mobile Carousel */
.testimonials-carousel-container {
    display: block;
    width: 100%;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .testimonials-carousel-container {
        display: none;
    }
}

.mobile-scroll-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 20px 40px 20px;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-scroll-track::-webkit-scrollbar {
    display: none;
}

.mobile-scroll-track .testimonial-card {
    scroll-snap-align: center;
    width: 85vw;
    min-width: 300px;
    max-width: 380px;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: none;
    background: #f8fafc;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-size: 1rem;
    color: #1e293b;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    border: none;
    font-weight: 600;
}
.faq-question:hover {
    background: #f1f5f9;
}

.faq-toggle {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: none;
}
.faq-answer.open {
    border-top: 1px solid #e2e8f0;
}

.faq-answer p {
    padding: 24px;
    color: #64748b;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: #0f172a;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Updated CTA Button for Contrast - High Specificity */
.cta-section .btn-secondary {
    background: #ffffff !important;
    color: #2563eb !important;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-section .btn-secondary:hover {
    background: #f1f5f9 !important;
    color: #1d4ed8 !important;
}


/* Footer */
.footer {
    background: #0f172a;
    padding: 60px 20px;
    color: #94a3b8;
}

.contact-section {
    background: white;
    padding: 80px 20px;
}

.contact-tutor {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Contact Socials Alignment */
.contact-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.contact-icon {
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 50%;
    text-decoration: none;
}

.contact-icon:hover {
    color: #2563eb;
    background: #eff6ff;
    transform: translateY(-3px);
}

/* Share Section */
.share-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.share-title {
    margin-bottom: 20px;
    color: #64748b;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-share:hover {
    transform: translateY(-2px);
}

.btn-share.whatsapp { background-color: #25D366; }
.btn-share.twitter { background-color: #000000; } /* X black */
.btn-share.linkedin { background-color: #0a66c2; }
.btn-share.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.modal-close-btn {
    background: white;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-line;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    background: white;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding-top: 100px; }
    .hero-flex { flex-direction: column; text-align: center; gap: 30px; }
    .hero-image { order: -1; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    
    .nav-links { display: none; }
    
    /* Hide Logo Text on Mobile */
    .logo span {
        display: none;
    }
}