.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__dark-section {
  background-color: #0A192F;
  color: #ffffff;
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('[GALLERY:hero_about:1920x1080:f88bet trang chủ,about us,online gambling,platform,professional,dynamic]');
  background-size: cover;
  background-position: center;
  padding-bottom: 80px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #FFD700;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title--center {
  text-align: center;
}

.page-about__section-title--center::after {
  left: 50%;
  transform: translateX(-50%);
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-about__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: #555;
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-about__text {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-about__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-about__list-item {
  margin-bottom: 8px;
  font-size: 1em;
}

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

.page-about__grid-container--reverse .page-about__content-block {
  order: 2;
}

.page-about__grid-container--reverse .page-about__image-wrapper {
  order: 1;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px 10px 10px 0;
  cursor: pointer;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

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

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

.page-about__card {
  background-color: #0A192F;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 0 15px 10px 15px;
}

.page-about__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-about__card-link {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}

.page-about__card-link:hover {
  background-color: #e6c200;
}

.page-about__video-section {
  text-align: center;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-about__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__faq-list {
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

.page-about__faq-item {
  border-bottom: 1px solid #ddd;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #0A192F;
  transition: color 0.3s ease;
}

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

.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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  color: #555;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__sub-title {
    font-size: 1.6em;
  }
  .page-about__grid-container {
    grid-template-columns: 1fr;
  }
  .page-about__grid-container--reverse .page-about__content-block {
    order: unset;
  }
  .page-about__grid-container--reverse .page-about__image-wrapper {
    order: unset;
  }
  .page-about__content-block--right {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: var(--header-offset, 120px) 0 60px 0 !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__sub-title {
    font-size: 1.4em;
  }
  .page-about__text, .page-about__list-item {
    font-size: 0.95em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
    text-align: center;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }
  .page-about__card-image {
    height: auto; /* Allow height to adjust for smaller screens */
  }
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }
  .page-about video, .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__faq-question {
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 10px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px;
  }
  .page-about__dark-section,
  .page-about__light-bg {
    padding: 40px 0;
  }
}