.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 clears 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;
  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: 2.8em;
  color: #007BFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Constrain image width for better layout */
  margin-top: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-about__btn--primary {
  background-color: #007BFF;
  color: #ffffff;
  border-color: #007BFF;
}

.page-about__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-about__btn--secondary {
  background-color: #FFC107;
  color: #333333;
  border-color: #FFC107;
}

.page-about__btn--secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-about__btn--outline {
  background-color: transparent;
  color: #007BFF;
  border-color: #007BFF;
}

.page-about__btn--outline:hover {
  background-color: #007BFF;
  color: #ffffff;
}

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

.page-about__mission-vision-section .page-about__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

.page-about__card-icon {
  width: 200px; /* Min size for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #e9ecef;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #007BFF;
  margin-bottom: 40px;
}

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

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

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

.page-about__feature-icon {
  width: 200px; /* Min size for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-about__feature-text {
  font-size: 0.95em;
  color: #666666;
}

.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-about__responsible-gaming-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-about__responsible-gaming-text {
  flex: 1;
  min-width: 300px;
}

.page-about__responsible-gaming-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__responsible-gaming-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Constrain image width */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__text {
  margin-bottom: 25px;
  color: #555555;
}

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

.page-about__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-about__cta-actions .page-about__btn--primary {
  background-color: #FFC107;
  color: #333333;
  border-color: #FFC107;
}

.page-about__cta-actions .page-about__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

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

.page-about__cta-actions .page-about__btn--secondary:hover {
  background-color: #ffffff;
  color: #007BFF;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__section-title,
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__responsible-gaming-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-about__hero-section {
    padding: 60px 0;
  }
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description,
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__hero-actions,
  .page-about__cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-about__section-title,
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__card,
  .page-about__feature-item {
    padding: 20px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-about__hero-image,
  .page-about__card-icon,
  .page-about__feature-icon,
  .page-about__responsible-gaming-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__card-icon, .page-about__feature-icon {
    width: 200px;
    height: auto; /* Allow height to adjust to maintain aspect ratio */
    max-height: 150px; /* Keep max height for icons */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.5em;
  }
  .page-about__section-title,
  .page-about__cta-title {
    font-size: 1.5em;
  }
  .page-about__btn {
    width: 90%;
  }
  .page-about__container {
    padding: 0 15px;
  }
}