.page-about__hero-section {
  position: relative;
  padding: 120px 20px 80px;
  text-align: center;
  color: #ffffff;
  background-color: #017439; /* Main brand color for dark background */
  background-image: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:hero_bg:1920x1080:app_lo_de,betting,entertainment,abstract_lines]');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-about__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 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: #e01b1b;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-about__vision-mission-section,
.page-about__why-choose-us-section,
.page-about__responsibility-section,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for content sections */
  color: #333333; /* Dark text for light background */
}

.page-about__history-section,
.page-about__team-section,
.page-about__contact-cta-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background for contrast sections */
  color: #ffffff; /* Light text for dark background */
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

.page-about__dark-bg .page-about__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-about__light-bg .page-about__section-title {
  color: #017439; /* Brand green for titles on light background */
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.page-about__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

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

.page-about__card p {
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-about__history-content h3,
.page-about__team-description h3,
.page-about__responsibility-content h3 {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for sub-titles on dark background */
}

.page-about__history-content p,
.page-about__milestones-list li,
.page-about__team-description p,
.page-about__responsibility-content p,
.page-about__contact-intro,
.page-about__contact-info p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__light-bg p {
  color: #333333;
}

.page-about__milestones-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-about__milestones-list li {
  margin-bottom: 10px;
}

.page-about__image-full-width {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-about__feature-card {
  text-align: left;
}

.page-about__feature-card .page-about__card-title {
  text-align: center;
}

.page-about__image-centered {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-about__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-about__responsibility-content::after {
  content: "";
  display: table;
  clear: both;
}

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

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  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: #017439;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  color: #333333;
  background-color: #f9f9f9;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-about__contact-cta-section {
  text-align: center;
}

.page-about__contact-info {
  margin-top: 30px;
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-about__image-right {
    float: none;
    margin: 30px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 100px 15px 60px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__main-title {
    font-size: 2.2em;
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    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: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__vision-mission-section,
  .page-about__history-section,
  .page-about__why-choose-us-section,
  .page-about__team-section,
  .page-about__responsibility-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.5em;
  }
  .page-about__image-full-width,
  .page-about__image-centered,
  .page-about__image-right {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: cover !important;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  .page-about__history-content h3,
  .page-about__team-description h3,
  .page-about__responsibility-content h3 {
    font-size: 1.5em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__card-title {
    font-size: 1.3em;
  }
  .page-about__history-content h3,
  .page-about__team-description h3,
  .page-about__responsibility-content h3 {
    font-size: 1.3em;
  }
  .page-about__faq-question {
    font-size: 1em;
  }
}