body {
    background-color:#273469;
    line-height: 1.6;
}
/* --- Base Layout --- */
.booking-page {
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0) 15%), /* fade from white */
              linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0) 15%),
              radial-gradient(circle at 70% 30%, rgba(128, 0, 128, 0.1), transparent 40%),
              radial-gradient(circle at 30% 70%, rgba(0, 0, 255, 0.1), transparent 40%);
  padding: 50px 0;
}

/* Two column layout */
.content-wrapper {
  display: flex;
  gap: 3rem;
  height: 100vh;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 2rem;
}

/* Info Section */
.info-section {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.info-section h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.15;
  color: #000;
  text-align: center;
  margin-bottom: 1rem;
}

.info-section p {
  font-size: 1rem;
  color: #737373;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.feature i {
  font-size: 1.4rem;
  color: #0a69e7;
  padding: 10px;
  border-radius: 10px;
}

.feature strong {
  color: #0a69e7;
  display: block;
  font-size: 0.9rem;
}

.feature p {
  font-size: 0.75rem;
  color: #000;
  margin: 0;
}

/* Form Section */
.form-section {
  min-width: 320px;
  flex: 1;
  max-width: 540px;
}

.demo-form {
  border: 1px solid #ddd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 2rem;
  background-color: #f7faff;
  color: #000;
  margin: 0 auto;
}

.demo-form h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #0a69e7;
  font-weight: 700;
}

.form-group {
  margin-bottom: 0.1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 0.8rem;
}

textarea {
  resize: none;
}

.checkbox-item {
  display: flex;
  align-items:center;
  flex-basis: calc(50% - 10rem);
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin-right: 0.4rem;
}
/* Submit button */
button[type="submit"] {
  display: block;
  margin: 0.5rem auto 0;
  padding: 0.7rem 1.5rem;
  background-color: #0a69e7;
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #004db3;
}

button[type="submit"]:active {
  background-color: transparent;
  border: 1px solid #000;
  color: #000;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
  .info-section h1 {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .content-wrapper {
    flex-direction: column;
    height: auto; /* let height grow naturally */
    padding: 2rem 1rem;
  }

  .info-section {
    text-align: justify;
  }

  .features {
    grid-template-columns: 1fr; /* stack features */
  }
}

@media (max-width: 768px) {
  .info-section h1 {
    font-size: 28px;
  }

  .info-section p {
    font-size: 0.9rem;
  }

  .demo-form {
    padding: 1.25rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0.75rem; /* add spacing between stacked fields */
  }

  .checkbox-item {
    display: flex;
    align-items: center; /* fix invalid value */
    flex-basis: 100%;
  }

  .form-section {
    min-width: 0;   /* allow shrinking on small screens */
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .info-section h1 {
    font-size: 24px;
  }

  .demo-form {
    padding: 1rem;
  }
}