.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0a0a0a; /* Dark background from shared.css */
}

.page-about__main-content {
  padding-top: var(--header-offset, 120px); /* Apply header offset here if shared.css doesn't apply to body */
}

.page-about__section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0a0a0a;
}

.page-about__section--mission,
.page-about__section--products,
.page-about__section--support {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
}

.page-about__section--values,
.page-about__section--security,
.page-about__section--responsible-gambling,
.page-about__section--cta .page-about__container {
  background-color: #121212; /* Darker sections */
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFD700; /* Gold brand color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #1E90FF; /* Auxiliary blue */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-about ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
  font-size: 16px;
}

.page-about ul li::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a;
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #1E90FF; /* Dark blue */
  border: 2px solid #1E90FF;
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background-color: #1E90FF;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(30, 144, 255, 0.3);
}

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

/* Hero Banner */
.page-about__hero-banner {
  position: relative;
  width: 100%;
  height: 400px; /* Fixed height for banner */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-about__intro-text {
  font-size: 20px;
  line-height: 1.5;
  color: #f0f0f0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Layout for content blocks */
.page-about__section--mission .page-about__container,
.page-about__section--products .page-about__container,
.page-about__section--support .page-about__container {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__section--mission .page-about__content-block,
.page-about__section--products .page-about__content-block,
.page-about__section--support .page-about__content-block {
  flex: 1;
}

.page-about__section--mission .page-about__image-block,
.page-about__section--products .page-about__image-block,
.page-about__section--support .page-about__image-block {
  flex: 1;
  text-align: center;
}

.page-about__section--mission .page-about__image-block img,
.page-about__section--products .page-about__image-block img,
.page-about__section--support .page-about__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  width: 600px; /* Specific width for display */
  height: 450px; /* Specific height for display */
  object-fit: cover;
}

.page-about__section--products .page-about__container {
  flex-direction: row-reverse; /* Image on left, text on right */
}

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

.page-about__value-card,
.page-about__info-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-about__value-card:hover,
.page-about__info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-about__value-card img,
.page-about__info-card img {
  
  
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #FFD700; /* Gold background for icons */
  padding: 10px;
  object-fit: contain;
}

.page-about__value-card h3,
.page-about__info-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-about__value-card p,
.page-about__info-card p {
  font-size: 16px;
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-about__section--faq {
  background-color: #1a1a1a;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #FFD700; /* Gold for question background */
  color: #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

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

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

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #1a1a1a;
  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: 32px;
  height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: #1a1a1a;
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

.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;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
  background-color: #2a2a2a;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section--mission .page-about__container,
  .page-about__section--products .page-about__container,
  .page-about__section--support .page-about__container {
    flex-direction: column;
    text-align: center;
  }

  .page-about__section--products .page-about__container {
    flex-direction: column; /* Reset to column for mobile */
  }

  .page-about__section--mission .page-about__image-block img,
  .page-about__section--products .page-about__image-block img,
  .page-about__section--support .page-about__image-block img {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin-top: 30px;
  }

  .page-about__hero-banner {
    height: 350px;
  }

  .page-about__main-title {
    font-size: 38px;
  }

  .page-about__intro-text {
    font-size: 18px;
  }
}

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

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

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

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

  .page-about__section-title::after {
    width: 60px;
  }

  .page-about p {
    font-size: 15px;
  }

  .page-about ul li {
    font-size: 15px;
  }

  .page-about__hero-banner {
    height: 300px;
    padding-top: var(--header-offset-mobile, 80px);
  }

  .page-about__main-title {
    font-size: 32px;
  }

  .page-about__intro-text {
    font-size: 16px;
  }

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

  .page-about__value-card,
  .page-about__info-card {
    padding: 25px;
  }

  .page-about__value-card h3,
  .page-about__info-card h3 {
    font-size: 20px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__faq-question h3 {
    font-size: 16px;
  }

  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive on mobile */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-block,
  .page-about__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section--mission .page-about__container,
  .page-about__section--products .page-about__container,
  .page-about__section--support .page-about__container {
    padding: 0;
  }
  
  .page-about__section--mission .page-about__content-block,
  .page-about__section--products .page-about__content-block,
  .page-about__section--support .page-about__content-block {
    padding: 0 15px;
  }

  .page-about__section--mission .page-about__image-block img,
  .page-about__section--products .page-about__image-block img,
  .page-about__section--support .page-about__image-block img {
    width: 100%;
    height: auto;
  }
  
  .page-about__hero-banner {
    padding-top: var(--header-offset, 80px) !important; /* Use mobile header offset */
  }
}