.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: #1A237E; /* Primary brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-about__hero-content {
  max-width: 800px;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-about__hero-button,
.page-about__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Accent color for buttons */
  color: #1A237E; /* Dark text on accent button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__hero-button:hover,
.page-about__cta-button:hover {
  background-color: #e0ac06;
  transform: translateY(-2px);
}

.page-about__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__section-heading {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  border-radius: 2px;
}

.page-about__sub-heading {
  font-size: 1.8em;
  color: #1A237E;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-about__text-content {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__principle-card:hover,
.page-about__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__card-title {
  font-size: 1.4em;
  color: #1A237E;
  margin-bottom: 15px;
}

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

.page-about__values-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-about__list-item {
  background-color: #f0f4f8;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FFC107;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  line-height: 1.5;
}

.page-about__list-item strong {
  color: #1A237E;
}

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

.page-about__link {
  color: #1A237E;
  text-decoration: underline;
  font-weight: bold;
}

.page-about__link:hover {
  color: #FFC107;
}

.page-about__cta-section {
  background-color: #1A237E;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

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

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

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

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

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

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

  .page-about__hero-button,
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-about__sub-heading {
    font-size: 1.5em;
  }

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

  .page-about__principles-grid,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }

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

  .page-about__list-item {
    padding: 15px;
    font-size: 1em;
  }

  /* Mobile specific image constraint */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-about__sub-heading {
    font-size: 1.3em;
  }

  .page-about__hero-section,
  .page-about__story-section,
  .page-about__mission-section,
  .page-about__advantages-section,
  .page-about__responsible-gaming-section,
  .page-about__team-section,
  .page-about__future-section,
  .page-about__cta-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}