/* Golden Bridge Services - Components Stylesheet */

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-bg) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 33, 55, 0.05);
  border: 1px solid rgba(15, 33, 55, 0.12);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-main);
  margin-bottom: 24px;
}

.hero-badge i {
  color: var(--gold-accent);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  color: var(--navy-main);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title span.highlight {
  color: var(--gold-accent);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(15, 33, 55, 0.1);
  padding-top: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-main);
}

.trust-item i {
  color: var(--gold-accent);
  font-size: 1.1rem;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--card-bg);
}

.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-overlay-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15, 33, 55, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-md);
  color: var(--text-white);
  border-left: 4px solid var(--gold-accent);
}

.hero-overlay-tag h4 {
  color: var(--gold-accent);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-overlay-tag p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Our Origin Story Component */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image-box img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.story-badge-floating {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gold-gradient);
  color: var(--navy-dark);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.story-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.story-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.story-quote-card {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold-accent);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  font-style: italic;
  color: var(--navy-dark);
  font-size: 1.05rem;
}

.story-quote-card footer {
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: #8a6a1c;
}

/* Care Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-bottom: 48px;
}

.package-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 2px solid rgba(15, 33, 55, 0.08);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy-light);
  box-shadow: var(--shadow-lg);
}

.package-card.selected {
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-gold);
  background: var(--gold-soft);
}

.package-card.featured {
  border-color: var(--gold-accent);
}

.package-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: var(--navy-dark);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.package-header {
  text-align: center;
  margin-bottom: 24px;
}

.package-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 33, 55, 0.06);
  color: var(--navy-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
}

.package-card.selected .package-icon {
  background: var(--gold-accent);
  color: var(--navy-dark);
}

.package-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.package-title {
  font-size: 1.4rem;
  margin: 6px 0 4px 0;
}

.package-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.package-price-box {
  text-align: center;
  padding: 16px 0;
  border-top: 1px dashed rgba(15, 33, 55, 0.12);
  border-bottom: 1px dashed rgba(15, 33, 55, 0.12);
  margin-bottom: 24px;
}

.price-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.package-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.package-features li i {
  color: var(--gold-accent);
  font-size: 1rem;
  margin-top: 3px;
}

/* Calculator & Estimator Widget */
.calculator-box {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid rgba(15, 33, 55, 0.08);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.calc-options-side h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--navy-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15, 33, 55, 0.15);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.addon-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--slate-bg);
  border: 1.5px solid rgba(15, 33, 55, 0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.addon-checkbox-label.active {
  background: var(--gold-soft);
  border-color: var(--gold-accent);
}

.addon-info {
  display: flex;
  flex-direction: column;
}

.addon-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.addon-price {
  font-size: 0.75rem;
  color: var(--gold-accent);
  font-weight: 700;
}

/* Calculator Summary Panel */
.calc-summary-panel {
  background: var(--navy-main);
  color: var(--text-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-panel h3 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.summary-row.total-row {
  border-top: 2px solid var(--gold-accent);
  padding-top: 18px;
  margin-top: 18px;
}

.summary-row.total-row span {
  font-size: 1.1rem;
  font-weight: 700;
}

.summary-row.total-row strong {
  font-size: 1.75rem;
  color: var(--gold-accent);
}

.summary-addons-list {
  margin: 12px 0 20px 0;
  padding-left: 0;
}

.summary-addons-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

.summary-addons-list li.no-addons {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

/* Sample Post-Visit Family Update Component */
.sample-update-section {
  background-color: #ffffff;
}

.report-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.report-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--slate-bg);
  border: 1px solid rgba(15, 33, 55, 0.1);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-main);
  cursor: pointer;
  transition: var(--transition);
}

.report-tab-btn.active {
  background: var(--navy-main);
  color: var(--text-white);
  border-color: var(--navy-main);
  box-shadow: var(--shadow-sm);
}

.sample-report-card {
  background: var(--sand-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(15, 33, 55, 0.08);
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.report-badge {
  display: inline-block;
  background: var(--gold-accent);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.report-patient-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.report-hospital-info {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mood-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 33, 55, 0.12);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.report-summary-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 28px;
  font-style: italic;
}

.report-highlights-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border-left: 4px solid var(--navy-main);
}

.report-highlights-box h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--navy-main);
}

.report-highlights-box ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.report-highlights-box ul li i {
  color: #10b981;
}

.report-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(15, 33, 55, 0.08);
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.verified-tag {
  color: var(--gold-accent);
  font-weight: 700;
}

/* Durban Hospital Grid */
.hospital-search-bar {
  max-width: 500px;
  margin: 0 auto 40px auto;
  position: relative;
}

.hospital-search-bar input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(15, 33, 55, 0.15);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.hospital-search-bar i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.hospital-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 33, 55, 0.08);
  transition: var(--transition);
}

.hospital-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hospital-img-wrapper {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.hospital-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hospital-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 33, 55, 0.85);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.hospital-card-body {
  padding: 20px;
}

.hospital-region {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.hospital-name {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.hospital-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hospital-hours {
  font-size: 0.8rem;
  background: var(--slate-bg);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--navy-main);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* FAQ Accordion Component */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(15, 33, 55, 0.08);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 1.1rem;
  margin: 0;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-main);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Booking Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-border);
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--slate-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.booking-success-message, .contact-success-box {
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 20px auto;
}

/* Footer Section */
.footer {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .story-grid, .calculator-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .calculator-box {
    padding: 24px 16px;
  }

  .sample-report-card {
    padding: 24px 16px;
  }
}
