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

.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: 10px; /* Small top padding, header offset handled by body */
  background-color: #f0f8ff; /* Light blue background for hero */
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  color: #26A9E0;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
}

.page-about__intro-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background: #EA7C07;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__section {
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

.page-about__content-area {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.page-about__content-area p {
  font-size: 1.05em;
  color: #333333;
  text-align: justify;
  max-width: 900px;
}

.page-about__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin: 20px 0;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-about__image-left {
  margin-right: auto;
}

.page-about__image-right {
  margin-left: auto;
}

.page-about__mission-vision .page-about__content-area {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-about__why-choose-us .page-about__section-title {
  color: #ffffff;
}

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

.page-about__grid-item.page-about__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 200px; /* Ensure card has some height */
}

.page-about__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-about__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  background: #d46a00;
}

.page-about__values .page-about__content-area {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-about__value-list li {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
  text-align: justify;
}

.page-about__value-list li strong {
  color: #26A9E0;
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
}

.page-about__security-fairness {
  background-color: #f9f9f9;
}

.page-about__security-fairness .page-about__content-area {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.page-about__security-fairness .page-about__image-content {
  flex: 0 0 400px;
  max-width: 400px;
  margin-right: 40px;
  margin-bottom: 0;
}

.page-about__security-fairness .page-about__content-area p {
  flex: 1;
  min-width: 300px;
  text-align: justify;
}

.page-about__responsible-gaming .page-about__content-area {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
  color: #333333;
}

.page-about__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-about__list li strong {
  color: #26A9E0;
}

.page-about__customer-support {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__customer-support .page-about__content-area {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.page-about__customer-support .page-about__content-area p {
  color: #ffffff;
  flex: 1;
  min-width: 300px;
  text-align: justify;
}

.page-about__customer-support .page-about__image-content {
  flex: 0 0 400px;
  max-width: 400px;
  margin-left: 40px;
  margin-bottom: 0;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  color: #ffffff;
}

.page-about__contact-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  position: relative;
  padding-left: 25px;
}

.page-about__contact-list li::before {
  content: '✓';
  color: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure contrast */
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Ensure contrast */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-about__intro-description {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-about__content-area p {
    font-size: 0.95em;
  }

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

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

  .page-about__card-title {
    font-size: 1.2em;
  }

  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px 0;
  }

  .page-about__security-fairness .page-about__content-area,
  .page-about__customer-support .page-about__content-area {
    flex-direction: column;
    align-items: center;
  }

  .page-about__security-fairness .page-about__image-content,
  .page-about__customer-support .page-about__image-content {
    margin-right: 0;
    margin-left: 0;
    max-width: 100%;
    flex: none;
  }

  .page-about__list,
  .page-about__contact-list {
    padding-left: 20px;
  }

  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 15px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }

  .page-about__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

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