.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures 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: #007bff; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

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

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

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

.page-about__button--primary {
  background-color: #ffc107; /* Accent color for primary button */
  color: #007bff; /* Main color for text */
}

.page-about__button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-about__button--secondary {
  background-color: transparent;
  color: #ffc107; /* Accent color for text */
  border: 2px solid #ffc107;
}

.page-about__button--secondary:hover {
  background-color: rgba(255, 193, 7, 0.1);
  transform: translateY(-2px);
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-about__story-section, .page-about__values-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__cta-section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Accent color underline */
  margin: 15px auto 0;
}

.page-about__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-about__image-content {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-about__value-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block; /* Ensure images are block level */
  margin-left: auto; /* Center the image */
  margin-right: auto; /* Center the image */
}

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

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

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-about__responsible-gaming-section {
  background-color: #f8f9fa;
}

.page-about__link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-about__link:hover {
  text-decoration: underline;
}

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

.page-about__cta-container .page-about__section-title {
  color: #ffc107; /* Accent color for CTA title */
}

.page-about__cta-container .page-about__section-title::after {
  background-color: #ffffff;
}

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

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

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

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

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

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

  .page-about__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-about__story-section, .page-about__values-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__cta-section {
    padding: 40px 0;
  }

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

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

  .page-about__values-grid {
    grid-template-columns: 1fr;
  }

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

  .page-about__image-content,
  .page-about__hero-image,
  .page-about__value-icon {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and don't overflow */
  }
}

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

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

  .page-about__button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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