/* style/about.css */

/* Base Styles */
.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__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 1em;
  margin-bottom: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__list-item {
  margin-bottom: 8px;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__subtitle {
  font-size: clamp(1.1em, 2vw, 1.3em);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Buttons */
.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  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 */
  color: #F2FFF6; /* Text Main for contrast */
  border: none;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6; /* Text Main */
}

.page-about__btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

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

.page-about__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-about__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

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

.page-about__grid-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__grid-item .page-about__image {
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 60px 0;
}

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

.page-about__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__card-text {
  color: #A7D9B8; /* Text Secondary */
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
}

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

.page-about__commitment-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__commitment-item .page-about__btn {
  margin-top: auto; /* Push button to bottom */
}

/* App Download Section */
.page-about__app-download-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__download-cta .page-about__image {
  max-width: 400px;
  height: auto;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

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

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

.page-about__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-content {
    max-width: 700px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }
  .page-about__grid-row,
  .page-about__features-grid,
  .page-about__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-about__subtitle {
    font-size: clamp(1em, 3vw, 1.2em);
  }

  .page-about__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Spacing for stacked buttons */
  }
  
  .page-about__download-cta .page-about__btn-large {
    margin-bottom: 0;
  }

  .page-about__grid-item, .page-about__feature-card, .page-about__commitment-item {
    padding: 20px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__app-download-section,
  .page-about__faq-section,
  .page-about__hero-section .page-about__hero-content,
  .page-about__grid-row,
  .page-about__features-grid,
  .page-about__commitment-grid,
  .page-about__download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific padding adjustments for sections that have padding */
  .page-about__intro-section, .page-about__why-choose-us, .page-about__commitment-section, .page-about__app-download-section, .page-about__faq-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Ensure section titles are centered on mobile */
  .page-about__section-title {
    font-size: 1.8em;
  }

  /* FAQ items padding */
  .page-about__faq-item summary {
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-about__subtitle {
    font-size: clamp(0.9em, 4vw, 1.1em);
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__sub-title {
    font-size: 1.2em;
  }
  .page-about__btn {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-about__btn-large {
    font-size: 1em;
  }
  .page-about__hero-section, .page-about__intro-section, .page-about__why-choose-us, .page-about__commitment-section, .page-about__app-download-section, .page-about__faq-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .page-about__download-cta .page-about__image {
    max-width: 250px;
  }
}