/* FAQ Page — MentorMinds */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-light: #FF8A33;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --navy: #0A1F44;
  --white: #FFFFFF;
  --light: #F4F6F9;
  --text: #1A1A2E;
  --muted: #6B7280;
  --whatsapp: #25D366;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 24px rgba(10, 31, 68, 0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--orange); color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.fq-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow); }
.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.lang-switch { display: flex; background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.lang-switch button { border: none; cursor: pointer; padding: 3px 12px; font-family: var(--ff); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); background: transparent; }
.lang-switch button.active { background: var(--orange); color: var(--white); border-radius: 50px; }
.nav-bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header.scrolled .nav-bar { height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.logo-text span:first-child { color: var(--navy); font-weight: 700; font-size: 24px; }
.logo-text span:last-child { color: var(--orange); font-weight: 700; font-size: 24px; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 8px 11px; font-family: var(--ff); font-size: 14px; font-weight: 500; color: var(--navy); border-radius: 8px; transition: var(--transition); }
.nav-menu > li > a:hover { color: var(--orange); background: rgba(255,107,0,.06); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 10px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100;
}
.nav-menu > li:hover > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--navy); border-radius: 10px; }
.dropdown-menu li a:hover { background: rgba(255,107,0,.07); color: var(--orange); }
.dropdown-menu li a i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--orange-glow); color: var(--orange); border-radius: 8px; font-size: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp { width: 42px; height: 42px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.btn-cta { padding: 10px 22px; background: var(--orange); color: var(--white); font-family: var(--ff); font-size: 14px; font-weight: 600; border-radius: 50px; border: 2px solid var(--orange); transition: var(--transition); }
.btn-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: none; background: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 10px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,68,.5); z-index: 1049; opacity: 0; transition: opacity var(--transition); }
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-menu { display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100vh; background: var(--white); z-index: 1050; padding: 80px 24px 30px; overflow-y: auto; transition: right .35s ease; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu .mobile-nav > li > a { display: block; padding: 14px 0; font-weight: 600; color: var(--navy); }
.mobile-menu .mobile-nav > li > a.active { color: var(--orange); }

/* SECTION 1 — Hero */
.fq-hero {
  background: var(--white);
  padding: 140px 24px 48px;
  text-align: center;
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
}

.fq-hero h1 {
  font-family: var(--ff);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.fq-hero-sub {
  font-size: clamp(15px, 2.5vw, 17px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.fq-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.fq-search-input {
  width: 100%;
  padding: 16px 56px 16px 22px;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--text);
  background: var(--light);
  border: 1.5px solid rgba(10, 31, 68, 0.08);
  border-radius: 50px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fq-search-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-glow);
  background: var(--white);
}

.fq-search-input::placeholder { color: #9CA3AF; }

.fq-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.fq-search-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-50%) scale(1.05);
}

.fq-search-hint {
  margin-top: 12px;
  font-size: 14px;
  color: var(--orange);
  font-weight: 500;
}

/* SECTION 2 — Tabs + Accordion */
.fq-main {
  padding: 48px 0 64px;
  background: var(--light);
}

.fq-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fq-tabs-wrap::-webkit-scrollbar { display: none; }

.fq-tab {
  flex-shrink: 0;
  padding: 10px 18px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
  border: 1.5px solid rgba(10, 31, 68, 0.1);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.fq-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.fq-tab.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.fq-panel { display: none; }
.fq-panel.is-active { display: block; animation: fqFade 0.35s ease; }

@keyframes fqFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fq-item {
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid rgba(10, 31, 68, 0.06);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.fq-item.is-hidden { display: none; }

.fq-item.is-open {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

.fq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition);
}

.fq-question:hover { color: var(--orange); }

.fq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--orange);
  background: var(--orange-glow);
  border-radius: 50%;
  transition: transform 0.35s ease, background var(--transition);
}

.fq-item.is-open .fq-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}

.fq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.fq-item.is-open .fq-answer {
  max-height: 400px;
}

.fq-answer p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.fq-answer a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fq-answer a:hover { color: var(--orange-dark); }

.fq-empty,
.fq-no-results {
  text-align: center;
  padding: 32px 20px;
  color: var(--muted);
  font-size: 15px;
}

.fq-no-results {
  background: var(--white);
  border-radius: 12px;
  margin-top: 24px;
}

.fq-no-results i {
  display: block;
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 12px;
  opacity: 0.6;
}

.fq-no-results a { color: var(--orange); font-weight: 600; }

/* SECTION 3 — CTA */
.fq-cta {
  padding: 0 24px 80px;
  background: var(--light);
}

.fq-cta-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 68, 0.05);
}

.fq-cta-card h2 {
  font-family: var(--ff);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.fq-cta-card > p {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 16px;
}

.fq-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fq-contact-card {
  padding: 28px 20px;
  background: var(--light);
  border-radius: 16px;
  border: 1.5px solid rgba(10, 31, 68, 0.06);
  transition: var(--transition);
}

.fq-contact-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.12);
}

.fq-contact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
}

.fq-contact-card h3 {
  font-family: var(--ff);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.fq-contact-card > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.fq-contact-btn {
  display: inline-block;
  padding: 10px 22px;
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  border-radius: 50px;
  transition: var(--transition);
}

.fq-contact-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn-cta { display: none; }
}

@media (max-width: 768px) {
  .fq-hero { padding: 120px 20px 40px; }
  .fq-contact-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .fq-cta-card { padding: 36px 20px; }
  .fq-tab { font-size: 12px; padding: 8px 14px; }
  .fq-question { font-size: 15px; padding: 16px 18px; }
  .fq-answer p { padding: 0 18px 18px; }
}

@media (max-width: 480px) {
  .fq-tabs-wrap { justify-content: flex-start; flex-wrap: nowrap; padding-bottom: 8px; }
}
