/* ===================================================================
   DR. BHAGAT'S CLINIC — APPOINTMENT & CONTACT SECTION
   Balanced Mid-Tone Theme: Soothing Pearl Ice Slate with Pure White Cards
   =================================================================== */

#contact,
.section-contact {
  background: #f0f4f9 !important;
  color: #0f172a !important;
  padding: 95px 0 !important;
  position: relative;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

#contact .section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 12px;
}

#contact .section-header .section-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: #1a385c;
}

#contact .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 2-Column Contact Layout ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

/* ── Left Column: Info & Map ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 6px 20px rgba(26, 56, 92, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card h3 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a385c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card h3 i {
  color: #0284c7;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.info-row h4 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  margin: 0 0 2px 0;
}

.info-row p {
  font-size: 0.92rem;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
  font-weight: 600;
}

.info-row p a {
  color: #0369a1;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.info-row p a:hover {
  color: #0284c7;
}

.opd-timings {
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.timing-row span:first-child {
  color: #64748b;
  font-weight: 600;
}

.timing-row span:last-child {
  color: #1a385c;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.open-badge {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full, 9999px);
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.map-wrap {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(11, 29, 54, 0.04);
}

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

/* ── Right Column: Form Card ── */
.contact-form-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 10px 32px rgba(26, 56, 92, 0.08);
}

.form-top {
  margin-bottom: 20px;
}

.form-top h3 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a385c;
  margin: 0;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-group select option {
  background: #ffffff;
  color: #0f172a;
}

.btn-primary.full-width {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.28);
  transition: all 0.3s ease;
}

.btn-primary.full-width:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.38);
}

.wa-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #64748b;
  margin-top: 4px;
}

.wa-alt a {
  color: #059669;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wa-alt a:hover {
  text-decoration: underline;
}

.form-alert {
  display: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.form-consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: #0369a1;
  cursor: pointer;
}

.consent-label a {
  color: #0369a1;
  text-decoration: underline;
  font-weight: 600;
}

.transit-guide-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transit-guide-card h4 {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  color: #1a385c;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.transit-guide-card h4 i {
  color: #0284c7;
}

.transit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.35;
}

.transit-row i {
  color: #0d9488;
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.transit-row strong {
  color: #1a385c;
}

/* ── Live OPD Status Badges ── */
.open-badge.badge-open {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.open-badge.badge-amber {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

.open-badge.badge-closed {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.open-badge.badge-blue {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

.form-privacy-note {
  font-size: 0.76rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
}

.form-privacy-note i {
  color: #0284c7;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  #contact,
  .section-contact {
    padding: 38px 0 !important;
  }

  .form-dual {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-group {
    gap: 3px;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px 12px;
  }

  .form-consent {
    margin: 6px 0;
  }

  .consent-label span {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .contact-form-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .info-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .transit-guide-card {
    padding: 12px 14px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  #contact,
  .section-contact {
    padding: 32px 0 !important;
  }

  .contact-form-card {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .info-card {
    padding: 16px 12px;
    border-radius: 14px;
    gap: 12px;
  }

  .transit-guide-card {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .timing-row {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.78rem;
    padding: 4px 0;
  }

  .info-row {
    gap: 8px;
    font-size: 0.82rem;
  }

  .info-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.85rem;
  }

  .map-wrap {
    height: 135px;
    border-radius: 14px;
  }

  .form-top h3 {
    font-size: 1.12rem;
  }

  .btn-submit-booking {
    padding: 11px 16px;
    font-size: 0.88rem;
    border-radius: 10px;
  }
}
