/* style/about-us.css */
:root {
  --primary-color: #1A73E8;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-medium: #e0e0e0;
  --border-color: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming this is a dark background from shared.css */
}

.page-about-us {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--dark-bg-1);
}

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

.page-about-us__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light); /* Default light text for dark sections */
}

.page-about-us__intro-section {
  padding: 120px 0 60px; /* Adjusted for fixed header */
  background: var(--dark-bg-1);
  color: var(--text-light);
}

.page-about-us__main-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-about-us__intro-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-about-us__intro-image {
  text-align: center;
  margin-top: 40px;
}

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

.page-about-us__mission-vision-section {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-about-us__mission-vision-section .page-about-us__section-title {
  color: var(--text-dark);
}

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

.page-about-us__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about-us__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about-us__card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-about-us__image-centered {
  text-align: center;
  margin-top: 60px;
}

.page-about-us__journey-section {
  padding: 80px 0;
  background: var(--dark-bg-1);
  color: var(--text-light);
}

.page-about-us__timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 20px 0;
}

.page-about-us__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.page-about-us__timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 50%;
  padding: 10px 40px;
  box-sizing: border-box;
}

.page-about-us__timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.page-about-us__timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.page-about-us__timeline-item::before {
  content: '';
  position: absolute;
  top: 15px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 3px solid var(--primary-color);
  z-index: 1;
}

.page-about-us__timeline-item:nth-child(odd)::before {
  right: -8px;
}

.page-about-us__timeline-item:nth-child(even)::before {
  left: -8px;
}

.page-about-us__timeline-year {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-about-us__timeline-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-about-us__image-journey {
  text-align: center;
  margin-top: 60px;
}

.page-about-us__why-choose-us-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-about-us__why-choose-us-section .page-about-us__section-title {
  color: var(--secondary-color);
}

.page-about-us__text-light {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about-us__feature-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about-us__feature-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.page-about-us__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about-us__feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.page-about-us__link-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-about-us__link-more:hover {
  color: #fff;
  text-decoration: underline;
}

.page-about-us__image-why-choose-us {
  text-align: center;
  margin-top: 60px;
}

.page-about-us__team-section {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-about-us__team-section .page-about-us__section-title {
  color: var(--text-dark);
}

.page-about-us__team-section p {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--text-dark);
}

.page-about-us__team-image {
  text-align: center;
  margin-top: 40px;
}

.page-about-us__responsible-gaming-section {
  padding: 80px 0;
  background: var(--dark-bg-1);
  color: var(--text-light);
}

.page-about-us__responsible-gaming-section p {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

.page-about-us__responsible-gaming-image {
  text-align: center;
  margin-top: 40px;
}

.page-about-us__faq-section {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-about-us__faq-section .page-about-us__section-title {
  color: var(--text-dark);
}

.page-about-us__faq-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-about-us__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-about-us__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 15px;
  opacity: 0;
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about-us__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about-us__faq-question:active {
  background: #eeeeee;
}

.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-about-us__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-about-us__faq-answer p {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
}

.page-about-us__faq-answer .page-about-us__cta-button {
  margin-top: 15px;
}

.page-about-us__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #004d99);
  color: var(--text-light);
  text-align: center;
}

.page-about-us__cta-section .page-about-us__section-title {
  color: var(--secondary-color);
}

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

.page-about-us__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about-us__btn-primary {
  background: var(--secondary-color);
  color: var(--text-dark);
  border: 2px solid var(--secondary-color);
}

.page-about-us__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about-us__btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-about-us__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about-us__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__section-title {
    font-size: 32px;
  }
  .page-about-us__main-title {
    font-size: 40px;
  }
  .page-about-us__timeline::before {
    left: 20px;
  }
  .page-about-us__timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left;
  }
  .page-about-us__timeline-item:nth-child(odd) {
    left: 0;
    text-align: left;
  }
  .page-about-us__timeline-item:nth-child(even) {
    left: 0;
  }
  .page-about-us__timeline-item::before {
    left: 12px;
  }
  .page-about-us__timeline-item:nth-child(odd)::before {
    right: auto;
  }
}

@media (max-width: 768px) {
  .page-about-us__intro-section {
    padding: 100px 0 40px; /* Mobile adjusted padding for fixed header */
  }
  .page-about-us__main-title {
    font-size: 32px;
  }
  .page-about-us__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about-us__intro-text, .page-about-us__text-light {
    font-size: 16px;
  }
  .page-about-us__card-grid, .page-about-us__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about-us__card, .page-about-us__feature-card {
    padding: 20px;
  }
  .page-about-us__card-title, .page-about-us__feature-title {
    font-size: 20px;
  }
  .page-about-us__timeline-year {
    font-size: 20px;
  }
  .page-about-us__timeline-item p {
    font-size: 15px;
  }
  .page-about-us__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-about-us__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-about-us__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-about-us__faq-answer {
    padding: 0 15px;
  }
  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 15px !important;
  }
  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about-us__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-about-us__image-responsive,
  .page-about-us__intro-image img,
  .page-about-us__image-centered img,
  .page-about-us__image-journey img,
  .page-about-us__image-why-choose-us img,
  .page-about-us__team-image img,
  .page-about-us__responsible-gaming-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-about-us__container,
  .page-about-us__intro-section,
  .page-about-us__mission-vision-section,
  .page-about-us__journey-section,
  .page-about-us__why-choose-us-section,
  .page-about-us__team-section,
  .page-about-us__responsible-gaming-section,
  .page-about-us__faq-section,
  .page-about-us__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}