/* style/about.css */

/* --- Base Styles & Variables (assuming shared.css provides --background-color etc.) --- */
.page-about {
  /* Assuming body has a dark background from shared.css */
  color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
  background-color: var(--background-color, #08160F); /* Ensure consistency */
}

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

.page-about__container--center {
    text-align: center;
}

/* --- Typography --- */
.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
  font-weight: 700;
  color: var(--gold-color, #F2C14E); /* Using gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 30px;
  text-align: center;
}

.page-about__heading--light {
  color: var(--text-main-color, #F2FFF6);
}

.page-about__sub-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-about__sub-heading--light {
  color: var(--text-main-color, #F2FFF6);
}

.page-about__text {
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 15px;
}

.page-about__text--light {
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about__description {
  font-size: 1.1rem;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
}

.page-about__link {
    color: var(--primary-color, #11A84E);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-about__link:hover {
    color: var(--glow-color, #57E38D);
}

/* --- Sections --- */
.page-about__section {
  padding: 60px 0;
  position: relative;
}

.page-about__dark-section {
  background-color: var(--deep-green-color, #0A4B2C); /* Deeper green for contrast */
}

/* --- Hero Section --- */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: var(--card-bg-color, #11271B); /* Use card background for content block */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-top: -80px; /* Pull content up over the image slightly */
}

/* --- Buttons --- */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #FFFFFF; /* White text for contrast */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-about__cta-button--wide {
    min-width: 250px;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-about__cta-button--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #FFFFFF;
}

.page-about__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--primary-color, #11A84E);
    color: var(--primary-color, #11A84E);
}

.page-about__cta-button--secondary:hover {
    background: var(--primary-color, #11A84E);
    color: #FFFFFF;
}

.page-about__link-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--primary-color, #11A84E);
    color: #FFFFFF;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-about__link-button:hover {
    background-color: var(--glow-color, #57E38D);
}

/* --- Introduction Section --- */
.page-about__introduction-section {
    background-color: var(--background-color, #08160F);
}

/* --- Mission & Vision Section --- */
.page-about__mission-vision-section {
  background-color: var(--deep-green-color, #0A4B2C); /* Deeper green for contrast */
}

.page-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__grid-item {
  background-color: var(--card-bg-color, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__grid-item .page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- Core Values Section --- */
.page-about__values-section {
  background-color: var(--background-color, #08160F);
}

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

.page-about__value-card {
  background-color: var(--card-bg-color, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-about__value-icon {
  width: 100px; /* Ensure minimum size */
  height: 100px; /* Ensure minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__value-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 0.95rem;
  color: var(--text-secondary-color, #A7D9B8);
}

/* --- Why Us Section --- */
.page-about__why-us-section {
  background-color: var(--deep-green-color, #0A4B2C);
}

.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: var(--card-bg-color, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-about__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
}

.page-about__feature-title--light {
  color: var(--text-main-color, #F2FFF6);
}

.page-about__feature-description {
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-about__feature-description--light {
  color: var(--text-secondary-color, #A7D9B8);
}

/* --- Security Section --- */
.page-about__security-section {
    background-color: var(--background-color, #08160F);
}

.page-about__content-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

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

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

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

/* --- Team Section --- */
.page-about__team-section {
  background-color: var(--deep-green-color, #0A4B2C);
}

/* --- FAQ Section --- */
.page-about__faq-section {
    background-color: var(--background-color, #08160F);
}

.page-about__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__faq-item {
    background-color: var(--card-bg-color, #11271B);
    border: 1px solid var(--border-color, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main-color, #F2FFF6);
    background-color: var(--card-bg-color, #11271B);
    transition: background-color 0.3s ease;
    list-style: none; /* For details tag */
}

.page-about__faq-question::-webkit-details-marker { /* For details tag */
    display: none;
}

.page-about__faq-question:hover {
    background-color: var(--primary-color, #11A84E);
}

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--gold-color, #F2C14E);
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−'; /* Changed by JS */
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary-color, #A7D9B8);
    line-height: 1.7;
}

/* --- Final CTA Section --- */
.page-about__cta-final-section {
    background-color: var(--deep-green-color, #0A4B2C);
    padding: 80px 0;
}

/* --- Image specific styles (to ensure min size and no filter) --- */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  filter: none !important; /* Ensure no filter is applied */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-with-image {
      flex-direction: column;
  }
  .page-about__image-wrapper {
      margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

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

  .page-about__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-about__sub-heading {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .page-about__section {
    padding: 40px 0;
  }

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

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness (if any, although none here) */
  .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__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-about__cta-button,
  .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-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-final-section {
      padding: 60px 0;
  }
}