/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-about__container--center {
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-about__description--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already handles header offset, small top padding */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__cta-buttons--center {
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons--bottom {
  margin-top: 50px;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter shade for contrast */
  border: 2px solid #2AD16F; /* Border */
}

.page-about__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

.page-about__btn-secondary--center {
  display: block;
  margin: 30px auto 0 auto;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
}

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

.page-about__value-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-about__value-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__value-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-about__value-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Security & Fair Play Section */
.page-about__security-fairplay-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-about__security-fairplay-section .page-about__section-title {
  color: #F2FFF6;
}

.page-about__security-fairplay-section .page-about__text-block {
  color: #A7D9B8;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
}

/* Game Variety Section */
.page-about__game-variety-section {
  padding: 80px 0;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

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

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer, /* For details/summary */
.page-about__faq-item.active .page-about__faq-answer { /* For div-based */
  max-height: 500px; /* Sufficient height for content */
  padding-top: 10px;
}

.page-about__faq-item[open] .page-about__faq-question .page-about__faq-toggle, /* For details/summary */
.page-about__faq-item.active .page-about__faq-question .page-about__faq-toggle { /* For div-based */
  content: '−';
  transform: rotate(0deg);
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-about__values-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 15px;
  }

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

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__btn-secondary--center {
    margin-top: 20px;
  }

  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__security-fairplay-section,
  .page-about__game-variety-section,
  .page-about__responsible-gambling-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-about__value-card {
    padding: 20px;
  }

  .page-about__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  /* Ensure all img tags are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers for images/videos/buttons are responsive */
  .page-about__hero-section,
  .page-about__hero-image-wrapper,
  .page-about__container,
  .page-about__values-grid,
  .page-about__value-card,
  .page-about__faq-list,
  .page-about__faq-item,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__hero-section { /* Small top padding for hero on mobile */
    padding-top: 10px !important;
  }
}