/* Footer Section Styles */

.footer-section .container h3 {
    color: #eb8501;
    font-size: 20px;
    font-weight: bold;
}

.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31%;
    border-radius: 50%;
    height: 110px;
    box-shadow: red 0px 0px 0px 0px,
        red 0px 0px 0px 0px, rgba(255, 0, 0, 0.2) 0px 0px 0px 10px,
        rgba(255, 0, 0, 0.15) 0px 0px 0px 20px, rgba(255, 0, 0, 0.1) 0px 0px 0px 30px;
}

.c-button {
    text-decoration: none;
    color: #fff;
    background-color: #007e9b;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 60px auto;
    height: 480px;
    perspective: 1000px;
}

.carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.8s ease;
    opacity: 0;
    z-index: 0;
}

.carousel-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.carousel-card h4 {
    font-size: 22px;
    margin: 10px 0;
}

.carousel-card p {
    font-size: 15px;
    color: #666;
}

/* Main (center) card */
.carousel-card.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 3;
}

/* Left preview card */
.carousel-card.prev {
    opacity: 0.8;
    transform: translate(calc(-50% - 420px), -50%) scale(0.9);
    z-index: 2;
}

/* Right preview card */
.carousel-card.next {
    opacity: 0.8;
    transform: translate(calc(-50% + 420px), -50%) scale(0.9);
    z-index: 2;
}

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn:hover {
    background: red;
}

.carousel-btn.prev {
    left: -20%;
}

.carousel-btn.next {
    right: -21%;
}

/* Responsive carousel styles */
@media (max-width: 992px) {
    .carousel-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .carousel-card {
        flex: 0 0 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-card {
        width: 260px;
        height: 360px;
    }

    .carousel-card.prev {
        transform: translate(calc(-50% - 280px), -50%) scale(0.9);
    }

    .carousel-card.next {
        transform: translate(calc(-50% + 280px), -50%) scale(0.9);
    }

    .carousel-wrapper {
        flex-wrap: nowrap;
        overflow: hidden;
        position: relative;
    }

    .carousel-card {
        flex: 0 0 100%;
        margin: 0 auto;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    #prevBtn {
        left: 10px;
    }

    #nextBtn {
        right: 10px;
    }
}
