.page-about {
  color: #ffffff; /* Body background is dark, so text is light */
}

.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); /* Ensure content is below header */
  background-color: #000000;
  min-height: 600px;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
  border-radius: 8px;
  margin-bottom: 30px;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__btn-primary:hover {
  background-color: #1a7ea6;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

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

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

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

.page-about__introduction-section .page-about__text-block,
.page-about__responsible-gambling-section .page-about__text-block,
.page-about__team-culture-section .page-about__text-block,
.page-about__future-section .page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: inherit;
}

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

.page-about__grid-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-about__advantage-card {
  background-color: rgba(255, 255, 255, 0.15); /* Light translucent background on dark section */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__advantage-card .page-about__card-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-about__advantage-card .page-about__card-text {
  font-size: 1em;
  line-height: 1.7;
}

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

.page-about__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
}

.page-about__team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-about__team-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
  margin: 0;
  color: inherit;
}

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

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

.page-about__faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: inherit;
}

.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.15em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below header */
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__container {
    padding: 20px 15px;
  }
  .page-about__introduction-section .page-about__text-block,
  .page-about__responsible-gambling-section .page-about__text-block,
  .page-about__team-culture-section .page-about__text-block,
  .page-about__future-section .page-about__text-block {
    font-size: 0.95em;
    line-height: 1.7;
  }
  .page-about__image-grid,
  .page-about__advantages-grid,
  .page-about__team-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-about__advantage-card {
    padding: 25px;
  }
  .page-about__advantage-card .page-about__card-title {
    font-size: 1.4em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  .page-about__cta-buttons a {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__faq-question {
    padding: 18px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-grid,
  .page-about__advantages-grid,
  .page-about__team-gallery,
  .page-about__responsive-image,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-about__hero-image {
    filter: brightness(0.3); /* Slightly darker on mobile for contrast */
  }
}