.testimonial-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-item img {
    border: 3px solid #007bff;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.testimonial-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333333;
}

.testimonial-item p.text-muted {
    font-size: 14px;
    margin-bottom: 15px;
    color: #777;
}

.testimonial-item p:last-child {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Owl Carousel Dots */
.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 25px;
    z-index: 2;
    position: relative;
}

.testimonial-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
    background: #007bff;
}
   .video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  min-height: 400px; /* Minimum height for very small screens */
}

/* Video styling */
video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Ensure video maintains aspect ratio on mobile */
@media (max-width: 768px) {
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Gradient overlay */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

/* Centered content */
.video-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
  animation: fadeIn 1.2s ease-in;
}

/* Responsive heading */
.video-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 90%;
  margin: 0 auto 20px auto;
}

/* Mute button styling */
#muteBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  padding: 10px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

#muteBtn:hover {
  background-color: white;
  color: black;
}

/* Play/pause button (optional if you want to style it) */
#playPauseBtn {
  font-size: 1.5rem;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s;
}

#playPauseBtn:hover {
  background-color: white;
  color: black;
}

/* Fade-in animation */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Loading state for video */
.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6f2ea2, #4a1a5c);
  z-index: 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.video-section.loaded::before {
  opacity: 0;
}

/* Tablet responsiveness */
@media (max-width: 768px) {
  .video-section {
    height: 70vh;
    min-height: 350px;
  }
  
  .video-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  #muteBtn {
    padding: 8px 12px;
    font-size: 16px;
    top: 15px;
    right: 15px;
  }

  #playPauseBtn {
    font-size: 1.3rem;
    padding: 10px 18px;
  }
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .video-section {
    height: 60vh;
    min-height: 300px;
  }
  
  .video-content {
    padding: 15px;
  }
  
  .video-content h1 {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    margin-bottom: 15px;
  }
  
  #muteBtn {
    padding: 6px 10px;
    font-size: 14px;
    top: 10px;
    right: 10px;
    border-radius: 3px;
  }

  #playPauseBtn {
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 3px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .video-section {
    height: 50vh;
    min-height: 280px;
  }
  
  .video-content {
    padding: 10px;
  }
  
  .video-content h1 {
    font-size: clamp(1rem, 3vw, 1.8rem);
    margin-bottom: 10px;
  }
  
  #muteBtn {
    padding: 5px 8px;
    font-size: 12px;
    top: 8px;
    right: 8px;
  }

  #playPauseBtn {
    font-size: 1rem;
    padding: 6px 12px;
  }
}

/* Landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
  .video-section {
    height: 100vh;
    min-height: 300px;
  }
  
  .video-content {
    padding: 15px;
  }
  
  #muteBtn {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .video-content h1 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  #muteBtn, #playPauseBtn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}


 /*#playPauseBtn {
  margin-top: 20px;
  font-size: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(5px);
  z-index: 4;
  transition: background 0.3s, color 0.3s;
}

#playPauseBtn:hover {
  background-color: white;
  color: black;
}
*/
.content-box {
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 30px 20px;
  margin: 50px auto;
  max-width: 90%;
  background: linear-gradient(135deg, #ffffff, #f1f1f1);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  box-sizing: border-box;
}

.content-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.content-box h2 {
  font-size: 2rem; /* responsive font */
  margin-bottom: 15px;
  color: #0d47a1;
}

/* Responsive Text and Padding */
@media (max-width: 768px) {
  .content-box {
    padding: 25px 15px;
  }

  .content-box h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .content-box {
    padding: 20px 10px;
  }

  .content-box h2 {
    font-size: 1.4rem;
  }
}


  .content-box p {
    font-size: 17px;
    color: #444;
    line-height: 1.6;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #playPauseBtn {
  transition: opacity 0.4s ease;
}

#playPauseBtn.hidden {
  opacity: 0;
  pointer-events: none;
}




/* apna college section css */

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
    padding: 10px 0;
  }

  .left-box {
    border-right: none !important;
    border-bottom: 2px solid #ccc;
    padding-right: 0 !important;
    margin-bottom: 20px;
  }

  .right-box img {
    max-width: 90% !important;
  }
}



/* -------------------------------------------------- */