/* Programs Carousel Component Styles */

/* See More Button */
.see-more-btn {
    background: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #19BBB7;
    border-radius: 8px;
    color: #19BBB7;
    padding: 8px 16px;
}

.see-more-arrow-left {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #19BBB7;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #19BBB7;
}

.see-more-arrow-right {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #19BBB7;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #19BBB7;
}



@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 24px !important;
    }
}

@media (max-width: 576px) {
    .container-slider {
        padding: 0 16px !important;
    }
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    height: 100%;
}



/* Responsive adjustments for swiper slides */



/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background: #fff;
    border: 1px solid #19BBB7;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

.arrow-icon {
    color: #19BBB7;
    font-size: 24px;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
    pointer-events: none;
}


.swiper-navigation-icon {
    display: none !important;
}

/* Ensure SVG icons in metadata items are exactly 20px */
.metadata-item svg,
.metadata-item .bi-clock,
.metadata-item .bi-hourglass-bottom,
.metadata-item .icon-color {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
}

/* Programs Carousel Slider Styles */
.programs-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.programs-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex-wrap: nowrap;
    direction: rtl; /* RTL: Right to left direction */
    gap: 20px;
}

.programs-carousel .carousel-slide {
    flex: 0 0 auto;
}

.programs-carousel .carousel-slide a {
    display: block;
    width: 100%;
}

.programs-carousel .course-container {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    margin: 24px auto;
}

/* Mobile: Adjust gap */
@media (max-width: 767px) {
    .programs-carousel .carousel-track {
        gap: 15px;
    }
}

/* Carousel Navigation Buttons */
.carousel-nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-nav-btn {
    background: #fff;
    border: 2px solid #19BBB7;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn:hover {
    background: #19BBB7;
    transform: scale(1.1);
}

.carousel-nav-btn:hover svg path {
    stroke: #fff;
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-nav-buttons {
        gap: 6px;
    }

    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

