.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); /* Ensures content is not hidden by fixed header */
}

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

.page-about__container--centered {
  text-align: center;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  min-height: 600px; /* Adjust as needed */
  background-color: #f0f0f0; /* Light background for hero section */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff; /* White text for dark hero background image */
  max-width: 900px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFB300; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-about__cta-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;
}

.page-about__cta-button--primary {
  background-color: #E44D26; /* Main brand color */
  color: #ffffff;
  border: 2px solid #E44D26;
}

.page-about__cta-button--primary:hover {
  background-color: #c93b1d;
  transform: translateY(-2px);
}

.page-about__cta-button--secondary {
  background-color: transparent;
  color: #FFB300; /* Accent brand color */
  border: 2px solid #FFB300;
}

.page-about__cta-button--secondary:hover {
  background-color: rgba(255, 179, 0, 0.1);
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.8em;
  color: #E44D26; /* Main brand color */
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-about__story-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__join-us-section {
  padding: 80px 0;
}

.page-about__values-section, .page-about__security-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light grey background for alternating sections */
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-about__content-grid--reverse .page-about__text-block {
  order: 2;
}

.page-about__content-grid--reverse .page-about__image-block {
  order: 1;
}

.page-about__text-block {
  padding: 20px 0;
}

.page-about__text-block--full-width {
  grid-column: 1 / -1; /* Spans full width in a grid */
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #E44D26; /* Main brand color */
  margin-bottom: 20px;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-about__paragraph--centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image-block {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-about__value-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__value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__card-title {
  font-size: 1.5em;
  color: #E44D26; /* Main brand color */
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

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

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

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-about__content-grid--reverse .page-about__text-block {
    order: initial;
  }
  .page-about__content-grid--reverse .page-about__image-block {
    order: initial;
  }
  .page-about__values-grid, .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is not hidden by header */
  }
  .page-about__hero-section {
    min-height: 450px;
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__story-section, .page-about__why-choose-us-section, .page-about__responsible-gaming-section, .page-about__join-us-section,
  .page-about__values-section, .page-about__security-section {
    padding: 60px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__paragraph {
    font-size: 0.95em;
  }
  .page-about__image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-about__value-icon {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  /* Ensure all images within .page-about are responsive and do not cause horizontal scroll */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Global enforcement for content images */
    min-height: 200px; /* Global enforcement for content images */
  }
  .page-about__content-area {
    overflow-x: hidden;
  }
}