



 /* --- FAQ Hero Section ---  */

.faq-hero {
  background: #FDF9F0; /* қажет болса градиент/фон қоя аласыз */
  padding: 96px 0 10px;
  text-align: center;
}

.faq-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: #1D3A8A;
  margin: 0;
}

.faq-hero__subtitle {
  font-size: 1.25rem;
  color: #6B7280;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* ——— Негізгі FAQ блок ——— */
.faq {
  background-color: #FDF9F0;
padding: 76px 0;
}
.faq-container {
  display: flex;
  align-items: flex-start;
  gap: 32px;

}

/* ——— Сол жақ меню ——— */
.faq-sidebar {
  width: 300px;
  position: sticky;
  top: 120px;
}
.faq-sidebar__heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}
.faq-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  color: #6B7280;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.faq-sidebar__item img {
  width: 24px;
  height: 24px;
  filter: grayscale(1) opacity(0.6);
  transition: filter .2s, opacity .2s;
}
.faq-sidebar__item:hover,
.faq-sidebar__item.active {
  background-color: #DBEAFE;
  color: #1D3A8A;
  font-weight: 600;
}
.faq-sidebar__item.active img {
    filter: none;
  opacity: 1;
}

/* ——— Оң жақ контент ——— */
.faq-content {
  flex: 1;
}

/* ——— Әр санаттың тақырыбы ——— */
.faq-category__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1D3A8A;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E5E7EB;
}

/* ——— Accordion элементтері ——— */
.faq__item + .faq__item {
  margin-top: 12px;
}
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 1.25rem;
  font-weight:500;
    color: #111827;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: background-color .2s;
}
.faq__question:hover {
  background-color: #F9F7F1;
}
.faq__icon {
  transition: transform .3s;
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  padding: 0 16px;
    font-size: 1.125rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  border-top: 1px solid #E5E7EB;
}
.faq__answer p {
  margin: 16px 0;
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.5;
}

/* ——— Жауап ашылғанда ——— */
.faq__item.active .faq__answer {
  max-height: 500px;
}
.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

/* ——— Адаптивтік ——— */
@media (max-width: 992px) {
  .faq-container {
    flex-direction: column;
  }
  .faq-sidebar {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 24px;
  }
}
@media (max-width: 576px) {
  .faq-hero__title {
    font-size: 2rem;
  }
  .faq-sidebar__item {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
}
