/* style/about.css */

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

/* Global page-about styles (scoped to .page-about) */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-about-text-main); /* Default text color for dark background */
  background-color: var(--page-about-background);
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--page-about-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: var(--page-about-gold-color);
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--page-about-text-secondary);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already handles padding-top */
  min-height: 600px;
  overflow: hidden;
  color: var(--page-about-text-main);
  background-color: var(--page-about-background);
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Clamp for responsive H1 */
  color: var(--page-about-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-about-text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--page-about-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-about__btn-secondary:hover {
  background: var(--page-about-gold-color);
  color: var(--page-about-background);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Mission Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-about__mission-vision-section .page-about__section-title {
  color: var(--page-about-primary-color);
}

.page-about__mission-vision-section .page-about__text-block {
  color: #555555;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.page-about__mission-vision-section .page-about__card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-about__mission-vision-section .page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__mission-vision-section .page-about__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__mission-vision-section .page-about__card-title {
  font-size: 1.5em;
  color: var(--page-about-deep-green);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__mission-vision-section .page-about__card-text {
  font-size: 1em;
  color: #666666;
}

.page-about__values-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-about__value-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  font-size: 1.05em;
  color: #444444;
  display: flex;
  align-items: flex-start;
}

.page-about__value-item span {
  color: var(--page-about-primary-color);
  font-size: 1.5em;
  margin-right: 15px;
  line-height: 1;
}

.page-about__value-item strong {
  color: var(--page-about-deep-green);
}

/* Commitment Section */
.page-about__dark-section {
  background-color: var(--page-about-card-bg);
  color: var(--page-about-text-main);
  padding: 80px 0;
}

.page-about__dark-section .page-about__section-title {
  color: var(--page-about-gold-color);
}

.page-about__dark-section .page-about__text-block {
  color: var(--page-about-text-secondary);
}

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

.page-about__commitment-card {
  background: var(--page-about-background);
  border: 1px solid var(--page-about-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.page-about__commitment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

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

.page-about__commitment-card .page-about__card-title {
  font-size: 1.4em;
  color: var(--page-about-gold-color);
  margin-bottom: 10px;
}

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

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

.page-about__why-choose-us-section .page-about__section-title {
  color: var(--page-about-primary-color);
}

.page-about__why-choose-us-section .page-about__text-block {
  color: #555555;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__feature-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.page-about__feature-title {
  font-size: 1.5em;
  color: var(--page-about-deep-green);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__feature-item p {
  font-size: 1em;
  color: #666666;
}

/* Our History Section */
.page-about__our-history-section {
  padding: 80px 0;
  background-color: var(--page-about-card-bg);
  color: var(--page-about-text-main);
}

.page-about__our-history-section .page-about__section-title {
  color: var(--page-about-gold-color);
}

.page-about__our-history-section .page-about__text-block {
  color: var(--page-about-text-secondary);
}

.page-about__history-timeline {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--page-about-divider-color);
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 40px;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 40px;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  top: 15px;
  width: 15px;
  height: 15px;
  background: var(--page-about-gold-color);
  border-radius: 50%;
  border: 3px solid var(--page-about-primary-color);
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
  right: -7.5px;
}

.page-about__timeline-item:nth-child(even)::after {
  left: -7.5px;
}

.page-about__timeline-year {
  font-size: 1.3em;
  color: var(--page-about-gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-about__history-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

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

.page-about__faq-section .page-about__section-title {
  color: var(--page-about-primary-color);
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--page-about-deep-green);
  cursor: pointer;
  background: #eaf7ed;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker { /* For details/summary */
  display: none;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: none;
}

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

.page-about__cta-section .page-about__section-title {
  color: var(--page-about-gold-color);
}

.page-about__cta-section .page-about__text-block {
  color: var(--page-about-text-secondary);
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 20px 40px;
  }

  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .page-about__history-timeline::before {
    left: 20px;
  }

  .page-about__timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 20px;
    left: 0;
    text-align: left;
  }

  .page-about__timeline-item:nth-child(odd)::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: 12.5px;
    right: auto;
  }

  .page-about__timeline-item:nth-child(odd) {
    padding-right: 20px;
  }

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

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

@media (max-width: 768px) {
  .page-about__container,
  .page-about__hero-content,
  .page-about__mission-vision-section .page-about__card,
  .page-about__commitment-card,
  .page-about__feature-item,
  .page-about__faq-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__dark-section,
  .page-about__why-choose-us-section,
  .page-about__our-history-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0 !important;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-about__main-title {
    font-size: 2.2em; /* Adjusted for smaller screens */
    line-height: 1.3;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

  .page-about__history-timeline::before {
    left: 15px;
  }

  .page-about__timeline-item {
    padding-left: 30px;
  }

  .page-about__timeline-item::after {
    left: 7.5px;
  }

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

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

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

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

  .page-about__sub-title {
    font-size: 1.3em;
  }
}