/* style/about.css */

/* Variables */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E0B14A;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

.page-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-about-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-about-section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

.page-about-hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-about-hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about-button:hover {
  background-color: #F0C66B;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about-button-hero {
  margin-top: 20px;
  padding: 18px 45px;
  font-size: 20px;
}

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

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

.page-about-card, .page-about-feature-item, .page-about-commitment-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-card:hover, .page-about-feature-item:hover, .page-about-commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about-card-icon, .page-about-feature-icon, .page-about-commitment-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about-card-title, .page-about-feature-title, .page-about-commitment-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-about-list li {
  background-color: #ffffff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 17px;
  line-height: 1.5;
}

.page-about-list li strong {
  color: var(--primary-color);
}

.page-about-licensing {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #666666;
}

.page-about-responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about-responsible-gaming-content img {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about-responsible-gaming-content div {
  flex: 2;
  min-width: 300px;
}

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

.page-about-team-member {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-about-team-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--secondary-color);
}

.page-about-team-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-about-team-role {
  font-size: 16px;
  color: #666666;
}

.page-about-faq-list {
  margin-top: 40px;
}

/* FAQ styles */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

.page-about-cta {
  background: linear-gradient(135deg, #1A3E8A, var(--primary-color));
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
  border-radius: 12px;
  margin-top: 40px;
}

.page-about-cta-content {
  max-width: 800px;
}

.page-about-cta .page-about-section-title {
  color: var(--text-light);
  font-size: 40px;
}

.page-about-cta p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-hero-title {
    font-size: 40px;
  }
  .page-about-section-title {
    font-size: 30px;
  }
  .page-about-sub-title {
    font-size: 22px;
  }
  .page-about-grid-2-cols, .page-about-grid-3-cols, .page-about-grid-features, .page-about-team-grid {
    grid-template-columns: 1fr;
  }
  .page-about-responsible-gaming-content {
    flex-direction: column;
  }
  .page-about-responsible-gaming-content img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about-hero-title {
    font-size: 32px;
  }
  .page-about-hero-description {
    font-size: 16px;
  }
  .page-about-button-hero {
    padding: 14px 30px;
    font-size: 17px;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-about-sub-title {
    font-size: 20px;
  }
  .page-about-card, .page-about-feature-item, .page-about-commitment-item, .page-about-team-member {
    padding: 20px;
  }
  .page-about-card-icon, .page-about-feature-icon, .page-about-commitment-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-about-cta .page-about-section-title {
    font-size: 32px;
  }
  .page-about-cta p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-about-hero-title {
    font-size: 28px;
  }
  .page-about-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-about-hero-image {
    margin: 20px auto;
  }
  .page-about-section-title {
    font-size: 24px;
  }
  .page-about-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-about-team-img {
    width: 150px;
    height: 150px;
  }
  .page-about-cta .page-about-section-title {
    font-size: 28px;
  }
}