/* Hero Section */
.testimonials-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/images/muslimguychecking.jpg");
  background-size: cover;
  background-position: center;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.testimonials-hero .min-vh-50 {
    min-height: 50vh;
}

/* Divider */
.divider {
    height: 4px;
    width: 80px;
    margin: 20px auto;
}
/* Simple Header Style */
.testimonials-section h2 {
    font-size: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.testimonials-section .lead {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-section h2 {
        font-size: 1.6rem;
    }

    .testimonials-section .lead {
        font-size: 1rem;
    }
}
/* Testimonials Swiper Section */
.testimonials-swiper {
    background-color: var(--light-color);
    padding: 80px 0;
}

.swiper {
    padding: 30px 10px 60px;
    width: 100%;
}

.swiper-slide {
    height: auto;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.video-testimonial-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
    border: 3px solid var(--primary-light);
}

.testimonial-rating {
    font-size: 18px;
    color: #ffc107;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    padding-right: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    right: -10px;
    top: -20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.bg-primary-light {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.video-wrapper {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.video-testimonial-info {
    padding: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .testimonials-hero h1 {
        font-size: 2.5rem;
    }

    .testimonial-card,
    .video-testimonial-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        padding: 80px 0;
    }

    .testimonials-hero h1 {
        font-size: 2rem;
    }

    .swiper {
        padding: 20px 10px 50px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 30px;
        left: 30px;
    }
}

@media (max-width: 576px) {
    .testimonials-hero {
        padding: 60px 0;
    }

    .testimonials-hero h1 {
        font-size: 1.8rem;
    }

    .testimonials-hero p {
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 20px;
        left: 20px;
    }
}
