/* FAQ Page Styles */

.gce-faq-hero-content,
.gce-breadcrumbs .gce-container,
.gce-faq-page-content > .gce-container {
  max-width: 1072px;
}

.gce-faq-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  background: var(--gce-teal-dark);
  overflow: hidden;
}

.gce-faq-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gce-faq-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.gce-faq-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 88, 80, 0.95) 0%, rgba(14, 88, 80, 0.7) 50%, rgba(14, 88, 80, 0.3) 100%);
}

.gce-faq-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 86px 0 64px;
  text-align: left;
}

.gce-faq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 18px;margin-top:20px;
  font-weight: 500;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gce-faq-hero-badge svg {
  color: #a3e6cd;
}

.gce-faq-hero h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.gce-breadcrumbs {
  min-height: 60px;
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--gce-border);
  color: var(--gce-gray-text);
  font-size: 13px;
}

.gce-breadcrumbs .gce-container {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gce-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gce-gray-dark);
  font-weight: 500;
}

.gce-breadcrumbs a:hover {
  color: var(--gce-teal);
}

.gce-breadcrumbs a svg {
  width: 16px;
  height: 16px;
}

.gce-breadcrumbs .separator {
  color: #a0a8a6;
}

.gce-faq-page-content {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.gce-faq-tabs-container {
  position: sticky;
  top: 72px; /* Height of the sticky header */
  z-index: 40;
  background: #f8fafc;
  padding: 20px 0;
  margin-bottom: 20px;
}

.gce-faq-tabs {
  display: flex;
  align-items: center;
  justify-content:flex-start;
  gap: 40px;
  border-bottom: 1px solid #e2e8e7;
}

.gce-faq-tab {
  position: relative;
  padding: 0 0 16px;
  background: transparent;
  border: none;
  color: #3f464f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.gce-faq-tab:hover,
.gce-faq-tab:focus-visible {
  color: var(--gce-teal-dark);
  outline: none;
}

.gce-faq-tab:focus-visible {
  box-shadow: 0 0 0 2px var(--gce-teal);
  border-radius: 4px;
}

.gce-faq-tab[aria-selected="true"] {
  color: #17202d;
  font-weight: 700;
}

.gce-faq-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--gce-teal);
}

.gce-faq-sections {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.gce-faq-section-group {
  scroll-margin-top: 150px; /* Offset for sticky header + tabs */
}

.gce-faq-section-group h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 24px;
  color: #17202d;
}

.gce-faq-section-group h2 span {
  color: var(--gce-pink-dark);
}

.gce-faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gce-faq-item {
  overflow: hidden;
  border: 1px solid #edf0f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(29, 45, 43, 0.035);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gce-faq-item.is-open {
  box-shadow: 0 7px 18px rgba(29, 45, 43, 0.045);
  border-color: #e4e9e8;
}

.gce-faq-question {
  width: 100%;
  min-height: 66px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: transparent;
  border: none;
  color: #17202d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.gce-faq-question:focus-visible {
  outline: 2px solid var(--gce-teal);
  outline-offset: -2px;
}

.gce-faq-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: #f5f6f6;
  color: #1b2730;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.gce-faq-question:hover .gce-faq-toggle {
  background: #e2e8e7;
}

.gce-faq-answer[hidden] {
  display: none;
}

.gce-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease, visibility 0s linear 0.3s;
}

.gce-faq-answer.open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.gce-faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.gce-faq-answer-inner p {
  margin: 0;
  padding: 0 56px 20px 24px;
  color: var(--gce-gray-text);
  font-size: 14px;
  line-height: 1.6;
}

.gce-faq-answer-inner ul {
  margin: 0 0 0 24px;
  padding: 0 56px 20px 20px;
  color: var(--gce-gray-text);
  font-size: 14px;
  line-height: 1.6;
  list-style-type: disc;
}

.gce-faq-answer-inner ul li {
  margin-bottom: 8px;
}

.gce-faq-answer-inner a {
  color: var(--gce-teal);
  text-decoration: underline;
}

.gce-faq-cta {
  padding: 80px 0 92px;
  background: #fff;
  text-align: center;
  border-top: 1px solid #e5ebea;
}

.gce-faq-cta .gce-container {
  max-width: 900px;
}

.gce-faq-cta h2 {
  margin: 0 0 24px;
  color: var(--gce-gray-dark);
  font-size: 32px;
  line-height: 1.3;
}

.gce-faq-cta h2 span {
  color: var(--gce-pink-dark);
}

.gce-faq-cta p {
  margin: 0 auto 32px;
  max-width: 800px;
  color: rgba(17, 24, 39, 0.8);
  font-size: 16px;
  line-height: 1.75;
}

.gce-faq-cta .gce-btn {
  height: 48px;
  padding: 0 32px;
  border-radius: 12px;
}

.gce-faq-cta .gce-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .gce-faq-hero {
    min-height: 240px;
  }
  
  .gce-faq-hero-content {
    padding: 40px 0;
  }
  
  .gce-faq-hero-badge {
    white-space: normal;
    text-align: left;
  }
  
  .gce-faq-tabs-container {
    padding: 10px 0;
    margin-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gce-faq-tabs {
    gap: 20px;
    justify-content: flex-start;
    padding: 0 10px;
    white-space: nowrap;
  }

  .gce-faq-sections {
    gap: 48px;
  }

  .gce-faq-section-group h2 {
    font-size: 22px;
  }

  .gce-faq-question {
    font-size: 14px;
    padding: 16px;
    gap: 16px;
  }

  .gce-faq-answer-inner p {
    padding: 0 16px 16px 16px;
  }

  .gce-faq-answer-inner ul {
    margin-left: 16px;
    padding: 0 16px 16px 0;
  }
  
  .gce-faq-cta {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gce-faq-answer {
    transition: none !important;
  }
}
