/* style/about.css */

:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0A2239;
  --border-color: #e0e0e0;
}

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

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

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

.page-about .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Hero Section About */
.page-about .hero-section-about {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5e 100%);
  padding: 100px 0;
  color: var(--text-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

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

.page-about .hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about .cta-button:hover {
  background: #ffc400;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about .cta-button.secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-about .cta-button.secondary:hover {
  background: #0d2a4a;
  color: #ffc400;
  border-color: #ffc400;
}

/* Mission & Vision Section */
.page-about .section-mission-vision, .page-about .section-responsible-gaming {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-about .content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about .content-wrapper.reverse {
  flex-direction: row-reverse;
}

.page-about .text-content {
  flex: 1;
}

.page-about .text-content p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.page-about .image-content {
  flex: 1;
  text-align: center;
}

.page-about .img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.page-about .section-why-choose-us {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-about .section-why-choose-us .section-title::after {
  background-color: var(--text-light);
}

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

.page-about .advantage-item {
  background-color: #1a3a5e;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about .advantage-item:hover {
  transform: translateY(-10px);
  background-color: #2a4c72;
}

.page-about .advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-about .advantage-item h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about .advantage-item p {
  font-size: 16px;
  color: #c0c0c0;
}

.page-about .cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-about .cta-bottom p {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--text-light);
}

/* Responsible Gaming Section */
.page-about .section-responsible-gaming {
  padding: 80px 0;
  background-color: var(--background-light);
}

/* FAQ Section */
.page-about .section-faqs {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-about .section-faqs .section-title::after {
  background-color: var(--text-light);
}

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

.page-about .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1a3a5e;
  color: var(--secondary-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-about .faq-question:hover {
  background: #2a4c72;
}

.page-about .faq-question h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.page-about .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-about .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

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

.page-about .faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Contact CTA Section */
.page-about .section-contact-cta {
  padding: 80px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-about .section-contact-cta .section-title {
  color: var(--primary-color);
}

.page-about .text-center {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #555;
}

.page-about .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about .hero-title {
    font-size: 40px;
  }

  .page-about .hero-subtitle {
    font-size: 18px;
  }

  .page-about .section-title {
    font-size: 30px;
  }

  .page-about .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about .content-wrapper.reverse {
    flex-direction: column;
  }

  .page-about .image-content {
    order: -1; /* Image first on mobile */
  }

  .page-about .advantage-item h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-about .hero-section-about {
    padding: 80px 0;
  }

  .page-about .hero-title {
    font-size: 32px;
  }

  .page-about .hero-subtitle {
    font-size: 16px;
  }

  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-about .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .page-about .advantages-grid {
    grid-template-columns: 1fr;
  }

  .page-about .advantage-icon {
    width: 80px;
    height: 80px;
  }

  .page-about .faq-question {
    padding: 15px 20px;
  }

  .page-about .faq-question h3 {
    font-size: 18px;
  }

  .page-about .faq-toggle {
    font-size: 24px;
  }

  .page-about .faq-answer {
    padding: 15px 20px;
  }

  .page-about .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about .hero-section-about {
    padding: 60px 0;
  }

  .page-about .hero-title {
    font-size: 28px;
  }

  .page-about .hero-subtitle {
    font-size: 15px;
  }

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

  .page-about .text-content p {
    font-size: 15px;
  }

  .page-about .advantage-item h3 {
    font-size: 20px;
  }

  .page-about .advantage-item p {
    font-size: 14px;
  }

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