/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  background-color: #1a1a2e; /* Match body background for consistency */
}

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

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

.page-about__main-title {
  font-size: clamp(32px, 5vw, 54px); /* Using clamp for H1 */
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-about__intro-text {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Vision & Mission Section */
.page-about__vision-mission-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-about__grid-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__grid-title {
  font-size: 28px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-about__grid-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

/* Core Values Section */
.page-about__core-values-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-about__value-card {
  background-color: rgba(38, 169, 224, 0.15); /* Semi-transparent brand color */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-about__card-title {
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-about__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-about__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #f0f0f0;
  border-left: 4px solid #26A9E0;
}

.page-about__list-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 15px 20px 20px 20px;
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.03);
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a2e;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Dark background section for contrast */
.page-about__dark-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

/* --- Responsive Styles --- */

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

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

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

  .page-about__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-about__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__cta-buttons a {
    max-width: 100%;
    width: 100%;
  }

  .page-about__grid,
  .page-about__values-grid,
  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__grid-item,
  .page-about__value-card,
  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__grid-title {
    font-size: 24px;
  }

  .page-about__list-item {
    font-size: 16px;
    padding: 15px;
  }

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

  .page-about__faq-answer {
    padding: 10px 15px 15px 15px;
    font-size: 15px;
  }

  /* Image responsive override */
  .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__hero-section,
  .page-about__vision-mission-section,
  .page-about__core-values-section,
  .page-about__why-choose-us-section,
  .page-about__responsible-gaming-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__hero-section { padding-left: 0; padding-right: 0; }

  .page-about__video-section {
    padding-top: 10px !important;
  }
}