/* =========================
   Global Reset
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   Layout Container
========================= */
.landing-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  flex: 1;
}

/* Ensure video + form don’t overflow */
.video-side iframe,
.form-side {
  max-width: 100%;
}

/* =========================
   Media Queries
========================= */

/* Small Devices (phones, <600px) */
@media (max-width: 600px) {
  .landing-container {
    flex-direction: column;
    align-items: center;        /* Center horizontally */
    justify-content: flex-start;
    padding: 10px;
  }

  .video-side {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .video-side iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;         /* Keeps proportions */
  }

  .form-side {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .form-box {
    width: 95% !important;
    padding: 20px !important;
    margin: 0 auto;
    max-height: 90vh;           /* Prevent hiding */
    overflow-y: auto;           /* Scroll if too tall */
  }

  h1, h2 {
    font-size: 20px !important;
    text-align: center;
  }

  p, select, input, button {
    font-size: 14px !important;
  }

  button, a {
    width: 100% !important;
    margin: 8px 0 !important;
  }
}

/* Medium Devices (tablets, <992px) */
@media (max-width: 992px) {
  .landing-container {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .video-side, .form-side {
    width: 90%;
  }

  .form-box {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Large Devices (desktop, >992px) */
@media (min-width: 993px) {
  .landing-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .video-side, .form-side {
    flex: 1;
  }
}
