/* style/faq-account-management.css */

/* Base styles for the page */
.page-faq-account-management {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

.page-faq-account-management__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-faq-account-management__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-faq-account-management__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-faq-account-management__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-faq-account-management__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-account-management__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq-account-management__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Section Styles */
.page-faq-account-management__introduction-section,
.page-faq-account-management__faq-section,
.page-faq-account-management__cta-section {
  padding: 60px 0;
}

.page-faq-account-management__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-faq-account-management__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-faq-account-management__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherits from parent section */
}

.page-faq-account-management__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* FAQ Specific Styles */
.page-faq-account-management__faq-category {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
}

.page-faq-account-management__category-title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #017439;
  text-align: center;
}

.page-faq-account-management__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq-account-management__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-faq-account-management__faq-question:hover {
  background-color: #f0f0f0;
}

.page-faq-account-management__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq-account-management__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f9f9f9;
  color: #555555;
}

.page-faq-account-management__faq-answer p {
  margin-bottom: 15px;
  padding-top: 5px;
}

.page-faq-account-management__faq-item.active .page-faq-account-management__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px;
}

.page-faq-account-management__faq-item.active .page-faq-account-management__faq-toggle {
  transform: rotate(0deg);
}

/* CTA Section */
.page-faq-account-management__cta-section {
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-faq-account-management__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-faq-account-management__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Button Styles */
.page-faq-account-management__btn-primary,
.page-faq-account-management__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-faq-account-management__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-faq-account-management__btn-primary:hover {
  background-color: #ff3333;
  border-color: #ff3333;
}

.page-faq-account-management__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-faq-account-management__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq-account-management__hero-title {
    font-size: 3em;
  }
  .page-faq-account-management__section-title {
    font-size: 2em;
  }
  .page-faq-account-management__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq-account-management {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq-account-management__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Apply offset for mobile hero */
  }
  .page-faq-account-management__hero-title {
    font-size: 2.5em;
  }
  .page-faq-account-management__hero-description {
    font-size: 1em;
  }
  .page-faq-account-management__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq-account-management__btn-primary,
  .page-faq-account-management__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-faq-account-management__introduction-section,
  .page-faq-account-management__faq-section,
  .page-faq-account-management__cta-section {
    padding: 40px 0;
  }
  .page-faq-account-management__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq-account-management__category-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  .page-faq-account-management__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-faq-account-management__faq-answer {
    padding: 0 15px;
  }
  .page-faq-account-management__faq-item.active .page-faq-account-management__faq-answer {
    padding: 15px;
  }
  .page-faq-account-management__cta-title {
    font-size: 2em;
  }
  .page-faq-account-management__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-faq-account-management__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile image and content area overflow prevention */
  .page-faq-account-management img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq-account-management__container,
  .page-faq-account-management__hero-content,
  .page-faq-account-management__introduction-section,
  .page-faq-account-management__faq-section,
  .page-faq-account-management__cta-section,
  .page-faq-account-management__faq-item,
  .page-faq-account-management__faq-question,
  .page-faq-account-management__faq-answer,
  .page-faq-account-management__hero-buttons,
  .page-faq-account-management__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-faq-account-management__hero-title {
    font-size: 2em;
  }
  .page-faq-account-management__hero-description {
    font-size: 0.9em;
  }
  .page-faq-account-management__section-title {
    font-size: 1.5em;
  }
  .page-faq-account-management__category-title {
    font-size: 1.3em;
  }
  .page-faq-account-management__faq-question {
    font-size: 1em;
    padding: 12px;
  }
  .page-faq-account-management__faq-answer {
    padding: 0 12px;
  }
  .page-faq-account-management__faq-item.active .page-faq-account-management__faq-answer {
    padding: 12px;
  }
  .page-faq-account-management__cta-title {
    font-size: 1.8em;
  }
  .page-faq-account-management__cta-description {
    font-size: 0.9em;
  }
}