/* style/about.css */

/* Custom Colors */
:root {
  --page-about-bg: #08160F;
  --page-about-card-bg: #11271B;
  --page-about-text-main: #F2FFF6;
  --page-about-text-secondary: #A7D9B8;
  --page-about-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-about-border: #2E7A4E;
  --page-about-glow: #57E38D;
  --page-about-gold: #F2C14E;
  --page-about-divider: #1E3A2A;
  --page-about-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-about {
  background-color: var(--page-about-bg);
  color: var(--page-about-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-about-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__subsection-title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--page-about-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-about__paragraph {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-about-text-secondary);
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--page-about-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--page-about-text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

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

.page-about__btn-primary {
  background: var(--page-about-btn-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--page-about-gold);
  border: 2px solid var(--page-about-gold);
}

.page-about__btn-secondary:hover {
  background: var(--page-about-gold);
  color: var(--page-about-bg);
  transform: translateY(-2px);
}

/* Story Section */
.page-about__story-section {
  padding: 60px 0;
  background-color: var(--page-about-bg);
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px 0;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: var(--page-about-card-bg);
}

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

.page-about__feature-card {
  background-color: var(--page-about-deep-green);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-title {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--page-about-gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-text {
  font-size: 15px;
  color: var(--page-about-text-secondary);
  line-height: 1.7;
  text-align: left;
  flex-grow: 1;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: var(--page-about-bg);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: var(--page-about-card-bg);
}

.page-about__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-about__faq-item {
  background-color: var(--page-about-deep-green);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: var(--page-about-text-main);
  background-color: var(--page-about-deep-green);
  border-bottom: 1px solid var(--page-about-divider);
  list-style: none;
}

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

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-about-gold);
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: var(--page-about-text-secondary);
  line-height: 1.6;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--page-about-bg);
}

.page-about__contact-cta-section .page-about__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-about__container,
  .page-about__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__main-title {
    font-size: 32px;
  }

  .page-about__intro-text {
    font-size: 16px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-about__subsection-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-about__paragraph {
    font-size: 15px;
  }

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

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 22px;
  }

  .page-about__card-text {
    font-size: 14px;
  }

  .page-about__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-image-wrapper {
    max-height: 400px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }
}