/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light grey for general text on dark backgrounds */
  background-color: #0A2342; /* Main background color */
}

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

/* Hero Section */
.page-faq__hero-section {
  background: linear-gradient(135deg, #0A2342 0%, #1A3A60 100%); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
  z-index: 0;
}

.page-faq__hero-section .page-faq__container {
  position: relative;
  z-index: 1;
}

.page-faq__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #E0E0E0;
}

.page-faq__link-inline {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__link-inline:hover {
  text-decoration: underline;
  color: #FFF;
}

.page-faq__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* General Button Styles */
.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-faq__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2342; /* Dark blue text */
}

.page-faq__button--primary:hover {
  background-color: #E0B700; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-faq__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-faq__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
}

.page-faq__button--link {
  background-color: transparent;
  color: #FFD700;
  padding: 8px 0;
  border-bottom: 2px solid #FFD700;
  border-radius: 0;
  font-size: 1em;
}

.page-faq__button--link:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: none;
}

/* Categories Section */
.page-faq__categories-section {
  padding: 60px 0;
  background-color: #0A2342;
  text-align: center;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #E0E0E0;
}

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

.page-faq__category-card {
  background-color: #1A3A60; /* Slightly lighter dark blue for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  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(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(80%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(1.2) contrast(1.2); /* Make icons gold */
}

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

.page-faq__card-description {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Contact Section */
.page-faq__contact-section {
  background: linear-gradient(135deg, #1A3A60 0%, #0A2342 100%); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-faq__contact-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1; /* Very subtle background image */
  z-index: 0;
}

.page-faq__contact-section .page-faq__container {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section,
  .page-faq__categories-section,
  .page-faq__contact-section {
    padding: 60px 0;
  }
  .page-faq__main-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__section-description {
    font-size: 0.95em;
  }
  .page-faq__category-card {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section,
  .page-faq__categories-section,
  .page-faq__contact-section {
    padding: 40px 0;
  }
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__button {
    width: 90%;
  }
  .page-faq__card-title {
    font-size: 1.4em;
  }
}