:root {
    /* Fintex Green Theme */
    --primary: #10b981; /* Emerald 500 - Vibrant Green */
    --primary-dark: #059669; /* Emerald 600 */
    --secondary: #34d399; /* Emerald 400 */
    
    --text-dark: #111827;
    --text-light: #6b7280;
    --text-white: #ffffff;
    
    --bg-body: #ffffff; 
    --bg-light: #f9fafb;
    
    --card-bg: #ffffff;
    --card-purple: #ecfdf5; /* Mint 50 (was Purple) */
    --card-pink: #f0fdf4; /* Green 50 (was Pink) */
    
    --border: #e5e7eb;
    --border-light: #f3f4f6;

    --success: #10b981;
    --error: #ef4444;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 20px; /* Large modern radius */
    --radius-pill: 50px; /* Fully rounded buttons */
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.02);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.01);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800; /* Bold headings */
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.025em; /* Tight modern tracking */
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header */
.header {
    background: var(--bg-body);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-color: var(--border-light);
}

.nav-container {
    max-width: 1280px; /* Wider container */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark); /* Logo is dark, not primary */
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-dark); /* Darker nav links for better visibility */
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill); /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}


/* Hero */
.hero {
    padding: 4rem 2rem 6rem;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem; /* Very large hero text */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, var(--text-dark), var(--primary)); /* Subtle gradient text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--text-dark); /* Fallback */
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image img {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.15); /* Purple tint shadow */
    width: 100%;
}


/* Sections General */
.section {
    padding: 6rem 2rem;
}

.section-alt {
    background: #fdfcff; /* Very subtle purple tint */
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-primary); /* Darker subtitle */
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}


/* Features -> Benefits Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fdf2f8; /* Pink 50 */
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

/* Alternating Grid Colors */
/* Alternating Grid Colors - Green Theme */
.feature-card:nth-child(4n+1) { background: #ecfdf5; color: #065f46; } /* Emerald */
.feature-card:nth-child(4n+2) { background: #f0fdf4; color: #166534; } /* Green */
.feature-card:nth-child(4n+3) { background: #eff6ff; color: #1e40af; } /* Blue (Keep one cool tone) */
.feature-card:nth-child(4n+4) { background: #f0fdfa; color: #134e4a; } /* Teal */

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

/* Icon colors match card theme */
/* Icon colors match card theme */
.feature-card:nth-child(4n+1) .feature-icon { color: #10b981; }
.feature-card:nth-child(4n+2) .feature-icon { color: #16a34a; }
.feature-card:nth-child(4n+3) .feature-icon { color: #2563eb; }
.feature-card:nth-child(4n+4) .feature-icon { color: #14b8a6; }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    color: inherit; /* Take text color from card */
}

.feature-card p {
    color: inherit;
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.6;
}


/* Courses -> UI Panels */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Reduced size */
    gap: 2rem; /* Tighter gap */
}

.course-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.03), 0 4px 6px -2px rgba(0,0,0,0.01);
    display: flex; /* Fix height */
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); /* Deep soft shadow */
    border-color: rgba(124, 58, 237, 0.1);
}

.course-image {
    height: 180px; /* Reduced height */
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Make images look like floating widgets inside the card */
.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.02);
}

.course-content {
    padding: 1.5rem; /* Smaller padding */
    flex-grow: 1; /* Consume remaining space */
    display: flex;
    flex-direction: column;
}

.course-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Push footer down */
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--secondary); /* Pink text for meta */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--text-dark); /* Ensure title is always visible */
}

.course-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.original-price {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.course-price {
    font-size: 1.25rem; /* Smaller Price Font */
    color: var(--primary);
    font-weight: 800;
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 50px;
}


/* Categories */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.category-card {
    background: var(--bg-light);
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    width: 260px; /* Fixed width for better look */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    background: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--primary);
    font-size: 1.8rem;
    box-shadow: var(--shadow-card);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-description {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.8rem;
    line-height: 1.5;
}


/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--primary); /* Deep violet card for testimonials to contrast */
    background: linear-gradient(145deg, var(--primary) 0%, #6d28d9 100%);
    padding: 3rem;
    border-radius: var(--radius);
    color: white;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
}

.testimonial-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.3);
}

.author-info h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.rating {
    color: #fbbf24;
}


/* Contact */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 2rem 0;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item h3 i {
    color: var(--secondary); /* Pink icons */
}

/* Form Container */
.contact-form-container {
    background: var(--card-purple);
    padding: 3rem;
    border-radius: var(--radius);
}

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}

.form-group input, 
.form-group textarea {
    background: white;
    border: 1px solid transparent;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
    border-color: var(--primary);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    border-radius: var(--radius-pill);
    background: var(--text-dark); /* Dark button for form */
    color: white;
    font-weight: 700;
}
.submit-btn:hover {
    background: black;
    transform: translateY(-2px);
}

/* Footer */
/* Footer */
.footer {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6rem 2rem 3rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-strong);
    opacity: 0.6;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-login {
    display: none;
}

@media (max-width: 900px) {
    .mobile-menu-btn { 
        display: block; 
    }
    
    .nav-actions { 
        display: none !important; 
    }
    
    .mobile-login {
        display: block;
        border-top: 1px solid var(--border);
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .mobile-login a {
        background: var(--primary);
        color: white !important;
        padding: 0.8rem 1.5rem;
        border-radius: var(--radius-pill);
        text-align: center;
        font-weight: 600;
        border: none !important;
    }
    
    .mobile-login a:hover {
        background: var(--primary-dark);
        padding-left: 1.5rem !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-menu a:hover {
        color: var(--primary);
        padding-left: 10px;
        transition: all 0.3s ease;
    }
    
    .hero {
        padding: 0 1rem 1.5rem; /* No top padding, minimal bottom */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0; /* Remove extra padding */
    }
    
    .hero-content h1 { 
        font-size: 2.5rem; 
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-actions { 
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-meta {
        margin-bottom: 0rem; /* Minimal gap */
    }
    
    .course-content {
        padding: 1rem; /* Tighter padding on mobile */
    }
    
    .course-description {
        margin-bottom: 1rem; /* Reduced spacing */
        font-size: 0.9rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    
    .form-row { 
        grid-template-columns: 1fr; 
    }
    
    /* Testimonials Mobile Fix */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .course-layout {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Course Detail Mobile Fixes */
    .course-hero {
        padding: 2rem 1rem;
    }
    
    .course-hero .hero-content {
        max-width: 100%;
    }
    
    .course-hero .course-title {
        font-size: 1.8rem !important;
        color: white !important;
    }
    
    .course-card .course-title {
        color: var(--text-dark) !important;
        font-size: 1.2rem;
    }
    
    .course-hero p {
        font-size: 0.95rem;
        color: rgba(255,255,255,0.9) !important;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        color: rgba(255,255,255,0.8) !important;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .meta-item {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.9) !important;
    }
    
    /* Hide enrollment count on mobile */
    .meta-item:nth-child(2) {
        display: none;
    }
    
    .demo-video-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .video-player-container {
        position: relative;
        padding-bottom: 56.25% !important; /* Force 16:9 ratio */
        height: 0 !important;
        width: 100% !important;
        min-height: 250px !important; /* Ensure minimum playable size */
        overflow: hidden;
        border-radius: 12px;
    }
    
    .video-player-container iframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border: none;
    }
    
    .demo-video-header h3 {
        font-size: 1.3rem;
        color: white !important;
    }
    
    .demo-video-header p {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.8) !important;
    }
    
    .video-info-bar {
        background: transparent;
        color: rgba(255,255,255,0.8) !important;
    }
    
    .video-info-bar p {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.8) !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .enroll-card {
        margin-top: 2rem;
    }
}

/* Course Detail Page Styles */
.course-hero {
    background: linear-gradient(135deg, var(--primary), #065f46); /* Green Gradient */
    color: white;
    padding: 3rem 2rem;
}

.course-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.enroll-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid var(--border-light);
}

.enroll-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.btn-enroll {
    background: var(--text-dark); /* Dark button for enroll */
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: block;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.btn-enroll:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a { color: white; opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

.check-icon {
    color: var(--primary);
    background: #ecfdf5;
    width: 24px; 
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.video-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    gap: 1rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.video-item:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.video-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .course-layout { grid-template-columns: 1fr; }
}

.pdf-viewer-container {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex; 
    align-items: center;
}

/* Missing Course Detail Styles */
.hero-content {
    max-width: 1280px;
    margin: 0 auto;
}

.course-hero .course-title {
    color: white; /* Ensure title is white */
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.course-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.course-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: white; /* Ensure icons/text are white */
}

.course-main {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.syllabus-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 2rem 0;
    border: 1px solid var(--border-light);
}

.syllabus-header {
    background: var(--bg-light);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.syllabus-info h3 { margin: 0 0 0.5rem 0; font-size: 1.2rem; }
.syllabus-info p { margin: 0; color: var(--text-light); }

.syllabus-actions {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    background: white;
}

.btn-action {
    flex: 1;
    padding: 0.8rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-action:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* Demo Video Section */
.demo-video-section {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.demo-video-header {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem;
}
.demo-video-header h3 { color: white; margin-bottom: 0.5rem; }
.demo-video-header p { opacity: 0.8; margin: 0; }



.includes-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1.5rem;
}
.includes-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.includes-title {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    display: block;
}
/* Improved Video Player */
.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 16px; /* Rounded corners for video */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Stronger shadow */
    margin-bottom: 1.5rem;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.demo-video-section {
    background: var(--text-dark); /* Dark background for cinema feel */
    color: white;
    padding: 2.5rem; /* More padding */
    border-radius: 20px;
    margin-bottom: 3rem;
}

.demo-video-header h3 { color: white; margin-bottom: 0.5rem; }
.demo-video-header p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.video-info-bar { margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.video-info-bar p { color: rgba(255,255,255,0.7); }

/* Ensure footer matches index spacing */
.footer { margin-top: 4rem; }
