.page-about {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-about__hero-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  text-align: center;
  color: #007bff;
}

.page-about__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #007bff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-about__hero-button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-about__hero-button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-about__hero-button--secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-about__hero-button--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

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

.page-about__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__story-section, .page-about__mission-section, .page-about__values-section, .page-about__responsible-gaming-section, .page-about__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-about__story-section {
  background-color: #f0f8ff;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

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

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

.page-about__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

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

.page-about__value-item {
  background-color: #e6f7ff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
  border: 1px solid #cceeff;
}

.page-about__value-item:hover {
  background-color: #d1edff;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-about__value-description {
  color: #666666;
}

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #28a745;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
  border: 2px solid #28a745;
}

.page-about__button:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
}

.page-about__cta-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-about__cta-section .page-about__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-about__cta-section .page-about__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-about__cta-actions .page-about__button {
  background-color: #28a745;
  border-color: #28a745;
}

.page-about__cta-actions .page-about__button--secondary {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.page-about__cta-actions .page-about__button--secondary:hover {
  background-color: #ffffff;
  color: #007bff;
  border-color: #ffffff;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

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

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

  .page-about__hero-button, .page-about__button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__card, .page-about__value-item {
    padding: 20px;
  }
}