* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Outfit", sans-serif;
  color: #333;
  overflow-x: hidden;
}

p{
  margin: 0;
}

/* Remove extra body padding added by Bootstrap modal */
body.modal-open {
  padding-right: 0 !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    90deg,
    rgba(253, 29, 29, 1) 0%,
    rgba(252, 105, 50, 1) 52%,
    rgba(255, 94, 0, 1) 100%
  );
  min-height: 100vh;
  color: white;
  text-align: center;
  padding: 30px 15px;
  width: 100%;
}

.hero-label {
  display: grid;
  place-content: center;
}

.hero-label p {
  background-color: rgba(240, 248, 255, 0.5);
  padding: 10px 20px;
  border-radius: 30px;
  width: max-content;
  font-size: clamp(0.9rem, 4vw, 1.3rem);
}

.hero .hero-title h1 {
  font-weight: 700;
  font-size: clamp(1.7rem, 5vw, 4rem);
  margin: 30px 0;
}

.hero .hero-title p {
  font-size: clamp(1rem, 4vw, 1.7rem);
  line-height: 2rem;
  color: #ededed;
}

@media (max-width: 576px) {
  .hero .hero-title p {
    line-height: 1.2rem;
  }
}

.hero-cta {
  margin: 50px 0;
}

.hero-cta .book-btn {
  background-color: white;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 30px;
  color: #fd1d1d;
  border: 2px solid white;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
}

.hero-cta .book-btn:hover {
  transform: scale(1.05);
}

.hero-cta .hero-cta-label {
  font-size: clamp(0.8rem, 3vw, 1.2rem);
  color: #ededed;
}

/* Modal Styling */
.modal-header {
  border-bottom: none;
  display: flex;
  justify-content: space-between;
}


.modal-header button {
  font-size: 20px;
  color: #fd1d1d;
  background: none;
  border: none;
}

.modal-title,
.modal-header-text p {
  text-align: left;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fd1d1d;
}

/* Gradient Buttons */
.btn-gradient {
  background: linear-gradient(
    90deg,
    rgba(253, 29, 29, 1) 0%,
    rgba(252, 105, 50, 1) 52%,
    rgba(255, 94, 0, 1) 100%
  );
  background-size: 500% 500%;
  color: #fff;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.btn-gradient:hover {
  animation: gradientShift 2s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

form .form-control::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

form {
  text-align: left;
}

/* Hero Stats */
.hero-stats .box i {
  font-size: 40px;
}

.hero-stat-detail-box {
  border: 2px solid rgba(240, 248, 255, 0.5);
  padding: 20px;
  border-radius: 40px;
}

.hero-stat-detail-box .stat-title {
  font-size: 30px;
  font-weight: 600;
  margin: 30px 0 5px;
}

/* Google Reviews */
.google-reviews {
  padding: 50px 15px;
  width: 100%;
}

/* Testimonials */
.testimonials {
  padding: 50px 15px;
  background: linear-gradient(
    90deg,
    rgba(253, 29, 29, 1) 0%,
    rgba(252, 105, 50, 1) 52%,
    rgba(255, 94, 0, 1) 100%
  );
}

.testimonials h3 {
  margin-bottom: 30px;
  font-weight: 700;
  color: white;
}

/* Video Reviews Grid */
.video-reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  width: 100%;
  min-height: 100vh;
}

.video-box {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

.video-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: rgb(255, 255, 255);
  padding: 15px;
}

#videoModal .modal-content{
  background-color: #333333e6;
  border: none;
  border-radius: 0;
}
#videoModal iframe{
  width: 560px;
  height: 476px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#videoModal .close{
  font-size: 35px;
  color: white;
  right: 0;
  cursor: pointer;
  position: absolute;
  right: 30px;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid #f3f3f3;
  border-top: 6px solid #FD1D1D;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  z-index: 10;
}

.h-captcha{
  margin-top: 20px;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#videoFrame {
  display: none; /* hidden until loaded */
  height: 400px;
}

@media (max-width: 991px) {
  .video-reviews {
    grid-template-columns: repeat(3, 1fr);

  }
}
@media (max-width: 767px) {
  .video-reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  #videoModal iframe{
    width: 500px;
    height: 500px;
  }
}


@media (max-width: 567px) {

  .video-reviews {
    grid-template-columns : 1fr;
  }

  #videoModal iframe{
    width: 300px;
    height: 300px;
  }

  .modal-title,
  .modal-header-text p {
    text-align: left;
  }

  .modal-title {
    line-height: 1.4rem;
  }

  .modal-header-text p {
    margin-top: 10px;
    line-height: 1.2rem;
  }
}
@media (max-width: 320px) {

  #videoModal iframe{
    width: 250px;
    height: 250px;
  }
}
