/** carousel testimonials **/
.hotel-testimonials {
    background-repeat: no-repeat;
    background-size: cover;
}

.hotel-testimonials .carousel-inner {
    background-color: #a7b2a0;
    height: 600px !important;

}

.hotel-testimonials h2 {
    font-size: 2.5rem;
    padding: 0 2rem 2rem 2rem;
    color: #4c5a4f;

}

@media (min-width: 992px) {
    .hotel-testimonials h2 {
        font-size: 4.2rem;
        padding: 0;
    }

    .hotel-testimonials .carousel-inner {
        background-color: #a7b2a0;
        height: 480px !important;
    }

    .hotel-testimonials .carousel-item::before,
    .hotel-testimonials .carousel-item::after {
        display: none;
    }
}

.hotel-testimonials .carousel {
    width: 100% !important;
}

.hotel-testimonials .carousel-item {
    padding: 2% 10%;
    background-color: #a7b2a0;
}

.hotel-testimonials .carousel-control-next-icon,
.hotel-testimonials .carousel-control-prev-icon {
    filter: brightness(0) contrast(1);
    width: 50px;
    height: 50px;
}

.wrap-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    text-align: center;
    gap: 1rem;
}

.wrap-testimonial p {
    margin: 0;
    max-width: 900px;
}

.hotel-testimonials .carousel-item {
    width: 100% !important;
    margin: 0 auto;
    min-height: auto;
    height: 420px !important;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.hotel-testimonials .carousel-item.active {
    opacity: 1;


}

@media (min-width: 992px) {
    .hotel-testimonials .carousel-item {
        width: 100% !important;
        height: 300px !important;
    }
}

.wrap-testimonial p {
    margin-bottom: 1.6rem !important;
}



@media (min-width: 768px) and (max-width: 991px) {

    .wrap-testimonial p,
    .testimonial-quote {
        font-size: 18px;

    }



    .testimonial-quote::before {
        font-size: 8rem;
        top: -40px;

    }
}

.hotel-testimonials .carousel-item {
    padding: 2% 10%;
}

@media (max-width: 767px) {
    .testimonial-title {
        display: flex;
        justify-content: center;
        text-align: center;

        & h2::after {
            left: 20px;

        }
    }

    .wrap-testimonial p,
    .testimonial-quote {
        font-size: 16px;
    }

    .hotel-testimonials .carousel-item {
        padding: 2% 6%;
    }
}

.hotel-testimonials .carousel-indicators button[data-bs-target] {
    background-color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    border: 1px solid #a7b2a0;
}


.hotel-testimonials .carousel-indicators button[data-bs-target].active {
    background-color: #4c5a4f;
    border: 1px solid #4c5a4f;
}

.hotel-testimonials .carousel-indicators {
    bottom: 2rem;
}

.testimonial-title {
    display: flex;
    font-size: 40px;
    margin-top: 30px;
    justify-content: center;
    margin-bottom: 0;

    & h2::after {
        background-color: #f9f7f2;
    }
}

.testimonial-quote {
    position: relative;
    font-size: 2rem;
    animation: fadeIn 0.5s ease-in-out;

}

@media (min-width: 992px) {
    .testimonial-quote {
        padding-left: 2rem;
    }
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '\201C';
    font-family: 'Times New Roman', Times, serif;
    font-size: 12rem;
    color: #4c5a4f;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    top: -60px;
    animation: fadeIn 1.5s ease-in-out;

}

.testimonial-quote::after {
    animation: fadeIn 2.5s ease-in-out;
    transform: rotate(180deg);
    top: 90%;
    right: 0;
    left: 100%;
}

.active.testimonial-quote {
    animation: fadeIn 1s ease-in-out;

    &::before {
        animation: fadeIn 1.5s ease-in-out;
    }

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.testimonial-author {
    font-size: 20px;
}

.testimonial-divider {
    width: 50px;
    height: 2px;
    background-color: black;
    margin: 1rem auto;
}


.hotel-testimonials .carousel-control-next,
.hotel-testimonials .carousel-control-prev {
    display: none;
}

.wrap-testimonial p {
    color: #f9f7f2;
}