/* style/about.css */

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

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

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

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

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

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

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for mobile */
  max-width: 600px; /* Limit width on desktop */
  box-sizing: border-box;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from gradient */
  border: 2px solid #2AD16F; /* Border with green */
}

.page-about__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1); /* Light green background on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%); /* Green gradient */
  border-radius: 2px;
}

.page-about__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

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

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

.page-about__feature-card {
  background-color: rgba(17, 168, 78, 0.1); /* Transparent green */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-about__commitments-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.page-about__commitment-item {
  background-color: rgba(17, 168, 78, 0.05); /* Lighter transparent green */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #2AD16F; /* Green accent border */
}

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

.page-about__commitment-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__commitment-text a {
  color: #57E38D; /* Glow for links */
  text-decoration: underline;
}

.page-about__commitment-text a:hover {
  color: #2AD16F; /* Button green on hover */
}

/* Achievements Section */
.page-about__achievements-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-about__achievement-item {
  background-color: rgba(242, 193, 78, 0.1); /* Transparent gold */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #F2C14E; /* Gold border */
}

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

.page-about__achievement-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-about__faq-item {
  background-color: rgba(17, 168, 78, 0.1); /* Transparent green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: rgba(17, 168, 78, 0.15); /* Slightly darker transparent green */
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: rgba(17, 168, 78, 0.25); /* Darker on hover */
}

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

.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); /* Rotate for 'minus' effect */
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-about__faq-answer p {
  margin-bottom: 0;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__faq-answer a {
  color: #57E38D; /* Glow for links */
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #2AD16F; /* Button green on hover */
}


/* Join Us CTA Section */
.page-about__join-us-cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

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

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

  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

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

  .page-about__description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    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__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 0.95em;
  }

  .page-about__image {
    margin: 30px auto;
  }

  .page-about__features-grid,
  .page-about__achievements-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__container,
  .page-about__features-grid,
  .page-about__feature-card,
  .page-about__commitment-item,
  .page-about__achievements-grid,
  .page-about__achievement-item,
  .page-about__faq-list,
  .page-about__faq-item,
  .page-about__cta-buttons,
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__achievements-section,
  .page-about__faq-section,
  .page-about__join-us-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden; /* Ensure no overflow */
  }

  /* Specific padding for sections that might not have a container */
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__achievements-section,
  .page-about__faq-section,
  .page-about__join-us-cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure content area images are not tiny */
.page-about__mission-vision-section .page-about__image,
.page-about__why-choose-us-section .page-about__image,
.page-about__commitment-section .page-about__image,
.page-about__achievements-section .page-about__image {
  min-width: 200px;
  min-height: 200px;
}