.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Body background is white, so text is dark */
}

/* Hero Section */
.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 fixed header */
  background-color: var(--primary-color, #017439); /* Dark background for hero */
  color: #ffffff; /* White text for dark background */
}

.page-about__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.page-about__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Use specific yellow for titles on dark background for vibrancy */
}

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

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

.page-about__hero-image {
  width: 100%;
  max-width: 800px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.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: 40px;
  color: var(--primary-color, #017439);
}

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

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

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

.page-about__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333333;
}

.page-about__list-item--white {
  color: #ffffff;
}

/* Introduction Section */
.page-about__introduction-section {
  background-color: #ffffff;
  color: #333333;
}

/* Values Section */
.page-about__values-section {
  background-color: var(--primary-color, #017439);
  color: #ffffff;
  padding: 80px 0;
}

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

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

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

.page-about__value-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color, #017439);
}

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

/* Milestones Section */
.page-about__milestones-section {
  background-color: #f9f9f9;
  color: #333333;
  padding: 80px 0;
}

.page-about__timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color, #017439);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.page-about__timeline-item {
  padding: 10px 0;
  position: relative;
  width: 50%;
}

.page-about__timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 50px;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 50px;
  text-align: left;
}

.page-about__timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color, #017439);
  border: 4px solid #ffffff;
  top: 20px;
  right: -8px;
  z-index: 1;
}

.page-about__timeline-item:nth-child(even)::after {
  left: -8px;
}

.page-about__timeline-year {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color, #017439);
  margin-bottom: 10px;
}

.page-about__timeline-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #333333;
  margin-bottom: 5px;
}

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

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

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

.page-about__responsible-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* Contact Section */
.page-about__contact-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-about__contact-info {
  margin-top: 30px;
  text-align: center;
}

.page-about__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-about__contact-item a {
  color: var(--primary-color, #017439);
  text-decoration: none;
}

.page-about__contact-item a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #C30808; /* Specific color for register/login buttons */
  color: #FFFF00; /* Specific font color for register/login buttons */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background: darken(#C30808, 10%);
  border-color: darken(#C30808, 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: transparent;
  color: #ffffff; /* White text for dark section buttons */
  border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary--white-border {
  border-color: #ffffff;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__timeline-year {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding top */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__hero-title {
    font-size: 2.2em;
  }

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

  .page-about__hero-image img {
    border-radius: 8px;
  }

  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-about__value-card {
    padding: 25px;
  }

  .page-about__value-card img {
    
    
  }

  .page-about__timeline::before {
    left: 18px;
  }

  .page-about__timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
    text-align: left !important;
  }

  .page-about__timeline-item:nth-child(odd) {
    padding-right: 15px;
  }

  .page-about__timeline-item:nth-child(even) {
    left: 0;
  }

  .page-about__timeline-item::after,
  .page-about__timeline-item:nth-child(even)::after {
    left: 10px;
  }

  .page-about__milestones-image {
    margin-top: 40px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}