/*=======================================
    RESPONSIVE FIXES FOR SLIDER & VIDEO BANNER
    Added to improve responsive layout
=========================================*/

/* ===================================
   SLIDER HERO SECTION IMPROVEMENTS
   =================================== */

/* Add container constraint for better alignment */
.slider-section .slingle-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 128px;
  overflow: hidden;
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  .slider-section .slingle-slider {
    padding-top: 100px;
    justify-content: center;
  }
}

/* Improved slider left section - use percentage instead of fixed width */
.slider-section .slingle-slider .slider-left {
  width: 48%;
  align-self: center;
  padding-right: 20px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .slider-section .slingle-slider .slider-left {
    width: 46%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .slider-section .slingle-slider .slider-left {
    width: 47%;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .slider-section .slingle-slider .slider-left {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
  }
}

@media only screen and (max-width: 479px) {
  .slider-section .slingle-slider .slider-left {
    padding: 40px 15px 50px;
  }
}

/* Improved slider right section */
.slider-section .slingle-slider .slider-right {
  width: 52%;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .slider-section .slingle-slider .slider-right {
    width: 54%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .slider-section .slingle-slider .slider-right {
    width: 53%;
  }
}

@media only screen and (max-width: 767px) {
  .slider-section .slingle-slider .slider-right {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Responsive slider images */
.slider-section .slingle-slider .slider-right .slider-images {
  width: 100%;
  max-width: 100%;
}

.slider-section .slingle-slider .slider-right .slider-images img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  .slider-section .slingle-slider .slider-right .slider-images {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 479px) {
  .slider-section .slingle-slider .slider-right .slider-images {
    max-width: 280px;
  }
}

/* Improved slider content - use max-width instead of fixed width */
.slider-section .slingle-slider .slider-content {
  width: 100%;
  max-width: 545px;
  min-height: 420px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  margin-left: auto;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .slider-section .slingle-slider .slider-content {
    max-width: 440px;
    min-height: 380px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .slider-section .slingle-slider .slider-content {
    max-width: 360px;
    min-height: 340px;
  }
}

@media only screen and (max-width: 767px) {
  .slider-section .slingle-slider .slider-content {
    max-width: 100%;
    min-height: auto;
    margin: 0 auto;
    text-align: center;
    padding: 20px 15px;
  }
}

@media only screen and (max-width: 479px) {
  .slider-section .slingle-slider .slider-content {
    padding: 15px 10px;
  }
}

/* Improved slider content title */
.slider-section .slingle-slider .slider-content .title {
  font-size: clamp(32px, 5vw, 80px);
  line-height: 1.25;
  margin-bottom: 20px;
  margin-top: -10px;
}

@media only screen and (max-width: 767px) {
  .slider-section .slingle-slider .slider-content .title {
    margin-top: 0;
  }
}

/* Improved slider content paragraph */
.slider-section .slingle-slider .slider-content p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  margin-bottom: 25px;
}

@media only screen and (max-width: 479px) {
  .slider-section .slingle-slider .slider-content p {
    margin-bottom: 20px;
  }
}

/* ===================================
   VIDEO BANNER SECTION IMPROVEMENTS
   =================================== */

/* Add min-height and better structure */
.video-banner {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .video-banner {
    min-height: 350px;
  }
}

@media only screen and (max-width: 767px) {
  .video-banner {
    min-height: 300px;
  }
}

@media only screen and (max-width: 479px) {
  .video-banner {
    min-height: 250px;
  }
}

/* Ensure image fills container properly */
.video-banner .video-banner-image {
  width: 100%;
  height: 100%;
}

.video-banner .video-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Improved video banner content positioning */
.video-banner .video-banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

@media only screen and (max-width: 767px) {
  .video-banner .video-banner-content {
    padding: 30px 15px;
  }
}

@media only screen and (max-width: 479px) {
  .video-banner .video-banner-content {
    padding: 20px 10px;
  }
}

/* Improved video button positioning - use relative positioning */
.video-banner .video-btn {
  position: relative;
  margin-bottom: 30px;
  z-index: 10;
}

@media only screen and (max-width: 767px) {
  .video-banner .video-btn {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 479px) {
  .video-banner .video-btn {
    margin-bottom: 15px;
  }
}

/* Improved button sizing */
.video-banner .video-btn .btn-play {
  height: 100px;
  width: 100px;
  min-height: 60px;
  min-width: 60px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .video-banner .video-btn .btn-play {
    height: 80px;
    width: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .video-banner .video-btn .btn-play {
    height: 70px;
    width: 70px;
  }
}

@media only screen and (max-width: 479px) {
  .video-banner .video-btn .btn-play {
    height: 60px;
    width: 60px;
  }
}

.video-banner .video-btn .btn-play img {
  max-width: 50%;
  height: auto;
}

/* Improved video title wrapper */
.video-banner .video-title-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

@media only screen and (max-width: 767px) {
  .video-banner .video-title-wrapper {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Improved video title - better responsive font sizing */
.video-banner .video-title {
  position: relative;
  font-size: clamp(16px, 3.5vw, 45px);
  line-height: 1.4;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .video-banner .video-title {
    font-size: clamp(18px, 3.5vw, 40px);
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .video-banner .video-title {
    font-size: clamp(18px, 3vw, 30px);
  }
}

@media only screen and (max-width: 767px) {
  .video-banner .video-title {
    font-size: clamp(16px, 4vw, 24px);
  }
}

@media only screen and (max-width: 479px) {
  .video-banner .video-title {
    font-size: clamp(14px, 4.5vw, 18px);
    line-height: 1.5;
  }
}

/* Keep text style color consistent */
.video-banner .video-title .text-style {
  color: #f7a582;
}

/* Ensure layer-3 doesn't interfere */
.video-banner .layer-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Ensure content is above layer */
.video-banner .video-btn,
.video-banner .video-title-wrapper {
  position: relative;
  z-index: 2;
}
