* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: normal;
  background-color: #0a0b0e;
  color: #fff;
}

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

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

.container {
  padding: 0 17px;
}

/* ==================== TEXT AND OTHERS ==================== */
h2 {
  font-size: 2rem;
  margin: 0;
  font-family: Oswald;
  font-weight: lighter;
  line-height: 2.25rem;
}

p {
  font-size: 1rem;
  line-height: 1.5rem;
}

input {
  color: #21262A;
}

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

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

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

.navbar-divider {
  max-width: 398px;
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
}

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

/* ==================== FORM ==================== */
.form-section {
  margin: 2.75rem auto 0 auto !important;
  padding-bottom: 2.875rem !important;
}

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

.request-form label {
  display: block;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  color: #48AB42;
  margin: 2rem 0 0;
  font-weight: bold;
}

.request-form span {
  color: #fff;
}

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

.request-form input {
  width: 100%;
  padding: 0.6rem 0.6rem 0.7rem 0.6rem;
  margin: 0.5rem 0;
  border: 1px solid grey;
  border-radius: 4px;
  font-size: 1rem;
}

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"] {
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: normal;
}

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

.request-form input::-webkit-input-placeholder {
  color: #21262A;
}

.request-form input::-moz-placeholder {
  color: #21262A;
}

.request-form input:-ms-input-placeholder {
  color: #21262A;
}

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

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

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

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

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

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

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

.radio-group p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.9rem;
  margin: 0;
  pointer-events: none;
}

/* ==================== SUBMIT BUTTON ==================== */
.btn-sign-up {
  display: block;
  margin: 1.8rem auto;
  margin-bottom: 0;
  padding: 1rem 2rem;
  background: #48AB42;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  font-weight: medium;
  text-transform: uppercase;
  border: 1px solid #000;
  outline-offset: -5px;
  font-family: Oswald;
}

.btn-sign-up:hover {
  opacity: 0.9;
}

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

.error-msg {
  color: #ff0000;
  font-size: 11px;
  font-family: 'Open Sans', Arial, sans-serif;
  display: none;
  margin-top: -2px;
  margin-bottom: 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;
}

/* Active state */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== THANKYOU ==================== */
/* Modal box */
.modal-box {
  background: #fff;
  color: #54301A;
  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: #54301A;
}

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

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

.modal-box button {
  padding: 10px 2rem;
  border: none;
  border-radius: 8px;
  background: #48AB42;
  color: #fff;
  cursor: pointer;
}
