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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #f8f8f8;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-about__section {
  padding: 60px 0;
}

.page-about__introduction-section {
  background-color: #ffffff;
}

.page-about__mission-vision-section {
  background-color: #26A9E0; /* Primary brand color background */
  color: #ffffff; /* White text for contrast */
}

.page-about__mission-vision-section .page-about__title,
.page-about__mission-vision-section .page-about__card-title,
.page-about__mission-vision-section .page-about__card-description,
.page-about__mission-vision-section .page-about__list li {
  color: #ffffff;
}

.page-about__responsible-gaming-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__responsible-gaming-section .page-about__title,
.page-about__responsible-gaming-section .page-about__paragraph {
  color: #ffffff;
}

.page-about__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-about__cta-section .page-about__title,
.page-about__cta-section .page-about__paragraph {
  color: #ffffff;
}

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

.page-about__title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__introduction-section .page-about__title {
  color: #26A9E0;
}

.page-about__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__paragraph a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-about__paragraph a:hover {
  text-decoration: none;
}

.page-about__text-highlight {
  font-weight: bold;
  color: #EA7C07; /* Login color for highlight */
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on blue background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__card-description {
  font-size: 1em;
  color: #ffffff;
  flex-grow: 1;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
}

.page-about__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #ffffff;
}

.page-about__list li::before {
  content: '✔';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__why-choose-us-section {
  background-color: #ffffff;
}

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

.page-about__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  display: block;
}

.page-about__feature-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  text-align: justify;
}

.page-about__image-full-width {
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-section {
  background-color: #f8f8f8;
}

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

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

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-about__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-about__faq-answer .page-about__paragraph:last-child {
  margin-bottom: 0;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Primary brand color for secondary action */
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b7;
}

.page-about__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: calc(100% - 30px) !important; /* Account for padding */
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    gap: 15px;
  }

  .page-about__section {
    padding: 40px 0;
  }

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

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

  .page-about__cards-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__feature-item {
    padding: 25px;
  }

  .page-about__card-title,
  .page-about__feature-title {
    font-size: 1.4em;
  }

  .page-about__faq-list {
    margin-top: 30px;
  }

  .page-about__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
  }

  /* Image and Video Mobile Adaptations */
  .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,
  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-about__hero-image,
  .page-about__card-image,
  .page-about__feature-icon,
  .page-about__image-full-width {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-about__video-section {
    padding-top: 10px !important; /* body has padding-top, this is for visual spacing */
  }
}