/* style/about.css */

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

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

.page-about__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6;
  padding: 60px 0;
}

.page-about__card-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #57E38D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Adjust as needed */
  text-align: center;
  overflow: hidden;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding */
}

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

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-about__intro-text {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-buttons--center {
  margin-top: 40px;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

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

.page-about__btn-link {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 1px solid #2E7A4E; /* Border */
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-about__btn-link:hover {
  background-color: rgba(87, 227, 141, 0.05);
  color: #F2FFF6;
}

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

.page-about__text-block {
  font-size: 1.05em;
  color: #F2FFF6; /* Text Main */
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__text-block h3 {
  color: #57E38D; /* Glow */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* History Section */
.page-about__timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 40px;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #2E7A4E; /* Border */
  transform: translateX(-50%);
}

.page-about__timeline-item {
  width: calc(50% - 20px);
  padding: 20px;
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green */
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__timeline-item:nth-child(odd) {
  float: left;
  clear: both;
  transform: translateX(-20px);
}

.page-about__timeline-item:nth-child(even) {
  float: right;
  clear: both;
  transform: translateX(20px);
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #57E38D; /* Glow */
  border: 2px solid #F2FFF6; /* Text Main */
  top: 28px;
  transform: translateY(-50%);
  z-index: 1;
}

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

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

.page-about__timeline-year {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-about__timeline-item p {
  color: #A7D9B8; /* Text Secondary */
}

/* Clear floats for timeline */
.page-about__timeline::after {
  content: '';
  display: table;
  clear: both;
}

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

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

.page-about__commitment-heading {
  font-size: 1.3em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-about__commitment-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Products Overview Section */
.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__product-card {
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  background-color: #11271B; /* Card BG */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-about__product-title {
  font-size: 1.25em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-about__product-card p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9em;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-about__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.page-about__advantage-heading {
  font-size: 1.2em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-about__advantage-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* FAQ Section */
.page-about__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

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

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

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.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: 0.95em;
  line-height: 1.5;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    min-height: 400px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__image-content {
    order: -1; /* Image first on smaller screens */
    margin-bottom: 30px;
  }
  .page-about__timeline::before {
    left: 20px;
  }
  .page-about__timeline-item {
    width: calc(100% - 70px);
    margin-left: 50px;
    float: none;
    transform: translateX(0);
  }
  .page-about__timeline-item:nth-child(odd)::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: -30px;
    right: auto;
  }
}

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

  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body has padding-top */
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__dark-section,
  .page-about__card-bg {
    padding: 40px 0;
  }

  /* Image responsive */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-section,
  .page-about__history-section,
  .page-about__commitment-section,
  .page-about__products-overview-section,
  .page-about__why-choose-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__products-grid,
  .page-about__commitment-grid,
  .page-about__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__product-image {
    height: 180px;
  }

  .page-about__timeline::before {
    left: 20px;
  }
  .page-about__timeline-item {
    width: calc(100% - 50px);
    margin-left: 30px;
    padding: 15px;
  }
  .page-about__timeline-item:nth-child(odd)::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: -18px;
  }
  .page-about__timeline-year {
    font-size: 1.3em;
  }

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