/* Styling the testimonial section */
.testimonial-section {
    text-align: center;
    padding: 70px 20px;
    background-attachment: fixed;
    width: 100%;
}

/* Heading within the testimonial section */
.testimonial-section h2 {
    font-size: 2.4em;
    color: #59abe3;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Carousel container specific to testimonial section */
.testimonial-section .carousel {
    position: relative;
    width: 100%;
    max-width: 600px; /* Increased size */
    margin: 0 auto;
    overflow: hidden;
    background: #59abe3;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-section .carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Testimonial card style */
.testimonial-section .testimonial {
    min-width: 100%;
    display: flex;
    padding: 30px;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    display: none; /* Hide by default */
}

.testimonial-section .testimonial.active {
    display: flex; /* Show active testimonial */
}

/* Testimonial content with image and text */
.testimonial-section .testimonial-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Client image */
.testimonial-section .client-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-image: url('https://thepondicherryproperty.com/images/icons8-user-100.png');
    background-size: cover;
    background-position: center;
    border: 4px solid #AD4F61;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonial text */
.testimonial-section .testimonial-text {
    flex: 1;
    text-align: left;
}

.testimonial-section .testimonial h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.testimonial-section .testimonial p {
    font-size: 1em;
    line-height: 1.5;
    color: #fff;
    font-style: italic;
    margin: 0;
}

/* Dots navigation styling */
.testimonial-section .carousel-dots {
    text-align: center;
    margin-top: 30px; /* Space between testimonials and dots */
}

.testimonial-section .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #AD4F61;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-section .dot.active {
    background-color: #333;
}

.testimonial-section .dot:hover {
    background-color: #333;
}

/* Adjustments for positioning the dots */
.testimonial-section .carousel-dots {
    position: absolute;
    bottom: 10px; /* Position dots at the bottom of the box */
    left: 50%;
    transform: translateX(-50%);
}
