/* ============================================================
   Contact Us Page — The Fertilife
   Font: Playfair Display (headings) + Poppins (body)
   Primary Pink: #e05699  |  Dark: #1a202c
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --ct-primary:       #e05699;
  --ct-primary-dark:  #c8476a;
  --ct-primary-soft:  #fff4f8;
  --ct-primary-light: #f9d0e3;
  --ct-primary-icon:  #fce8f3;
  --ct-text-dark:     #1a202c;
  --ct-text-muted:    #666;
  --ct-font-heading:  var(--fl-font-family);
  --ct-font-body:     var(--fl-font-family);
  --ct-max-width:     1320px;
  --ct-radius:        12px;
  --ct-shadow:        0 4px 20px rgba(0,0,0,0.06);
  --ct-shadow-hover:  0 10px 32px rgba(224,86,153,0.12);
}

/* ---------- Page Base ---------- */
.ct-page * {
  box-sizing: border-box;
  font-family: var(--ct-font-body);
}

.ct-page h1,
.ct-page h2,
.ct-page h3,
.ct-page h4 {
  font-family: var(--ct-font-heading);
}

/* ---------- In-banner Breadcrumb (same as other pages) ---------- */
.ct-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.ct-hero-breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.ct-hero-breadcrumb a:hover { color: #fff; }
.ct-hero-breadcrumb span   { color: rgba(255,255,255,0.5); }

/* ---------- Pink Heart Divider ---------- */
.ct-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.ct-divider .line {
  width: 36px;
  height: 2px;
  background: var(--ct-primary);
  border-radius: 2px;
  opacity: 0.7;
}
.ct-divider .heart {
  color: var(--ct-primary);
  font-size: 13px;
  line-height: 1;
}

/* ---------- Section Heading ---------- */
.ct-section-title {
  font-family: var(--ct-font-heading);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--ct-text-dark);
  margin: 0 0 6px 0;
}

/* ---------- Main Content Layout ---------- */
.ct-main-section {
  background: #ffffff;
  padding: 64px 0 72px;
}

.ct-main-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: flex-start;
}

/* =============================================
   LEFT: CONTACT FORM
   ============================================= */
.ct-form-col {}

.ct-form-heading {
  margin-bottom: 8px;
}

/* Form rows */
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.ct-form-group.full { grid-column: 1 / -1; }

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: var(--ct-font-body);
  color: var(--ct-text-dark);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.ct-input::placeholder,
.ct-textarea::placeholder { color: #aaa; }

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  border-color: var(--ct-primary);
  box-shadow: 0 0 0 3px rgba(224,86,153,0.08);
}

.ct-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  color: #aaa;
}
.ct-select.filled { color: var(--ct-text-dark); }

.ct-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Checkbox */
.ct-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.ct-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--ct-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.ct-checkbox-row label {
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.ct-checkbox-row label a {
  color: var(--ct-primary);
  text-decoration: none;
}

/* Submit Button */
.ct-submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--ct-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--ct-font-body);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  letter-spacing: 0.02em;
}

.ct-submit-btn:hover {
  background: var(--ct-primary-dark);
  transform: translateY(-2px);
}

/* Map embed */
.ct-map-wrap {
  margin-top: 32px;
  border-radius: var(--ct-radius);
  overflow: hidden;
  border: 1px solid #eee;
  height: 260px;
}

.ct-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =============================================
   RIGHT: CONTACT INFO + OUR CLINIC
   ============================================= */
.ct-info-col {}

/* Contact info items */
.ct-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.ct-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #f5f5f5;
}

.ct-info-item:first-child { padding-top: 0; }
.ct-info-item:last-child  { border-bottom: none; }

.ct-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--ct-primary-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-info-icon i {
  font-size: 18px;
  color: var(--ct-primary);
  line-height: 1;
}

.ct-info-body {}

.ct-info-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ct-text-dark);
  margin: 0 0 3px 0;
  font-family: var(--ct-font-body);
}

.ct-info-value {
  font-size: 13.5px;
  color: var(--ct-text-dark);
  margin: 0 0 2px 0;
  font-family: var(--ct-font-body);
}

.ct-info-sub {
  font-size: 12.5px;
  color: var(--ct-text-muted);
  margin: 0;
  font-family: var(--ct-font-body);
}

.ct-info-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--ct-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.ct-info-link:hover { color: var(--ct-primary-dark); }

/* Our Clinic Box */
.ct-clinic-box {
  background: #ffffff;
  border: 1.5px solid var(--ct-primary-light);
  border-radius: var(--ct-radius);
  padding: 24px 26px;
}

.ct-clinic-title {
  font-family: var(--ct-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ct-text-dark);
  margin: 0 0 4px 0;
}

.ct-clinic-desc {
  font-size: 13.5px;
  color: var(--ct-text-muted);
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.ct-clinic-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-clinic-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ct-text-dark);
  font-family: var(--ct-font-body);
}

.ct-clinic-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--ct-primary-icon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath fill='none' stroke='%23e05699' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 4.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
}

/* =============================================
   CTA SECTION (reuses fl-guidance-cta from blogs)
   ============================================= */
.ct-cta-section {
  padding: 0 0 60px;
  background: #ffffff;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1099px) {
  .ct-main-grid {
    grid-template-columns: 1fr 360px;
    gap: 36px;
  }
}

@media (max-width: 991px) {
  .ct-main-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ct-info-col {
    order: -1; /* info first on mobile */
  }
}

@media (max-width: 767px) {
  .ct-form-row {
    grid-template-columns: 1fr;
  }

  .ct-main-section {
    padding: 44px 0 56px;
  }

  .ct-map-wrap {
    height: 220px;
  }
}

@media (max-width: 479px) {
  .ct-main-grid {
    gap: 32px;
  }
}
