/* style/about.css */

/* General Page Styling */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light);
  background-color: var(--dark-bg-1); /* Inherited from shared.css, ensure text color contrasts */
}

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

.page-about__heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color-gold);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-about__sub-heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-color-gold);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-about__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-about__paragraph strong {
  color: var(--accent-color-gold);
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-about__btn-primary {
  background: var(--accent-color-gold);
  color: var(--primary-color-dark);
  border: 2px solid var(--accent-color-gold);
}

.page-about__btn-primary:hover {
  background: #ffcc00;
  border-color: #ffcc00;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--accent-color-gold);
  border: 2px solid var(--accent-color-gold);
}

.page-about__btn-secondary:hover {
  background: var(--accent-color-gold);
  color: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* HERO Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  /* Fixed header spacing for the first content module */
  padding-top: 120px; 
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-about__hero-image {
  width: 100%;
  margin: 0;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Section Backgrounds & Text Colors */
.page-about__dark-section {
  background: var(--primary-color-dark);
  color: var(--text-color-light);
}

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

.page-about__dark-section .page-about__heading,
.page-about__dark-section .page-about__sub-heading {
  color: var(--accent-color-gold);
}

.page-about__light-bg .page-about__heading,
.page-about__light-bg .page-about__sub-heading {
  color: var(--accent-color-gold);
}

.page-about__light-bg .page-about__paragraph {
  color: var(--text-color-light);
}

/* Content Flex Layout */
.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-block {
  flex: 1;
  min-width: 200px; /* Ensure minimum size */
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Features Grid */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-about__feature-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  display: block;
}

.page-about__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color-gold);
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 16px;
  color: var(--text-color-light);
}

/* Commitment List */
.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__list-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--accent-color-gold);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-about__list-item:hover {
  transform: translateY(-5px);
}

.page-about__list-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-color-gold);
  margin-bottom: 10px;
}

.page-about__list-description {
  font-size: 16px;
  color: var(--text-color-light);
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

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

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

.page-about__faq-question:hover {
  background: #1a3a7c;
  border-color: var(--accent-color-gold);
}

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

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

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--accent-color-gold);
  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(--accent-color-gold);
  transform: rotate(180deg);
}

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  font-size: 16px;
  color: var(--text-color-light);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: var(--dark-bg-2);
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__heading {
    font-size: 32px;
  }
  .page-about__sub-heading {
    font-size: 22px;
  }
  .page-about__paragraph {
    font-size: 16px;
  }
  .page-about__content-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-about__commitment-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 100px !important;
  }
  .page-about__container {
    padding: 40px 15px;
  }
  .page-about__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__sub-heading {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  .page-about__paragraph {
    font-size: 15px;
  }
  .page-about__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
  .page-about__feature-card {
    padding: 25px;
  }
  .page-about__feature-card img {
    width: 100px;
    height: 100px;
  }
  .page-about__card-title {
    font-size: 18px;
  }
  .page-about__card-description {
    font-size: 15px;
  }
  .page-about__commitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__list-item {
    padding: 20px;
  }
  .page-about__list-title {
    font-size: 18px;
  }
  .page-about__list-description {
    font-size: 15px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-question h3 {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image specific styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}