* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Tahoma, sans-serif;
  font-weight: normal;
  background-color: #d5001b;
  color: #000;
}

/* ==================== Container ==================== */
.body-container {
  max-width: 622px;
  margin: 3.188rem auto;
  background: #fef1de;
}

@media (max-width: 768px) {
  .body-container {
    margin: 0 auto;
  }
}

.container {
  padding: 0 19px;
}

/* ==================== TEXT AND OTHERS ==================== */
h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0;
  color: #d5001b;
  text-transform: none;
}

p {
  color: #000;
  font-size: 0.938rem;
  line-height: 1.5rem;
}

input {
  color: #000;
}

/* ==================== NAVBAR ==================== */
.navbar {
  padding: 2.438rem 0 0 0;
}

.navbar-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 19px;
}

.navbar-logo {
  max-width: 195px;
  width: 100%;
  height: auto;
}

/* ==================== HERO ==================== */
.hero-section {
  padding: 0 19px;
  text-align: center;
}

.hero-section h2 {
  max-width: 460px;
  margin: 29px auto 18px;
}

.hero-subhead {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  color: #000;
  margin: 0 auto 22px;
  max-width: 500px;
}

.hero-images {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-images .hero-image {
  flex: 1;
  max-width: 279px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 279 / 229;
}

/* ==================== FORM ==================== */
.form-section {
  margin: 28px auto 0 auto;
  padding-bottom: 41px;
}

.request-form {
  text-align: left;
}

.request-form > label,
.request-form .input-container > label {
  display: block;
  font-family: Tahoma, sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 18px;
  color: #000;
  margin: 0;
  margin-top: 22px;
}

.request-form > label:first-of-type {
  margin-top: 10px;
}

.request-form label span {
  color: #d5001b;
}

.request-form p {
  color: #000;
}

.request-form input {
  width: 100%;
  padding: 10px 10px;
  margin: 8px 0;
  border: 1px solid #b8b5b5;
  border-radius: 3px;
  font-size: 14px;
  background: #fff;
  height: 40px;
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"] {
  width: 100%;
  font-family: Tahoma, sans-serif;
  font-weight: normal;
}

/* Placeholder Styling */
.request-form input::placeholder {
  color: #000;
  opacity: 1;
}

.request-form input::-webkit-input-placeholder { color: #000; }
.request-form input::-moz-placeholder { color: #000; }
.request-form input:-ms-input-placeholder { color: #000; }

.form-row {
  display: flex;
  gap: 20px;
}

.two-col > .input-container,
.two-col > input {
  flex: 1;
}

/* ==================== RADIO BUTTON STYLE ==================== */
.radio-group {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-top: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
}

.radio-group input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid #000 !important;
  background-color: #fff;
  border-radius: 50%;
  display: grid;
  place-content: center;
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
  height: 20px;
}

.radio-group input::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: #d5001b;
}

.radio-group input:checked::before {
  transform: scale(1);
}

.radio-group p {
  font-size: 0.9rem;
  margin: 0;
  pointer-events: none;
  color: #000;
}

/* ==================== SUBMIT BUTTON ==================== */
.btn-submit {
  display: block;
  margin: 30px auto 0;
  padding: 0 40px;
  height: 46px;
  min-width: 162px;
  background: #000;
  border: none;
  border-radius: 23px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* ==================== VALIDATION STYLE ==================== */
.input-container {
  display: flex;
  flex-direction: column;
}

.error-msg {
  color: #ff0000;
  font-size: 11px;
  display: none;
  margin-top: -2px;
  margin-bottom: 5px;
}

.radio-error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== THANKYOU ==================== */
.modal-box {
  background: #fef1de;
  color: #000;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-box h2 {
  margin-bottom: 12px;
  color: #d5001b;
}

.modal-box p {
  margin-bottom: 24px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .modal-box p {
    font-size: 13px;
  }
}

.modal-box button {
  padding: 10px 3rem;
  border: none;
  border-radius: 23px;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  background: #000;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}
