.section-header {
    border-radius: 50px;
    padding: 12px 24px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.professional-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0d6ebd 100%);
}

.technical-header {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
}

.carousel-wrapper {
    padding: 0 15px;
}

.course-carousel-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 450px;
    display: flex;
    flex-direction: column;
    margin: 0 15px;
}

.course-carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-carousel-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.course-body {
    padding: 25px 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-carousel-card .course-title {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-carousel-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-enroll {
    background: #ffc107;
    color: var(--primary);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary);
}

.carousel-control-prev {
    left: -10px;
}

.carousel-control-next {
    right: -10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    margin-bottom: -30px;
}

.carousel-indicators button {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-inner {
    padding: 20px 0 50px 0;
}

@media (max-width: 992px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .section-header {
        font-size: 1.2rem;
        padding: 12px 25px;
    }

    .course-carousel-card {
        height: auto;
        min-height: 420px;
        margin: 0 10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: -5px;
    }

    .carousel-control-next {
        right: -5px;
    }
}

@media (max-width: 576px) {
    .section-header {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .course-carousel-card {
        min-height: 400px;
        margin: 0 5px;
    }

    .course-carousel-description {
        font-size: 0.85rem;
    }

    .course-body {
        padding: 20px;
    }

    .carousel-wrapper {
        padding: 0 10px;
    }
}