:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
}

.page-faq {
  padding-top: 120px; /* Adjust for fixed header */
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--background-dark); /* Ensure consistency with body */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-faq__title-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color), #1a1a4a);
  color: var(--text-light);
}

.page-faq__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.page-faq__title-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-faq__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__faq-section {
  padding: 80px 20px;
  background-color: var(--background-dark);
}

.page-faq__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ item styles */
.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-faq__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg); /* Change to X or just a dash */
  color: var(--text-light);
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-faq__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-faq__brand-section {
  padding: 80px 20px;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-faq__brand-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-faq__brand-title {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: var(--primary-color);
  font-weight: 700;
}

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

.page-faq__brand-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-faq__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-faq__brand-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-faq__brand-item p {
  font-size: 1em;
  color: var(--text-light);
  line-height: 1.7;
  text-align: center;
  flex-grow: 1;
}

.page-faq__brand-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-faq__blog-section {
  padding: 80px 20px;
  background-color: var(--background-dark);
}

.page-faq__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-faq__blog-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.page-faq__blog-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__blog-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-faq__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-faq__blog-item-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.page-faq__blog-item-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1;
}

.page-faq__blog-item-date {
  font-size: 0.85em;
  color: #aaaaaa;
  display: block;
  margin-top: 15px;
}

.page-faq__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__blog-link {
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-faq__blog-cta {
  margin-top: 30px;
}

/* General responsive image styles */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }

  .page-faq__section-title,
  .page-faq__brand-title,
  .page-faq__blog-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__title-section,
  .page-faq__faq-section,
  .page-faq__brand-section,
  .page-faq__blog-section {
    padding: 40px 15px;
  }

  .page-faq__main-title {
    font-size: 2.2em;
  }

  .page-faq__title-description {
    font-size: 1em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__section-title,
  .page-faq__brand-title,
  .page-faq__blog-title {
    font-size: 1.8em;
  }

  .page-faq__section-description,
  .page-faq__blog-description {
    font-size: 0.95em;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-faq__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }

  .page-faq__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 22px;
  }

  .page-faq__faq-answer {
    padding: 0 20px;
  }

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px !important;
  }

  .page-faq__brand-content {
    grid-template-columns: 1fr;
  }

  .page-faq__brand-image {
    width: 100px;
    height: 100px;
  }

  .page-faq__brand-item h3 {
    font-size: 1.3em;
  }

  .page-faq__blog-list {
    grid-template-columns: 1fr;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__title-container,
  .page-faq__faq-container,
  .page-faq__brand-container,
  .page-faq__blog-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__blog-item .page-faq__blog-link {
    padding: 15px;
  }
  .page-faq__blog-item-title {
    font-size: 1.2em;
  }
  .page-faq__blog-image {
    height: 180px;
  }
}