/* ========================================
   SUPER PROFESSIONAL FAQs (2026)
   BRA Blue + Gold Theme (Luxury Govt Portal)
======================================== */

:root {
  --bra-blue: #06607f;
  --bra-blue-dark: #044a61;
  --bra-blue-light: #0887b5;
  --bra-gold: #D4AF37;
  --bra-gold-light: #E5C65A;
  --bra-ink: #1a1a1a;
}

/* Page content spacing */
.faqs-modern-section {
  padding: 90px 0 110px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 45%, #f3f6f9 100%);
  position: relative;
  overflow: hidden;
}

.faqs-modern-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(6, 96, 127, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(9, 131, 168, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.faqs-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
}

.faqs-header .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(6, 96, 127, 0.08);
  border: 1px solid rgba(6, 96, 127, 0.18);
  color: var(--bra-blue);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
}

.faqs-header h2 {
  margin: 16px 0 10px;
  font-size: 2.8rem;
  font-weight: 900;
  color: #2c3e50;
  line-height: 1.2;
}

.faqs-header h2 .highlight {
  background: linear-gradient(135deg, var(--bra-blue), var(--bra-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faqs-header p {
  margin: 0 auto;
  max-width: 820px;
  color: #56616b;
  font-size: 1.08rem;
  line-height: 1.8;
}

/* Search + chips row */
.faqs-toolbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.faqs-search {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.faqs-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}

.faqs-search input {
  width: 100%;
  padding: 16px 54px 16px 48px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  font-weight: 600;
}

.faqs-search input:focus {
  outline: none;
  border-color: rgba(6, 96, 127, 0.55);
  box-shadow: 0 18px 50px rgba(6, 96, 127, 0.18);
}

.faqs-search .clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(6, 96, 127, 0.18);
  background: rgba(6, 96, 127, 0.08);
  color: var(--bra-blue);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.faqs-search .clear-btn:hover {
  background: linear-gradient(135deg, var(--bra-blue), var(--bra-blue-light));
  color: #fff;
  border-color: transparent;
}

.faqs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(6, 96, 127, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: #34495e;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.faq-chip i {
  color: var(--bra-gold);
}

.faq-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 96, 127, 0.35);
  box-shadow: 0 14px 35px rgba(6, 96, 127, 0.12);
}

.faq-chip.active {
  background: linear-gradient(135deg, var(--bra-blue), var(--bra-blue-light));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 40px rgba(6, 96, 127, 0.24);
}

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

/* Layout */
.faqs-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items: start;
}

/* FAQ list card */
.faqs-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 96, 127, 0.12);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.faqs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(6, 96, 127, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.faqs-card__top {
  position: relative;
  padding: 22px 22px 14px;
  border-bottom: 1px solid rgba(6, 96, 127, 0.10);
}

.faqs-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.faqs-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(6, 96, 127, 0.08);
  color: var(--bra-blue-dark);
  font-weight: 800;
}

.faqs-count i {
  color: var(--bra-gold);
}

.faqs-actions {
  display: inline-flex;
  gap: 10px;
}

.faqs-actions button {
  border: 1px solid rgba(6, 96, 127, 0.15);
  background: rgba(255, 255, 255, 0.8);
  color: var(--bra-blue);
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

.faqs-actions button:hover {
  background: linear-gradient(135deg, var(--bra-gold), var(--bra-gold-light));
  border-color: transparent;
  color: var(--bra-ink);
  transform: translateY(-1px);
}

.faqs-accordion {
  position: relative;
  padding: 10px 12px 16px;
}

/* Accordion item */
.faq-item {
  margin: 12px 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(6, 96, 127, 0.10);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.faq-item .accordion-button {
  padding: 18px 18px;
  font-weight: 900;
  color: #22313f;
  background: transparent;
  box-shadow: none !important;
  border: 0;
}

.faq-item .accordion-button::after {
  filter: hue-rotate(155deg) saturate(1.2);
}

.faq-item .accordion-button .q-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  background: linear-gradient(135deg, rgba(6, 96, 127, 0.12), rgba(9, 131, 168, 0.12));
  border: 1px solid rgba(6, 96, 127, 0.18);
  color: var(--bra-blue);
  flex-shrink: 0;
}

.faq-item .accordion-button:hover .q-icon {
  background: linear-gradient(135deg, var(--bra-blue), var(--bra-blue-light));
  color: #fff;
  border-color: transparent;
}

.faq-item .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(6, 96, 127, 0.10), rgba(212, 175, 55, 0.08));
  color: #0b2f3a;
}

.faq-item .accordion-body {
  padding: 0 18px 18px;
  color: #56616b;
  line-height: 1.85;
  font-weight: 600;
}

.faq-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 18px 0;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: #3b3b3b;
  font-weight: 900;
  font-size: 12px;
}

.faq-badge i {
  color: var(--bra-gold);
}

.faq-link {
  margin-left: auto;
  border: 1px solid rgba(6, 96, 127, 0.16);
  background: rgba(6, 96, 127, 0.07);
  color: var(--bra-blue);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.faq-link:hover {
  background: linear-gradient(135deg, var(--bra-blue), var(--bra-blue-light));
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.mark {
  background: rgba(212, 175, 55, 0.25);
  padding: 0 4px;
  border-radius: 6px;
}

/* Sidebar */
.faqs-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.side-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 96, 127, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.07);
  padding: 18px;
  overflow: hidden;
  position: relative;
}

.side-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 60%);
}

.side-title {
  font-weight: 1000;
  color: #22313f;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(6, 96, 127, 0.12);
  background: rgba(6, 96, 127, 0.04);
  text-decoration: none;
  color: #22313f;
  font-weight: 900;
  transition: all 0.2s ease;
}

.side-list a i {
  color: var(--bra-blue);
}

.side-list a:hover {
  background: linear-gradient(135deg, rgba(6, 96, 127, 0.14), rgba(212, 175, 55, 0.12));
  transform: translateY(-1px);
  border-color: rgba(6, 96, 127, 0.22);
}

.cta-card {
  background: linear-gradient(135deg, var(--bra-blue-dark) 0%, var(--bra-blue) 50%, var(--bra-blue-light) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-card .side-title {
  color: #fff;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  font-weight: 600;
  margin-bottom: 14px;
}

.cta-actions {
  display: grid;
  gap: 10px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 1000;
  transition: all 0.2s ease;
}

/* AI Assistant button – white text/icon for visibility on gold */
.cta-btn.primary {
  background: linear-gradient(135deg, var(--bra-gold), var(--bra-gold-light));
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.35);
}

.cta-btn.primary i,
.cta-btn.primary .fa-solid {
  color: #fff !important;
}

.cta-btn.primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(212, 175, 55, 0.45);
}

.cta-btn.primary:hover i,
.cta-btn.primary:hover .fa-solid {
  color: #fff !important;
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-1px);
}

/* Empty state */
.faqs-empty {
  padding: 50px 18px 60px;
  text-align: center;
  color: #6b7280;
}

.faqs-empty i {
  font-size: 3rem;
  color: var(--bra-gold);
  margin-bottom: 14px;
}

.faqs-empty h3 {
  color: #2c3e50;
  font-weight: 1000;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .faqs-layout {
    grid-template-columns: 1fr;
  }
  .faqs-side {
    position: static;
  }
  .faqs-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .faqs-modern-section {
    padding: 60px 0 80px;
  }
  .faqs-header h2 {
    font-size: 1.9rem;
  }
  .faq-item .accordion-button {
    padding: 16px 14px;
  }
  .faq-item .accordion-body {
    padding: 0 14px 16px;
  }
}

