.page-about {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is for internal spacing */
  overflow: hidden;
  color: #F2FFF6;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  max-height: 700px; /* Limit hero image height */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency for overlay effect */
  border-radius: 10px;
  margin-top: 100px; /* Push content down from top to avoid header overlap visually */
}

.page-about__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-about__heading {
  font-size: 2.8rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #11A84E 0%, #22C768 100%); /* Main/Accent gradient */
  border-radius: 2px;
}

.page-about__sub-heading {
  font-size: 1.8rem;
  font-weight: bold;
  color: #22C768; /* Accent Color */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: left;
}

.page-about__content-block {
  margin-bottom: 40px;
  text-align: left;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-width: 800px;
}

.page-about__grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-about__feature-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-about__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
  flex-grow: 1; /* Ensure description takes available space */
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 5px;
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: normal; /* Ensure normal behavior for button text */
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Divider with transparency */
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

.page-about__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-about__btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* FAQ Section */
.page-about__faq-section {
  padding-top: 40px; /* Adjust padding for FAQ */
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  list-style: none; /* For details tag */
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom-color: #2E7A4E;
  background-color: #11A84E;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

/* Conclusion CTA */
.page-about__conclusion-cta {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: 80px;
    padding: 30px 15px;
  }

  .page-about__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-about__heading {
    font-size: 2.2rem;
  }

  .page-about__sub-heading {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important; /* Body handles header offset */
    padding-bottom: 40px;
  }

  .page-about__hero-content {
    margin-top: 60px;
    padding: 25px 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0; /* Remove border-radius on mobile for full width */
  }

  .page-about__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section,
  .page-about__about-us-intro .page-about__container,
  .page-about__why-choose-us .page-about__container,
  .page-about__responsible-gambling .page-about__container,
  .page-about__technology-innovation .page-about__container,
  .page-about__careers .page-about__container,
  .page-about__faq-section .page-about__container,
  .page-about__conclusion-cta .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-about__sub-heading {
    font-size: 1.4rem;
    margin-top: 30px;
  }

  .page-about__text {
    font-size: 0.9rem;
  }

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

  .page-about__image-content,
  .page-about__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    min-height: 200px; /* Ensure minimum size is maintained */
  }

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

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__feature-title {
    font-size: 1.3rem;
  }

  .page-about__feature-description {
    font-size: 0.85rem;
  }

  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-about__faq-toggle {
    font-size: 1.3rem;
  }

  .page-about__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-about__hero-content {
    margin-top: 40px;
  }
}