/* ==========================================================================
   H-Focus Medical Laboratory - Modern FAQs Page Stylesheet
   Palette: Primary Emerald Green (#057837), Deep Navy (#0b132b),
   Mint Accent (#10b981), Slate (#334155), Clean Background (#f8fafc).
   Strictly NO GOLD. Modern luxury clinical hospital & diagnostic aesthetics.
   ========================================================================== */

/* Hero Section */
.hf-faq-hero {
  position: relative;
  background: linear-gradient(135deg, #061826 0%, #0b132b 55%, #043819 100%);
  color: #ffffff;
  padding: 70px 0 85px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.hf-faq-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/herobanners/aboutus.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: saturate(0.8) contrast(1.1);
}

.hf-faq-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
              linear-gradient(180deg, rgba(11, 19, 43, 0.85) 0%, rgba(11, 19, 43, 0.96) 100%);
  pointer-events: none;
}

.hf-faq-hero-content {
  position: relative;
  z-index: 2;
}

.hf-faq-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.hf-faq-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-faq-breadcrumb a:hover {
  color: #34d399;
}

.hf-faq-breadcrumb .current {
  color: #6ee7b7;
  font-weight: 600;
}

.hf-faq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6ee7b7;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hf-faq-hero-title {
  font-family: var(--hf-font-heading, 'Outfit', sans-serif);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff !important;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hf-faq-gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hf-faq-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin-bottom: 30px;
}

/* Hero Search Box */
.hf-faq-search-wrapper {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hf-faq-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  padding: 7px 10px 7px 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
}

.hf-faq-search-box:focus-within {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.hf-faq-search-icon {
  color: var(--hf-primary, #057837);
  font-size: 1.15rem;
  margin-right: 12px;
}

.hf-faq-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--hf-font-body, 'Plus Jakarta Sans', sans-serif);
  color: #0b132b;
  background: transparent;
  padding: 8px 0;
}

.hf-faq-search-input::placeholder {
  color: #94a3b8;
  font-size: 14.5px;
}

.hf-faq-search-clear {
  display: none;
  background: #e2e8f0;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #64748b;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.hf-faq-search-clear:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.hf-faq-search-btn {
  background: linear-gradient(135deg, #057837 0%, #0ea750 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hf-faq-search-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(5, 120, 55, 0.4);
}

/* Trust Pill Badges */
.hf-faq-metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hf-faq-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
}

.hf-faq-metric-pill i {
  color: #34d399;
  font-size: 14px;
}

.hf-faq-metric-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Category Filter Bar */
.hf-faq-filter-section {
  position: sticky;
  top: 76px;
  z-index: 1020;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.hf-faq-chips-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.hf-faq-chips-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px;
  flex: 1;
  /* Completely hide native scrollbar across all browsers */
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

.hf-faq-chips-container::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@media (min-width: 1200px) {
  .hf-faq-chips-container {
    justify-content: center;
  }
}

/* Modernized Navigation Arrow Buttons */
.hf-faq-scroll-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(5, 120, 55, 0.25);
  color: #057837;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  outline: none;
}

.hf-faq-scroll-arrow:hover {
  background: #057837;
  color: #ffffff;
  border-color: #057837;
  box-shadow: 0 6px 16px rgba(5, 120, 55, 0.3);
  transform: scale(1.08);
}

.hf-faq-scroll-arrow:active {
  transform: scale(0.96);
}

.hf-faq-scroll-arrow.is-disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
  border-color: rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  box-shadow: none;
}

.hf-faq-chip {
  background: #ffffff;
  color: #334155;
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.hf-faq-chip i {
  font-size: 13px;
  color: #057837;
  transition: color 0.25s ease;
}

.hf-faq-chip:hover {
  background: rgba(5, 120, 55, 0.05);
  border-color: #057837;
  color: #057837;
}

.hf-faq-chip.active {
  background: linear-gradient(135deg, #057837 0%, #0ea750 100%);
  color: #ffffff !important;
  border-color: #057837;
  box-shadow: 0 4px 14px rgba(5, 120, 55, 0.28);
}

.hf-faq-chip.active i {
  color: #ffffff;
}

.hf-faq-chip-count {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.07);
  font-weight: 700;
}

.hf-faq-chip.active .hf-faq-chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* FAQ Main Section */
.hf-faq-main-section {
  background-color: #f8fafc;
  padding: 60px 0 80px 0;
}

.hf-faq-section-header {
  margin-bottom: 40px;
}

.hf-faq-section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #057837;
  background: rgba(5, 120, 55, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.hf-faq-section-title {
  font-family: var(--hf-font-heading, 'Outfit', sans-serif);
  font-size: 2rem;
  font-weight: 800;
  color: #0b132b;
  margin-bottom: 10px;
}

.hf-faq-section-subtitle {
  color: #64748b;
  font-size: 15px;
}

/* Accordion Styling */
.hf-faq-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(11, 19, 43, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.hf-faq-card:hover {
  border-color: rgba(5, 120, 55, 0.3);
  box-shadow: 0 10px 30px rgba(5, 120, 55, 0.07);
  transform: translateY(-2px);
}

.hf-faq-card.is-open {
  border-color: rgba(5, 120, 55, 0.4);
  box-shadow: 0 12px 32px rgba(5, 120, 55, 0.1);
}

.hf-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.hf-faq-trigger:hover {
  background: rgba(5, 120, 55, 0.02);
}

.hf-faq-card.is-open .hf-faq-trigger {
  background: rgba(5, 120, 55, 0.03);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hf-faq-trigger-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.hf-faq-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(5, 120, 55, 0.08);
  color: #057837;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hf-faq-card.is-open .hf-faq-cat-icon {
  background: #057837;
  color: #ffffff;
}

.hf-faq-question-text {
  font-family: var(--hf-font-heading, 'Outfit', sans-serif);
  font-size: 16.5px;
  font-weight: 700;
  color: #0b132b;
  margin: 0;
  line-height: 1.35;
}

.hf-faq-chevron {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hf-faq-card.is-open .hf-faq-chevron {
  transform: rotate(180deg);
  background: #057837;
  color: #ffffff;
}

/* FAQ Answer Body */
.hf-faq-answer {
  padding: 24px 28px 26px 84px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.hf-faq-answer p:last-child {
  margin-bottom: 0;
}

.hf-faq-answer strong {
  color: #0b132b;
}

.hf-faq-answer a {
  color: #057837;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-faq-answer a:hover {
  color: #0ea750;
  text-decoration: underline;
}

.hf-faq-tip-box {
  margin-top: 14px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #057837;
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: #0b132b;
}

.hf-faq-tip-box i {
  color: #057837;
  margin-right: 6px;
}

/* Quick Support Banner Card */
.hf-faq-support-card {
  background: linear-gradient(135deg, #0b132b 0%, #0f243c 60%, #034b22 100%);
  border-radius: 24px;
  padding: 45px 40px;
  color: #ffffff;
  margin-top: 60px;
  box-shadow: 0 20px 50px rgba(11, 19, 43, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.hf-faq-support-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hf-faq-support-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.hf-faq-support-title {
  font-family: var(--hf-font-heading, 'Outfit', sans-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hf-faq-support-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 0;
}

.hf-faq-support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.hf-faq-btn-call {
  background: #ffffff;
  color: #0b132b !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hf-faq-btn-call:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  color: #057837 !important;
  text-decoration: none;
}

.hf-faq-btn-book {
  background: linear-gradient(135deg, #057837 0%, #0ea750 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(5, 120, 55, 0.35);
}

.hf-faq-btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(5, 120, 55, 0.45);
  color: #ffffff !important;
  text-decoration: none;
}

/* Empty search state */
.hf-faq-empty-state {
  display: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px dashed rgba(148, 163, 184, 0.4);
}

.hf-faq-empty-icon {
  width: 65px;
  height: 65px;
  background: rgba(5, 120, 55, 0.08);
  color: #057837;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hf-faq-hero-title {
    font-size: 2.2rem;
  }
  .hf-faq-support-actions {
    justify-content: flex-start;
    margin-top: 24px;
  }
}

@media (max-width: 767.98px) {
  .hf-faq-hero {
    padding: 50px 0 65px 0;
  }
  .hf-faq-hero-title {
    font-size: 1.85rem;
  }
  .hf-faq-hero-subtitle {
    font-size: 14.5px;
  }
  .hf-faq-search-box {
    padding: 6px 8px 6px 16px;
  }
  .hf-faq-search-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
  .hf-faq-filter-section {
    top: 66px;
    padding: 10px 0;
  }
  .hf-faq-trigger {
    padding: 18px 16px;
    gap: 12px;
  }
  .hf-faq-cat-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .hf-faq-question-text {
    font-size: 15px;
  }
  .hf-faq-answer {
    padding: 16px 18px 20px 18px;
    font-size: 14.5px;
  }
  .hf-faq-support-card {
    padding: 30px 22px;
  }
  .hf-faq-support-title {
    font-size: 1.5rem;
  }
  .hf-faq-btn-call, .hf-faq-btn-book {
    width: 100%;
    justify-content: center;
  }
}

/* iPhone SE Specific (375px) */
@media (max-width: 375px) {
  .hf-faq-hero-title {
    font-size: 1.65rem;
  }
  .hf-faq-chip {
    padding: 6px 14px;
    font-size: 12.5px;
  }
  .hf-faq-question-text {
    font-size: 14px;
  }
  .hf-faq-chevron {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}
