/* style/about.css */
:root {
  --primary-color: #0056b3;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #0a0a0a;
  --card-background-light: #ffffff;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-color-light); /* Default for dark body background */
  background-color: var(--background-dark);
}

.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;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  color: var(--text-color-light);
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.2);
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-about__cta-button:hover {
  background: #e6b000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-wrapper {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--secondary-color);
}

.page-about__cta-button--secondary:hover {
  background: #003366;
  border-color: #e6b000;
}

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

.page-about__card {
  background: var(--card-background-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

.page-about__dark-card {
  background: var(--card-background-dark);
  color: var(--text-color-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-about__section-title--light {
  color: var(--secondary-color);
}

.page-about__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-about__section-description--light {
  color: var(--text-color-light);
}

.page-about__mission-vision-section,
.page-about__commitment-section,
.page-about__faq-section {
  padding: 60px 0;
}

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

.page-about__light-bg {
  background-color: #f8f8f8;
  color: var(--text-color-dark);
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__content-block h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about__content-block p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-dark);
}

.page-about__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

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

.page-about__value-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__value-item h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-about__value-item p {
  font-size: 15px;
  color: var(--text-color-light);
  line-height: 1.6;
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

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

.page-about__commitment-item {
  background: var(--card-background-light);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark);
}

.page-about__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__commitment-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-about__commitment-item p {
  font-size: 15px;
  line-height: 1.6;
}

.page-about__commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* FAQ Section Styles */
.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
  color: var(--text-color-light);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light);
}

.page-about__faq-question:hover {
  background: #003366;
  border-color: #003366;
}

.page-about__faq-question:active {
  background: #002244;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-light);
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: var(--text-color-light);
  transform: rotate(45deg); /* Change + to X-like symbol */
}

.page-about p a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-about p a:hover {
  color: #e6b000;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 40px;
  }
  .page-about__hero-subtitle {
    font-size: 18px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__section-description {
    font-size: 16px;
  }
  .page-about__card {
    padding: 30px;
  }
  .page-about__values-grid,
  .page-about__commitment-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }
  .page-about__hero-title {
    font-size: 32px;
  }
  .page-about__hero-subtitle {
    font-size: 16px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-about__mission-vision-section,
  .page-about__commitment-section,
  .page-about__faq-section {
    padding: 40px 0;
  }
  .page-about__card {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-about__section-title {
    font-size: 26px;
  }
  .page-about__section-description {
    font-size: 15px;
  }
  .page-about__values-grid,
  .page-about__commitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__value-item,
  .page-about__commitment-item {
    padding: 20px;
  }
  .page-about__value-item h3,
  .page-about__commitment-item h3 {
    font-size: 18px;
  }
  .page-about__value-item p,
  .page-about__commitment-item p {
    font-size: 14px;
  }
  .page-about__image,
  .page-about__value-icon,
  .page-about__commitment-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-container,
  .page-about__container,
  .page-about__card,
  .page-about__content-grid,
  .page-about__values-grid,
  .page-about__commitment-list,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
  .page-about__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    width: 100%;
  }
}