.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-about__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-about__image-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-about__image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  color: #333333;
}

.page-about__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  width: 100%;
}

.page-about__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-about__hero-image {
  margin-top: 40px;
  width: 100%;
}

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

/* CTA Button */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* For mobile */
  box-sizing: border-box; /* For mobile */
  white-space: normal; /* For mobile */
  word-wrap: break-word; /* For mobile */
}

.page-about__cta-button:hover {
  background: #1e87b6;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-about__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e87b6;
}

/* Story Section */
.page-about__story-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__story-section .page-about__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__story-section .page-about__text-content {
  flex: 1;
  min-width: 300px;
}

/* Values Section */
.page-about__values-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-about__value-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__value-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__value-list {
  list-style-type: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.page-about__value-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

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

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-about__feature-card {
  background: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__feature-heading {
  font-size: 22px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-about__responsible-gaming-section .page-about__section-title {
  color: #ffffff;
}

.page-about__responsible-gaming-section .page-about__paragraph {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Join Us Section */
.page-about__join-us-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-about__join-us-section .page-about__paragraph {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about__faq-question:active {
  background: #eeeeee;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

/* General Image Styling */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 40px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__value-heading {
    font-size: 20px;
  }
  .page-about__feature-heading {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 32px;
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .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;
    margin-left: auto;
    margin-right: auto;
  }
  .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-left: auto;
    margin-right: auto;
  }
  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-about__story-section .page-about__container {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image specific rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__responsible-gaming-section,
  .page-about__join-us-section,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}