/* style/about.css */

/* Common styles for page-about */
.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 {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 20px;
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F2FFF6;
}

.page-about__text-secondary {
  color: #A7D9B8;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
}

.page-about__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-about__description {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #F2FFF6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-button--highlight {
  background: linear-gradient(180deg, #F2C14E 0%, #D4A83A 100%); /* Gold highlight */
  color: #11271B; /* Card BG as text color for contrast */
}

.page-about__cta-button--highlight:hover {
  background: linear-gradient(180deg, #D4A83A 0%, #F2C14E 100%);
}

/* Introduction Section */
.page-about__introduction .page-about__text-block {
  max-width: 900px;
}

.page-about__vision-mission {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-about__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  flex: 1;
  min-width: 300px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-about__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__card p {
  color: #F2FFF6;
  font-size: 0.95rem;
}

.page-about__light-bg {
  background-color: #11271B;
  color: #F2FFF6;
}

/* Core Values Section */
.page-about__core-values .page-about__text-block {
  color: #A7D9B8;
}

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

.page-about__value-item {
  text-align: center;
}

.page-about__value-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(87, 227, 141, 0.5)); /* Glow effect */
}

.page-about__value-title {
  font-size: 1.3rem;
  color: #F2FFF6;
  margin-bottom: 10px;
}

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

.page-about__product-item {
  text-align: center;
}

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__product-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-about__product-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__product-title a:hover {
  color: #57E38D; /* Glow */
}

.page-about__product-item p {
  color: #A7D9B8;
}

.page-about__cta-section {
  margin-top: 40px;
}

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

.page-about__team-member {
  text-align: center;
}

.page-about__team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__team-name {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

.page-about__responsibility-item {
  text-align: center;
}

.page-about__responsibility-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__responsibility-title {
  font-size: 1.3rem;
  color: #F2FFF6;
  margin-bottom: 10px;
}

/* Why Choose Section */
.page-about__advantage-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 700px;
  text-align: left;
}

.page-about__advantage-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #F2FFF6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-about__list-icon {
  font-size: 1.2rem;
  color: #57E38D; /* Glow */
  line-height: 1.6;
}

.page-about__advantage-list strong {
  color: #F2C14E;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for question header */
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #11A84E; /* Main color on hover */
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8;
  font-size: 1rem;
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-about__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-about__final-cta {
  padding: 80px 0;
}

.page-about__final-cta-content {
  max-width: 800px;
}

.page-about__final-cta .page-about__section-title {
  color: #F2C14E;
}

.page-about__final-cta .page-about__text-block {
  color: #A7D9B8;
}

/* Dark Background Sections */
.page-about__dark-section {
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 0 30px;
  }
  .page-about__values-grid,
  .page-about__products-grid,
  .page-about__team-grid,
  .page-about__responsibility-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 0;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-about__description {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-about__vision-mission {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__card {
    min-width: unset;
    padding: 25px;
  }
  .page-about__value-item,
  .page-about__product-item,
  .page-about__team-member,
  .page-about__responsibility-item {
    padding: 20px;
  }
  .page-about__product-image,
  .page-about__team-image,
  .page-about__responsibility-image {
    height: 180px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
  }
  .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 */
  .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;
  }
  
  /* 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-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-about__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 40px 0;
  }
  .page-about__section {
    padding: 30px 0;
  }
  .page-about__section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-about__card-title {
    font-size: 1.3rem;
  }
  .page-about__value-title,
  .page-about__product-title,
  .page-about__team-name,
  .page-about__responsibility-title {
    font-size: 1.2rem;
  }
}

/* Intelligent contrast classes for specific backgrounds */
.page-about__dark-bg {
  color: #ffffff; /* Dark background with light text */
  background: #11A84E; /* Example brand color */
}

.page-about__light-bg {
  color: #333333; /* Light background with dark text */
  background: #ffffff;
}

.page-about__medium-bg {
  color: #000000; /* Medium background, default to dark text */
  background: #22C768;
}

/* Critical area contrast enforcement */
.page-about__content-area, .page-about__text-block {
  color: #F2FFF6; /* Main text on dark body */
}

.page-about p, .page-about li {
  color: #F2FFF6;
}

.page-about__dark-section {
  background: #0A4B2C;
  color: #F2FFF6;
}