/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  display: flex;
  position: relative;
  flex-direction: column;
  /* gap: 20px; */
  gap: 40px;
  background-color: #fefefe;
  margin: 4% auto;
  padding: 40px;
  border: 1px solid #888;
  /* width: 60%; */
  width: 40rem;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
}

.modal-title {
  /* display: flex;
    flex-direction: row;
    justify-content: space-between; */
  display: none;
}

.close-btn svg {
  background: rgba(27, 27, 27, 0.60);
  border-radius: 50%;
  color: #fff;
  height: 42px;
  width: 42px;
  padding: 10px;
}

.close-btn {
  float: right;
  text-align: end;
  display: flex;
  position: absolute;
  top: 2%;
  right: 3%;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.video-section {
  display: none;
  position: relative;
  width: 100%;
  height: auto;
}

.custom-video {
  width: 100%;
  height: auto;
}

.video-controls {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 40px;
  width: 100%;
  padding-inline: 40px;
  /* left: 50%;
    transform: translateX(-50%); */
}

.video-control-svg {
  display: flex;
  align-items: center;
}

.vc-col {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
}

.chatbot-button {
  background: linear-gradient(101deg, #BE1622 11.69%, #E84E1B 53.29%, #BE1622 94.89%) !important;
}

.modal-video-svg-1 svg {
  height: 20px;
  width: auto;
}

.modal-video-svg-2 svg {
  height: 28px;
  width: auto;
}

.modal-video-svg-3 svg {
  height: 26px;
  width: auto;
}

.video-controls button {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.50);
  background: rgba(27, 27, 27, 0.50);
  backdrop-filter: blur(4px);
  border-radius: 40px;
  color: white;
  font-size: 1.2rem;
}

.video-controls button:hover {
  background-color: #555;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  /* Initially hidden */
}

/* Video Section */
.video-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content .mw-h2 {
  text-align: start;
  font-size: 3rem;
  line-height: 3rem;
  font-weight: 600;
}


/* Signup Form */
.signup-form {
  width: 100%;
  margin: auto;
  background-color: white;
}

.save-button {
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 8px;
  border: 0.5px solid #212427;
  background: #fff;
  color: #212427;
  padding: 10px 16px;
  cursor: pointer;
}

/* ---------------------------------------------------------------------------------------------------------- Media Queries -------------------------------------------------------------------------------------------------  */

/* -----------------------------------------------Large Desktops (1920 and Above)-------------------------------------------------- */

@media (min-width: 1920px) {}

/* -----------------------------------------------Medium Desktops (1280 - 1919)-------------------------------------------------- */

@media (min-width: 1280px) and (max-width: 1919px) {

  /* Modal Window Structure */

  .modal-content {
    height: auto;
  }

  .modal-content .mw-h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .video-controls button {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .modal-video-svg-1 svg {
    height: 15px;
    width: auto;
  }

  .modal-video-svg-2 svg {
    height: 23px;
    width: auto;
  }

  .modal-video-svg-3 svg {
    height: 21px;
    width: auto;
  }

}

/* -----------------------------------------------Small Size Desktops (1024 - 1279)-------------------------------------------------- */

@media (min-width: 1024px) and (max-width: 1279px) {

  /* Modal Window Structure */
  .modal-content {
    height: auto;
    /* width: 72%; */
  }

  .close-btn svg {
    height: 40px;
    width: 40px;
    padding: 10px;
  }

  .modal-content .mw-h2 {
    font-size: 2rem;
    line-height: 3rem;
  }

  .video-controls button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .modal-video-svg-1 svg {
    height: 13px;
    width: auto;
  }

  .modal-video-svg-2 svg {
    height: 21px;
    width: auto;
  }

  .modal-video-svg-3 svg {
    height: 19px;
    width: auto;
  }
}

/* -----------------------------------------------Large Size Tablets (768 - 1023)-------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1023px) {

  /* Modal Window Structure */
  .modal-content {
    /* width: 70%; */
    height: auto;
  }

  .close-btn svg {
    height: 40px;
    width: 40px;
    padding: 10px;
  }

  .modal-content .mw-h2 {
    font-size: 2rem;
    line-height: 3rem;
  }

  .video-controls button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .modal-video-svg-1 svg {
    height: 11px;
    width: auto;
  }

  .modal-video-svg-2 svg {
    height: 19px;
    width: auto;
  }

  .modal-video-svg-3 svg {
    height: 17px;
    width: auto;
  }
}

/* -----------------------------------------------Small Size Tablets (600 - 767)-------------------------------------------------- */

@media (min-width: 600px) and (max-width: 767px) {

  /* Modal Window Structure */
  .modal-content {
    height: auto;
    /* width: 85% */
    width: 32rem;
  }

  .close-btn svg {
    height: 40px;
    width: 40px;
    padding: 10px;
  }

  .modal-content .mw-h2 {
    font-size: 2rem;
    line-height: 3rem;
  }

  .video-controls button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .modal-video-svg-1 svg {
    height: 11px;
    width: auto;
  }

  .modal-video-svg-2 svg {
    height: 19px;
    width: auto;
  }

  .modal-video-svg-3 svg {
    height: 17px;
    width: auto;
  }
}

/* -----------------------------------------------Large Size Mobiles (480 - 599)-------------------------------------------------- */

@media (min-width: 480px) and (max-width: 599px) {

  /* Modal Window Structure */
  .modal-content {
    height: auto;
    /* width: 85%; */
    padding: 20px;
    gap: 10px;
    width: 28rem;
  }

  .close-btn svg {
    height: 30px;
    width: 30px;
    padding: 10px;
  }

  .modal-content .mw-h2 {
    font-size: 1.2rem;
    line-height: 3rem;
  }

  .video-controls button {
    font-size: 0.6rem;
    padding: 0.3rem 0.8rem;
  }

  .modal-video-svg-1 svg {
    height: 10px;
    width: auto;
  }

  .modal-video-svg-2 svg {
    height: 16px;
    width: auto;
  }

  .modal-video-svg-3 svg {
    height: 14px;
    width: auto;
  }

  .form-group {
    flex-direction: column;
  }
}

/* -----------------------------------------------Small Size Mobiles (360 - 479)-------------------------------------------------- */

@media (min-width: 360px) and (max-width: 479px) {

  /* Modal Window Structure */
  .modal-content {
    height: auto;
    /* width: 90%; */
    padding: 20px;
    gap: 10px;
    width: 22rem;
  }

  .close-btn svg {
    height: 30px;
    width: 30px;
    padding: 10px;
  }

  .modal-content .mw-h2 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .video-controls {
    bottom: 20px;
  }

  .video-controls button {
    font-size: 0.5rem;
    padding: 0.2rem 0.7rem;
  }

  .modal-video-svg-1 svg {
    height: 10px;
    width: auto;
  }

  .modal-video-svg-2 svg {
    height: 16px;
    width: auto;
  }

  .modal-video-svg-3 svg {
    height: 14px;
    width: auto;
  }

  .form-group {
    flex-direction: column;
  }
}