/* Video Testimonial Section Styles */
.video-testimonial {
    width: 100%;
    position: relative;
  }
  
  .testimonial-sec {
    padding: 70px 0;
    background-color: #f7f7f7;
    position: relative;
  }
  
  .blend-mode-multiply {
    background-blend-mode: multiply;
  }
  
  .excellence-sec {
    background-color: #007bff;
    color: #fff;
  }
  
  .ptb70 {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  
  .container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
  
 
  
  
  .headding111 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
  }
  
  .white {
    color: #fff !important;
  }
  
  .line {
    display: block;
    height: 4px;
    width: 60px;
    background: #fff;
    margin: 15px auto 0;
  }
  
  /* Owl Carousel Styling */
  .testimonial-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
  }
  
  .owl-carousel {
    display: block;
    position: relative;
    width: 100%;
  }
  
  .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  
  .owl-wrapper {
    position: relative;
    transition: transform 0.8s ease;
    display: flex;
  }
  
  .owl-item {
    float: left;
    position: relative;
    width: 100%;
    flex-shrink: 0;
  }
  
  .vd-col {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .vd-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  .vpop {
    cursor: pointer;
    display: block;
    position: relative;
  }
  
 
  
  .vpop:hover::after {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Carousel Controls */
  .owl-controls {
    margin-top: 15px;
    text-align: center;
  }
  
  .owl-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .owl-prev1, .owl-next1 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(173 100 170);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }
  

  
  .owl-prev1::after, .owl-next1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
  }
  
  .owl-prev1::after {
    transform: translate(-25%, -50%) rotate(-135deg);
  }
  
  .owl-next1::after {
    transform: translate(-75%, -50%) rotate(45deg);
  }
  
  /* Modal Video Popup Styles */
  .video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .video-popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .video-popup-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
  }
  
  .video-popup-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .video-popup-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 30px;
    height: 30px;
    background: transparent;
    cursor: pointer;
  }
  
  .video-popup-close::before, .video-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #fff;
  }
  
  .video-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .video-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  @media (max-width: 576px) {
    .headding111 {
      font-size: 28px;
    }
    
    .video-popup-container {
      width: 95%;
    }
    
    .video-popup-close {
      top: -40px;
      right: 0;
    }
  }



  /* Base styles for testimonial section */
.testimonial-section {
  padding: 50px 20px;
}

.sec-title {
  margin-bottom: 40px;
}

.sec-title h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.testimonial-slider {
  margin-bottom: 40px;
}

.vd-col {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.vd-col iframe {
  width: 100%;
  height: 315px;
  display: block;
}

.testimonial-block {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.testimonial-block .inner-box {
  padding: 15px;
}

.testimonial-block .text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-block .clients-name {
  font-weight: 600;
  font-size: 18px;
  text-align: right;
  margin-top: 10px;
}

/* Media queries for responsive design */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
  .testimonial-section {
    padding: 40px 15px;
  }
  
  .sec-title h2 {
    font-size: 28px;
  }
  
  .vd-col iframe {
    height: 280px;
  }
  
  .row.justify-content-around {
    margin: 0 -10px;
  }
  
  .col-md-5 {
    padding: 0 10px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
  .testimonial-section {
    padding: 30px 10px;
  }
  
  .sec-title h2 {
    font-size: 24px;
  }
  
  .row.justify-content-around {
    flex-direction: column;
  }
  
  .col-md-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
  
  .vd-col iframe {
    height: 250px;
  }
  
  .testimonial-block .text {
    font-size: 15px;
  }
  
  .testimonial-block .clients-name {
    font-size: 16px;
  }
  
  .owl-controls {
    margin-top: 10px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .testimonial-section {
    padding: 25px 10px;
  }
  
  .sec-title h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .vd-col iframe {
    height: 200px;
  }
  
  .testimonial-block {
    padding: 15px 10px;
  }
  
  .testimonial-block .inner-box {
    padding: 10px;
  }
  
  .testimonial-block .text {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .testimonial-block .clients-name {
    font-size: 15px;
  }
  
  .owl-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}

/* Very small devices (small phones, less than 400px) */
@media (max-width: 399px) {
  .vd-col iframe {
    height: 180px;
  }
  
  .testimonial-block {
    padding: 10px;
  }
  
  .testimonial-block .inner-box {
    padding: 8px;
  }
  
  .testimonial-block .text {
    margin-bottom: 10px;
  }
}
  .testimonial-carousel-wrapper {
            background: linear-gradient(135deg, #a352a6 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 60px 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .testimonial-carousel-container {
            max-width: 900px;
            width: 100%;
            position: relative;
        }

        .testimonial-carousel-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .testimonial-carousel-title {
            color: white;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .testimonial-carousel-subtitle {
            color: rgba(255,255,255,0.8);
            font-size: 1.2rem;
            font-weight: 300;
        }

        .testimonial-carousel-slider {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
        }

        .testimonial-carousel-track {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .testimonial-carousel-slide {
            min-width: 100%;
            background: white;
            padding: 50px;
            position: relative;
            overflow: hidden;
        }

        .testimonial-carousel-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #4facfe, #00f2fe);
        }

        .testimonial-carousel-quote {
            font-size: 1.3rem;
            line-height: 1.8;
            color: #444;
            margin-bottom: 35px;
            position: relative;
            padding-left: 30px;
            text-align: center;
        }

        .testimonial-carousel-quote::before {
            content: '"';
            position: absolute;
            left: -10px;
            top: -20px;
            font-size: 5rem;
            color: #4facfe;
            opacity: 0.2;
            font-family: serif;
        }

        .testimonial-carousel-author {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .testimonial-carousel-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, #a550a2, #ac5696);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.8rem;
            box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
        }

        .testimonial-carousel-info {
            text-align: center;
        }

        .testimonial-carousel-name {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
        }

        .testimonial-carousel-rating {
            display: flex;
            gap: 5px;
            justify-content: center;
        }

        .testimonial-carousel-star {
            color: #ffd700;
            font-size: 1.4rem;
            filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
        }

        .testimonial-carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.9);
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.5rem;
            color: #4facfe;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .testimonial-carousel-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .testimonial-carousel-nav.prev {
            left: -30px;
        }

        .testimonial-carousel-nav.next {
            right: -30px;
        }

        .testimonial-carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 30px;
        }

        .testimonial-carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .testimonial-carousel-dot.active {
            background: white;
            transform: scale(1.2);
            box-shadow: 0 0 10px rgba(255,255,255,0.5);
        }

        .testimonial-carousel-dot:hover {
            background: rgba(255,255,255,0.7);
            transform: scale(1.1);
        }

        .testimonial-carousel-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, #4facfe, #00f2fe);
            transition: width 0.1s linear;
            border-radius: 0 0 20px 20px;
        }

        @media (max-width: 768px) {
            .testimonial-carousel-title {
                font-size: 2.5rem;
            }

            .testimonial-carousel-slide {
                padding: 30px;
            }

            .testimonial-carousel-quote {
                font-size: 1.1rem;
                padding-left: 20px;
            }

            .testimonial-carousel-nav {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            .testimonial-carousel-nav.prev {
                left: -25px;
            }

            .testimonial-carousel-nav.next {
                right: -25px;
            }
        }

        @media (max-width: 480px) {
            .testimonial-carousel-wrapper {
                padding: 40px 15px;
            }

            .testimonial-carousel-title {
                font-size: 2rem;
            }

            .testimonial-carousel-slide {
                padding: 25px;
            }

            .testimonial-carousel-quote {
                font-size: 1rem;
            }

            .testimonial-carousel-nav.prev {
                left: -20px;
            }

            .testimonial-carousel-nav.next {
                right: -20px;
            }
        }
