.carousel-quote-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-family: Dunbar, sans-serif;
}

#imageCarousel {
    width: 100%;
    margin: 30px 0;
    position: relative;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.5);
}

#imageCarousel .carousel-inner {
    height: 400px;
}

#imageCarousel .item {
    height: 100%;
}

#imageCarousel .item img {
    opacity: 40%;
    height: 100%;
    width: 100%;
    background-color: #333333;
    object-fit: cover;
    object-position: center;
}

dt {
    font-size: 110%;
    transition: 0.6s;
    text-align: center;
}

dt:hover {
    font-size: 140%;
    color: #74d3f1;
    transition: 1s;
}

dd {
    opacity: 80%;
    text-align: center;
}

#comparison {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #111;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#comparison .comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#comparison .comparison-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: slide-reveal 10s infinite ease-in-out;
}

#comparison::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

#comparison .comparison-after-wrapper img {
    width: 100%;
    height: 100%;
}

.comparison-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-family: Dunbar, sans-serif;
}

@keyframes slide-reveal {
    0% {
        clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    }
}

.services-whychoose-lists {
    display: flex;
    gap: 50px;
}

.serviceslist {
    flex: 1;
    padding: 10px;
    background-color: #3b3b3b;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    font-family: Dunbar, sans-serif;
}

.whychoose {
    flex: 1;
    padding: 10px;
    background-color: #3b3b3b;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    font-family: Dunbar, sans-serif;
}

#reviewsCarousel {
    background-color: #3b3b3b; /* Uses the same background as your top navigation */
    border-radius: 8px;
    padding: 30px 50px;
    margin: 30px auto; /* Adds space above/below and centers the carousel */
    width: 80%;
    max-width: 800px; /* Prevents it from becoming too wide on large screens */
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.5); /* A subtle shadow effect like the top navigation */
}

#reviewsCarousel .carousel-inner {
    position: relative;
    /* Height will be determined by the content below */
}

#reviewsCarousel .review-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Ensures a consistent height to prevent jumps between slides */
}

#reviewsCarousel .review-text {
    font-style: italic;
    font-size: 18px;
    color: #f1f1f1; /* Uses a main text color from your site */
    margin-bottom: 20px;
    max-width: 90%;
}

#reviewsCarousel .reviewer-name {
    font-weight: bold;
    color: #f1f1f1; /* Uses a main text color from your site */
    margin-bottom: 10px;
}

#reviewsCarousel .review-stars span {
    color: #FFD700; /* A gold color for the stars */
    font-size: 20px;
}

#reviewsCarousel .carousel-control {
    background-image: none; /* Removes Bootstrap's default dark gradient */
    color: #f1f1f1; /* Sets a base color for the arrows */
    opacity: 0.4;
    width: 5%; /* Narrows the clickable area */
    transition-duration: 0.3s;
}

#reviewsCarousel .carousel-control:hover {
    color: #f1f1f1;
    opacity: 1;
    transition-duration: 0.6s;
}

#reviewsCarousel .carousel-control .glyphicon {
    font-size: 28px;
}
