/* style/about.css */

/* Base styles for page-about, ensuring text contrast with body background */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.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__heading {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__paragraph {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Background */
.page-about__card-bg {
  background-color: #11271B;
}

/* Buttons */
.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: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  margin: 10px;
}

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

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

.page-about__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over image slightly for visual flow, but not overlap */
  text-align: center;
  background: rgba(8, 22, 15, 0.7); /* Deep Green background with opacity */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__hero-description {
  font-size: 1.15em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Grid Features (About G888 Section) */
.page-about__grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__feature-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-about__feature-list li {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 1em;
}

.page-about__list-icon {
  color: #2AD16F; /* Green for checkmark */
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  line-height: 1;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-about__why-choose-us .page-about__heading {
  color: #F2FFF6; /* Text Main */
}

.page-about__why-choose-us .page-about__paragraph {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__advantage-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__advantage-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-about__advantage-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Products and Services Section */
.page-about__products-services {
  padding: 80px 0;
}

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

.page-about__product-card {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__product-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
}

.page-about__product-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__product-link {
  color: #2AD16F; /* Green for links */
  text-decoration: none;
}

.page-about__product-link:hover {
  text-decoration: underline;
}

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

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

.page-about__security .page-about__heading {
  color: #F2FFF6; /* Text Main */
}

.page-about__security .page-about__paragraph {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__feature-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__feature-subtitle {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

/* Customer Support Section */
.page-about__customer-support {
  padding: 80px 0;
}

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

.page-about__channel-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__channel-title {
  font-size: 1.6em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__channel-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

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

.page-about__faq-section .page-about__heading {
  color: #F2FFF6; /* Text Main */
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F; /* Green */
  margin-left: 15px;
}

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

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

.page-about__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

/* Conclusion Section */
.page-about__conclusion {
  padding: 80px 0;
}

/* --- Responsive Design --- */

/* Tablet and Mobile */
@media (max-width: 992px) {
  .page-about__hero-content {
    margin-top: -100px;
  }

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

  .page-about__heading {
    font-size: 2em;
  }

  .page-about__paragraph {
    font-size: 1em;
  }

  .page-about__feature-title,
  .page-about__advantage-title,
  .page-about__product-title,
  .page-about__feature-subtitle,
  .page-about__channel-title {
    font-size: 1.4em;
  }
}

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

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__hero-content {
    margin-top: -80px;
    padding: 15px;
  }

  .page-about__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to buttons container */
    box-sizing: border-box !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    margin: 0;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__heading {
    font-size: 1.8em;
  }

  .page-about__grid-features,
  .page-about__advantages-grid,
  .page-about__product-grid,
  .page-about__security-features,
  .page-about__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__advantage-icon,
  .page-about__product-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  /* Ensure all images and their containers are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__feature-card,
  .page-about__advantage-card,
  .page-about__product-card,
  .page-about__feature-item,
  .page-about__channel-card,
  .page-about__faq-item,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-about__video-section {
    padding-top: 10px !important; /* Small top padding, not header-offset */
  }
}

/* Desktop specific for video container width */
.page-about__video-container {
  width: 100%; /* Must be 100% on desktop to prevent narrow layout */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}