/* ========================================
   COURSES PAGE STYLES
   ======================================== */

/* ========== COURSE DETAIL CARDS ========== */
.course-detail {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    position: relative;
    overflow: visible;
}

.course-detail-content {
    position: relative;
}

.course-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--navy);
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-icon-large {
    font-size: 5rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    display: block;
    animation: float 4s ease-in-out infinite;
}

.course-detail h2 {
    text-align: center;
    margin-bottom: var(--spacing-xs);
}

.course-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.course-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.course-features {
    background: var(--off-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.course-features h3 {
    color: var(--emerald-green);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.features-list li {
    padding: var(--spacing-xs);
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.course-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    color: var(--emerald-green);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.info-text p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.course-detail .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ========== CTA SECTION ========== */
.cta {
    background: var(--gradient-overlay);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .course-icon-large {
        font-size: 4rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .course-info-grid {
        grid-template-columns: 1fr;
    }

    .course-detail .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .course-detail {
        padding: var(--spacing-md);
    }

    .course-icon-large {
        font-size: 3rem;
    }

    .course-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}