/* ===========================
    Learning Management System - Site styles
   Modern Learning Platform CSS
   =========================== */

:root {
    /* Enhanced Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --success-color: #10b981;

    /* Neutral Colors */
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Header & Navigation */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--light-surface);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-brand .brand-logo {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.25rem;
    max-width: 150px;
}

.navbar-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: var(--spacing-sm);
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-buttons {
    animation: fadeInUp 1.3s ease-out;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: #2563eb;
}

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

/* Stats Cards */
.stats-cards {
    animation: fadeInUp 1.4s ease-out;
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.stats-card i {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stats-card .fw-bold {
    font-size: 1.25rem;
    color: #1e40af;
}

/* About Section - Clean White and Grey */
.about-section {
    background: #f8fafc;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px) scale(1.02);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
}

.about-section .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Features Section - Professional Cards */
.features-section {
    background: white;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.features-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card .card-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Section - Clean Grey Background */
.how-it-works-section {
    background: #f1f5f9;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.how-it-works-section .text-center h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.how-it-works-section .text-center p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #e2e8f0;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.08);
}

.step-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.25rem;
}

.step-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section - Professional Blue */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 3rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Courses Section - Clean White */
.courses-section {
    background: white;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.courses-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.courses-section .text-muted {
    font-size: 1rem;
    color: #64748b;
}

.courses-section .btn-outline-primary {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.courses-section .btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.course-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.course-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-card .card-body {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
}

.course-card .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

/* Categories Section - Light Grey */
.categories-section {
    background: #f8fafc;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.categories-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.categories-section .text-muted {
    font-size: 1rem;
    color: #64748b;
}

.categories-section .btn-outline-primary {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.categories-section .btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.category-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.08);
}

.category-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.125rem;
}

.category-card small {
    color: #64748b;
    font-size: 0.875rem;
}

/* Final CTA Section - Professional Blue */
.final-cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.final-cta-section p {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.final-cta-button {
    padding: 1rem 3rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ==========================================
   POPULAR CATEGORIES CAROUSEL NAV STYLES
   ========================================== */
.popular-categories-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    right: -25px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.popular-categories-carousel .owl-nav button {
    pointer-events: all;
    background: #2563eb !important;
    color: white !important;
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: none;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.popular-categories-carousel .owl-nav button:hover {
    background: #1e40af !important;
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Print Styles */
@media print {
    .public-header,
    .btn,
    .file-upload-area {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .course-card,
    .form-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-header,
    .enrollment-header,
    .payment-header {
        padding: 40px 0;
    }

    .specialization-badge,
    .price-display {
        padding: 1rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .upload-area {
        padding: 1.5rem;
    }

    .payment-option {
        padding: 1rem;
    }

    .course-meta {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-title,
    .cta-title {
        font-size: 2rem;
    }

    .feature-card,
    .step-card,
    .course-card,
    .category-card {
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .stats-card {
        min-width: 160px;
        padding: var(--spacing-md);
    }

    .step-card,
    .feature-card {
        padding: var(--spacing-lg);
    }

    .course-card .card-body {
        padding: var(--spacing-md);
    }
}

/* ==========================================
   PROFESSIONAL HOMEPAGE STYLES
   White, Grey, and Blue Color Scheme
   ========================================== */

/* Hero Section - Professional Blue Gradient */
.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-buttons {
    animation: fadeInUp 1.3s ease-out;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: #2563eb;
}

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

/* Stats Cards */
.stats-cards {
    animation: fadeInUp 1.4s ease-out;
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.stats-card i {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stats-card .fw-bold {
    font-size: 1.25rem;
    color: #1e40af;
}

/* About Section - Clean White and Grey */
.about-section {
    background: #f8fafc;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px) scale(1.02);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
}

.about-section .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Features Section - Professional Cards */
.features-section {
    background: white;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.features-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card .card-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Section - Clean Grey Background */
.how-it-works-section {
    background: #f1f5f9;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.how-it-works-section .text-center h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.how-it-works-section .text-center p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #e2e8f0;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.08);
}

.step-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.25rem;
}

.step-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section - Professional Blue */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 3rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Courses Section - Clean White */
.courses-section {
    background: white;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.courses-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.courses-section .text-muted {
    font-size: 1rem;
    color: #64748b;
}

.courses-section .btn-outline-primary {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.courses-section .btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.course-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.course-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-card .card-body {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
}

.course-card .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

/* Categories Section - Light Grey */
.categories-section {
    background: #f8fafc;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.categories-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.categories-section .text-muted {
    font-size: 1rem;
    color: #64748b;
}

.categories-section .btn-outline-primary {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.categories-section .btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

.category-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.08);
}

.category-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.125rem;
}

.category-card small {
    color: #64748b;
    font-size: 0.875rem;
}

/* Final CTA Section - Professional Blue */
.final-cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.final-cta-section p {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.final-cta-button {
    padding: 1rem 3rem;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ==========================================
   POPULAR CATEGORIES CAROUSEL NAV STYLES
   ========================================== */
.popular-categories-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    right: -25px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.popular-categories-carousel .owl-nav button {
    pointer-events: all;
    background: #2563eb !important;
    color: white !important;
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: none;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.popular-categories-carousel .owl-nav button:hover {
    background: #1e40af !important;
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Print Styles */
@media print {
    .public-header,
    .btn,
    .file-upload-area {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .course-card,
    .form-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-header,
    .enrollment-header,
    .payment-header {
        padding: 40px 0;
    }

    .specialization-badge,
    .price-display {
        padding: 1rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .upload-area {
        padding: 1.5rem;
    }

    .payment-option {
        padding: 1rem;
    }

    .course-meta {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-title,
    .cta-title {
        font-size: 2rem;
    }

    .feature-card,
    .step-card,
    .course-card,
    .category-card {
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .stats-card {
        min-width: 160px;
        padding: var(--spacing-md);
    }

    .step-card,
    .feature-card {
        padding: var(--spacing-lg);
    }

    .course-card .card-body {
        padding: var(--spacing-md);
    }
}

/* ==========================================
   PAGE HEADER STYLES
   ========================================== */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-color: rgba(0, 0, 0, 0);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header .container,
.page-header .row,
.page-header .col-lg-8,
.page-header .col-lg-4 {
  color: #fff;
}

.page-header h1,
.page-header h2,
.page-header h3,
.page-header h4,
.page-header h5,
.page-header h6 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.page-header .breadcrumb {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.page-header .breadcrumb-item a {
  color: #fff;
}

.page-header .breadcrumb-item.active,
.page-header .breadcrumb-item.text-dark {
  color: #fff !important;
}

.page-header .lead,
.page-header .text-white,
.page-header .text-white-50 {
  color: #fff !important;
}

.page-header .meta-item,
.page-header .course-meta {
  color: #fff;
}

.page-header .badge {
  background: #fff;
  color: #764ba2;
}

.page-header .course-image img {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

span:has(.katex-display) {
  display: inline-block !important;
}

@media (max-width: 768px) {
  .page-header {
    padding: 2.5rem 0;
  }
  .page-header h1 {
    font-size: 2rem;
  }
}

/* ==========================================
   PROFESSIONAL FOOTER STYLES
   Clean and Modern Design
   ========================================== */

footer.bg-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-top: 1px solid #334155;
    position: relative;
    overflow: hidden;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer Logo Section */
footer .d-flex.justify-content-center.align-items-center {
    position: relative;
    z-index: 1;
}

footer img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

footer img:hover {
    transform: scale(1.05);
}

/* Footer Navigation */
footer nav ul.list-inline {
    position: relative;
    z-index: 1;
}

footer nav .list-inline-item {
    margin: 0 1rem;
}

footer nav .list-inline-item a {
    color: #cbd5e1 !important;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

footer nav .list-inline-item a:hover {
    color: #2563eb !important;
    transform: translateY(-1px);
}

footer nav .list-inline-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

footer nav .list-inline-item a:hover::after {
    width: 100%;
}

/* Social Icons */
footer .d-flex.justify-content-center.align-items-center.gap-3 {
    position: relative;
    z-index: 1;
}

footer .d-flex.justify-content-center.align-items-center.gap-3 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

footer .d-flex.justify-content-center.align-items-center.gap-3 a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border-color: #2563eb;
}

footer .d-flex.justify-content-center.align-items-center.gap-3 a.text-primary {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

footer .d-flex.justify-content-center.align-items-center.gap-3 a.text-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

footer .d-flex.justify-content-center.align-items-center.gap-3 a.text-info {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Copyright Section */
footer hr.border-secondary {
    border-color: #475569 !important;
    position: relative;
    z-index: 1;
}

footer p.text-light {
    color: #94a3b8 !important;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

footer strong {
    color: #f1f5f9;
    font-weight: 600;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer.bg-dark {
        padding: 3rem 0 2rem;
    }

    footer nav .list-inline-item {
        margin: 0 0.5rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    footer nav .list-inline-item a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    footer .d-flex.justify-content-center.align-items-center.gap-3 {
        gap: 1rem !important;
    }

    footer .d-flex.justify-content-center.align-items-center.gap-3 a {
        width: 44px;
        height: 44px;
    }

    footer .d-flex.justify-content-center.align-items-center.gap-3 a i {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    footer.bg-dark {
        text-align: center;
    }

    footer nav .list-inline {
        text-align: center;
    }

    footer nav .list-inline-item {
        margin: 0 0.25rem;
    }

    footer .d-flex.justify-content-center.align-items-center.gap-3 {
        gap: 0.75rem !important;
    }
}

/* Hero Height Variants */
.hero-small {
    min-height: 60vh;
}

.hero-medium {
    min-height: 80vh;
}

.hero-large {
    min-height: 100vh;
}