/* ============================================================
   CONTACT PAGE — TLC Montessori (matches reference site)
   ============================================================ */

/* ── Contact Sub-Banner (photo bg with wavy bottom) ─────── */

/* Global sub-banner styles are now in site.css */

/* ── Intro Section ───────────────────────────────────────── */
.page-contact .contact-intro {
  position: relative;
  padding: 60px 0 40px;
  background: #ffffff;
  text-align: center;
}

.contact-intro__heading {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 32px;
  color: #2693df;
  font-weight: 400;
  max-width: 820px;
  margin: 0 auto 15px;
  line-height: 1.3;
}

.contact-intro__body {
  font-size: 18px;
  color: #888888;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Map section ─────────────────────────────────────────── */
.contact-map {
  width: 100%;
  line-height: 0;
}

.contact-map iframe,
.contact-map img {
  display: block;
  width: 100%;
}

/* ── Contact Main (info + form) ──────────────────────────── */
/* ── Contact Main ─────────────────────────────────────────── */
.contact-main {
  padding: 60px 0 70px;
  background: #fff;
}

.contact-info-grid {
  display: flex;
  background: #ffffff;
  padding: 60px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
}

.contact-info-grid__left {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 60px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  padding-top: 50px;
  margin-top: -100px;
}

.contact-info-grid__right {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 60px;
  text-align: center;
  padding-top: 50px;
  margin-top: -100px;
}

.contact-info__heading {
  font-family: var(--font-primary);
  font-size: 26px;
  color: #232323;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.contact-info__subheading {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: #232323;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 10px;
}

.contact-info__text {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}

.contact-info__text a {
  color: #555;
  text-decoration: none;
}

.contact-info__text a:hover {
  color: var(--color-primary-dark);
}

.contact-info__map-icon {
  margin-top: 25px;
}

.contact-info__map-icon img {
  max-width: 140px;
  height: auto;
  border-radius: 4px;
}

.contact-info__text a {
  color: #555;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.contact-info__text a:hover {
  color: var(--color-primary-dark);
}

.contact-info__map-icon {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.contact-info__map-icon img {
  max-width: 80px;
  height: auto;
}

/* ── Contact Form Section ─────────────────────────────────── */
.contact-form-section {
  width: 93%;
  margin: 0 auto;
  background: #e5e1e1;
  padding: 40px;
  text-align: left;
}

.form-layout {
  display: flex;
  gap: 40px;
}

.form-col-left,
.form-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
}

.form__input {
  width: 100%;
  height: 45px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-size: 16px;
  outline: none;
}

.form__textarea {
  width: 100%;
  height: 220px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  font-size: 16px;
  outline: none;
  resize: none;
}

.form__submit {
  text-align: left;
  /* Aligned left as per screenshot */
  margin-top: 20px;
}

.btn--orange {
  display: inline-block;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 10px 0;
  width: 100px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
  text-align: center;
}

.btn--orange:hover {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-dark);
}


/* responsive */
@media only screen and (max-width: 992px) {
  .contact-info-grid {
    flex-direction: column;
  }

  .contact-info-grid__left,
  .contact-info-grid__right {
    flex: none;
    max-width: 100%;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
  }

  .contact-info-grid__right {
    border-bottom: none;
  }

  .contact-form-section {
    padding: 24px 24px 30px;
  }
}

@media only screen and (max-width: 767px) {
  .page-contact .sub-banner {
    padding: 70px 0 110px;
    text-align: center;
    margin-top: 0;
  }

  .page-contact .sub-banner__title {
    font-size: 36px;
  }

  .form-layout {
    flex-direction: column;
  }

  .form-col-left,
  .form-col-right {
    width: 100%;
  }

  .form__textarea {
    min-height: 140px;
  }

  .contact-form-section {
    padding: 20px 16px 24px;
  }

  .contact-intro__heading {
    font-size: 22px;
  }

  .contact-birthday__heading {
    font-size: var(--text-3xl);
  }

}