/* style/about.css */

/* Custom Colors */
:root {
  --page-about-bg-color: #08160F;
  --page-about-card-bg: #11271B;
  --page-about-text-main: #F2FFF6;
  --page-about-text-secondary: #A7D9B8;
  --page-about-border: #2E7A4E;
  --page-about-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-about-glow: #57E38D;
  --page-about-gold: #F2C14E;
  --page-about-divider: #1E3A2A;
  --page-about-deep-green: #0A4B2C;
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-about-text-main); /* Default text color for light-bg sections */
  background-color: var(--page-about-bg-color); /* Overall page background */
}

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

/* Sections */
.page-about__hero-section,
.page-about__history-mission-section,
.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__team-section,
.page-about__commitment-section,
.page-about__licenses-section,
.page-about__vision-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

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

.page-about__card-bg {
  background-color: var(--page-about-card-bg);
  color: var(--page-about-text-main);
  border: 1px solid var(--page-about-border);
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* body padding-top handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-about-gold);
  letter-spacing: -1px;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-about-text-secondary);
}

/* General Titles */
.page-about__section-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* Content Grid */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-grid--reverse .page-about__text-block {
  order: 2;
}

.page-about__content-grid--reverse .page-about__image-wrapper {
  order: 1;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1em;
  color: inherit;
}

.page-about__text-block p:last-child {
  margin-bottom: 0;
}

.page-about__text-block a {
  color: #2AD16F; /* Highlight links */
  text-decoration: underline;
}

.page-about__text-block a:hover {
  color: #13994A;
}

.page-about__image-wrapper {
  text-align: center;
}

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

.page-about__image-wrapper--full-width {
  margin-top: 40px;
}

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

.page-about__value-card {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-about-gold);
}

.page-about__value-card p {
  font-size: 0.95em;
  color: var(--page-about-text-secondary);
}

/* Feature Blocks (Why Choose Us) */
.page-about__feature-block {
  margin-bottom: 80px;
}

.page-about__feature-block:last-child {
  margin-bottom: 0;
}

.page-about__feature-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

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

.page-about__commitment-item {
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--page-about-text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* var(--page-about-border) with opacity */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  margin-left: 20px;
  transition: transform 0.3s ease;
  color: var(--page-about-glow);
}

.page-about__faq-answer {
  padding: 15px 25px 25px 25px;
  font-size: 1em;
  color: var(--page-about-text-secondary);
  background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter than card bg */
}

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

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

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

/* Buttons */
.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: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-about__btn-primary {
  background: var(--page-about-btn-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--page-about-glow);
  border: 2px solid var(--page-about-glow);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-about__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid--reverse .page-about__text-block {
    order: 1;
  }
  .page-about__content-grid--reverse .page-about__image-wrapper {
    order: 2;
  }
  .page-about__hero-content {
    margin-top: -50px;
    padding: 30px 20px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__section-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }
  .page-about__feature-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__history-mission-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__team-section,
  .page-about__commitment-section,
  .page-about__licenses-section,
  .page-about__vision-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

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

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

  .page-about__hero-image,
  .page-about__image-item {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__image-wrapper,
  .page-about__image-wrapper--full-width {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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