/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:ital,wght@1,700&family=Parkinsans:wght@800&display=swap');

/* Section background */
.section-5 {
  background-color: #FCFCE9;
  position: relative;
  padding-bottom: 180px; /* space for video overlap */
  height: 890px;
}

/* Main box */
.section-5 > .container > .rounded-4 {
  background-color: #032719;
  height: 590px;
  position: relative;
  padding: 2rem 2.5rem; /* Bootstrap padding override */
  overflow: visible;
}

/* Left side h5 - Caveat, italic, white, 700 weight */
.why-subtitle {
  font-family: 'Caveat';
  font-weight: 500;
  font-size: 24px;
  color: white;
  margin-bottom: 0.5rem !important;
}

/* Left side h1 - Parkinsans, 60px, 800, white */
.why-title {
  font-family: 'Parkinsans', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: white;
  margin-bottom: 0 !important;
}

/* Right side paragraph */
.Why-choose-us p {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: white;
  margin-bottom: 1.5rem !important;
  line-height: 1.5;
}

/* Button style */
.section-5 .btn {
  background-color: #DFE121;
  color: #032719;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Parkinsans', sans-serif;
  transition: background-color 0.3s ease;
  border: none;
}

.section-5 .btn:hover {
  background-color: #b1b00d;
  color: white;
}

/* Video wrapper styles */
.video-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: 970px;
  margin-top: 1rem;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px; /* soft rounded corners instead of circle */
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  background: black;
}

.video-box video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  background-color: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}


/* Responsive spacing on smaller screens */
@media (max-width: 991.98px) {
  .Why-choose-us p {
    margin-top: 1rem !important;
  }
}

@media (max-width: 767.98px) {

  .section-5 > .container > .rounded-4 {
    padding-bottom: 150px;
  }
  .video-wrapper {
    width: 90%;
    max-width: 570px;
    bottom: -230px;
  }
}


@media (max-width: 767px) {
  .why-subtitle {
    font-size: 25px;
  }
    .why-title {
        font-size: 30px;
    }
    .section-5 {
      padding-top: 80px !important;
    }
    
}

@media (min-width: 290px) and (max-width:350px) {
        .video-wrapper {
        width: 90%;
        max-width: 570px;
        bottom: 72px;
    }

    .section-5 > .container > .rounded-4 {
         height: 620px;   
    }
}

@media (min-width: 350px) and (max-width:455px) {
        .video-wrapper {
        width: 90%;
        max-width: 570px;
        bottom: -178px;
    }

    /* .section-5 > .container > .rounded-4 {
         height: 600px;   
    } */
    .rounded-4.p-4.p-md-5.hei-box {
      padding-top: 60px !important;
    }
}

@media (min-width: 445px) and (max-width:530px) {
        .video-wrapper {
        width: 90%;
        max-width: 570px;
        bottom: -300px;
    }

    .section-5 > .container > .rounded-4 {
         height: 600px;   
    }
}

@media (min-width: 768px) and (max-width: 879px) {
    .why-title {
        font-family: 'Parkinsans', sans-serif;
        font-size: 50px;
        font-weight: 800;
        color: white;
    }

    .why-section .col-md-6:first-child {
        padding-right: 30px;
        /* or any value you prefer */
    }

    .why-section .col-md-6:last-child {
        padding-left: 30px;
    }
}

.play-btn {
  color: white;
  font-size: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}
/* 
@media (max-width:800px) {
    .section-5{
        height: 840px;
    }
} */