.page-about {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden; /* Ensure no overflow from image */
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  height: auto;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page-about__hero-title {
  font-size: clamp(2em, 5vw, 3.5em);
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 900px; /* Constrain title width for better readability */
}

.page-about__hero-description {
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-about__hero-button:hover {
  background-color: #e0a53b;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0 auto;
}

.page-about__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__mission-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

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

.page-about__mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-about__card-text {
  font-size: 1em;
  color: #555555;
}

.page-about__history-section {
  padding: 60px 0;
}

.page-about__history-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__values-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-about__values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-about__value-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-about__value-description {
  font-size: 0.95em;
  color: #666666;
}

.page-about__team-section {
  padding: 60px 0;
}

.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: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__cta-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

.page-about__cta-section .page-about__section-title::after {
  background-color: #FFFFFF;
}

.page-about__cta-section .page-about__text-content {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  border: none;
}

.page-about__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-about__cta-button--secondary {
  background-color: #FFFFFF;
  color: #000000;
}

.page-about__cta-button--secondary:hover {
  background-color: #f0f0f0;
}

.page-about__responsible-gaming-section,
.page-about__contact-section {
  padding: 60px 0;
}

.page-about__link {
  color: #FCBC45; /* Use a highlight color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-about__contact-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin: 10px;
}

.page-about__contact-button:hover {
  background-color: #333333;
}

.page-about__contact-button--secondary {
  background-color: #FCBC45;
  color: #000000;
}

.page-about__contact-button--secondary:hover {
  background-color: #e0a53b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }

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

  .page-about__mission-cards,
  .page-about__values-list,
  .page-about__team-gallery {
    grid-template-columns: 1fr;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

  /* Mobile content area images must be responsive and not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }

  .page-about__card-image,
  .page-about__history-image,
  .page-about__team-image {
    height: auto; /* Allow image height to adjust */
    min-height: 200px; /* Ensure minimum size */
  }

  .page-about__hero-button,
  .page-about__cta-button,
  .page-about__contact-button {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}

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

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

  .page-about__content-container {
    padding: 20px 15px;
  }

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

  .page-about__text-content {
    font-size: 0.95em;
  }
}