/* style/about.css */

/* Base styles for the About page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for visual spacing */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  margin-top: 20px;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__lead-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.6);
}

.page-about__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A;
}

.page-about__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.6);
}

.page-about__content-section {
  padding: 60px 0;
}

.page-about__content-section + .page-about__content-section {
  border-top: 1px solid #A84F0C; /* Border */
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #FF8C1A; /* Primary color */\  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
  text-align: justify;
}

.page-about__text-block a {
  color: #FFA53A;
  text-decoration: none;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.page-about__value-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
}

.page-about__value-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__value-title {
  font-size: 1.4em;
  color: #FF8C1A; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
}

/* Dark sections */
.page-about__dark-section {
  background-color: #17191F; /* Card BG */
  color: #ffffff; /* Forced white text for contrast */
}

.page-about__dark-section .page-about__section-title {
  color: #FFB04D; /* Glow */
}

.page-about__dark-section .page-about__text-block {
  color: #FFF3E6; /* Text Main */
}

.page-about__dark-section .page-about__text-block a {
  color: #FFA53A;
}

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

.page-about__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #FF8C1A; /* Primary color */
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  text-align: center;
  padding: 80px 0;
  background: #0D0E12; /* Background */
  border-top: 1px solid #A84F0C; /* Border */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-about__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }

  .page-about__hero-content {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__hero-content {
    margin-top: 15px;
    padding: 25px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-about__lead-text {
    font-size: 1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-about__content-section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card {
    padding: 25px;
  }

  /* Responsive images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure image containers do not overflow */
  .page-about__hero-image-wrapper,
  .page-about__image-container,
  .page-about__value-card,
  .page-about__card,
  .page-about__section,
  .page-about__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }

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

  .page-about__contact-cta-section {
    padding: 60px 15px;
  }
}