/* ==================== FAQ.CSS ==================== */
/* FAQ specific styles including FAQ section, page hero, search, and FAQ items */

/* FAQ Section */
.faq-section {
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-hero.faq-hero {
  background: linear-gradient(135deg, #0d1628 0%, #122740 50%, #0f2038 100%);
  margin: -35px -40px 50px;
  max-width: none;
  width: calc(100% + 80px);
}

.page-hero .faq-header {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  text-align: center;
  margin-bottom: 0;
}

.page-hero .faq-header h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-hero .faq-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-family: 'Cairo', sans-serif;
  color: var(--navy);
  font-size: 2.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.faq-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.faq-search {
  margin-bottom: 40px;
  position: relative;
}

.faq-search i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 1.1rem;
}

.faq-search input {
  width: 100%;
  padding: 20px 24px 20px 56px;
  border: 2px solid var(--gray-100);
  border-radius: 16px;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 45, 66, 0.06);
}

.faq-search input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 10px 40px rgba(0, 180, 216, 0.15);
}

.faq-search input::placeholder {
  color: var(--gray-300);
}

.faq-item {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 16px;
  box-shadow: 0 5px 20px rgba(0, 45, 66, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 180, 216, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: 0 15px 40px rgba(0, 45, 66, 0.12);
  border-color: rgba(0, 180, 216, 0.2);
  transform: translateY(-2px);
}

.faq-question {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-question h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  flex: 1;
  padding-right: 20px;
}

.faq-question i {
  color: var(--cyan);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 50%;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  background: var(--cyan);
  color: var(--white);
}

.faq-item.open .faq-question {
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.05), transparent);
  border-bottom: 1px solid var(--gray-100);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 24px 28px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-answer-content strong {
  color: var(--navy);
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 24px;
  }

  .faq-header h2 {
    font-size: 1.8rem;
  }

  .faq-header p {
    font-size: 0.9rem;
  }

  .faq-search input {
    padding: 15px 20px 15px 52px;
    font-size: 0.9rem;
  }

  .faq-item .faq-question {
    padding: 15px;
    font-size: 0.9rem;
  }

  .faq-item .faq-answer {
    padding: 15px;
    font-size: 0.85rem;
  }

  .faq-question i {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .faq-header h2 {
    font-size: 1.5rem;
  }

  .faq-search input {
    padding: 12px 15px 12px 48px;
  }

  .faq-item .faq-question {
    padding: 12px;
    font-size: 0.85rem;
  }

  .faq-question i {
    font-size: 0.8rem;
  }
}
