@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

/* Slide 4 Main Title */
.slide4-title {
  text-align: center;
  margin-top: 40px;
  color: #fff;
}

.slide4-heading {
  font-size: clamp(1.8rem, 2vw + 1rem, 3rem);
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #fff;
  margin-top: 40px;
  padding-bottom: 5px;
}

.slide4-description {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  font-style: italic;
  word-spacing: 1px;
  padding-bottom: 10px;
}

/* ✅ Video Container (same look, 50px less height) */
.slide4-video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  width: 100%;
  max-width: 850px;
  margin-top: -10px;
  height: auto;
}

.slide4-video-container iframe,
.slide4-video-container video {
  width: 100%;
  max-width: 650px;
  height: 420px; /* ⬅ Reduced from ~450px to make it 50px shorter */
  border-radius: 12px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.3);
}

/* ✅ Responsive - Tablet (769px → 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .slide4-video-container iframe,
  .slide4-video-container video {
    max-width: 800px;
    height: 380px; /* slightly shorter too */
  }
  .slide4-title,
  .slide4-description {
    margin-left: auto;
    margin-right: auto;
  }

  .slide4-title {
    margin-top: 80px;
  }

  .slide4-description {
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.5;
    text-align: center;
  }

  .slide4-video-container {
    margin-top: 20px;
    max-width: 95%;
  }
}

/* ✅ Responsive - Mobile (≤600px) */
@media (max-width: 769px) {
  .slide4-title {
    margin-top: 100px;
  }

  .slide4-heading {
    font-size: 1.6rem;
  }

  .slide4-description {
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.5;
    text-align: center;
  }

  .slide4-video-container {
    margin-top: 20px;
    max-width: 95%;
  }

  .slide4-video-container iframe,
  .slide4-video-container video {
    max-width: 100%;
    height: 300px; /* shorter for small screens */
    border-radius: 8px;
  }
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
  .slide4-title,
  .slide4-description {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .slide4-title {
    margin-top: 200px;
  }

  .slide4-heading {
    font-size: 1.4rem;
  }

  .slide4-description {
    font-size: 0.9rem;
    max-width: 95%;
    margin: 0 auto;
    line-height: 1.4;
    text-align: center;
  }

  .slide4-video-container {
    margin-top: 15px;
    max-width: 95%;
  }

  .slide4-video-container iframe,
  .slide4-video-container video {
    max-width: 100%;
    height: 260px;
    border-radius: 8px;
  }
}

/* Ultra Small Mobile (≤370px) */
@media (max-width: 370px) {
  .slide4-title,
  .slide4-description {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .slide4-title {
    margin-top: 200px;
  }

  .slide4-heading {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .slide4-description {
    font-size: 0.85rem;
    max-width: 95%;
    margin: 0 auto;
    line-height: 1.4;
    text-align: center;
  }

  .slide4-video-container {
    margin-top: 12px;
    max-width: 95%;
  }

  .slide4-video-container iframe,
  .slide4-video-container video {
    max-width: 100%;
    height: 230px;
    border-radius: 6px;
  }
}
