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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 120px 20px 80px; /* Adjust padding-top to accommodate header, if shared.css doesn't do it on body */
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-about__hero-section.page-about__dark-section {
  background-color: #017439; /* Primary brand color */
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom Register/Login button color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
  font-weight: bold;
}

.page-about__dark-section .page-about__section-title {
  color: #FFFF00;
}

.page-about__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-about__dark-section .page-about__description {
  color: #f0f0f0;
}

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

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

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

.page-about__grid-item p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

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

.page-about__image--full-width {
  width: 100%;
  margin-top: 40px;
}

/* Mission & Vision Section */
.page-about__grid--two-col {
  grid-template-columns: 1fr 1fr;
}

.page-about__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: #333333;
  text-align: left;
}

.page-about__card--transparent {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-about__card--transparent .page-about__card-title {
  color: #FFFF00;
}

.page-about__card p {
  font-size: 1.05em;
  margin-bottom: 10px;
}

/* Core Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-item {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__value-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #e0e0e0;
  padding: 15px;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-about__value-item p {
  font-size: 1em;
  color: #555555;
}

/* Security Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__feature-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-about__feature-card p {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__responsible-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__responsible-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-about__responsible-item p {
  font-size: 0.95em;
  color: #555555;
}

/* Why Choose Us Section */
.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__advantage-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__advantage-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-about__advantage-item p {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  border-bottom: 1px solid #d0e0d0;
  user-select: none;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eee;
  background-color: #ffffff;
}

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

.page-about__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Details element specific styles for native toggle */
details.page-about__faq-item > summary {
  list-style: none;
}
details.page-about__faq-item > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

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

  .page-about__grid,
  .page-about__grid--two-col,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__responsible-gaming-grid,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
  }

  .page-about__grid-item:nth-child(2) {
    order: -1;
  }

  .page-about__image--full-width {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: var(--header-offset, 120px) 15px 60px;
    min-height: 350px;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__container {
    padding: 15px;
  }

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

  .page-about__description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-about__light-bg, .page-about__dark-bg {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure containers with images/videos/buttons are responsive */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__grid-item,
  .page-about__value-item,
  .page-about__feature-card,
  .page-about__responsible-item,
  .page-about__advantage-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific mobile styles */
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-about__value-item img {
    
    
  }
}