/* style/about.css */
:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f9fa;
  --background-dark: #1A2B4C;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherited from shared.css */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 900px;
  color: var(--text-light);
}

.page-about__hero-button,
.page-about__cta-button,
.page-about__product-button,
.page-about__contact-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__hero-button:hover,
.page-about__cta-button:hover,
.page-about__product-button:hover,
.page-about__contact-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-light);
}

.page-about__introduction-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: var(--text-light);
}

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

.page-about__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
}

.page-about__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__card-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about__card-text {
  font-size: 1em;
  color: var(--text-light);
}

.page-about__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
}

.page-about__products-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-about__product-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__product-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-about__product-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.page-about__product-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-light);
}

.page-about__benefits-section {
  background-color: var(--background-light);
  padding: 60px 0;
  color: var(--text-dark);
}

.page-about__benefits-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__benefits-section .page-about__text-block {
  color: var(--text-dark);
}

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

.page-about__benefit-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__benefit-item:hover {
  transform: translateY(-5px);
}

.page-about__benefit-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-about__benefit-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-about__benefit-description {
  font-size: 0.95em;
  color: var(--text-dark);
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: var(--primary-color);
  border-radius: 10px;
  color: var(--text-light);
}

.page-about__cta-text {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--text-light);
}

.page-about__commitment-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-light);
}

.page-about__commitment-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-about__commitment-description {
  font-size: 1em;
  color: var(--text-light);
}

.page-about__faq-section {
  background-color: var(--background-light);
  padding: 60px 0;
  color: var(--text-dark);
}

.page-about__faq-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__faq-section .page-about__text-block {
  color: var(--text-dark);
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #e6e6e6;
}

.page-about__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--primary-color);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-about__faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

.page-about__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

.page-about__contact-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  text-align: center;
  color: var(--text-light);
}

.page-about__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-about__contact-button {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.15em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__value-cards, .page-about__product-grid, .page-about__benefits-grid, .page-about__commitment-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__value-cards, .page-about__product-grid, .page-about__benefits-grid, .page-about__commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-about__card, .page-about__product-card, .page-about__benefit-item, .page-about__commitment-item {
    padding: 20px;
  }
  .page-about__card-image, .page-about__product-image, .page-about__benefit-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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__cta-wrapper, .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-button, .page-about__cta-button, .page-about__product-button, .page-about__contact-button,
  .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 {
    display: flex;
    flex-direction: column;
  }
}