/* style/faq.css */

.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__hero {
  background-color: #1A237E; /* Main brand color */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for highlight */
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  opacity: 0.1;
  width: 300px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-faq__categories {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-faq__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-faq__category-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-faq__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-faq__card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-faq__card-title {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-faq__card-title a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq__card-title a:hover {
  color: #FFC107;
}

.page-faq__card-description {
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-faq__btn--primary {
  background-color: #FFC107; /* Auxiliary color */
  color: #1A237E;
  border: 2px solid #FFC107;
}

.page-faq__btn--primary:hover {
  background-color: #e5ac00;
  color: #1A237E;
  border-color: #e5ac00;
}

.page-faq__btn--secondary {
  background-color: transparent;
  color: #1A237E;
  border: 2px solid #1A237E;
}

.page-faq__btn--secondary:hover {
  background-color: #1A237E;
  color: #FFFFFF;
}

.page-faq__btn--tertiary {
  background-color: #1A237E;
  color: #FFFFFF;
  border: 2px solid #1A237E;
}

.page-faq__btn--tertiary:hover {
  background-color: #0d1254;
  border-color: #0d1254;
}

.page-faq__cta {
  background-color: #1A237E; /* Main brand color */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for highlight */
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.08;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero {
    padding: 60px 0;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__categories {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq__category-grid {
    grid-template-columns: 1fr;
  }
  .page-faq__category-card {
    padding: 25px;
  }
  .page-faq__card-title {
    font-size: 1.3em;
  }
  .page-faq__cta {
    padding: 60px 0;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.9em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn {
    padding: 10px 20px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
}