body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #3D3D3C;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}



/* Main header - Clean styling */
.main-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 50px;
    width: auto;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: white !important;
    background-color: white !important;
    text-shadow: none;
    border: none;
    padding: 0;
}

.site-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation - Horizontal Layout */
.main-nav {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    background: white;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-item {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav-link {
        color: #4a5568;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 16px 12px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 44px;
        box-sizing: border-box;
        border-radius: 8px;
        position: relative;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #D42027;
        background: linear-gradient(135deg, rgba(243, 142, 32, 0.08), rgba(212, 32, 39, 0.08));
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(212, 32, 39, 0.15);
    }

    .dropdown .nav-link:hover {
        background: linear-gradient(135deg, rgba(243, 142, 32, 0.08), rgba(212, 32, 39, 0.08));
    }

    /* Desktop dropdown styles */
    .dropdown {
        position: relative;
    }

    .dropdown-trigger {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .dropdown-arrow {
        font-size: 10px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #666;
    }

    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
        color: #D42027;
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
        min-width: 180px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        padding: 12px 0;
        margin-top: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-16px) scale(0.95);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0ms;
        z-index: 1000;
        backdrop-filter: blur(20px);
        overflow: hidden;
        pointer-events: none;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
        transition-delay: 150ms;
        pointer-events: auto;
    }

    /* Extend hover area for better UX */
    .dropdown::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 8px;
        background: transparent;
        z-index: 999;
    }

    .dropdown-content::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: none;
        border-right: none;
        transform: translateX(-50%) rotate(45deg);
        z-index: -1;
    }

    .dropdown-link {
        display: block;
        padding: 14px 20px;
        color: #4a5568;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        margin: 0 4px;
        border-radius: 8px;
    }

    .dropdown-link:hover {
        background: linear-gradient(135deg, rgba(243, 142, 32, 0.08), rgba(212, 32, 39, 0.08));
        color: #D42027;
        transform: translateX(2px);
        padding-left: 24px;
    }

    .dropdown-link::before {
        content: '';
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(135deg, #F38E20, #D42027);
        border-radius: 2px;
        transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .dropdown-link:hover::before {
        height: 16px;
    }

    /* Mobile dropdown styles */
    @media (max-width: 768px) {
        .dropdown-content {
            position: static;
            background: rgba(212, 32, 39, 0.05);
            box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
            border-radius: 12px;
            margin: 8px 0;
            padding: 8px 0;
            opacity: 1;
            visibility: visible;
            transform: none;
            backdrop-filter: none;
            border: 1px solid rgba(212, 32, 39, 0.15);
            overflow: hidden;
            pointer-events: auto;
            transition-delay: 0ms;
        }

        .dropdown-content::before {
            display: none;
        }

        .dropdown::before {
            display: none;
        }

        .dropdown-content {
            display: none;
        }

        .dropdown:hover .dropdown-content,
        .dropdown.active .dropdown-content {
            display: block;
        }

        .dropdown-link {
            margin: 0 8px;
            border-radius: 8px;
            padding: 16px 20px;
            font-size: 16px;
            border-bottom: 1px solid rgba(212, 32, 39, 0.1);
            color: #4a5568;
        }

        .dropdown-link:last-child {
            border-bottom: none;
        }

        .dropdown-link:hover {
            background: rgba(212, 32, 39, 0.1);
            color: #D42027;
            transform: translateX(4px);
            padding-left: 24px;
        }

        .dropdown-link::before {
            display: none;
        }

        .dropdown-arrow {
            font-size: 12px;
        }
    }

.nav-link:hover {
    color: #D42027;
}

.nav-link.active {
    color: #D42027;
}

.contact-us-btn {
    background-color: #D42027;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.contact-us-btn:hover {
    background-color: #B91C23;
    color: white;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Close Button */
        .mobile-menu-close {
            display: none;
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 2rem;
            color: #333;
            cursor: pointer;
            z-index: 1002;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .mobile-menu-close:hover {
            background: rgba(212, 32, 39, 0.1);
            color: #D42027;
        }

        @media (max-width: 768px) {
            .mobile-menu-close {
                display: block;
            }
        }

        /* Content area */
.content-area {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

/* Homepage Main Container */
.homepage-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F38E20, #D42027);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-form {
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-course-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-course-input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-course-input::placeholder {
    color: #666;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Elementor-style Statistics and Grid Components */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.elementor-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.elementor-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.elementor-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.audience-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 16px 16px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.audience-card:hover::before {
    transform: scaleX(1);
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.audience-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.audience-card p {
    color: #666;
    line-height: 1.6;
}
.cta-button {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    flex: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.cta-button.primary {
    background: white;
    color: #D42027;
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #D42027;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    font-weight: 400;
}

/* Elementor-style Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.comparison-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
}

.comparison-card.featured {
    border: 2px solid #F38E20;
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(243, 142, 32, 0.2);
}

.comparison-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F38E20, #D42027);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.comparison-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* Testimonials Slider */
.testimonials-slider-container {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.testimonials-slider {
    overflow: hidden;
    border-radius: 16px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.4s ease;
    min-width: 400px;
    flex-shrink: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #F38E20;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    color: #F38E20;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: #F38E20;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #F38E20;
}

.dot:hover {
    background: #D42027;
}

/* Mobile responsiveness for slider */
@media (max-width: 768px) {
    .testimonial-card {
        min-width: 300px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 60px;
    color: #F38E20;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-content p {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

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

.author-info h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Community Stats */
.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.community-stat {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
}

.community-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #F38E20;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.community-stat .stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.community-feature {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #F38E20;
}

.community-feature h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.community-feature p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}
/* Section Containers */
.course-creator-section,
.features-section,
.courses-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.section-content {
    padding: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

/* Quick Form */
.quick-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Modern Features Text Box */
.features-text-box {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 3rem;
    margin: 2rem 0;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-text-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.features-content-area {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.features-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    text-align: center;
    position: relative;
}

.features-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 2px;
}

.features-intro {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
    text-align: center;
    font-weight: 400;
}

/* Media Library Styles */
.media-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: #F38E20;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.upload-area:hover {
    border-color: #F38E20;
    background: #fff8f0;
}

.upload-area i {
    font-size: 3rem;
    color: #F38E20;
    margin-bottom: 1rem;
}

.upload-info {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.media-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #F38E20;
    color: white;
    border-color: #F38E20;
}

.media-grid,
.media-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.media-item,
.media-library-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.media-item:hover,
.media-library-item:hover {
    transform: translateY(-2px);
}

.media-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.media-icon {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 3rem;
}

.media-info,
.media-details {
    padding: 1rem;
}

.media-name,
.media-filename {
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-size,
.media-filesize {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.media-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-library-item {
    position: relative;
}

.media-library-item:hover .media-actions {
    opacity: 1;
}

.media-actions button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 4px;
    background: rgba(0,0,0,0.7);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.media-actions button:hover {
    background: rgba(0,0,0,0.9);
}

.media-actions .delete-btn:hover {
    background: #dc3545;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .media-grid,
    .media-library-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .media-stats {
        grid-template-columns: 1fr;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-area i {
        font-size: 2rem;
    }
}


.features-simple-list {
    list-style: disc;
    padding: 0 0 0 0 2rem;
    margin: 0;
    width: 100%;
    text-align: left;
}

.features-simple-list li {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    width: 100%;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #F38E20, #D42027);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-item span {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover span {
    color: #1e293b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-text-box {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .features-heading {
        font-size: 2.25rem;
    }

    .features-intro {
        font-size: 1.1rem;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .feature-item span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .features-text-box {
        padding: 2rem 1rem;
    }

    .features-heading {
        font-size: 1.9rem;
    }

    .features-intro {
        font-size: 1rem;
    }
}

/* Legacy feature grid styles for backward compatibility */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #F38E20;
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Enhanced Course Cards */
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.course-status {
    padding: 0.25rem 0.75rem;
    background: #ffc107;
    color: #333;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.course-status.published {
    background: #28a745;
    color: white;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.course-progress {
    font-weight: 500;
}

.course-date {
    font-style: italic;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.view-all-link {
    color: #F38E20;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #D42027;
}

.course-creator {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.input-section {
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #3D3D3C;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #F38E20;
    outline: none;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-direction: row;
}

.create-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: #F38E20;
    color: white;
}

a.create-button[href="/create-scratch"],
a.create-button[href="/templates"] {
    background-color: #F38E20;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

a.create-button[href="/create-scratch"]:hover,
a.create-button[href="/templates"]:hover {
    background-color: #D42027;
}

.template-button {
    background-color: #F38E20;
}

.create-button:hover {
    background-color: #D42027;
}

.courses-section {
    margin-top: 4rem;
}

.course-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group select,
.course-form select,
.course-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group select {
    background-color: white;
    cursor: pointer;
}

.course-form textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #F38E20;
    color: white;
    padding: 12px 20px;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #D42027;
}

.secondary-button {
    background-color: #6c757d;
    color: white;
    padding: 12px 20px;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.secondary-button:hover {
    background-color: #5a6268;
    color: white;
    text-decoration: none;
}

/* AI Course Creation Styles */
.course-outline {
    margin-top: 2rem;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #F38E20;
}

.ai-badge {
    background: linear-gradient(135deg, #F38E20, #D42027);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: inline-block;
}

.layout-preview {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
    line-height: 1.6;
}

.layout-preview .section-header {
    color: #D42027;
    font-weight: bold;
    font-size: 1.1em;
    margin: 20px 0 10px 0;
    padding: 8px 12px;
    background: #fff;
    border-left: 4px solid #F38E20;
    border-radius: 4px;
}

.layout-preview .section-content {
    margin: 8px 0 8px 20px;
    color: #333;
    font-size: 0.95em;
}

.layout-actions-bottom {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.layout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.layout-header h3 {
    margin: 0;
    color: #333;
}

/* About Page Styles */
.about-content h2, .about-content h3 {
    font-family: 'Playfair Display', serif;
    color: #D42027;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
}

.features-grid, .framework-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card, .service-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #F38E20;
}

.framework-item {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #D42027;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.contact-item h4 {
    color: #D42027;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #F38E20;
    text-decoration: none;
}

/* FAQ Page Styles */
.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    font-family: 'Playfair Display', serif;
    color: #D42027;
    border-bottom: 2px solid #F38E20;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: #f9f9f9;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #F38E20;
    color: white;
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #D42027;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Layout Blocks Styles */
.layout-blocks {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.layout-block {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    transition: all 0.2s ease;
    position: relative;
}

.layout-block:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.professional-block {
    border-left: 4px solid #F38E20;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.block-title {
    font-weight: 600;
    color: #333;
}

.edit-block-btn {
    background: #F38E20;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.edit-block-btn:hover {
    background: #D42027;
}

.block-content {
    line-height: 1.6;
    color: #555;
}

.block-editor {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

.block-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-end;
}

.save-block-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.cancel-block-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.save-block-btn:hover {
    background: #218838;
}

.cancel-block-btn:hover {
    background: #5a6268;
}

.primary-button {
    background-color: #F38E20;
    color: white;
    padding: 12px 24px;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.primary-button:hover {
    background-color: #D42027;
}

.courses-section h2 {
    font-family: 'Playfair Display', serif;
    color: #3D3D3C;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-card h3 {
    font-family: 'Playfair Display', serif;
    color: #3D3D3C;
    margin: 0 0 1rem 0;
}

.course-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.edit-button {
    width: 100%;
    padding: 0.8rem;
    background-color: #F38E20;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.edit-button:hover {
    background-color: #D42027;
}

.tip {
    margin-top: 20px;
    font-size: 0.95rem;
    background-color: #fff5eb;
    padding: 15px;
    border-left: 4px solid #F38E20;
    border-radius: 4px;
}

input[type="text"] {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
}

.submit-button {
    background-color: #F38E20;
}

.submit-button:hover {
    background-color: #D42027;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.loading {
    padding: 1rem;
    color: #666;
    font-style: italic;
}

.module-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
}

.lesson-item {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.ai-output-details {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ai-output-details summary {
    cursor: pointer;
    color: #0066cc;
}

.ai-output-details summary:hover {
    text-decoration: underline;
}

button {
    background: #333;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background: #444;
}

.ai-assistant-container {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-container {
    margin-top: 1rem;
}

.button-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.content-button {
    padding: 0.5rem 1rem;
    background: #4a5568;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.content-button:hover {
    background: #2d3748;
}

.content-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.content-item textarea {
    width: 100%;
    min-height: 100px;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
}

.image-preview, .video-preview {
    margin-top: 1rem;
    max-width: 100%;
}

.image-preview img {
    max-width: 100%;
    height: auto;
}

.error-message {
    color: #e53e3e;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background: #fff5f5;
    border-radius: 4px;
}

.ai-messages {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 1rem;
}```html
.ai-message {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border-left: 3px solid #0066cc;
}

.user-input {
    display: flex;
    gap: 1rem;
}

.user-input textarea {
    flex: 1;
    min-height: 60px;
    resize: vertical;
}

.course-overview {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modules-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.learning-stage {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 1rem;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
}

.lesson {
    margin-bottom: 1.5rem;
}

.lesson-content {
    width: 100%;
    min-height: 100px;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.file-upload {
    margin-top: 1rem;
}

.file-upload label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.empty-state, .error-state {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    margin: 1rem 0;
}

.error-state {
    color: #dc3545;
}

.courses-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.course-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.course-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2d3748;
    margin-top: 0;
}

.course-item p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.view-course-btn {
    background: #4a5568;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-top: auto;
}

.view-course-btn:hover {
    background: #2d3748;
}

.template-section {
    text-align: center;
    margin-top: 2rem;
}

.meta-info {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    color: #666;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.back-link {
    color: #4a5568;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: #2d3748;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 1rem 0;
}

.template-button {
    background: #444;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    transition: background-color 0.3s;
}

.template-button:hover {
    background: #555;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.template-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.template-card h2 {
    margin-top: 0;
    color: #333;
}

.template-card button {
    margin-top: 1rem;
}

.ai-assistant-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.ai-avatar {
    background: #4a5568;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.user-message {
    background: #007bff;
    color: white;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;    margin-left: 2rem;
}

.ai-input {
    display: flex;
    gap: 1rem;
}

.ai-input textarea {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: vertical;
}

.ai-input button {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ai-input button:hover {
    background: #0056b3;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin: 1rem 0;
}

.progress {
    height: 100%;
    background: #4CAF50;
    border-radius: 4px;
    transition: width 0.3s ease;
}

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

.next-button,
.back-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Blog Content Type Styles */
.content-type-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.content-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.content-type-card.event {
    border-left-color: #F38E20;
}

.content-type-card.announcement {
    border-left-color: #D42027;
}

.content-type-card.research {
    border-left-color: #34495e;
}

.content-type-card.article {
    border-left-color: #007bff;
}

.content-type-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.content-type-badge.event {
    background: #F38E20;
    color: white;
}

.content-type-badge.announcement {
    background: #D42027;
    color: white;
}

.content-type-badge.research {
    background: #34495e;
    color: white;
}

.content-type-badge.article {
    background: #007bff;
    color: white;
}

.content-meta {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 16px;
}

.content-tags {
    margin-top: 16px;
}

.content-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 4px;
}

.sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.sidebar h4 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.sidebar ul li {
    margin-bottom: 8px;
}

.sidebar ul li a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar ul li a:hover {
    color: #F38E20;
    text-decoration: underline;
}

.next-button {
    background: #4CAF50;
    color: white;
}

.save-button {
    background: #2196F3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 10px;
}

.save-button:hover {
    background: #1976D2;
}

/* Image Generation Styles */
.image-generation-form {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.image-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.image-options select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.image-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.uploaded-images-section {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.uploaded-image-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.uploaded-image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.uploaded-image-item .image-info {
    padding: 8px;
    font-size: 12px;
    color: #666;
    background: white;
}

.save-btn, .download-btn, .regenerate-btn, .insert-btn, .remove-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.save-btn {
    background: #28a745;
    color: white;
}

.save-btn:hover {
    background: #218838;
}

.download-btn {
    background: #007bff;
    color: white;
}

.download-btn:hover {
    background: #0056b3;
}

.regenerate-btn {    background: #ffc107;
    color: #212529;
}

.regenerate-btn:hover {
    background: #e0a800;
}

.insert-btn {
    background: #17a2b8;
    color: white;
}

.insert-btn:hover {
    background: #138496;
}

.remove-btn {
    background: #dc3545;
    color: white;
}

.remove-btn:hover {
    background: #c82333;
}

/* Images Gallery */
.images-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.saved-image-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.saved-image-item img {
    flex-shrink: 0;
}

.image-details {
    flex: 1;
}

.image-details p {
    margin: 5px 0;
    font-size: 14px;
}

.info-item {
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

/* Fay Framework Explanation Styles */
.framework-explanation {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.framework-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #F38E20, #D42027);
    color: white;
    border-radius: 12px;
}

.framework-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.framework-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.framework-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.framework-overview,
.framework-structure,
.framework-principles,
.framework-benefits {
    margin-bottom: 40px;
}

.framework-overview h3,
.framework-structure h3,
.framework-principles h3,
.framework-benefits h3 {
    color: #D42027;
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #F38E20;
    padding-bottom: 10px;
}

.framework-phase {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #F38E20;
}

.framework-phase h4 {
    color: #D42027;
    margin-bottom: 10px;
}

.framework-phase ul {
    margin: 0;
    padding-left: 20px;
}

.framework-phase li {
    margin-bottom: 8px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.principle-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.principle-card h4 {
    color: #D42027;
    margin-bottom: 10px;
}

.framework-benefits ul {
    padding-left: 20px;
}

.framework-benefits li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.framework-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.framework-actions .primary-button,
.framework-actions .secondary-button {
    margin: 0 10px;
}

.framework-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    background: white;
}

.framework-card:hover {
    transform: translateY(-5px);
}

.framework-title {
    font-family: 'Playfair Display', serif;
    color: #D42027;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.framework-desc {
    font-size: 0.95em;
    margin-bottom: 15px;
}

.framework-desc ul {
    padding-left: 20px;
    margin: 10px 0;
}

.create-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #F38E20;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.create-btn:hover {
    background-color: #d87513;
}

.sidebar {
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 20px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
}

.main-content {
    margin-left: 270px;
    padding: 20px;
}

.content-blocks button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.content-block {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.content-block textarea {
    width: 100%;
    min-height: 100px;
    margin: 10px 0;
}

.quiz-question {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #eee;
}

.quiz-question input,
.quiz-question select {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 5px;
}

.accept-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    background-color: #e9ecef;
    border-radius: 12px;
    font-size: 0.9em;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.tag:hover {
    background-color: #dee2e6;
}

.tag-filter {
    margin: 1rem 0;
}

.tag-filter select {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-left: 0.5rem;
}

.lesson-generation-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.lesson-generation-section h2 {
    margin-top: 0;
    color: #495057;
}

.lesson-generation-section label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.lesson-generation-section input,
.lesson-generation-section textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.lesson-output {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    min-height: 60px;
}

.lesson-content {
    line-height: 1.6;
    color: #333;
}

.lesson-output .error {
    color: #dc3545;
    font-weight: bold;
}

.lesson-output {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f8f9fa;
    margin-top: 1.5rem;
}

.lesson-output h3 {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.generated-lesson {
    background-color: white;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #28a745;
    margin-top: 1rem;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 0.75rem;
    border-radius: 4px;
    border-left: 4px solid #28a745;
    margin-bottom: 1rem;
    font-weight: bold;
}

.copy-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: #5a6268;
}

.lessons-grid {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.lesson-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.lesson-card h3 {
    margin-top: 0;
    color: #333;
}

.lesson-content-preview {
    color: #666;
    line-height: 1.5;
    margin: 1rem 0;
}

.lesson-meta {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 1rem;
}

.lesson-id {
    font-size: 0.8rem;
    color: #999;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.saved-lessons-section {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.saved-lessons-section h3 {
    margin-top: 0;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.lesson-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.delete-button:hover {
    background-color: #c82333;
}

.lesson-card .edit-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.lesson-card .edit-button:hover {
    background-color: #0056b3;
}

/* Rich Text Editor Modal Styles */
.rich-editor-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.rich-editor-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.rich-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.rich-editor-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

/* Modern Rich Text Editor Toolbar */
.rich-text-toolbar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.toolbar-section {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.1);
}

.toolbar-section + .toolbar-section {
    margin-left: 8px;
}

.toolbar-group button {
    padding: 10px 14px;
    border: 2px solid #007bff;
    background-color: #ffffff;
    color: #007bff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    outline: none;
}

.toolbar-group button:focus {
    outline: 3px solid #007bff40;
    outline-offset: 2px;
}

.toolbar-group button:hover {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.toolbar-group button:active {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.toolbar-group button.active {
    background-color: #28a745;
    border-color: #1e7e34;
    color: white;
}

/* AI-powered buttons */
.toolbar-group button.ai-button {
    background: linear-gradient(135deg, #F38E20, #D42027);
    border-color: #D42027;
    color: white;
}

.toolbar-group button.ai-button:hover {
    background: linear-gradient(135deg, #D42027, #F38E20);
    transform: translateY(-2px) scale(1.05);
}

/* Image generation button */
.toolbar-group button.image-gen {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    border-color: #6f42c1;
    color: white;
}

.toolbar-group button.image-gen:hover {
    background: linear-gradient(135deg, #e83e8c, #6f42c1);
}

/* Accessibility button styles */
.toolbar-group button.accessibility {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    border-color: #17a2b8;
    color: white;
}

.toolbar-group select {
    padding: 8px 12px;
    border: 2px solid #6c757d;
    border-radius: 6px;
    background-color: white;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    min-height: 44px;
    cursor: pointer;
}

.toolbar-group select:focus {
    outline: 3px solid #007bff40;
    outline-offset: 2px;
    border-color: #007bff;
}

.toolbar-group input[type="color"] {
    width: 40px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
}

.rich-editor-area {
    flex: 1;
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: white;
}

.rich-editor-area:focus {
    background-color: #fafafa;
}

.rich-editor-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #ddd;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.save-rich-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.save-rich-btn:hover {
    background-color: #218838;
}

.cancel-rich-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.cancel-rich-btn:hover {
    background-color: #5a6268;
}

/* Modal styles for image generation */
.image-generation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
        margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #dee2e6;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #F38E20;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style content within the rich editor */
.rich-editor-area h1,
.rich-editor-area h2,
.rich-editor-area h3,
.rich-editor-area h4,
.rich-editor-area h5,
.rich-editor-area h6 {
    margin: 10px 0;
    color: #333;
}

.rich-editor-area p {
    margin: 10px 0;
}

.rich-editor-area ul,
.rich-editor-area ol {
    margin: 10px 0;
    padding-left: 30px;
}

.rich-editor-area li {
    margin: 5px 0;
}

.rich-editor-area a {
    color: #007bff;
    text-decoration: underline;
}

.rich-editor-area img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

.rich-editor-area blockquote {
    border-left: 4px solid #F38E20;
    padding-left: 15px;
    margin: 15px 0;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 4px;
}

/* Ensure clean header styling */
h1, h2, h3, h4, h5, h6, .title, .header-title, .page-title {
    background: transparent;
    background-color: transparent;
    background-image: none;
    text-shadow: none;
    box-shadow: none;
}

/* Touch device optimizations for ALL interactive elements */
.touch-device button,
.touch-device .nav-link,
.touch-device .cta-button,
.touch-device .primary-button,
.touch-device .secondary-button,
.touch-device .submit-btn,
.touch-device .edit-button,
.touch-device .delete-button,
.touch-device .save-btn,
.touch-device .cancel-btn,
.touch-device .action-btn {
    -webkit-tap-highlight-color: rgba(212, 32, 39, 0.2);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

/* iOS specific fixes for ALL form elements */
.touch-device input,
.touch-device textarea,
.touch-device select,
.touch-device .form-group input,
.touch-device .form-group textarea,
.touch-device .form-group select,
.touch-device .hero-course-input,
.touch-device .block-editor {
    -webkit-appearance: none;
    border-radius: 8px;
    font-size: 16px; /* Prevents zoom */
    -webkit-user-select: text;    user-select: text;
}

/* Android specific fixes for ALL buttons */
.touch-device button,
.touch-device .primary-button,
.touch-device .secondary-button,
.touch-device .cta-button {
    background-clip: padding-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom viewport height for mobile browsers */
.full-height {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

/* Improve scrolling performance on mobile for ALL scrollable elements */
.content-area,
.main-nav,
.sidebar,
.rich-editor-area,
.ai-messages,
.modal-content,
.layout-blocks,
.courses-grid,
.features-grid {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

/* Better focus visibility on mobile for ALL interactive elements */
@media (max-width: 768px) {
    *:focus {
        outline: 3px solid #F38E20;
        outline-offset: 2px;
        z-index: 1;
    }

    button:focus,
    .nav-link:focus,
    .cta-button:focus,
    .primary-button:focus,
    .secondary-button:focus,
    .submit-btn:focus,
    .edit-button:focus,
    .delete-button:focus,
    .save-btn:focus,
    .cancel-btn:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 3px solid #F38E20;
        outline-offset: 2px;
        z-index: 1;
    }

    /* Ensure tappable elements have enough space */
    .hamburger-menu,
    .nav-link,
    button,
    .action-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Stack navigation items properly on mobile */
    .main-nav {
        gap: 8px;
    }

    .nav-item {
        width: 100%;
    }
/* Accessibility */
.action-btn:focus,
.connect-btn:focus,
.start-discussion-btn:focus,
.cta-btn:focus {
    outline: 3px solid rgba(243, 142, 32, 0.4);
    outline-offset: 2px;
}
/* Mobile Navigation for all mobile devices */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        z-index: 1002;
    }

    .header-content {
        position: relative;
        padding: 1rem 1.5rem;
        z-index: 1002;
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 4rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        transition: right 0.3s ease;
        align-items: flex-start;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

 /* Loading Animation */
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #F38E20;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tablet Devices (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .framework-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .section-title {
        font-size: 2.25rem;
    }
}

/* Large Tablet/Small Desktop (1025px - 1200px) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .framework-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop and larger (1201px+) */
@media screen and (min-width: 1201px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .framework-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for high-resolution displays */
    .hamburger-line {
        height: 2px;
    }


}

/* Print styles */
@media print {
    .hamburger-menu,
    .nav-overlay,
    .main-nav {
        display: none !important;
    }

    .content-area {
        margin: 0;
        padding: 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1024px) {
    .courses-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .courses-row {
        grid-template-columns: 1fr;
    }
}



/* Modern CTA Box Section */
.cta-section {
    margin: 4rem auto;
    padding: 0 2rem;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.cta-box {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 3rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-sizing: border-box;
}



.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 24px 24px 0 0;
}

.cta-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cta-content-area {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    position: relative;
}

.cta-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 2px;
}

.cta-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    text-align: center;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cta-primary-btn,
.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-primary-btn {
    background: linear-gradient(135deg, #F38E20, #D42027);
    color: white;
    border: 2px solid transparent;
}

.cta-primary-btn:hover {
    background: linear-gradient(135deg, #D42027, #F38E20);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 32, 39, 0.3);
}

.cta-secondary-btn {
    background: rgba(243, 142, 32, 0.1);
    color: #D42027;
    border: 2px solid #F38E20;
}

.cta-secondary-btn:hover {
    background: #F38E20;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(243, 142, 32, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-box {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        margin: 1.5rem;
    }

    .cta-heading {
        font-size: 2.25rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        min-width: auto;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .cta-box {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .cta-heading {
        font-size: 1.9rem;
    }

    .cta-description {
        font-size: 1rem;
    }
}

/* Section with a background gradient */
.gradient-bg-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}
/* Ready to Create Section Styles */
.ready-to-create-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

.ready-to-create-box {
    background: #f8f9fa;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4rem 3rem;
    margin: 2rem auto;
    max-width: 900px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.ready-to-create-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ready-to-create-content-area {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ready-to-create-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    position: relative;
}

.ready-to-create-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 2px;
}

.ready-to-create-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    text-align: center;
    font-weight: 400;
}

.ready-to-create-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.ready-to-create-primary-btn,
.ready-to-create-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.ready-to-create-primary-btn {
    background: linear-gradient(135deg, #F38E20, #D42027);
    color: white;
    border: 2px solid transparent;
}

.ready-to-create-primary-btn:hover {
    background: linear-gradient(135deg, #D42027, #F38E20);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 32, 39, 0.3);
    color: white;
    text-decoration: none;
}

.ready-to-create-secondary-btn {
    background: rgba(243, 142, 32, 0.1);
    color: #D42027;
    border: 2px solid #F38E20;
}

.ready-to-create-secondary-btn:hover {
    background: #F38E20;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(243, 142, 32, 0.3);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ready-to-create-box {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        margin: 1.5rem;
    }

    .ready-to-create-heading {
        font-size: 2.25rem;
    }

    .ready-to-create-description {
        font-size: 1.1rem;
    }

    .ready-to-create-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .ready-to-create-primary-btn,
    .ready-to-create-secondary-btn {
        width: 100%;
        min-width: auto;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .ready-to-create-box {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .ready-to-create-heading {
        font-size: 1.9rem;
    }

    .ready-to-create-description {
        font-size: 1rem;
    }
}
.about-container {
            max-width: 1200px;
            margin: 2rem auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            padding: 3rem;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
/* Modern Elementor-Style Boxed Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 4rem auto 2rem auto;
    max-width: 1200px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 20px 20px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-column {
    position: relative;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul li {
    margin: 0;
}

.footer-column ul li a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F38E20, #D42027);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.footer-column ul li a:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.footer-column ul li a:hover::before {
    width: 12px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, #F38E20, #D42027);
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-brand {
    position: relative;
    padding-right: 1rem;
}

.footer-brand::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer {
        margin: 3rem auto 1.5rem auto;
        max-width: calc(100% - 3rem);
        border-radius: 16px;
    }

    .footer-container {
        padding: 2.5rem 1.5rem 1rem;
    }

    .footer-columns {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        margin: 2rem auto 1rem auto;
        max-width: calc(100% - 2rem);
        border-radius: 12px;
    }

    .footer-container {
        padding: 2rem 1rem 1rem;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .footer-brand::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer {
        margin: 1.5rem auto 0.5rem auto;
        max-width: calc(100% - 1rem);
        border-radius: 10px;
    }

    .footer-container {
        padding: 1.5rem 1rem 0.75rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li a::before {
        display: none;
    }

    .footer-column ul li a:hover {
        transform: none;
    }

    .footer-bottom {
        padding: 1rem 0 0;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* CSS file successfully modified to incorporate Elementor-style grid and layout components, comparison grids, testimonial components, modern cta box styles and modern 'Ready to create your first course?' section with sleek UI. */