@import url("main.css");
/* Hero Section */
.hero-section {
  position: relative;
  height: 50vh;
  min-height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80")
      center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  animation: fadeInDown 1s ease-out forwards;
}

.hero-content h1 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  animation: slideInUp 1s ease-out 0.3s forwards;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  opacity: 0;
  animation: slideInUp 1s ease-out 0.6s forwards;
}

.breadcrumb i {
  font-size: 0.7rem;
}

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: var(--white);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

.faq-description {
  font-size: 0.85rem;
  color: var(--gray-medium);
  max-width: 500px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s forwards;
}

/* Search Box */
.search-container {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  animation: slideInUp 1s ease-out 1.4s forwards;
}

.search-box {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  transition: var(--transition);
  background: var(--gray-light);
}

.search-box:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-medium);
  font-size: 0.9rem;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  opacity: 0;
  animation: slideInUp 1s ease-out 1.6s forwards;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  background: var(--gray-light);
  color: var(--gray-medium);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-tab.active {
  background: var(--primary);
  color: var(--white);
}

.category-tab:hover:not(.active) {
  background: #e9ecef;
}

.category-tab i {
  font-size: 0.7rem;
}

/* FAQ Items */
.faq-section {
  margin-bottom: 2rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: slideInLeft 0.8s ease-out 1.8s forwards;
}

.section-title i {
  font-size: 0.8rem;
}

.faq-item {
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
  background: var(--white);
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.faq-item:nth-child(2) {
  animation-delay: 2s;
}
.faq-item:nth-child(3) {
  animation-delay: 2.1s;
}
.faq-item:nth-child(4) {
  animation-delay: 2.2s;
}
.faq-item:nth-child(5) {
  animation-delay: 2.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-question {
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--black);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  font-size: 0.7rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer.active {
  max-height: 200px;
}

.faq-answer-content {
  padding: 0 1.25rem 1rem;
  font-size: 0.75rem;
  color: var(--gray-medium);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--gray-light);
  margin-top: 3rem;
  border-radius: var(--border-radius);
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.5s forwards;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.contact-section p {
  font-size: 0.75rem;
  color: var(--gray-medium);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #17a2b8;
  color: var(--white);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-btn:hover {
  background: #138496;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }

  .faq-container {
    padding: 2rem 1rem;
  }

  .faq-header h2 {
    font-size: 1.2rem;
  }

  .category-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .category-tab {
    font-size: 0.7rem;
    padding: 0.6rem 1.2rem;
  }

  .faq-question {
    font-size: 0.75rem;
    padding: 0.875rem 1rem;
  }

  .faq-answer-content {
    font-size: 0.7rem;
    padding: 0 1rem 0.875rem;
  }

  .search-box {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 40vh;
    min-height: 250px;
  }

  .hero-content h1 {
    font-size: 1.1rem;
  }

  .faq-container {
    padding: 1.5rem 0.75rem;
  }

  .category-tabs {
    gap: 0.5rem;
  }

  .category-tab {
    font-size: 0.65rem;
    padding: 0.5rem 1rem;
  }
}
