/* ===========================
   RAQBALL COURSE STYLES
   =========================== */

:root {
    --primary-color: #c41e3a;
    --secondary-color: #1a3a52;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --gray-light: #f8f9fa;
}

/* Course Hero */
.course-hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/OAY04509.jpg') center/cover;
    opacity: 0.15;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.course-badge {
    display: inline-block;
    background: var(--success-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.course-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.course-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 12px 24px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Course Info Section */
.course-info {
    padding: 80px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.info-main h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Modules List */
.learning-outcomes {
    margin-bottom: 3rem;
}

.learning-outcomes h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.module-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

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

.module-content h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.module-content p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.module-lessons {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Course Features */
.course-features {
    margin-bottom: 3rem;
}

.course-features h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.features-list li {
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Start Course CTA */
.start-course-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gray-light) 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.btn-large {
    font-size: 1.3rem;
    padding: 18px 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
}

/* Sidebar */
.info-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.course-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.course-detail:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #666;
}

.detail-value {
    color: var(--text-dark);
    font-weight: 500;
}

.audience-list {
    list-style: none;
    padding: 0;
}

.audience-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.audience-list li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .info-sidebar {
        position: static;
    }

    .course-hero h1 {
        font-size: 2.5rem;
    }

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

    .course-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 10px 16px;
    }

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

@media (max-width: 640px) {
    .course-hero h1 {
        font-size: 2rem;
    }

    .stat-text {
        font-size: 0.9rem;
    }

    .module-item {
        flex-direction: column;
        text-align: center;
    }

    .module-number {
        margin: 0 auto;
    }
}
