.page-about {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000080; /* Dark blue background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-about__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-about__button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-about__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-about__button--tertiary {
  background-color: #DC143C; /* Dark Red */
  color: #ffffff;
  border: 2px solid #DC143C;
}

.page-about__button--tertiary:hover {
  background-color: #b01030;
  border-color: #b01030;
}

.page-about__hero-image-wrapper {
  margin-top: 40px;
  max-width: 100%;
  width: 100%;
}

.page-about__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__section-title {
  font-size: 2.5em;
  color: #000080; /* Dark blue */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-about__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-about__story-section, .page-about__why-choose-section, .page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-about__mission-values-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-about__mission-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__mission-item {
  flex: 1;
  min-width: 300px;
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-about__item-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-about__item-text {
  font-size: 1em;
  color: #333333;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
}

.page-about__values-list-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-about__values-list-item strong {
  color: #000080;
}

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

.page-about__advantage-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__advantage-card:hover {
  transform: translateY(-10px);
}

.page-about__card-title {
  font-size: 1.6em;
  color: #000080; /* Dark blue */
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1em;
  color: #555555;
}

.page-about__responsible-gaming-section {
  text-align: center;
}

.page-about__cta-section {
  background-color: #000080; /* Dark blue */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-container {
  max-width: 900px;
}

.page-about__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
}

.page-about__cta-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }

  .page-about__hero-content {
    margin-bottom: 30px;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

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

  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-about__mission-content {
    flex-direction: column;
  }

  .page-about__advantage-card {
    padding: 25px;
  }

  .page-about__cta-title {
    font-size: 2em;
  }

  .page-about__cta-text {
    font-size: 1em;
  }

  .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content images are responsive and do not overflow */
  .page-about__container img,
  .page-about__hero-image,
  .page-about__section-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__item-title {
    font-size: 1.5em;
  }

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

  .page-about__cta-title {
    font-size: 1.8em;
  }
}