.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

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

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

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

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

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #333333;
  line-height: 1.6;
}

.page-about__introduction-section {
  padding: 60px 0;
  color: #333333;
}

.page-about__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__intro-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-about__intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__mission-vision {
  padding: 80px 0;
  color: #ffffff;
  background-color: #017439;
}

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

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

.page-about__mv-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__mv-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__mv-card p {
  line-height: 1.7;
  font-size: 1.05em;
}

.page-about__why-choose-us {
  padding: 80px 0;
  color: #333333;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-about__feature-item p {
  line-height: 1.6;
  color: #555555;
}

.page-about__responsible-gambling {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-about__rg-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-about__rg-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-about__team-section {
  padding: 80px 0;
  color: #333333;
}

.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__team-member {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__team-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #017439;
}

.page-about__team-name {
  font-size: 1.8em;
  margin-bottom: 5px;
  color: #017439;
}

.page-about__team-role {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-about__team-bio {
  line-height: 1.6;
  color: #777777;
}

.page-about__faq-section {
  padding: 80px 0;
  color: #333333;
}

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

.page-about__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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;
  background-color: #ffffff;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 20px 25px;
}

.page-about__faq-answer p {
  line-height: 1.7;
  color: #555555;
}

.page-about__cta-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

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

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

/* Common button styles */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__intro-grid,
  .page-about__mv-grid {
    grid-template-columns: 1fr;
  }
  .page-about__intro-image {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 500px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-description,
  .page-about__intro-text p,
  .page-about__mv-card p,
  .page-about__feature-item p,
  .page-about__rg-content p,
  .page-about__team-bio,
  .page-about__faq-answer p {
    font-size: 0.95em;
  }
  .page-about__features-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 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__intro-image,
  .page-about__feature-item,
  .page-about__team-member {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  /* Ensure no horizontal scroll */
  .page-about {
    overflow-x: hidden;
  }
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-section {
    height: 400px;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__team-name {
    font-size: 1.5em;
  }
}