/* style/about.css */

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

/* Sections */
.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__dark-bg {
  background-color: #08160F; /* Custom Background color */
  color: #F2FFF6; /* Text Main color */
}

.page-about__light-bg {
  background-color: #f8f9fa; /* Body background */
  color: #333333; /* Dark text */
}

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

.page-about__heading {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section for contrast */
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
  font-weight: 600;
}

.page-about__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: inherit;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 1.1em;
  color: inherit;
}

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

.page-about__list li::before {
  content: '✓';
  color: #2AD16F; /* Button color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  min-height: 500px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px; /* Limit height for hero image */
}

.page-about__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  text-align: center;
  color: #F2FFF6; /* Text Main color */
  background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent dark background */
  margin-top: -100px; /* Overlap slightly with image */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary color */
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button color */
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Using a vibrant green from the gradient */
  border: 2px solid #2AD16F;
}

.page-about__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Dark background color */
  transform: translateY(-2px);
}

/* Mission and Vision Section */
.page-about__mission-vision .page-about__container {
  text-align: left;
}

.page-about__mission-vision .page-about__heading {
  text-align: center;
  color: #11A84E; /* Main color */
}

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

.page-about__grid-item {
  text-align: left;
}

.page-about__grid-item img {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  display: block;
}

/* Why Choose Us Section */
.page-about__why-choose-us .page-about__heading {
  color: #F2FFF6; /* Text Main color */
}

.page-about__why-choose-us .page-about__paragraph {
  color: #A7D9B8; /* Text Secondary color */
}

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

.page-about__feature-card {
  background-color: #11271B; /* Custom Card BG */
  color: #F2FFF6; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #57E38D; /* Glow color */
}

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

.page-about__card-image {
  margin-top: 20px;
  border-radius: 8px;
  width: 100%;
  height: auto;
  display: block;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming .page-about__heading {
  color: #11A84E;
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-about__text-block {
  flex: 2;
  min-width: 300px;
}

.page-about__image-block {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Vision and Future Section */
.page-about__vision-future .page-about__heading {
  color: #F2FFF6;
}

.page-about__vision-future .page-about__paragraph {
  color: #A7D9B8;
}

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

.page-about__future-card {
  background-color: #11271B; /* Custom Card BG */
  color: #F2FFF6; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__future-card .page-about__sub-heading {
  color: #57E38D; /* Glow color */
}

.page-about__future-card .page-about__paragraph {
  color: #A7D9B8; /* Text Secondary */
}

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

/* FAQ Section */
.page-about__faq-section .page-about__heading {
  color: #11A84E;
}

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

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

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

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #e0e0e0;
  border-bottom: none;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #11A84E;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: #555555;
  background-color: #ffffff;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: -60px;
  }
  .page-about__heading {
    font-size: 2.2em;
  }
  .page-about__sub-heading {
    font-size: 1.6em;
  }
  .page-about__paragraph {
    font-size: 1em;
  }
  .page-about__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__hero-content {
    padding: 30px 15px;
    margin-top: -40px;
    border-radius: 0;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__intro-text {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-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__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__future-grid,
  .page-about__content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__list {
    font-size: 1em;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image and video responsive adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }
  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-about__heading {
    font-size: 1.8em;
  }
  .page-about__sub-heading {
    font-size: 1.4em;
  }
  .page-about__hero-content {
    margin-top: -20px;
  }
}