.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #f8f8f8;
  color: #333333;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

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

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  font-size: 1.1em;
  color: #333333;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

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

.page-about__section-title--white::after {
  background-color: #ffffff;
}

.page-about__text-block {
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__text-block--white {
  color: #ffffff;
}

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

.page-about__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin-right: 15px;
}

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

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

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

.page-about__btn-text {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #017439;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__btn-text:hover {
  color: #005f2c;
  border-color: #005f2c;
}

/* Intro Section */
.page-about__intro-section {
  background-color: #ffffff;
}

/* History Section */
.page-about__history-section {
  background-color: #017439;
  padding: 80px 20px;
}

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

.page-about__history-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
}

.page-about__history-year {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-about__history-description {
  font-size: 1em;
  line-height: 1.6;
}

.page-about__history-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Values Section */
.page-about__values-section {
  background-color: #f8f8f8;
}

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

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

.page-about__value-card:hover {
  transform: translateY(-10px);
}

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

.page-about__value-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Why Choose Section */
.page-about__why-choose-section {
  background-color: #017439;
  padding: 80px 20px;
}

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
}

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

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

.page-about__why-choose-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Security Commitment Section */
.page-about__security-commitment-section {
  background-color: #ffffff;
}

.page-about__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-about__security-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-about__security-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: bold;
}

.page-about__security-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  background-color: #017439;
  padding: 80px 20px;
  text-align: center;
}

.page-about__responsible-gaming-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Support Section */
.page-about__support-section {
  background-color: #f8f8f8;
}

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

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

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

.page-about__contact-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-about__support-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* CTA Section */
.page-about__cta-section {
  background-color: #017439;
  padding: 80px 20px;
  text-align: center;
}

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

.page-about__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #ffffff;
}

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

.page-about__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

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

.page-about__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  margin-left: 15px;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #f8f8f8;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

/* For details tag, hide default marker */
.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-item summary {
  list-style: none;
}

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

@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__content-area {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__history-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__history-grid,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image and container adjustments */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__history-image,
  .page-about__why-choose-image,
  .page-about__security-image,
  .page-about__responsible-gaming-image,
  .page-about__support-image,
  .page-about__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
}