/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared */
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  margin-bottom: 20px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #E53935;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #555555;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #E53935;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #E53935;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

.page-about__introduction-section,
.page-about__values-section,
.page-about__products-section,
.page-about__commitment-section,
.page-about__why-choose-section,
.page-about__future-section,
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

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

.page-about__value-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

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

.page-about__value-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

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

.page-about__product-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  box-sizing: border-box;
}

.page-about__product-name {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__product-name a {
  color: #E53935;
  text-decoration: none;
}

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

.page-about__product-item p {
  font-size: 0.95em;
  color: #555555;
}

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

.page-about__dark-section {
  background: #E53935;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__commitment-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__commitment-description {
  color: #f0f0f0;
}

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

.page-about__commitment-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-sizing: border-box;
}

.page-about__commitment-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__commitment-description {
  font-size: 1em;
}

.page-about__reason-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__reason-item {
  display: flex;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  box-sizing: border-box;
}

.page-about__reason-icon {
  width: 100%;
  max-width: 100px;
  height: auto;
  margin-right: 20px;
  object-fit: contain;
  flex-shrink: 0;
  min-width: 100px;
  min-height: 100px;
}

.page-about__reason-content h3 {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__reason-content p {
  font-size: 0.95em;
  color: #555555;
}

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

.page-about__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  color: #E53935;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #f0f0f0;
  animation: fadein 0.3s ease-in-out;
}

.page-about__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* General image and container responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-about__hero-section {
    margin-bottom: 20px;
    padding-top: 10px; /* Consistent small top padding for mobile */
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

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

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

  .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;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding: 0 15px;
  }

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

  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__products-section,
  .page-about__commitment-section,
  .page-about__why-choose-section,
  .page-about__future-section,
  .page-about__faq-section {
    padding: 30px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-about__values-grid,
  .page-about__product-list,
  .page-about__commitment-grid,
  .page-about__reason-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card,
  .page-about__product-item,
  .page-about__commitment-item,
  .page-about__reason-item {
    padding: 20px;
  }

  .page-about__value-title,
  .page-about__product-name,
  .page-about__commitment-title,
  .page-about__reason-content h3 {
    font-size: 1.3em;
  }

  .page-about__reason-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-about__reason-icon {
    margin-right: 0;
    margin-bottom: 15px;
    max-width: 150px;
    min-width: 150px;
    min-height: 150px;
  }

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

  .page-about__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mandatory image responsiveness for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

/* Fallback for body padding-top if shared.css doesn't provide it */
/* If shared.css already has body { padding-top: var(--header-offset); }, this should be commented out or removed */
/* .page-about {
  padding-top: var(--header-offset, 122px);
} */

/* No module 3-6 specific styles for about.html as per non-homepage rules */

/* CSS for image filter restriction */
.page-about img {
  filter: none; /* Ensure no CSS filter is applied to images */
}

/* Placeholder for module specific styles (not needed for about page) */
/* .page-about__home-content {} */
/* .page-about__row-games {} */
/* .page-about__games-title {} */
/* .page-about__slider-wrapper {} */
/* .page-about__slider-track {} */
/* .page-about__game-slide {} */
/* .page-about__banners-top-wrapper {} */
/* .page-about__banner-item img {} */
/* .page-about__blog-masonry {} */
/* .page-about__blog-card-link {} */
/* .page-about__btn-outline {} */
/* .page-about__blog-slider-track {} */
/* .page-about__blog-slide {} */