/* Testimonial Card - Customer Feedback */
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #f0f0f0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimonial-author h5 {
    color: #1E5F9C;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.testimonial-author p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-content p {
        font-size: 13px;
    }
    
    .testimonial-author h5 {
        font-size: 15px;
    }
}

/* Testimonial Slider Styles */
.testimonial-slider {
    position: relative;
    padding: 0 60px;
}

.testimonial-slider .owl-stage-outer {
    position: relative;
}

.testimonial-slider .owl-nav {
    position: absolute;
    top: 40%;
    width: calc(100% + 120px);
    left: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.testimonial-slider .owl-nav button.owl-prev,
.testimonial-slider .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background: #1E5F9C !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    border: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(30, 95, 156, 0.3);
}

.testimonial-slider .owl-nav button.owl-prev {
    margin-left: 0;
}

.testimonial-slider .owl-nav button.owl-next {
    margin-right: 0;
}

.testimonial-slider .owl-nav button:hover {
    background: #164773 !important;
    transform: scale(1.1);
}

.testimonial-slider .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonial-slider .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-slider .owl-dots .owl-dot.active {
    background: #1E5F9C;
    width: 30px;
    border-radius: 6px;
}

.testimonial-slide {
    padding: 10px;
}

/* Responsive Slider */
@media (max-width: 992px) {
    .testimonial-slider {
        padding: 0 40px;
    }
    
    .testimonial-slider .owl-nav button.owl-prev,
    .testimonial-slider .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-slider .owl-nav button.owl-prev {
        margin-left: -40px;
    }
    
    .testimonial-slider .owl-nav button.owl-next {
        margin-right: -40px;
    }
}

@media (max-width: 768px) {
    .testimonial-slider {
        padding: 0 30px;
    }
    
    .testimonial-slider .owl-nav button.owl-prev,
    .testimonial-slider .owl-nav button.owl-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .testimonial-slider .owl-nav button.owl-prev {
        margin-left: -30px;
    }
    
    .testimonial-slider .owl-nav button.owl-next {
        margin-right: -30px;
    }
}

@media (max-width: 576px) {
    .testimonial-slider {
        padding: 0 20px;
    }
    
    .testimonial-slider .owl-nav {
        position: relative;
        top: auto;
        transform: none;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
    
    .testimonial-slider .owl-nav button.owl-prev,
    .testimonial-slider .owl-nav button.owl-next {
        margin: 0 !important;
    }
}
