.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  color: #ffffff;
  background-color: #017439; /* Primary brand color for dark background */
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for title */
}

.page-about__intro-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for CTA button */
  color: #FFFF00; /* Custom color for CTA button font */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #E00000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

.page-about__cta-button--secondary {
  background: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-about__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #017439;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439; /* Primary brand color for titles */
}

.page-about__section-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-subtitle {
  color: #f0f0f0;
}

.page-about__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333333;
}

.page-about__dark-bg .page-about__text-block p {
  color: #ffffff;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__value-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__value-item p {
  font-size: 15px;
  color: #555555;
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-about__feature-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__feature-item p {
  font-size: 15px;
  color: #555555;
}

.page-about__cta-bottom {
  margin-top: 60px;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 100px 0;
}

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

  .page-about__section-title {
    font-size: 30px;
  }

  .page-about__intro-description {
    font-size: 17px;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-about__content-wrapper--reverse .page-about__image-block {
    order: -1;
  }

  .page-about__value-item img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-about__intro-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 50px 0;
  }

  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-about__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-about__content-wrapper {
    gap: 30px;
  }

  .page-about__text-block p {
    font-size: 15px;
  }

  .page-about__value-item img,
  .page-about__image-block img {
    min-width: 200px !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__value-item {
    padding: 25px;
  }

  .page-about__value-title {
    font-size: 20px;
  }

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

  .page-about__feature-item {
    padding: 25px;
  }

  .page-about__feature-title {
    font-size: 18px;
  }

  .page-about__contact-cta-section {
    padding: 70px 0;
  }

  .page-about__cta-bottom {
    margin-top: 40px;
  }
}

/* Ensure content area images do not display smaller than 200px */
.page-about img {
  min-width: 200px;
  min-height: 200px;
}

/* Global image responsive styles, overriding min-width for true responsiveness where needed */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image containers responsiveness */
.page-about__image-block, .page-about__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mobile specific overrides for images and containers */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-about__hero-section,
  .page-about__intro-overview,
  .page-about__values-section,
  .page-about__commitment-section,
  .page-about__responsible-gaming-section,
  .page-about__why-choose-us-section,
  .page-about__contact-cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}