.contact-intro {
  margin-bottom: 20px;
  text-align: left;
}
.contact-intro p {
  color: #004862;
  line-height: 1.8;
}
.contact-intro p:nth-of-type(4),
.contact-intro p:nth-of-type(5) {
  font-size: 0.75em;
  line-height: 1.6;
}
.contact-intro hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 30px 0;
  width: 100%;
}

.info-box {
  background-color: #eaf6fa; 
  border: 1px solid #cde9f3;
  border-radius: 5px;
  padding: 20px;
  margin: 25px 0;
  text-align: center;
}
.info-box p {
  margin-bottom: 15px;
  font-size: 1em;
}
.info-box .button {
  display: inline-block;
}
.info-box p.note {
  font-size: 0.75em;
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 0;
}

section#contact {
  padding: 30px 0;
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  }
  section#contact .title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  color: #42ACD1;
  text-align: center;
  margin-bottom: 30px;
  }
  .contactForm {
  padding: 25px 30px;
  border-radius: 3px;
  }
  .contactForm fieldset {
  border: none;
  padding: 0;
  margin: 0;
  }
  .contactForm dl#form1 dt {
  margin-bottom: 8px;
  font-weight: 600;
  color: #004862;
  font-size: 0.9em;
  }
  .contactForm dl#form1 dt .content {
  color: #42ACD1;
  font-size: 1.1em;
  letter-spacing: 0.25em;
  }
  .contactForm dl#form1 dt .content small {
  font-size: 0.7em;
  margin-left: 5px;
  font-weight: 100;
  letter-spacing: 0.15em;
  }
  .contactForm dl#form1 .contact-tag {
  background-color: #B39354;
  color: #F3F3F1;
  font-size: 0.5em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 5px;
  font-weight: normal;
  vertical-align: middle;
  letter-spacing: 0em;
  }
  .contactForm dl#form1 dd {
  margin-left: 0;
  margin-bottom: 20px;
  }
  .contactForm dl#form1 input[type="text"],
  .contactForm dl#form1 input[type="email"],
  .contactForm dl#form1 input[type="tel"],
  .contactForm dl#form1 textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #42ACD1;
  border-radius: 3px;
  font-size: 0.95em;
  color: #004862;
  box-sizing: border-box;
  font-family: "noto-sans", sans-serif;
  }
  .contactForm dl#form1 input:focus,
  .contactForm dl#form1 textarea:focus {
    border-color: #B39354;
  }
  .contactForm dl#form1 textarea {
  min-height: 120px;
  resize: vertical;
  }
  .contactForm dl#form1 hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  opacity: 1;
  margin-top: 20px;
  margin-bottom: 20px;
  }
  .contactForm dl#form1 p.content {
  font-size: 1em;
  color: #004862;
  line-height: 1.6;
  }
  .contactForm dl#form1 p.content a {
  color: #42ACD1;
  text-decoration: none;
  }

  .contactForm input[type="radio"] {
    display: none;
  }

  .contactForm input[type="checkbox"] {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
  }

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

  .radio-item label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    line-height: 24px;
    color: #004862;
    display: inline-block;
  }

  .checkbox-item label {
    line-height: 1.8;
    padding-left: 0; 
    cursor: default;
  }

  .radio-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border: 2px solid #42ACD1;
    box-sizing: border-box;
    transition: all 0.3s;
    border-radius: 50%;
  }

  .radio-item label:hover::before {
    border-color: #B39354;
  }

  .radio-item label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: #B39354;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
  }

  .contactForm input[type="radio"]:checked + label::after {
    transform: scale(1);
  }

  .conditional-fields-wrapper {
    display: contents; 
  }

  .conditional-fields-wrapper > * {
    transition: opacity 0.4s ease-out, max-height 0.4s ease-out, margin-bottom 0.4s ease-out, padding 0.4s ease-out;
    overflow: hidden;
  }
  .conditional-fields-wrapper > *.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .contactForm .animated-button {
  text-align: center;
  margin-top: 25px;
  }
  .contactForm .animated-button input[type="submit"] {
  display: inline-block;
  background-color: #42ACD1;
  color: #F3F3F1;
  border: 1.5px solid #42ACD1;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  min-width: 180px;
  transition: background-color 0.3s ease, color 0.3s ease;
  }
  .contactForm .animated-button input[type="submit"]:hover {
  background-color: #F3F3F1;
  color: #42ACD1;
  }
  .contactForm .animated-button .background-effect {
  display: none;
  }
  .contactForm p.content {
  font-size: 1em;
  color: #42ACD1;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.9em;
  }
  .confirm-details dt .confirm-item-name {
  font-weight: 600;
  color: #42ACD1;
  }
  .confirm-details dd.confirm-item-value {
  color: #004862;
  margin-left: 0;
  margin-bottom: 10px;
  }
  .content {
  font-size: 1em;
  color: #004862;
  line-height: 1.6;
  }
  .thank-you-container {
  position: relative;
  padding: 30px 20px;
  text-align: left;
  max-width: 700px;
  margin: 40px auto;
  overflow: visible;
  }
  .decorative-thank-you {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  font-family: 'Montserrat', sans-serif;
  font-size: 6em;
  color: #42ACD1;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  }
  .thank-you-title {
  position: relative;
  z-index: 1;
  font-size: 1.6em;
  color: #42ACD1;
  margin-bottom: 25px;
  font-weight: 600;
  }
  .thank-you-text {
  position: relative;
  z-index: 1;
  font-size: 1em;
  line-height: 1.7;
  color: #004862;
  margin-bottom: 20px;
  }
  .thank-you-text:last-child {
  margin-bottom: 0;
  }
  .thank-you-text a {
  color: #42ACD1;
  text-decoration: none;
  }
  .thank-you-text a:hover {
  text-decoration: underline;
  }
  .main-content .anim-on-scroll.animate__fadeInUp {
  --animate-duration: 1.8s;
  }
  .main-content > .section-title-large.anim-on-scroll.animate__fadeInUp {
  --animate-delay: 0s;
  }
  .main-content > .section-subtitle-large.anim-on-scroll.animate__fadeInUp {
  --animate-delay: 0.1s;
  }
  .contactForm.anim-on-scroll.animate__fadeInUp {
  --animate-delay: 0.2s;
  }
  .thank-you-container .decorative-thank-you.anim-on-scroll.animate__fadeInUp {
  --animate-delay: 0.2s;
  }
  .thank-you-container .thank-you-title.anim-on-scroll.animate__fadeInUp {
  --animate-delay: 0.3s;
  }
  .thank-you-container .thank-you-text.anim-on-scroll.animate__fadeInUp {
  --animate-delay: 0.4s;
  }

.error-message-box {
  color: #d9534f;
  background-color: #fdf2f2;
  border: 1px solid #fbc2c0;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 5px;
  font-size: 0.9em;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .info-box p:not(.note) {
    font-size: 0.9em;
  }
}