.testimonials {
    background-color: rgba(170, 211, 248, 0.14);
    width: 100%;
    padding: 60px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 32px;
    color: rgba(47, 25, 95, 1);
    margin-top: 20px;
    font-weight: 700;
    line-height: 60px;
}

.testimonials p {
    font-size: 20px;
    color: rgba(82, 82, 82, 1);
    margin-bottom: 10px;
    line-height: 37.48px;
    font-weight: 500;
}
.owl-carousel .owl-stage-outer{
    height: 300px;
}
.testimonial-card {
    position: relative;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    text-align: right;
    animation: slideDown 0.1s ease-in-out forwards;
    overflow: hidden;
    margin: 0 auto;
    width: 600px!important;
    height: 285px !important;
}

.testimonial-card::before {
    content: "\201C";
    font-size: 5em;
    color: rgba(170, 211, 248, 0.7);
    position: absolute;
    top: -20px;
    left: 10px;
}

.testimonial-card p {
    margin-top: 8px;
    font-size: 16px;
    color: rgba(82, 82, 82, 1);
    font-weight: 500;
    height: 60%!important;
    margin-bottom: 1.5rem;
    line-height: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.testimonial-author img {
    width: 59px!important;
    height: 60px!important;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info {
    text-align: right;
}

.testimonial-author-info h4 {
    font-size: 16px;
    margin: 0;
    line-height: 18.78px;
    color: rgba(82, 82, 82, 1);
    font-weight: 700;
}

.testimonial-author-info p {
    font-size: 16px;
    font-weight: 400;
    line-height: 29.98px;
    margin: 0;
    color: rgba(82, 82, 82, 1);
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 2rem;
}

.inner-indicators button {
    width: 21px;
    height: 21px;
    background-color: rgba(47, 25, 95, 1);
    border-radius: 50%;
    margin-left: 7px;
    margin-right: 7px;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0;
}

.inner-indicators .active {
    background-color: rgba(170, 211, 248, 1);
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .testimonials h2 {
        font-size: 20px;
    }
    .testimonials p {
        font-size: 1rem;
    }
    .testimonial-card {
        padding: 1.5rem;
        max-width: 90%;
    }
    .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 2rem 1rem;
    }
    .testimonials h2 {
        font-size: 16px;
    }
    .testimonials p {
        font-size: 0.9rem;
    }
    .testimonial-card {
        width: 100%;
    }
    .testimonial-card p {
        font-size: 14px;
    }
    .testimonial-author-info h4,
    .testimonial-author-info p {
        font-size: 16px;
    }
}

@media (max-width: 1440px) {
    .testimonial-card{
        width: 95% !important;
    }
}
