/* style/about.css */

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

.page-about {
  background-color: var(--page-about-bg-color);
  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;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
  min-width: 200px;
  min-height: 200px;
}

.page-about__hero-content {
  position: relative; /* Not absolute to avoid overlay */
  z-index: 2;
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Responsive font size */
  color: var(--page-about-text-main);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-about__btn-primary {
  background: var(--page-about-btn-gradient);
  color: var(--page-about-text-main);
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-about__btn-secondary:hover {
  background: var(--page-about-glow-color);
  color: var(--page-about-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.3);
}

/* General Section Styling */
.page-about__intro-section,
.page-about__history-section,
.page-about__values-section,
.page-about__team-section,
.page-about__products-section,
.page-about__commitment-section,
.page-about__why-choose-us,
.page-about__faq-section,
.page-about__cta-section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-about-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-about__text-block {
  font-size: 1.05rem;
  color: var(--page-about-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__highlight {
  color: var(--page-about-glow-color);
  font-weight: 600;
}

/* Content Grid (for history, team sections) */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

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

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-about__content-grid--reverse .page-about__image-wrapper {
  order: 2;
}

.page-about__content-grid--reverse .page-about__text-content {
  order: 1;
}

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

.page-about__value-card {
  background-color: var(--page-about-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-about-border-color);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.5rem;
  color: var(--page-about-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-about__card-title a:hover {
  color: var(--page-about-glow-color);
}

.page-about__card-text {
  font-size: 0.95rem;
  color: var(--page-about-text-secondary);
}

/* Products Section */
.page-about__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__product-card {
  background-color: var(--page-about-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-about-border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-about__product-card .page-about__card-title {
  padding: 15px 20px 5px;
  margin-bottom: 0;
  text-align: left;
}

.page-about__product-card .page-about__card-title a {
  font-size: 1.3rem;
  color: var(--page-about-text-main);
  text-decoration: none;
}

.page-about__product-card .page-about__card-title a:hover {
  color: var(--page-about-glow-color);
}

.page-about__product-card .page-about__card-text {
  padding: 0 20px 20px;
  text-align: left;
  flex-grow: 1;
}

.page-about__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-about__feature-item {
  background-color: var(--page-about-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-about-border-color);
  text-align: center;
}

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

.page-about__feature-text {
  font-size: 0.95rem;
  color: var(--page-about-text-secondary);
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: var(--page-about-card-bg);
  border: 1px solid var(--page-about-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-item[open] {
  background-color: var(--page-about-deep-green);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-about-text-main);
  list-style: none; /* Remove default marker for details */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for details in WebKit */
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-about-glow-color);
  margin-left: 15px;
  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;
  font-size: 1rem;
  color: var(--page-about-text-secondary);
}

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

.page-about__faq-answer a {
  color: var(--page-about-glow-color);
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: var(--page-about-gold-color);
}

/* CTA Section Bottom */
.page-about__cta-section.page-about__cta-section--bottom {
  padding-top: 40px;
  padding-bottom: 80px;
  text-align: center;
}

.page-about__cta-buttons--bottom {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }

  .page-about__content-grid--reverse .page-about__image-wrapper,
  .page-about__content-grid--reverse .page-about__text-content {
    order: unset; /* Reset order for smaller screens */
  }

  .page-about__hero-content {
    margin-top: 20px;
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

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

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

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__product-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__hero-section,
  .page-about__intro-section,
  .page-about__history-section,
  .page-about__values-section,
  .page-about__team-section,
  .page-about__products-section,
  .page-about__commitment-section,
  .page-about__why-choose-us,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0 !important;
  }

  .page-about__hero-section {
    padding-top: 10px !important;
  }

  .page-about__cta-buttons,
  .page-about__cta-center,
  .page-about__cta-buttons--bottom {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-about__description {
    font-size: 1rem;
  }

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

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

  .page-about__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__feature-list {
    grid-template-columns: 1fr;
  }

  .page-about__value-card,
  .page-about__product-card,
  .page-about__feature-item {
    padding: 25px;
  }
}