/* ------------------------------------------------------------
   4) VIDEO SECTION (full width, no gaps)
------------------------------------------------------------ */

section.video-section {
  margin: 0 !important;
  padding-bottom: 10%;
}

.video-section {
  position: relative;
  width: 100vw;
  background: #050038; 
  padding: 4rem 0; /* Uniform vertical padding */
  margin: 0 auto;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Light Card with Rounded Corners */
.video-card {
  background: #F1F3FD;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  height: auto;
  scale: 1.01;
  margin-left: 1px;
  max-width: 1200px;
}

/* Left Column: Text */
.video-content {
  flex: 1 1 372px;
  scale: 0.9;
  margin-left: -2%;
}
.video-content h2 {
  font-size: 34px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #BC42B9 4%, #4BC7E8 96%);
  -webkit-background-clip: text;  
  -webkit-text-fill-color: transparent; 
  letter-spacing: normal;
  font-weight: 800;
}
.video-content p {
  font-size: 16px;
  line-height: 24px;
  color: #696688;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: #ff6fbc;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  padding: 0.5rem 2rem;
  border-radius: 28px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.cta-button:hover {
  background-color: #ff5daa;
}

/* Right Column: Video Player */
.video-player {
  flex: 1 1 500px;
  background: #050029;
  border-radius: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: auto;
  width: 100%;
}

/* Thumbnail Image */
.video-thumbnail {
  max-width: 100%;
  display: block;
  margin: auto;
  border-radius: 8px;
  cursor: pointer;
}

/* Play Button */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Play button triangle
.play-button::before {
  content: '▶';
  margin-left: 2px;
} */

/* Responsive Embedded Video */
.video-wrapper-home {
  position: relative;
  width: 100%;
  max-width: 640px; /* Adjust size */
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 0 auto;
}

.video-wrapper-home iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder Image */
.video-logo {
  max-width: 100%;
  display: block;
  margin: auto;
  border-radius: 8px;
}

/* Remove Gaps Between Sections */
.video-section + .next-section {
  margin-top: 0;
}

@media (max-width: 768px) {
  .video-card {
      flex-direction: column;
  }
  .video-content {
      text-align: center;
  }
  .video-content h2 {
      font-size: 28px !important;
  }
  .video-content p {
      max-width: 100%;
      font-size: 16px !important;
  }
  .video-player {
      width: 100%;
      height: auto;
  }
  .video-thumbnail {
      width: 100%;
      max-width: 100%;
      border-radius: 8px;
      margin-top: 0 !important;
  }
  .play-button {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
  }
  .cta-button {
    font-size: 14px !important;
}

}

/* 📱📲 Mobile Horizontal & iPad-Friendly Layout */
@media (max-width: 1024px) {
  .video-section {
      padding: 3rem 0;
  }

  .video-container {
      max-width: 95%;
      padding: 2rem;
  }

  .video-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 2.5rem;
  }

  .video-content h2 {
      font-size: 30px;
  }

  .video-content p {
      font-size: 17px;
      line-height: 1.5;
  }

  .cta-button {
      font-size: 18px;
      padding: 0.7rem 2rem;
  }

  .video-player {
      max-width: 90%;
  }

  .play-button {
      width: 55px;
      height: 55px;
      font-size: 1.3rem;
  }
  .video-thumbnail {
    margin-top: 10%;
}
}

@media (max-width: 768px) and (orientation: landscape) {
  .video-section {
      padding: 2.5rem 0;
  }

  .video-container {
      padding: 2rem 1rem;
  }

  .video-card {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      text-align: center;
  }

  .video-content {
      max-width: 85%;
      text-align: center;
  }

  .video-content h2 {
      font-size: 26px;
  }

  .video-content p {
      font-size: 15px;
      line-height: 1.4;
  }

  .video-player {
      width: 80%;
      height: auto;
  }

  .play-button {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
  }

  .cta-button {
      font-size: 16px;
      padding: 0.6rem 1.5rem;
  }
}
