/* style/about.css */

/* Base styles for the page-about scope */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 60px; /* Space above footer */
}

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

/* Section Titles */
.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  transform: translateY(-2px);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 70vh;
  margin-bottom: 40px;
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: 3.5em;
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-about__hero-content .page-about__btn-primary {
  margin-top: 20px;
}

/* Dark Section style */
.page-about__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

/* Grid Two Columns */
.page-about__grid-two-cols {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-about__grid-two-cols:last-of-type {
    margin-bottom: 0;
}

.page-about__grid-two-cols .page-about__text-block {
  flex: 1;
}

.page-about__grid-two-cols .page-about__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__grid-reverse {
  flex-direction: row-reverse;
}

.page-about__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Mission Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-about__value-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__value-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__values-image {
  margin-top: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* History Section (Timeline) */
.page-about__history-section {
  padding: 80px 0;
}

.page-about__timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #2E7A4E; /* Border */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about__timeline-item {
  padding: 10px 0;
  position: relative;
  width: 50%;
  margin-bottom: 50px;
}

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

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

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: #F2C14E; /* Gold */
  border: 2px solid #13994A;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

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

.page-about__timeline-year {
  position: absolute;
  top: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #57E38D; /* Glow */
}

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

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

.page-about__timeline-content {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__timeline-content h3 {
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-about__timeline-content p {
  color: #A7D9B8;
}

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

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

.page-about__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

/* Security Commitment Section */
.page-about__security-commitment-section {
  padding: 80px 0;
}

.page-about__security-commitment-section .page-about__cta-button {
  margin-top: 40px;
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsibility Section */
.page-about__responsibility-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-about__responsibility-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
}

.page-about__team-section .page-about__cta-button {
  margin-top: 30px;
  max-width: 250px;
}

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

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

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

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow */
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
}

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

.page-about__cta-content {
  max-width: 800px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__grid-two-cols {
    flex-direction: column;
  }
  .page-about__grid-reverse {
    flex-direction: column;
  }
  .page-about__timeline::before {
    left: 20px;
  }
  .page-about__timeline-item {
    width: 100%;
    padding-left: 50px;
    margin-bottom: 30px;
  }
  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
    padding-right: 0;
    text-align: left;
  }
  .page-about__timeline-item::after {
    left: 12px;
  }
  .page-about__timeline-item:nth-child(odd) .page-about__timeline-year,
  .page-about__timeline-item:nth-child(even) .page-about__timeline-year {
    left: -80px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__main-title {
    font-size: clamp(2.2em, 7vw, 2.8em);
    line-height: 1.2;
  }
  .page-about__section-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    line-height: 1.3;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__section-description {
    font-size: 1em;
  }
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-about__dark-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__responsibility-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0 !important;
  }
  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-about__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-about__hero-image {
      margin-bottom: 20px;
  }

  /* Button responsiveness */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    overflow: hidden !important;
  }
  .page-about__cta-buttons a {
      margin: 0 auto; /* Center stacked buttons */
  }

  .page-about__timeline::before {
    left: 20px;
  }
  .page-about__timeline-item {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }
  .page-about__timeline-item::after {
    left: 12px;
  }
  .page-about__timeline-item:nth-child(odd) .page-about__timeline-year,
  .page-about__timeline-item:nth-child(even) .page-about__timeline-year {
    left: -70px;
    right: auto;
  }
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__responsibility-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-about__section-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }
  .page-about__hero-description {
      font-size: 1em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-about__faq-item summary {
      font-size: 1.1em;
      padding: 15px 20px;
  }
  .page-about__faq-answer {
      padding: 0 20px 15px;
      font-size: 0.95em;
  }
}