/* ==========================================================================
   FAQ Page Stylesheet (css/faq-page.css)
   100% Matching faq.png Reference Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Section with Rich Multi-Layer Gradient & Mesh Glow
   -------------------------------------------------------------------------- */
.faq-hero-section {
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  padding: 24px 0 28px 0 !important;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .faq-hero-section {
    padding: 15px 0 !important;
    min-height: 380px;
    height: 380px;
  }

  .faq-hero-section > .container-fluid {
    height: 100%;
  }

  .faq-hero-section .row {
    height: 100%;
    align-items: center;
  }
}

/* Glowing Mesh Orbs */
.faq-hero-glow-1 {
  position: absolute;
  top: -100px;
  right: 2%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 82, 143, 0.16) 0%, rgba(224, 30, 90, 0.04) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  border-radius: 50%;
  z-index: 1;
}

.faq-hero-glow-2 {
  position: absolute;
  bottom: -80px;
  left: -2%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.18) 0%, rgba(69, 35, 116, 0.04) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  border-radius: 50%;
  z-index: 1;
}

.faq-hero-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #e01e5a;
  margin-bottom: 6px;
  display: inline-block;
}

.faq-hero-title {
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.22;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.faq-hero-title span {
  color: #e01e5a;
}

.faq-accent-line {
  width: 44px;
  height: 3.5px;
  background: #e01e5a;
  border-radius: 2px;
  margin-bottom: 10px;
}

.faq-hero-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  max-width: 500px;
  margin-bottom: 16px;
}

/* 3 Feature Items in Hero (Vertical Stack with Right Divider Lines) */
.faq-feature-col {
  border-right: 1.5px solid #f1f5f9;
  padding: 0 10px;
}

.faq-feature-col:last-child {
  border-right: none;
}

.faq-feature-box {
  text-align: center;
}

.faq-feature-icon-svg {
  color: #e01e5a;
  font-size: 22px;
  margin-bottom: 4px;
  display: inline-block;
}

.faq-feature-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.25;
}

.faq-feature-sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

/* Organic Smooth Blob Frame for Hero Image */
.faq-hero-blob-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 6px;
}

.faq-hero-blob-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 42% 58% 65% 35% / 40% 45% 55% 60%;
  background: linear-gradient(135deg, rgba(224, 30, 90, 0.35), rgba(254, 205, 211, 0.2));
  z-index: 1;
  filter: blur(5px);
}

.faq-hero-blob-img {
  width: 100%;
  height: 310px;
  max-height: 310px;
  border-radius: 42% 58% 65% 35% / 40% 45% 55% 60%;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 25px rgba(224, 30, 90, 0.1);
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}

/* --------------------------------------------------------------------------
   2. Section 2: Search Card & Category Filter Pills (Dark Theme with Deep Purple)
   -------------------------------------------------------------------------- */
.faq-search-category-section {
  padding: 40px 0 45px 0;
  background:
    radial-gradient(rgba(224, 30, 90, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(167, 71, 254, 0.20) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2d1060 0%, #3b0f7a 50%, #280d58 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  background-position: 0 0, 16px 16px, 0 0 !important;
  position: relative;
}

.faq-search-category-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 34px 44px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 880px;
  margin: 0 auto;
}

.faq-card-heading {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.faq-card-sub {
  font-size: 13.5px;
  color: #cbd5e1;
}

/* Premium Search Input Box with Inner Icon & Right Button */
.faq-search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.faq-search-box-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #e01e5a;
  font-size: 17px;
  pointer-events: none;
  z-index: 2;
}

.faq-search-box-input {
  width: 100%;
  height: 52px;
  padding-left: 48px !important;
  padding-right: 20px !important;
  background-color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 14px !important;
  font-size: 14.5px;
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.faq-search-box-input:focus {
  border-color: #ff528f !important;
  box-shadow: 0 0 0 4px rgba(255, 82, 143, 0.25) !important;
  outline: none;
}

/* Category Filter Pills Strip */
.category-pills-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.category-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.category-filter-pill i {
  font-size: 13px;
  color: #ff528f;
  transition: color 0.25s ease;
}

.category-filter-pill:hover {
  background: rgba(255, 82, 143, 0.22);
  border-color: rgba(255, 82, 143, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.category-filter-pill:hover i {
  color: #ffffff;
}

.category-filter-pill.active {
  background: linear-gradient(135deg, #ff528f 0%, #e01e5a 100%);
  border-color: #ff528f;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(224, 30, 90, 0.5);
}

.category-filter-pill.active i {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Main Accordion Section with Vertical Sidebar Navigation (Light Theme)
   -------------------------------------------------------------------------- */
.faq-main-section {
  padding: 70px 0 85px 0;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  position: relative;
}

.title-accent-line {
  width: 45px;
  height: 3.5px;
  background: #e01e5a;
  margin: 10px auto 14px auto;
  border-radius: 2px;
}

.faq-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 40px;
}

/* Vertical Sidebar Category Navigation Container Card */
.faq-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 18px;
  border: 1.5px solid #fce4ec;
  box-shadow: 0 10px 30px rgba(31, 20, 53, 0.04);
  position: sticky;
  top: 90px;
}

.faq-sidebar-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e01e5a;
  margin-bottom: 14px;
  padding-left: 6px;
}

.faq-category-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.faq-nav-item:hover {
  background: #fff8fa;
  border-color: #fce4ec;
  color: #e01e5a;
  transform: translateX(4px);
}

.faq-nav-item.active {
  background: linear-gradient(135deg, #e01e5a 0%, #c2185b 100%);
  color: #ffffff !important;
  border-color: #e01e5a;
  box-shadow: 0 8px 24px rgba(224, 30, 90, 0.35);
  transform: translateX(6px);
}

.faq-nav-item.active i {
  color: #ffffff !important;
}

.faq-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* WOW Factor Accordion Items Styling */
.faq-accordion .accordion-item {
  border: 1.5px solid #f1f5f9;
  border-radius: 16px !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  background: #ffffff;
}

.faq-accordion .accordion-item:hover {
  border-color: #fce4ec;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 30, 90, 0.08);
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #fce4ec;
  box-shadow: 0 12px 35px rgba(224, 30, 90, 0.1);
}

.faq-accordion .accordion-button {
  font-size: 15px;
  font-weight: 600;
  color: #1e1b4b;
  padding: 18px 22px;
  line-height: 1.4;
  background: #ffffff;
  box-shadow: none !important;
  gap: 12px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #e01e5a !important;
  background-color: #ffffff;
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  padding: 0 24px 22px 24px;
  background-color: #ffffff;
}

.faq-answer-inner-box {
  border-left: 3.5px solid #e01e5a;
  padding: 16px 20px;
  background: #fffcfd;
  border-radius: 0 14px 14px 0;
  border-top: 1px solid #fff0f4;
  border-right: 1px solid #fff0f4;
  border-bottom: 1px solid #fff0f4;
}

/* Load More Button */
.btn-load-more-faq {
  background: #ffffff;
  border: 1.5px solid #e01e5a;
  color: #e01e5a !important;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 32px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-load-more-faq:hover {
  background-color: #e01e5a;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(224, 30, 90, 0.35);
}

/* --------------------------------------------------------------------------
   4. "Still Have Questions?" CTA Section (100% Pixel Matching Screenshot)
   -------------------------------------------------------------------------- */
.faq-cta-section {
  padding: 50px 0 90px 0;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%);
}

.faq-cta-card {
  background:
    radial-gradient(rgba(224, 30, 90, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(167, 71, 254, 0.20) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2d1060 0%, #3b0f7a 50%, #280d58 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  background-position: 0 0, 16px 16px, 0 0 !important;
  border-radius: 28px;
  padding: 36px 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(31, 20, 53, 0.2);
  position: relative;
  overflow: hidden;
}

/* Decorative backdrop aura behind doctor photo */
.faq-cta-doc-wrapper {
  position: relative;
  display: inline-block;
}

.faq-cta-doc-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 82, 143, 0.25) 0%, transparent 70%);
  filter: blur(12px);
  z-index: 1;
}

.faq-cta-doctor-img {
  width: 140px;
  height: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 28px rgba(224, 30, 90, 0.15);
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}

.faq-cta-title {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.faq-cta-title span {
  color: #ff528f;
}

.faq-cta-desc {
  font-size: 13.5px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 3 Features Flex Container with Vertical Dividers */
.cta-features-flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 991.98px) {
  .cta-features-flex {
    justify-content: center;
  }
}

.cta-feature-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.cta-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  color: #e01e5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(224, 30, 90, 0.08);
}

.cta-feature-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

.cta-feature-divider {
  width: 1.5px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-cta-consultation {
  background: linear-gradient(135deg, #e01e5a 0%, #c2185b 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 34px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  box-shadow: 0 8px 22px rgba(224, 30, 90, 0.35);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-cta-consultation:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(224, 30, 90, 0.45);
}

/* Responsive Rules */
@media (max-width: 991.98px) {
  .faq-hero-section {
    padding: 24px 0 45px 0 !important;
    background: linear-gradient(to bottom, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
    min-height: auto !important;
  }
  .faq-hero-title {
    font-size: 32px;
  }
  .faq-cta-card {
    padding: 28px 24px;
  }
  .cta-features-flex {
    justify-content: center;
    margin: 20px 0;
  }
}

@media (max-width: 767.98px) {
  .faq-hero-title {
    font-size: 26px;
  }
  .faq-search-box {
    padding: 6px 12px;
  }
  .faq-category-item {
    font-size: 13px;
    padding: 8px 14px;
  }
  .faq-question-btn {
    font-size: 15px;
    padding: 14px 16px;
  }
  .faq-cta-card {
    padding: 24px 16px;
    text-align: center;
  }
  .cta-feature-divider {
    display: none;
  }
}

