/* style/about.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #002244;
  --accent-color-hover: #e6c200;
}

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

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

/* Hero Section */
.page-about-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.page-about-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  display: block; /* Ensure image behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-about-hero-content {
  padding: 0 15px;
}

.page-about-main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  line-height: 1.2;
}

.page-about-lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-about-cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about-cta-button:hover {
  background: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-about-section {
  padding: 80px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-about-section:last-of-type {
  border-bottom: none;
}

.page-about-mission-vision {
  background-color: var(--bg-light);
}

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

.page-about-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--text-dark);
}

.page-about-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.page-about-content-block p {
  font-size: 1.05em;
  max-width: 800px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-about-image-content {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Values Section */
.page-about-values {
  background-color: #ffffff;
}

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

.page-about-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about-card p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Ecosystem Section */
.page-about-ecosystem {
  background-color: var(--bg-light);
}

.page-about-grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-about-feature-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about-feature-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-about-feature-item p {
  font-size: 1.05em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about-link:hover {
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Security Section */
.page-about-security {
  background-color: #ffffff;
}

.page-about-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-about-list li {
  background: #f0f8ff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--text-dark);
  line-height: 1.8;
}

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

.page-about-button-secondary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-about-button-secondary:hover {
  background: var(--bg-dark);
}

/* Customer Service Section */
.page-about-customer-service {
  background-color: var(--bg-light);
}

.page-about-contact-info {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-about-contact-info p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-about-contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.page-about-contact-info ul li {
  font-size: 1.05em;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-about-contact-info ul li strong {
  color: var(--primary-color);
}

/* Responsible Gaming Section */
.page-about-responsible-gaming {
  background-color: #ffffff;
}

/* Why Choose Us Section */
.page-about-why-choose-us {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-color));
  color: var(--text-light);
}

.page-about-why-choose-us .page-about-heading {
  color: var(--secondary-color);
}

.page-about-why-choose-us .page-about-description {
  color: #e0e0e0;
}

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

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

.page-about-feature-card-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-feature-card p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about-call-to-action {
  font-size: 1.3em;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  color: var(--secondary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-about-faq {
  background-color: var(--bg-light);
}

.page-about-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  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: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-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;
  background: #f9f9f9;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-hero-image {
    max-width: 700px;
  }
  .page-about-main-title {
    font-size: 2.4em;
  }
  .page-about-heading {
    font-size: 2em;
  }
  .page-about-grid-3-col, .page-about-grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about-hero {
    padding: 40px 0;
  }
  .page-about-main-title {
    font-size: 2em;
  }
  .page-about-lead-text {
    font-size: 1em;
  }
  .page-about-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about-section {
    padding: 50px 0;
  }
  .page-about-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-about-content-block {
    gap: 20px;
  }
  .page-about-list li {
    padding: 15px;
    font-size: 0.95em;
  }
  .page-about-contact-info {
    padding: 20px;
  }
  .page-about-contact-info p, .page-about-contact-info ul li {
    font-size: 0.95em;
  }
  .faq-question h3 {
    font-size: 1.05em;
  }
  .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-about-hero-image {
    border-radius: 8px;
  }
  .page-about-main-title {
    font-size: 1.6em;
  }
  .page-about-heading {
    font-size: 1.5em;
  }
  .page-about-card, .page-about-feature-item, .page-about-feature-card {
    padding: 20px;
  }
  .page-about-card-title, .page-about-feature-title, .page-about-feature-card-title {
    font-size: 1.2em;
  }
  .page-about-call-to-action {
    font-size: 1.1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 15px 20px;
  }
}