/* style/about.css */

/* Variables from shared.css */
/* :root {
  --header-offset: 80px; /* Example value, actual value from shared.css */
/* } */

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-bottom: 40px;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
  /* No text overlapping hero image, content is placed over it as a design choice */
  /* The content is not absolutely positioned on top of the image in the DOM flow but as a visual overlay */
}

.page-about__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-about__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #11A84E; /* Main Color */
  text-decoration: none;
  border: 2px solid #11A84E;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

.page-about__btn-text {
  display: inline-block;
  color: #F2C14E; /* Gold */
  text-decoration: underline;
  font-weight: 600;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-about__btn-text:hover {
  color: #2AD16F;
}

.page-about__section {
  padding: 60px 20px;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-about__section:last-of-type {
  border-bottom: none;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about__text-block {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__image-container {
  margin: 40px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
  font-size: 1.6rem;
  color: #2AD16F; /* Button top color for emphasis */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__value-list,
.page-about__product-list,
.page-about__security-list,
.page-about__responsibility-list,
.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__value-item,
.page-about__product-item,
.page-about__security-item,
.page-about__responsibility-item,
.page-about__contact-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__value-heading,
.page-about__product-heading,
.page-about__security-heading,
.page-about__responsibility-heading {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-about__product-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

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

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

.page-about__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__feature-heading {
  font-size: 1.4rem;
  color: #22C768; /* Auxiliary Color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-about__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

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

.page-about__faq-question:hover {
  background-color: #1E3A2A; /* Slightly darker */
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #2AD16F;
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

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

.page-about__faq-answer a {
  margin-top: 15px;
}

.page-about__contact-list {
  margin-top: 20px;
}

.page-about__contact-item {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 15px;
  border-bottom: 1px dashed #2E7A4E;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
}

.page-about__contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    max-width: 80%;
  }

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

  .page-about__hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  }

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

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

  .page-about__card-title {
    font-size: 1.4rem;
  }

  .page-about__value-heading,
  .page-about__product-heading,
  .page-about__security-heading,
  .page-about__responsibility-heading,
  .page-about__feature-heading {
    font-size: 1.3rem;
  }
}

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

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

  .page-about__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    margin-top: -100px; /* Adjust to move content slightly up over the image */
    background-color: rgba(8, 22, 15, 0.85); /* Background */
    border-radius: 0 0 12px 12px;
  }

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

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

  .page-about__hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .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: 12px 15px !important;
    margin-bottom: 10px; /* spacing for stacked buttons */
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

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

  .page-about__card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.3rem;
  }

  .page-about__value-item,
  .page-about__product-item,
  .page-about__security-item,
  .page-about__responsibility-item,
  .page-about__feature-item {
    padding: 20px;
  }

  .page-about__value-heading,
  .page-about__product-heading,
  .page-about__security-heading,
  .page-about__responsibility-heading,
  .page-about__feature-heading {
    font-size: 1.2rem;
  }

  .page-about__faq-section {
    padding: 40px 15px;
    margin: 30px auto;
    border-radius: 8px;
  }

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

  .page-about__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 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__image-container,
  .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__hero-section {
    padding-top: 10px !important;
  }
}

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

  .page-about__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
  }

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