.page-about__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #017439; /* Brand green background */
  color: #ffffff; /* White text for contrast */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-about__cta-buttons--center {
  justify-content: center;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login font yellow */
}

.page-about__btn-primary:hover {
  background-color: #a00606;
  border-color: #FFFF00;
}

.page-about__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.page-about__content-section {
  padding: 80px 20px;
  background-color: #121212; /* Body background color */
  color: #ffffff; /* White text for dark background */
}

.page-about__content-section .page-about__section-title {
  color: #ffffff;
}

.page-about__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-about__image-left {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  object-fit: cover;
}

.page-about__text-content {
  flex: 2;
  min-width: 300px;
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__values-section {
  padding: 80px 20px;
  background-color: #017439; /* Brand green background */
  color: #ffffff;
}

.page-about__values-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark bg */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-about__card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

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

.page-about__why-choose-us {
  padding: 80px 20px;
  background-color: #121212;
  color: #ffffff;
}

.page-about__why-choose-us .page-about__section-title {
  color: #ffffff;
}

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

.page-about__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-about__benefit-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-about__benefit-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00;
}

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

.page-about__responsible-gaming-section {
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-about__responsible-gaming-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

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

.page-about__team-partners-section {
  padding: 80px 20px;
  background-color: #121212;
  color: #ffffff;
}

.page-about__team-partners-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__image-right {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  object-fit: cover;
}

.page-about__text-block {
  flex: 2;
  min-width: 300px;
}

.page-about__faq-section {
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-about__faq-section .page-about__section-title {
  color: #ffffff;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  color: #FFFF00;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-about__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

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

.page-about__cta-bottom-section .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-bottom-section .page-about__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Common styles for content area images, ensuring min size */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

  .page-about__image-text-block,
  .page-about__content-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-about__image-left,
  .page-about__image-right {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
  }

  .page-about__text-content {
    width: 100%;
  }
}

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

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

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

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

  .page-about__content-section,
  .page-about__values-section,
  .page-about__why-choose-us,
  .page-about__responsible-gaming-section,
  .page-about__team-partners-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section {
    padding: 40px 15px;
  }

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

  .page-about__paragraph,
  .page-about__card-description,
  .page-about__benefit-description,
  .page-about__feature-description,
  .page-about__faq-answer p {
    font-size: 0.95em;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-about__card-icon {
    width: 80px;
    height: 80px;
  }
  
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__container,
  .page-about__image-text-block,
  .page-about__content-flex,
  .page-about__cta-buttons,
  .page-about__values-grid,
  .page-about__benefits-grid,
  .page-about__features-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 20px;
  }
}