/* =============================================
   COURSES PAGE SPECIFIC STYLES
============================================= */

/* Page Hero */
.courses-hero {
    background: var(--grad-dark);
    padding: clamp(6rem, 15vh, 9rem) 0 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.courses-hero-content {
    position: relative;
    z-index: 10;
}

.courses-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
    color: var(--charcoal);
    /* Using the charcoal variable which is #222222 (almost black) */
}

/* Section Spacing */
.courses-page-section {
    padding: var(--sp-3xl) 0;
}

/* Online Courses Section */
.online-courses-section {
    background: var(--bg-soft);
    position: relative;
}

.coming-soon-wrapper {
    text-align: center;
    padding: var(--sp-2xl) 0;
}

.coming-soon-card {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--sp-2xl);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--grad-main);
}

.cs-icon {
    font-size: 4rem;
    margin-bottom: var(--sp-lg);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.cs-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--grad-soft);
    color: var(--purple);
    font-weight: 700;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.cs-title {
    font-size: 2.5rem;
    margin-bottom: var(--sp-md);
    color: var(--charcoal);
}

.cs-desc {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--sp-xl);
}

/* Online Course List (Placeholder for easy updating) */
.online-planned-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}

.planned-item {
    background: var(--bg-light);
    padding: 12px 24px;
    border-radius: var(--r-lg);
    border: 1px dashed var(--purple);
    color: var(--purple-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.planned-item:hover {
    background: white;
    border-style: solid;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cs-title {
        font-size: 1.8rem;
    }

    .coming-soon-card {
        padding: var(--sp-xl);
    }
}