/* Scoped Stylesheet - Contact Page (Authentic & Modern) */

/* Page Banner Hero Section */
.contact-hero-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  padding: 4.5rem 0 4rem;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-section .hero-title {
  color: var(--bg-white) !important;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-breadcrumbs {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.hero-breadcrumbs a {
  color: #5eead4;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.hero-breadcrumbs a:hover {
  color: var(--bg-white);
}

.hero-breadcrumbs i {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Section Padding Helper */
.section-padding-sm {
  padding: 3rem 0;
}

/* 1. Top Quick Info Strip (3 Summary Cards) */
.contact-quick-strip {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-color-light);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.quick-info-card {
  background-color: var(--bg-white);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.quick-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 18, 94, 0.25);
  box-shadow: 0 10px 25px rgba(94, 18, 94, 0.08);
}

.quick-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94, 18, 94, 0.08) 0%, rgba(0, 168, 150, 0.12) 100%);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(94, 18, 94, 0.12);
}

.quick-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quick-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.quick-card-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.quick-phone-links,
.quick-email-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-link {
  font-size: 0.92rem;
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.quick-link:hover {
  color: var(--accent-teal);
}

.quick-link.bold {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.quick-link.secondary {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
}

.quick-sub-text {
  font-size: 0.76rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* 2. Consultation CTA Form Section */
.contact-form-section {
  background-color: var(--bg-white);
  padding: 5rem 0;
}

.contact-form-container {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 3.5rem 3.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  position: relative;
}

.form-header-box {
  margin-bottom: 2.5rem;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(94, 18, 94, 0.06);
  color: var(--primary-purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(94, 18, 94, 0.12);
}

.form-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.form-subtext {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Alert Box */
.contact-alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.success-alert {
  background-color: #ecfdf5;
  border: 1.5px solid #10b981;
  color: #065f46;
}

.success-alert i {
  font-size: 1.35rem;
  color: #10b981;
  flex-shrink: 0;
}

/* CTA Form Inputs */
.cta-form-element {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.row-fields-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.field-item {
  width: 100%;
}

.input-icon-wrap {
  position: relative;
  width: 100%;
}

.input-icon-wrap i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  transition: var(--transition-fast);
}

.input-icon-wrap input,
.input-icon-wrap textarea {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 2.85rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition: all var(--transition-fast);
}

.input-icon-wrap input:focus,
.input-icon-wrap textarea:focus {
  background-color: var(--bg-white);
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3.5px rgba(94, 18, 94, 0.09);
}

.input-icon-wrap input:focus + i,
.input-icon-wrap textarea:focus + i {
  color: var(--primary-purple);
}

/* Phone input with flag badge */
.phone-wrap {
  position: relative;
}

.country-flag-badge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  border-right: 1.5px solid #cbd5e1;
  padding-right: 0.6rem;
  height: 48%;
  z-index: 2;
}

/* Textarea icon position */
.textarea-wrap i {
  top: 1.25rem;
  transform: none;
}

.textarea-wrap textarea {
  resize: vertical;
  line-height: 1.6;
}

/* Submit Button */
.gradient-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: var(--bg-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  padding: 1.1rem 3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}

.gradient-submit-btn:hover {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
}

/* 3. Interactive Google Map Section */
.contact-map-section {
  width: 100%;
  line-height: 0;
  background-color: #e2e8f0;
}

.map-iframe-container {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
}

/* 4. Three Hospital Locations Grid (Authentic Section) */
.hospital-locations-section {
  background-color: #f8fafc;
  padding: 5.5rem 0;
}

.section-header-wrap {
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(0, 168, 150, 0.1);
  color: var(--accent-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

.hospital-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.single-contact-box {
  background-color: var(--bg-white);
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
  position: relative;
}

.single-contact-box:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 18, 94, 0.3);
  box-shadow: 0 15px 35px rgba(94, 18, 94, 0.09);
}

/* Featured Chief Clinic Card */
.single-contact-box.featured-box {
  border: 2px solid var(--primary-purple);
  background: linear-gradient(180deg, #ffffff 0%, rgba(94, 18, 94, 0.015) 100%);
  box-shadow: 0 10px 30px rgba(94, 18, 94, 0.08);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--bg-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(94, 18, 94, 0.3);
}

.contact-box-header {
  margin-bottom: 1.75rem;
}

.box-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: rgba(0, 168, 150, 0.08);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 168, 150, 0.15);
}

.box-icon-badge.chief-badge {
  background: linear-gradient(135deg, rgba(94, 18, 94, 0.1) 0%, rgba(94, 18, 94, 0.04) 100%);
  color: var(--primary-purple);
  border-color: rgba(94, 18, 94, 0.2);
}

.box-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
  letter-spacing: -0.3px;
}

.box-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.specialty-highlight {
  color: var(--primary-purple);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.timings-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
}

.timings-pill.chief-pill {
  background-color: rgba(94, 18, 94, 0.06);
  color: var(--primary-purple);
  border: 1px solid rgba(94, 18, 94, 0.1);
}

/* Info List */
.box-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.box-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f8fafc;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.info-icon.chief-icon {
  background-color: rgba(94, 18, 94, 0.05);
  border-color: rgba(94, 18, 94, 0.12);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #94a3b8;
}

.info-val {
  font-size: 0.9rem;
  color: #1e293b;
  text-decoration: none;
  transition: var(--transition-fast);
}

.info-val:hover {
  color: var(--accent-teal);
}

.info-val.bold {
  font-weight: 700;
  font-size: 0.96rem;
}

.info-val.highlight {
  color: var(--primary-purple);
}

.address-text {
  line-height: 1.45;
  color: #475569;
  font-size: 0.88rem;
}

/* Card Action Buttons */
.contact-box-footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-box-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-box-action.primary {
  background-color: rgba(94, 18, 94, 0.08);
  color: var(--primary-purple);
  border: 1px solid rgba(94, 18, 94, 0.15);
}

.btn-box-action.primary:hover {
  background-color: var(--primary-purple);
  color: var(--bg-white);
}

.btn-box-action.chief-btn {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-box-action.chief-btn:hover {
  background: linear-gradient(135deg, #1fa855 0%, #15803d 100%);
  transform: translateY(-1px);
}

.btn-box-action.outline {
  background-color: transparent;
  color: #475569;
  border: 1.5px solid #cbd5e1;
}

.btn-box-action.outline:hover {
  border-color: #0f172a;
  color: #0f172a;
  background-color: #f8fafc;
}

/* 5. Consultant Doctor Summary Callout */
.consultant-summary-callout {
  margin-top: 4rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(94, 18, 94, 0.03) 100%);
  border: 1.5px solid rgba(94, 18, 94, 0.15);
  border-radius: 18px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.callout-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.callout-icon-col {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(94, 18, 94, 0.2);
}

.callout-content-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.callout-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-purple);
  letter-spacing: -0.3px;
  margin: 0;
}

.callout-quote {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.callout-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(94, 18, 94, 0.2);
}

.callout-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(94, 18, 94, 0.3);
}

.callout-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.callout-btn-whatsapp:hover {
  background-color: #1fa855;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .quick-info-grid {
    grid-template-columns: 1fr;
  }
  
  .hospital-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 2.5rem 1.75rem;
  }
  
  .row-fields-double {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .form-heading {
    font-size: 1.7rem;
  }
  
  .callout-inner {
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .callout-icon-col {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .callout-actions {
    flex-direction: column;
  }
  
  .callout-btn-primary,
  .callout-btn-whatsapp,
  .gradient-submit-btn {
    width: 100%;
    justify-content: center;
  }
}
