/* style/index-about-wi88.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-index-about-wi88__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue for depth */
  color: var(--text-light);
  border-bottom: 5px solid var(--secondary-color);
}

.page-index-about-wi88__hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-about-wi88__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}

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

.page-index-about-wi88__cta-button:hover {
  background: #e0a800; /* Slightly darker secondary for hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-about-wi88__hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 900px;
}

.page-index-about-wi88__hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* General Section Styling */
.page-index-about-wi88__section {
  padding: 80px 0;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.page-index-about-wi88__section:nth-of-type(even) {
  background-color: #f0f2f5;
}

.page-index-about-wi88__section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-index-about-wi88__section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Vision & Mission */
.page-index-about-wi88__vision-mission h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  text-align: center;
  margin-top: 50px;
  margin-bottom: 25px;
}

.page-index-about-wi88__core-values ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-index-about-wi88__core-values li {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  flex: 1 1 calc(50% - 20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-about-wi88__core-values li strong {
  color: var(--primary-color);
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-index-about-wi88__core-values li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-about-wi88__core-values li a:hover {
  text-decoration: underline;
}

/* Why Choose Section */
.page-index-about-wi88__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-about-wi88__feature-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

.page-index-about-wi88__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-about-wi88__feature-item img {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-about-wi88__feature-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-about-wi88__feature-item h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-about-wi88__feature-item h3 a:hover {
  text-decoration: underline;
}

.page-index-about-wi88__feature-item p {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

.page-index-about-wi88__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed var(--border-color);
}

.page-index-about-wi88__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--text-dark);
}

/* Responsible Gaming */
.page-index-about-wi88__responsible-gaming p {
  text-align: left;
}

.page-index-about-wi88__responsible-gaming img {
  display: block;
  margin: 30px auto;
  max-width: 800px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-index-about-wi88__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
}

.page-index-about-wi88__text-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* FAQ Section */
.page-index-about-wi88__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-about-wi88 .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-index-about-wi88 .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

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

.page-index-about-wi88 .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-index-about-wi88 .faq-item.active .faq-toggle {
  transform: rotate(45deg); /* Change to minus sign visually */
  color: var(--primary-color);
}

.page-index-about-wi88 .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfdff;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-index-about-wi88 .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px dashed var(--border-color);
}

.page-index-about-wi88 .faq-answer p {
  text-align: left;
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

/* Contact Section */
.page-index-about-wi88__contact-info {
  margin-top: 30px;
  text-align: center;
}

.page-index-about-wi88__contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-index-about-wi88__contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-about-wi88__contact-info a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-about-wi88__hero-content h1 {
    font-size: 2.2em;
  }
  .page-index-about-wi88__section h2 {
    font-size: 1.8em;
  }
  .page-index-about-wi88__core-values li {
    flex: 1 1 calc(100% - 20px);
  }
}

@media (max-width: 768px) {
  .page-index-about-wi88__hero-section {
    padding: 40px 15px;
  }
  .page-index-about-wi88__hero-content h1 {
    font-size: 1.8em;
  }
  .page-index-about-wi88__hero-content p {
    font-size: 1em;
  }
  .page-index-about-wi88__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-about-wi88__section {
    padding: 50px 0;
  }
  .page-index-about-wi88__section h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-index-about-wi88__section p {
    font-size: 0.95em;
  }
  .page-index-about-wi88__feature-item {
    padding: 25px;
  }
  .page-index-about-wi88__feature-item img {
    width: 100px;
    height: 100px;
  }
  .page-index-about-wi88 .faq-question {
    padding: 15px 20px;
  }
  .page-index-about-wi88 .faq-question h3 {
    font-size: 1em;
  }
  .page-index-about-wi88 .faq-answer {
    padding: 15px 20px;
  }
  .page-index-about-wi88__contact-info p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-about-wi88__hero-content h1 {
    font-size: 1.5em;
  }
  .page-index-about-wi88__core-values li {
    padding: 20px;
  }
  .page-index-about-wi88__feature-item {
    padding: 20px;
  }
  .page-index-about-wi88__feature-item img {
    width: 80px;
    height: 80px;
  }
  .page-index-about-wi88 .faq-question h3 {
    font-size: 0.95em;
  }
}