/**
 * Project Carousel Styles
 * Custom styling for project gallery carousel
 *
 * @package CORE_ESW
 * @since 1.0.0
 */

.mobile-carousel-wrapper .carousel,
.col-lg-6 .carousel {
    width: 100%;
    height: 200px;
    background: #000;
    overflow: hidden;
    position: relative;
    margin-bottom: -65px;
}

.carousel-img {
    height: 450px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease-in-out;
    
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item .ratio {
    background: #000;
}

.carousel-item iframe {
    border: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 5px;
}

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

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(59, 126, 196, 0.3);
    opacity: 0.7;
    transition: all 0.3s ease;
}


.prev-button {
  width: 40px;
  height: 40px;
  background: #ffffff70;
  color: #3b7ec4;
  border-radius: 50px;
  padding: 9px;
}

.next-button {
  width: 40px;
  height: 40px;
  background: #ffffff70;
  color: #3b7ec4;
  border-radius: 50px;
  padding: 9px;
}
.carousel-indicators [data-bs-target].active {
    background-color: rgb(59, 126, 196);
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 991.98px) {
    .mobile-carousel-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .mobile-carousel-wrapper .carousel {
        border-radius: 0;
    }
}

@media (min-width: 992px) {
    .col-lg-6 .carousel {
        top: -25px;
        height: 400px;
    }
}

.carousel-item iframe {
    background: #000;
}

.carousel-inner img {
    max-width: 100%;
    height: auto;
}
