/* Center everything in a clean column layout */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Carousel centered */
.carousel-wrapper {
  max-width: 400px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
}


.carousel-viewport {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-track img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

.image-description {
  color: #000000;
  font-size: 1rem;
  text-align: center;
  margin-top: 10px;
}

/* Property info block */
.property-info {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  text-align: left;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-info h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.property-info p {
  font-size: 1.1rem;
  line-height: 1.5;
}


.apply-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.apply-button:hover {
  background-color: #005fa3;
}

/* FAQ section styled distinct from property info */
.faq-section {
  max-width: 700px;
  margin: 40px auto 80px auto;
  padding: 20px;
  background: #f7faff; /* subtle light blue tint */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
  border-top: 4px solid #0077cc; /* divider line */
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0077cc;
}


.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 12px;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  background-color: #0077cc;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #f1f1f1;
  border-radius: 6px;
  padding: 0 10px; /* collapsed padding */
}

.faq-answer.open {
  max-height: 300px; /* enough space for answer text */
  padding: 10px;     /* expanded padding */
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form input[type="number"],
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  text-align: left;
}

/* radios should NOT be full width */
form input[type="radio"] {
  width: auto;
  margin: 0 8px 0 0;
}

/* layout for each question block */
.form-row {
  margin-top: 18px;
}

/* the Yes/No group is a tidy vertical stack, left-aligned */
.radio-group {
  margin: 6px 0 8px 0;
  text-align: left;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal; /* keep question label bold, options normal */
}

/* details box hidden by default */
.details-box {
  display: none;
  margin-top: 10px;
}

.signature-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.signature-box label {
    margin-top: 10px;
    font-weight: bold;
}

.signature-box input[type="text"],
.signature-box input[type="date"] {
    border: 1px dashed #999;
    background-color: white;
}