/* General styles for .page-about scope */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Main text color for dark background */
  background-color: #0D0E12; /* Body background color */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFB04D; /* Glow color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #FFF3E6;
}

.page-about ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-about ul li::before {
  content: '✔';
  color: #FFA53A;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* CTA Button Styles */
.page-about__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-about__cta-button.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.6);
}

.page-about__cta-button.page-about__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-about__cta-button.page-about__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12;
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.6);
}

.page-about__cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px; /* Space below content */
}

.page-about__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-about__hero-content {
  position: relative; /* Ensure content is above image */
  z-index: 1;
  padding: 40px 15px;
  background-color: #17191F; /* Card BG for hero content block */
  margin-top: -100px; /* Overlap with image */
  border-radius: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #FFB04D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description-text {
  font-size: 18px;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-about__intro-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__text-block {
  flex: 2;
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
}

.page-about__image-block {
  flex: 1;
  text-align: center;
  padding: 20px;
  background-color: #17191F;
  border-radius: 10px;
  border: 1px solid #A84F0C;
}

.page-about__image-item {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Advantages Section */
.page-about__advantages-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-about__advantage-card {
  background-color: #17191F;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.2);
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 15px;
}

/* Products Overview Section */
.page-about__products-overview {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-about__product-card {
  background-color: #17191F;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.2);
}

.page-about__product-image {
  width: 100%;
  height: 180px; /* Consistent height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__product-title {
  font-size: 20px;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-about__product-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFB04D;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border: 1px solid #FFB04D;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-about__product-link:hover {
  background-color: #FFB04D;
  color: #0D0E12;
}

/* Responsibility Section */
.page-about__responsibility-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-about__responsibility-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFA53A; /* Question text color */
  font-weight: 600;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(255, 165, 58, 0.1); /* Light hover effect */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A;
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFB04D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
  font-size: 16px;
}
.page-about__faq-answer p {
  margin-bottom: 10px;
}
.page-about__faq-link {
  color: #FFB04D;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}
.page-about__faq-link:hover {
  color: #FFA53A;
}

/* Conclusion Section */
.page-about__conclusion-section {
  padding: 60px 0 80px;
  text-align: center;
  background-color: #0D0E12;
}

.page-about__conclusion-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 40px;
  }
  .page-about__description-text {
    font-size: 16px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__intro-content,
  .page-about__responsibility-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__text-block,
  .page-about__image-block {
    flex: none;
    width: 100%;
  }
  .page-about__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 20px;
  }
  .page-about__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
    border-radius: 8px;
  }
  .page-about__main-title {
    font-size: clamp(28px, 6vw, 36px); /* Clamp for H1 */
    margin-bottom: 15px;
  }
  .page-about__description-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-buttons-wrapper {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 0 15px; /* Add padding to wrapper */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 20px;
  }
  .page-about p, .page-about ul li {
    font-size: 15px;
  }

  .page-about__intro-section,
  .page-about__advantages-section,
  .page-about__products-overview,
  .page-about__responsibility-section,
  .page-about__faq-section,
  .page-about__conclusion-section {
    padding: 40px 0;
  }
  
  .page-about__text-block,
  .page-about__image-block,
  .page-about__advantage-card,
  .page-about__product-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-about__card-image,
  .page-about__product-image,
  .page-about__image-item,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific mobile styles */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
}