/* ============================================================
   CONTACT.CSS — Section 9 (Green Gradient Background)
   Dr. Sk. Sarfaraz Ahmed — Family Physician, Naturopath & Nutrition Specialist
   ============================================================ */

.contact-section {
  background: linear-gradient(145deg, #2F3A2F 0%, #3A4A35 50%, #1E2A1E 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(109, 138, 99, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(124, 154, 114, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* ── Section Header ─────────────────────────────────────── */

.contact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.contact-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #A0BA96;
  margin-bottom: 14px;
}

.contact-section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: #A0BA96;
  border-radius: 2px;
}

.contact-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 14px;
}

.contact-heading em {
  color: #DDE6D5;
  font-style: italic;
}

.contact-subheading {
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  color: rgba(221, 230, 213, 0.88);
  line-height: 1.7;
}

/* ── Layout ─────────────────────────────────────────────── */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* ── Left — Map & Info Cards ────────────────────────────── */

.contact-map-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.contact-map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  flex: 1;
  min-height: 180px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border: none;
  display: block;
  filter: saturate(0.85) contrast(0.98);
  transition: filter 0.3s ease;
}

.contact-map-wrapper:hover iframe {
  filter: saturate(1) contrast(1);
}

/* Clinic info cards */
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: #A0BA96;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.contact-info-card-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(160, 186, 150, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: #A0BA96;
  fill: none;
}

.contact-info-card-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #A0BA96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 3px;
}

.contact-info-card-value {
  font-family: "DM Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.45;
}

/* Hours card — full width */
.contact-hours-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.contact-hours-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(160, 186, 150, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-hours-icon svg {
  width: 22px;
  height: 22px;
  stroke: #A0BA96;
  fill: none;
}

.contact-hours-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #A0BA96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.contact-hours-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-hours-item {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 500;
}

.contact-hours-item span {
  color: #DDE6D5;
  margin-left: 4px;
  font-weight: 600;
}

/* ── Right — Form (White Card) ──────────────────────────── */

.contact-form-col {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2f3a2f;
  margin-bottom: 4px;
}

.contact-form-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: #5a6b5a;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Form group */
.contact-form-group {
  margin-bottom: 12px;
}

.contact-form-label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2f3a2f;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.contact-form-input,
.contact-form-textarea,
.contact-form-select {
  width: 100%;
  background-color: #f8f6f1;
  border: 1.5px solid #E2DED6;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: #2f3a2f;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #9AA894;
}

.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form-select:focus {
  border-color: #6d8a63;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(109, 138, 99, 0.12);
}

.contact-form-textarea {
  resize: vertical;
  min-height: 65px;
}

/* Two-col row */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Submit */
.contact-form-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #6d8a63;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.contact-form-submit-btn:hover {
  background-color: #4d6845;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(109, 138, 99, 0.35);
}

.contact-form-submit-btn:active {
  transform: translateY(0);
}

.contact-form-submit-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  fill: none;
  transition: transform 0.3s ease;
}

.contact-form-submit-btn:hover svg {
  transform: translateX(4px);
}

.contact-form-privacy-note {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  color: #7A8B7A;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.contact-form-privacy-note svg {
  width: 13px;
  height: 13px;
  stroke: #6D8A63;
  flex-shrink: 0;
}

/* Success state */
.contact-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  gap: 16px;
}

.contact-form-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #DDE6D5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #6D8A63;
  stroke-width: 2.5;
}

.contact-form-success-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2F3A2F;
}

.contact-form-success-text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: #5A6B5A;
  max-width: 360px;
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 991px) {
  .contact-section {
    padding: 70px 0;
    min-height: auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-map-wrapper {
    min-height: 240px;
  }
}

@media (max-width: 576px) {
  .contact-form-col {
    padding: 20px 18px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-hours-card {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-hours-list {
    flex-direction: column;
    gap: 6px;
  }
}
