/* style/about.css */
:root {
  --page-about-primary-color: #FFD700; /* Gold */
  --page-about-secondary-color: #8B0000; /* Dark Red */
  --page-about-text-dark: #333333;
  --page-about-text-light: #ffffff;
  --page-about-background-light: #f8f8f8;
  --page-about-background-dark: #2a2a2a;
  --page-about-border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-about-text-dark);
  background-color: var(--page-about-background-light);
}

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

.page-about-section {
  padding: 60px 0;
  text-align: center;
}

.page-about-section.page-about-bg-dark {
  background-color: var(--page-about-background-dark);
  color: var(--page-about-text-light);
}

.page-about-section.page-about-bg-dark h1, 
.page-about-section.page-about-bg-dark h2, 
.page-about-section.page-about-bg-dark h3 {
  color: var(--page-about-primary-color);
}

.page-about-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--page-about-background-dark);
  color: var(--page-about-text-light);
}

.page-about-hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-about-hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--page-about-primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-hero-content p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--page-about-text-light);
}

.page-about h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--page-about-secondary-color);
  position: relative;
  padding-bottom: 10px;
}

.page-about h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: var(--page-about-primary-color);
  border-radius: 2px;
}

.page-about h3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--page-about-secondary-color);
}

.page-about-section.page-about-bg-dark h2 {
    color: var(--page-about-primary-color);
}

.page-about-section.page-about-bg-dark h3 {
    color: var(--page-about-primary-color);
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
  text-align: justify;
}

.page-about-section.page-about-bg-dark p {
    color: #e0e0e0;
}

.page-about ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-about li {
  background-color: var(--page-about-background-light);
  border-left: 5px solid var(--page-about-primary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  color: var(--page-about-text-dark);
}

.page-about-section.page-about-bg-dark li {
  background-color: #3a3a3a;
  color: var(--page-about-text-light);
  border-left-color: var(--page-about-primary-color);
}

.page-about-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--page-about-primary-color);
  color: var(--page-about-secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--page-about-primary-color);
}

.page-about-cta-button:hover {
  background: var(--page-about-secondary-color);
  color: var(--page-about-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: var(--page-about-primary-color);
}

.page-about-cta-button.page-about-cta-final {
    background: var(--page-about-secondary-color);
    color: var(--page-about-primary-color);
    border-color: var(--page-about-primary-color);
}

.page-about-cta-button.page-about-cta-final:hover {
    background: var(--page-about-primary-color);
    color: var(--page-about-secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about-content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* FAQ Styles */
.page-about-faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--page-about-border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about-section.page-about-bg-dark .faq-item {
    border-color: #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-about-section.page-about-bg-dark .faq-question {
    background-color: #3a3a3a;
    color: var(--page-about-text-light);
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.page-about-section.page-about-bg-dark .faq-question:hover {
    background-color: #4a4a4a;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--page-about-text-dark);
}

.page-about-section.page-about-bg-dark .faq-question h3 {
    color: var(--page-about-primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-about-primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: var(--page-about-background-light);
  color: var(--page-about-text-dark);
}

.page-about-section.page-about-bg-dark .faq-answer {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px;
  border-top: 1px solid var(--page-about-border-color);
}

.page-about-section.page-about-bg-dark .faq-item.active .faq-answer {
    border-top-color: #444;
}

.faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-about-copyright {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--page-about-background-dark);
  color: var(--page-about-text-light);
  font-size: 0.9em;
  border-top: 1px solid #3a3a3a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-hero-content h1 {
    font-size: 2.8em;
  }
  .page-about h2 {
    font-size: 2.2em;
  }
  .page-about h3 {
    font-size: 1.6em;
  }
  .page-about p, .page-about li {
    font-size: 1em;
  }
  .page-about-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .faq-question h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-about-hero-section {
    padding: 40px 15px;
  }
  .page-about-hero-content h1 {
    font-size: 2.2em;
  }
  .page-about-hero-content p {
    font-size: 1em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-container {
    padding: 15px;
  }
  .page-about-cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-about-hero-content h1 {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about p, .page-about li {
    font-size: 0.95em;
  }
  .page-about-cta-button {
    font-size: 0.9em;
    padding: 8px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}