/* =============================================
   ZAPPCOOL FAQ PAGE - faq-style.css
   Add to your theme via Appearance > Customize > Additional CSS
   OR enqueue via functions.php on the FAQ page only
   ============================================= */
 
/* ---- Variables matching Zapp Cool theme ---- */
:root {
  --zc-blue:       #0b3d6e;   /* dark navy - primary */
  --zc-cyan:       #0099cc;   /* bright cyan - accent */
  --zc-orange:     #e85c00;   /* orange - highlight accent */
  --zc-light:      #f5f7fa;   /* page bg */
  --zc-white:      #ffffff;
  --zc-text:       #2d3748;
  --zc-muted:      #718096;
  --zc-border:     #dde3ec;
  --zc-shadow:     0 4px 24px rgba(11,61,110,0.10);
  --zc-radius:     10px;
  --zc-transition: 0.32s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Wrapper ---- */
.zc-faq-wrapper {
  font-family: 'Barlow', sans-serif;
  color: var(--zc-text);
  background: var(--zc-light);
  margin: 0;
  padding: 0;
}
 
/* =============================================
   TABS
   ============================================= */
.zc-faq-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 40px 0 0;
  flex-wrap: wrap;
}

.zc-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--zc-border);
  background: var(--zc-white);
  color: var(--zc-muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--zc-radius);
  cursor: pointer;
  transition: var(--zc-transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.zc-tab-btn .zc-tab-icon {
  font-size: 18px;
}

.zc-tab-btn:hover {
  border-color: var(--zc-cyan);
  color: var(--zc-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,153,204,0.15);
}

.zc-tab-btn.active {
  background: var(--zc-blue);
  border-color: var(--zc-blue);
  color: var(--zc-white);
  box-shadow: 0 6px 24px rgba(11,61,110,0.28);
}

/* =============================================
   SEARCH
   ============================================= */
.zc-faq-search-wrap {
  position: relative;
  margin: 32px 0 12px;
}

.zc-faq-search {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid var(--zc-border);
  border-radius: var(--zc-radius);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--zc-text);
  background: var(--zc-white);
  box-shadow: var(--zc-shadow);
  transition: var(--zc-transition);
  box-sizing: border-box;
}

.zc-faq-search:focus {
  outline: none;
  border-color: var(--zc-cyan);
  box-shadow: 0 0 0 3px rgba(0,153,204,0.12);
}

.zc-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--zc-muted);
  pointer-events: none;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.zc-faq-section {
  display: none;
}
.zc-faq-section.active {
  display: block;
  animation: zcFadeUp 0.4s ease both;
}

.zc-faq-category-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--zc-cyan);
  margin: 28px 0 18px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zc-faq-category-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--zc-cyan) 0%, transparent 100%);
  opacity: 0.3;
}

/* =============================================
   ACCORDION
   ============================================= */
.zc-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zc-acc-item {
  background: var(--zc-white);
  border: 1px solid var(--zc-border);
  border-radius: var(--zc-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow var(--zc-transition), border-color var(--zc-transition);
}

.zc-acc-item:hover {
  border-color: rgba(0,153,204,0.35);
  box-shadow: 0 4px 18px rgba(11,61,110,0.10);
}

.zc-acc-item.open {
  border-color: var(--zc-cyan);
  box-shadow: 0 6px 28px rgba(0,153,204,0.14);
}

/* Header button */
.zc-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--zc-transition);
}

.zc-acc-item.open .zc-acc-header {
  background: linear-gradient(90deg, rgba(0,153,204,0.06) 0%, transparent 100%);
}

/* Number badge */
.zc-acc-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--zc-light);
  border: 1px solid var(--zc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--zc-muted);
  letter-spacing: 0.5px;
  transition: var(--zc-transition);
}

.zc-acc-item.open .zc-acc-num {
  background: var(--zc-blue);
  border-color: var(--zc-blue);
  color: var(--zc-white);
}

/* Question text */
.zc-acc-q {
  flex: 1;
  font-family: 'Barlow', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--zc-blue);
  line-height: 1.4;
}

.zc-acc-item.open .zc-acc-q {
  color: var(--zc-blue);
}

/* Arrow icon */
.zc-acc-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--zc-light);
  border: 1px solid var(--zc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--zc-transition);
}

.zc-acc-arrow::before,
.zc-acc-arrow::after {
  content: '';
  position: absolute;
  background: var(--zc-muted);
  border-radius: 2px;
  transition: var(--zc-transition);
}

/* Plus icon */
.zc-acc-arrow::before {
  width: 10px;
  height: 2px;
}

.zc-acc-arrow::after {
  width: 2px;
  height: 10px;
}

/* Becomes minus when open */
.zc-acc-item.open .zc-acc-arrow {
  background: var(--zc-cyan);
  border-color: var(--zc-cyan);
  transform: rotate(45deg);
}

.zc-acc-item.open .zc-acc-arrow::before,
.zc-acc-item.open .zc-acc-arrow::after {
  background: var(--zc-white);
}

/* Body / answer */
.zc-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 20px 0 70px;
}

.zc-acc-item.open .zc-acc-body {
  max-height: 400px;
  padding: 4px 20px 20px 70px;
}

.zc-acc-body p {
  margin: 0;
  font-size: 15px;
  color: var(--zc-muted);
  line-height: 1.75;
}

.zc-acc-body strong {
  color: var(--zc-blue);
  font-weight: 600;
}

/* =============================================
   CTA STRIP
   ============================================= */
.zc-faq-cta {
  margin-top: 56px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--zc-blue) 0%, #0d5291 100%);
  padding: 2px;
  box-shadow: 0 8px 32px rgba(11,61,110,0.22);
}

.zc-faq-cta-inner {
  background: linear-gradient(120deg, #062240 0%, var(--zc-blue) 100%);
  border-radius: 12px;
  padding: 44px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.zc-faq-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,204,0.15) 0%, transparent 70%);
}

.zc-faq-cta-inner h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--zc-white);
  margin: 0 0 10px;
  position: relative;
}

.zc-faq-cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0 0 28px;
  position: relative;
}

.zc-cta-btn {
  display: inline-block;
  padding: 14px 38px;
  background: var(--zc-orange);
  color: var(--zc-white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--zc-transition);
  position: relative;
  box-shadow: 0 4px 18px rgba(232,92,0,0.35);
}

.zc-cta-btn:hover {
  background: #ff6a10;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,92,0,0.45);
  color: var(--zc-white);
  text-decoration: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .zc-faq-hero {
    padding: 60px 20px 90px;
  }

  .zc-tab-btn {
    padding: 12px 22px;
    font-size: 15px;
  }

  .zc-acc-header {
    padding: 15px 14px;
    gap: 10px;
  }

  .zc-acc-num {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .zc-acc-q {
    font-size: 14px;
  }

  .zc-acc-body {
    padding: 0 14px 0 54px;
  }

  .zc-acc-item.open .zc-acc-body {
    padding: 4px 14px 16px 54px;
  }

  .zc-faq-cta-inner {
    padding: 32px 22px;
  }

  .zc-faq-cta-inner h3 {
    font-size: 24px;
  }
}

/* Hide only the auto WordPress page title, not content H1s */
article.hentry > h1:first-child {
  display: none !important;
}