/* PDGA Style Testimonials Section */
.testimonials-modern-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
}

.featured-testimonial {
  position: sticky;
  top: 100px;
}

.main-video-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.main-video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail-main {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumbnail-main:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail-main:hover .play-overlay {
  opacity: 1;
}

.play-btn-large {
  width: 80px;
  height: 80px;
  background: #e60c3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(230, 12, 61, 0.3);
}

.play-btn-large:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(230, 12, 61, 0.4);
}

.student-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 25px 25px;
}

.student-badge h4 {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.student-badge span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.testimonials-grid-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.video-testimonial-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.video-thumb-vertical {
  position: relative;
  overflow: hidden;
}

.video-thumb-vertical img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-testimonial-card:hover .video-thumb-vertical img {
  transform: scale(1.05);
}

.play-btn-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(230, 12, 61, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  opacity: 0;
}

.video-testimonial-card:hover .play-btn-small {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.student-info-small {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 15px 15px;
  color: white;
}

.student-info-small h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

.student-info-small span {
  font-size: 13px;
  opacity: 0.9;
}

/* Statistics Section */
.success-statistics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: #fff;
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-box {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-icon.bg-1 {
  background: linear-gradient(135deg, #89b196, #6a9c7a);
}

.stat-icon.bg-2 {
  background: linear-gradient(135deg, #bf8375, #a66b5c);
}

.stat-icon.bg-3 {
  background: linear-gradient(135deg, #596570, #4a5560);
}

.stat-icon.bg-4 {
  background: linear-gradient(135deg, #c1a96e, #a8935e);
}

.stat-content h3 {
  color: #e60c3d;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-content h5 {
  color: #222;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Video Modal */
.testimonial-video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-video-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
}

.modal-video-wrapper {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 aspect ratio for vertical videos */
  height: 0;
  border-radius: 15px;
  overflow: hidden;
  max-height: 80vh;
}

.modal-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #e60c3d;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonials-modern-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-testimonial {
    position: static;
  }

  .testimonials-grid-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .success-statistics {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .testimonials-grid-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .success-statistics {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 20px;
  }

  .modal-video-content {
    width: 95%;
    margin: 10% auto;
  }

  .video-thumbnail-main img {
    height: 400px;
  }

  .video-thumb-vertical img {
    height: 200px;
  }

  .stat-content h3 {
    font-size: 28px;
  }

  .stat-content h5 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .testimonials-modern-grid {
    gap: 30px;
  }

  .video-thumbnail-main img {
    height: 350px;
  }

  .student-badge h4 {
    font-size: 20px;
  }

  .student-badge span {
    font-size: 14px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .stat-content h3 {
    font-size: 24px;
  }

  .stat-content h5 {
    font-size: 12px;
  }
}
