/* 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;
}

.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); /* Body background handled by shared.css var(--bg-color) which is #08160F */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-about__section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--page-about-primary-color);
  font-weight: 700;
}

.page-about__section-title--light {
  color: var(--page-about-text-main);
}

.page-about__sub-title {
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-about-secondary-color);
  font-weight: 600;
}

.page-about__sub-title--light {
  color: var(--page-about-text-main);
}

.page-about__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--page-about-text-secondary);
}

.page-about__paragraph--light {
  color: var(--page-about-text-main);
}

/* 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 handles --header-offset, this is for small top padding */
  min-height: 600px;
  overflow: hidden;
  background-color: var(--page-about-background);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  margin-top: -100px; /* Pull content up slightly to overlap image a bit, but not fully */
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--page-about-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 1.1rem;
  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 {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--page-about-glow-color);
}

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

.page-about__btn-secondary:hover {
  background-color: var(--page-about-primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--page-about-primary-color);
}

.page-about__btn-primary--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* About Intro Section */
.page-about__about-intro {
  background-color: var(--page-about-background);
}

.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
}

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

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

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  text-align: left;
}

.page-about__list-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: var(--page-about-text-secondary);
}

.page-about__list-item::before {
  content: '✓';
  color: var(--page-about-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Why Choose Section */
.page-about__why-choose-section {
  background-color: var(--page-about-card-bg);
}

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

.page-about__card {
  background-color: var(--page-about-deep-green);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have similar height */
  color: var(--page-about-text-main);
}

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

.page-about__card-description {
  font-size: 0.95rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Team & Technology Section */
.page-about__team-tech-section {
  background-color: var(--page-about-background);
}

/* CSR Section */
.page-about__csr-section {
  background-color: #ffffff;
  color: #333333;
}

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

.page-about__csr-section .page-about__sub-title {
  color: var(--page-about-deep-green);
}

.page-about__csr-section .page-about__paragraph {
  color: #555555;
}

/* Future Section */
.page-about__future-section {
  background-color: var(--page-about-card-bg);
}

.page-about__call-to-action {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--page-about-divider-color);
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--page-about-background);
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: var(--page-about-deep-green);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--page-about-text-main);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--page-about-deep-green);
  color: var(--page-about-text-main);
  border-bottom: 1px solid var(--page-about-divider-color);
}

.page-about__faq-question:hover {
  background-color: var(--page-about-deep-green);
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-about-gold-color);
  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 20px;
  font-size: 1rem;
  color: var(--page-about-text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

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

  .page-about__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-about__hero-content {
    margin-top: -50px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 0 auto; /* Center buttons */
  }

  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__content-grid,
  .page-about__feature-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__card {
    min-height: auto;
  }

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

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