.our_testimonial-parent {
    margin: 2% auto 4% auto;

}

.our_testimonial-horizontal-line {
    width: 100%;
    background-color: var(--primary-color);
    height: 2px;
}


.our_happy_client-parent {
    width: 100%;
    background-color: var(--secondary-color);
    margin: 2% 0;
    padding: 2%;
    height: auto;
}

.our_happy_client {
    display: flex;
    justify-content: center;
    gap: 50px;
    color: #fff;
    font-family: var(--secondary-font-family);
    font-size: var(--desktop-subheading-font-size);
    font-weight: var(--custom-subheading-font-weight);
    line-height: var(--desktop-subheading-line-height);
    letter-spacing: var(--desktop-subheading-letter-spacing);
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    max-width: 1600px;
    position: relative;
}


.carousel-wrapper {
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    min-width: 50%;
    padding: 10px 40px;
    height: 100%;
}

.testimonial-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.testonomial-content-pareagraph {
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    line-height: 29px;
    letter-spacing: 0.04em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.testimonial-lower-div-name {
    font-family: 'Playfair Display';
    font-size: 24px;
    font-weight: 700;
    line-height: 31.99px;
    text-align: left;
    color: var(--secondary1-background-color);
}


.testimonial-lower-div-title {
    font-size: 19px;
    font-weight: 400;
    line-height: 22.27px;
    text-align: left;
    color: var(--secondary1-background-color);
}

/* Carousel Navigation */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    /* width: 4%; */
}

.carousel-prev {
    left: 0px;
}

.carousel-next {
    right: 0px;
}

/* Lines below the carousel */
.carousel-lines {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.line {
    height: 10px;
    width: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}


.line.active {
    background-color: var(--primary-color);
}

.testimonial-star-upper-div,
.testimonial-lower-div {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.testimonial-content-horizontal-line {
    margin: 0.5rem 0;
    padding: 0;
    height: 2px;
    color: #000000;
    background-color: #000000;
}

.testimonial .testimonial-profile-image {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
}



/* Add responsive CSS at the bottom of your styles.css */
@media (max-width: 768px) {
    .testimonial {
        min-width: 100%;
        padding: 10px 20px;
        height: 100%;
    }


    .carousel {
        justify-content: flex-start;
    }

    .line {
        width: 10px;
    }

    .line.active {
        width: 10px;
    }

    .our_happy_client {
        font-size: var(--mobile-subheading-font-size);
        line-height: var(--mobile-subheading-line-height);
        letter-spacing: var(--mobile-subheading-letter-spacing);
        text-align: center;

    }

    .carousel-prev,
    .carousel-next {
        width: 6%;
    }


    .testimonial-content {
        padding: 10px;
    }
}

@media (max-width: 576px) {

    .carousel-prev,
    .carousel-next {
        width: 10%;
        max-width: 40px;
    }


    .testimonial .testimonial-profile-image {
        max-width: 60px;
        max-height: 60px;
    }

    .testonomial-content-pareagraph {
        font-size: 15px;
        line-height: 24px;
    }

    .testimonial-lower-div-name {
        font-size: 20px;
        line-height: 24px;
    }

    .testimonial-lower-div-title {
        font-size: 16px;
        line-height: 20.27px;
    }

    .testimonial-star-upper-div img {
        width: 15px;
        height: 15px;
    }
}