/* Video Testimonials Styles */
.video-testimonials {
  background: #f8fafc;
  padding: 60px 0;
  border-bottom: none;
  margin: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.testimonials-header {
  background: transparent;
  color: #1b437b;
  padding: 0 0 40px 0;
  border-radius: 0;
  margin: 0;
  text-align: center;
  margin-bottom: 0;
}

.testimonials-header::before {
  content: none;
}

.testimonials-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1b437b;
  margin: 0 0 16px 0;
}

.testimonials-header p {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Video Container */
.main-video-container {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  border-top: none;
}

.video-player {
  flex: 1;
  max-width: 65%;
}

.video-player iframe {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.2s ease;
}

.video-player iframe:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-info {
  flex: 1;
  max-width: 35%;
}

.video-info h3 {
  font-size: 22px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.video-info p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Video Thumbnails Grid */
.video-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  border-top: none;
}

.video-thumbnails::before {
  content: "Choose a Testimonial";
  display: block;
  text-align: center;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  grid-column: 1 / -1;
}

.thumbnail-item {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: white;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thumbnail-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #ee7b22;
}

.thumbnail-item.active {
  border-color: #ee7b22;
  box-shadow: 0 0 0 2px rgba(238, 123, 34, 0.2);
}

.thumbnail-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
}

.thumbnail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.thumbnail-item:hover .thumbnail-image img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(238, 123, 34, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: all 0.2s ease;
}

.thumbnail-item:hover .play-button {
  opacity: 1;
}

.play-button svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.thumbnail-text {
  padding: 16px 0 8px 0;
  text-align: center;
}

.thumbnail-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 6px 0;
}

.thumbnail-text p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

/* Section Separator */
.video-testimonials::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  margin: 60px auto 0 auto;
  width: 80%;
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-testimonials {
    padding: 0;
    margin: 24px 0;
    border-radius: 12px;
  }
  
  .testimonials-header {
    padding: 32px 24px;
  }
  
  .testimonials-header h2 {
    font-size: 28px;
  }
  
  .main-video-container {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }
  
  .video-player {
    max-width: 100%;
    width: 100%;
  }
  
  .video-player iframe {
    height: 280px;
    width: 100%;
  }
  
  .video-info {
    max-width: 100%;
    width: 100%;
  }
  
  .video-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .video-testimonials {
    margin: 16px 0;
  }
  
  .testimonials-header {
    padding: 24px 20px;
  }
  
  .testimonials-header h2 {
    font-size: 24px;
  }
  
  .testimonials-header p {
    font-size: 16px;
  }
  
  .main-video-container {
    padding: 20px 16px;
    gap: 20px;
  }
  
  .video-player {
    max-width: 100%;
    width: 100%;
  }
  
  .video-player iframe {
    height: 240px;
    width: 100%;
  }
  
  .video-info {
    max-width: 100%;
    width: 100%;
  }
  
  .video-info h3 {
    font-size: 20px;
  }
  
  .video-info p {
    font-size: 15px;
  }
  
  .video-thumbnails {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  
  .thumbnail-text {
    padding: 12px 0 6px 0;
  }
}
