/* style/about.css */

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f9fa;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #000080; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Primary color for accent */
  border-radius: 2px;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 120px 0 80px;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-about__hero-section .page-about__container {
  z-index: 1;
  max-width: 900px;
}

.page-about__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Primary color for hero title */
}

.page-about__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__hero-cta,
.page-about__video-cta,
.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary,
.page-about__hero-cta,
.page-about__video-cta {
  background-color: #FFD700; /* Primary color */
  color: #000080; /* Auxiliary color for text */
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover,
.page-about__hero-cta:hover,
.page-about__video-cta:hover {
  background-color: #000080; /* Auxiliary color on hover */
  color: #FFD700;
  border-color: #FFD700;
}

.page-about__btn-secondary,
.page-about__cta-button:last-child {
  background-color: transparent;
  color: #FFD700; /* Primary color for text */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-about__btn-secondary:hover,
.page-about__cta-button:last-child:hover {
  background-color: #FFD700;
  color: #000080;
}

/* Intro Section */
.page-about__intro-section,
.page-about__journey-section,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #000080; /* Auxiliary color for dark background */
  color: #ffffff;
}

.page-about__values-section .page-about__section-title {
  color: #FFD700;
}

.page-about__values-section .page-about__section-title::after {
  background-color: #ffffff;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__value-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__link-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.page-about__link-more:hover {
  text-decoration: underline;
}

/* Video Section */
.page-about__video-section {
  padding: 80px 0;
}

.page-about__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

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

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #000080; /* Auxiliary color for dark background */
  color: #ffffff;
}

.page-about__faq-section .page-about__section-title {
  color: #FFD700;
}

.page-about__faq-section .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-title {
  font-size: 1.3em;
  color: #FFD700;
  margin: 0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
}

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

/* Dark/Light Background Helpers */
.page-about__dark-section {
  background-color: #000080;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title {
  color: #FFD700;
}

.page-about__dark-section .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-about__light-bg .page-about__section-title {
  color: #000080;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }

  .page-about__hero-description {
    font-size: 1.2em;
  }

  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 450px;
    padding: 100px 0 60px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__hero-cta,
  .page-about__video-cta,
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__btn-secondary,
  .page-about__cta-button:last-child {
    margin-left: 0;
    margin-top: 15px;
  }

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

  .page-about__intro-section,
  .page-about__values-section,
  .page-about__journey-section,
  .page-about__why-choose-section,
  .page-about__video-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__value-grid,
  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__video-wrapper {
    margin: 30px auto;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-title {
    font-size: 1.1em;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
}