/* Section Card Component Styles */
/* Course section card with image overlay */

.course-section-item {
    position: relative;
    width: 100%;
}

.course-section-content {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 700px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

/* Course Section Content Responsive Heights */
@media (min-width: 1512px) {
    .course-section-content {
        height: 700px;
    }
}

@media (max-width: 1511px) and (min-width: 1200px) {
    .course-section-content {
        height: 650px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .course-section-content {
        height: 600px;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .course-section-content {
        height: 550px;
    }
}

.course-section-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-section-content img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.course-section-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), rgba(0,0,0,0));
    color: #fff;
}

.course-section-title {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 37px;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1.5px;
    vertical-align: middle;
}

.course-section-subtitle {
    font-family: SF Pro Display, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 21px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    letter-spacing: 0px;
    vertical-align: middle;
}

/* Desktop only - larger subtitle to match hero paragraph text */
@media (min-width: 769px) {
    .course-section-subtitle {
        font-size: 18px;
        line-height: 28px;
    }
}

.course-section-buttons {
    display: flex;
    gap: 12px;
}

.course-section-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-family: SF Pro Display, sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.course-section-button:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
}

.course-section-button.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .course-section-content {
        height: 554px;
    }
    
    .course-section-overlay {
        padding: 20px 16px;
    }
    
    .course-section-title {
        font-size: 36px;
    }
    
    .course-section-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .course-section-content {
        height: 554px;
    }
    
    .course-section-overlay {
        padding: 20px 16px;
    }
    
    .course-section-title {
        font-size: 36px;
    }
    
    .course-section-subtitle {
        font-size: 14px;
    }
}
