@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  /* Ensure containers don't exceed viewport */
  .container {
    max-width: 100%;
    padding-left: 25px;
    padding-right: 15px;
  }
  footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Fix for rows that might overflow */
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  .countdown-inner {
    flex-wrap: wrap;
  }

  .time {
    min-width: 70px;
  }
  .video-container iframe {
    max-width: 100%;
  }
  #featured-video {
    width: 100%;
    overflow: hidden;
  }
}


/* --- VIDEO SECTION --- */
.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* full screen height */
  background: #f1f5f9; /* soft background color */
  padding: 20px;
  box-sizing: border-box;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 900px; /* limit video width */
  aspect-ratio: 16 / 9; /* modern aspect ratio handling */
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* for browsers that don't support aspect-ratio yet */
.video-container::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 fallback */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

section.quotes-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom right, #ffffff, #f8fafc);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2rem;
  text-align: center;
}

.slideshow-container {
  position: relative;
  background: #fff;
  width: 400px;
  max-width: 90%;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.quote {
  display: none;
  animation: fade 0.8s ease;
}

.quote.active {
  display: block;
}

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

.quote img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.quote-text {
  font-style: italic;
  color: #334155;
  margin-bottom: 0.5rem;
}

.speaker {
  font-weight: 600;
  color: #0f172a;
}

.dots {
  margin-top: 1rem;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #cbd5e1;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #1e293b;
}
