/* Courses Carousel CSS */

.courses-content-wrapper {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.courses-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://olimpiyatozelders.com/images/slider/home1/slide3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px);
    opacity: 0.6;
    z-index: 0;
}

.courses-content-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.75) 0%, rgba(139, 92, 246, 0.75) 100%);
    z-index: 0;
}

.courses-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.courses-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.courses-content .lead {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.courses-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

#coursesCarousel .carousel-control-prev,
#coursesCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#coursesCarousel .carousel-control-prev {
    left: -25px;
}

#coursesCarousel .carousel-control-next {
    right: -25px;
}

#coursesCarousel .carousel-control-prev:hover,
#coursesCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#coursesCarousel .carousel-control-prev-icon,
#coursesCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(93%) saturate(1352%) hue-rotate(1deg) brightness(101%) contrast(101%);
}

@media (max-width: 768px) {
    .courses-content h2 {
        font-size: 2rem;
    }
    
    #coursesCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #coursesCarousel .carousel-control-next {
        right: 10px;
    }
}

