.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Deep dark grey for body text on light background */
  background-color: #f8f9fa; /* Light background for the page */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #000080, #0d0d5d);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

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

.page-about__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.7;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: nowrap;
}

.page-about__cta-button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-about__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__cta-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Dark blue text on gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-about__mission-section, 
.page-about__values-section, 
.page-about__why-choose-section, 
.page-about__responsible-gaming-section, 
.page-about__security-tech-section,
.page-about__support-section,
.page-about__cta-final-section {
  padding: 80px 0;
  position: relative;
}

.page-about__mission-section {
  background-color: #ffffff;
}

.page-about__values-section {
  background-color: #f0f0f0;
}

.page-about__why-choose-section {
  background-color: #ffffff;
}

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

.page-about__security-tech-section {
  background-color: #ffffff;
}

.page-about__support-section {
  background-color: #f0f0f0;
}

.page-about__cta-final-section {
  background-color: #000080; /* Dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-about__cta-final-section .page-about__section-title {
  color: #FFD700; /* Gold title on dark blue */
}

.page-about__cta-final-section .page-about__intro-text {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

.page-about__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #000080; /* Dark blue for section titles */
}

.page-about__intro-text {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-about__sub-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000080; /* Dark blue for sub-titles */
}

/* Content Grid Layout */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.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 p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444444;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Values Section Specifics */
.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 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-about__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for card titles */
}

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

/* Responsible Gaming List */
.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-about__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #444444;
}

.page-about__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700; /* Gold checkmark */
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

.page-about__list li strong {
  color: #000080;
}

.page-about__list li a {
  color: #000080;
  text-decoration: underline;
}

.page-about__list li a:hover {
  color: #FFD700;
}

/* Support Section Specifics */
.page-about__content-flex {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-about__support-item {
  flex: 1 1 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-about__support-item .page-about__sub-title {
  color: #FFD700;
}

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

.page-about__support-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

/* Final CTA Section */
.page-about__cta-final-section .page-about__cta-buttons .page-about__cta-button--primary {
  background-color: #FFD700;
  color: #000080;
  border-color: #FFD700;
}

.page-about__cta-final-section .page-about__cta-buttons .page-about__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-about__cta-final-section .page-about__cta-buttons .page-about__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-about__cta-final-section .page-about__cta-buttons .page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

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

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

  .page-about__sub-title {
    font-size: 22px;
  }

  .page-about__content-grid {
    gap: 40px;
  }
}

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

  .page-about__hero-container {
    padding: 30px 15px;
  }

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

  .page-about__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

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

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

  .page-about__intro-text {
    font-size: 15px;
    margin-bottom: 40px;
  }

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

  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

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

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

  .page-about__support-item {
    flex: 1 1 100%;
    padding: 25px;
  }

  .page-about__support-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__support-cta .page-about__cta-button {
    width: 100%;
    max-width: 100% !important;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Ensure all containers with images are responsive and do not overflow */
  .page-about__hero-container,
  .page-about__container,
  .page-about__content-grid,
  .page-about__image-block,
  .page-about__values-grid,
  .page-about__support-section .page-about__content-flex {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Specific adjustments for sections */
  .page-about__mission-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__security-tech-section,
  .page-about__support-section,
  .page-about__cta-final-section {
    padding: 50px 0;
  }

  .page-about__cta-final-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 28px;
  }

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

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