.popular-courses-section {
    background: white;
    padding: 26px 0;
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin-top: -155px;
    border-radius: 20px;
    box-shadow: 0 7px 22px #00000014;
}


.courses-container {
    position: relative;
    padding: 0 50px;
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: start;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-top: 20px solid #ff6b35;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover::after {
    opacity: 1;
}

.course-icon {
    font-size: 30px;
    transition: transform 0.3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.1);
}

.course-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.course-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Color variations for course cards */
.course-card.purple {
    background: linear-gradient(135deg, #e8d8ff 0%, #f0e6ff 100%);
}

.course-card.purple .course-icon {
    color: #8b5cf6;
}

.course-card.yellow {
    background: linear-gradient(135deg, #fff4d6 0%, #fef3c7 100%);
}

.course-card.yellow .course-icon {
    color: #f59e0b;
}

.course-card.green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.course-card.green .course-icon {
    color: #10b981;
}

.course-card.pink {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.course-card.pink .course-icon {
    color: #ec4899;
}

.course-card.orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.course-card.orange .course-icon {
    color: #ea580c;
}

.course-card.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.course-card.blue .course-icon {
    color: #3b82f6;
}




/* Background decorative elements */
.bg-decoration {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.bg-decoration.circle1 {
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
}

.bg-decoration.circle2 {
    bottom: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .courses-container {
        padding: 0 20px;
    }

    .course-card {
        height: 160px;
        padding: 20px 15px;
    }

    .course-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .course-title {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
        padding: 12px 30px;
    }
}