/* GENERAL STYLES */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to top, rgb(110, 231, 249) 10%, #ffffff 70%);
  margin: 0;
  min-height: 100vh;
}


/* CONTAINER */
.container {
  display: flex;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 0px 80px;
  gap: 20px;
}

.left {
  flex: 1;
  text-align: center;
}

.left h2 {
  font-size: 40px;
  color: #0b4b75;
  margin-bottom: 45px;
}

.left img {
  width: 100%;
  max-width: 650px;
  border-radius: 8px;
}

.left p {
  font-size: 20px;
  color: #0b4b75;
  margin-top: 15px;
}

.right {
  flex: 1;
}

.right h2 {
  font-size: 40px;
  text-align: center;
  color: #0b4b75;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 20px;
  font-weight: bold;
  color: #0b4b75;
}

form input,
form textarea {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #0b4b75;
  border-radius: 4px;
  font-size: 20px;
  color: #0b4b75;
}

form button {
  margin-top: 15px;
  padding: 10px;
  background: #0b4b75;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-style: italic;
  font-size: 20px;
}

form button:hover {
  background: #005fa3;
}

/* MOBILE VIEW (≤576px) */
@media (max-width: 576px) {
  body {
    min-height: 100vh;
    padding: 0;
  }

  .container {
    flex-direction: column;
    width: 100%;
    padding: 15px 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    border-radius: 10px;
  }

  .left, .right {
    width: 100%;
    text-align: center;
    flex: unset;
  }

  .left h2, .right h2 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .left img {
    width: 100%;
    max-width: 100%;  /* fill container */
    height: auto;
    margin-bottom: 15px;
  }

  .left p {
    font-size: 18px;
  }

  form label {
    font-size: 16px;
    margin-top: 5px;
  }

  form input,
  form textarea,
  form select {
    font-size: 16px;
    padding: 10px;
    width: 100%;
    margin-top: 0px;
  }

  form button {
    font-size: 18px;
    padding: 12px;
    width: 100%;
    margin-top: 15px;
  }

  .payment-options label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .mobile-overlay {
    width: fit-content;
    max-width: 280px;
  }
}


/* TABLET VIEW (768px–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    flex-direction: column;
    margin: 40px;
    padding: 25px;
    gap: 25px;
  }

  .left h2,
  .right h2 {
    font-size: 32px;
  }

  .left img {
    width: 80%;
    max-width: 350px;
    margin: 0 auto;
  }

  form label {
    font-size: 18px;
  }

  form input,
  form textarea {
    font-size: 19px;
  }

  form button {
    font-size: 20px;
    padding: 12px;
  }
}
