/* style/about.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dodger Blue */
  --dark-bg: #1a1a1a; /* Dark background for contrast */
  --light-text: #ffffff;
  --dark-text: #333333;
  --medium-grey: #f0f0f0;
  --border-color: #333333;
}

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

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

.page-about section {
  padding: 60px 0;
  text-align: center;
}

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

.page-about .section-title {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about .section-text {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  overflow: hidden;
}

.page-about .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.page-about .hero-title {
  font-size: 4em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-about .hero-description {
  font-size: 1.5em;
  color: var(--light-text);
  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(--light-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--secondary-color);
}

.page-about .cta-button:hover {
  background: var(--primary-color);
  color: var(--dark-text);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
}

/* Intro Section */
.page-about .section-intro {
  background-color: var(--dark-bg);
}

.page-about .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.page-about .intro-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-about .intro-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about .item-description {
  font-size: 1em;
  color: #b0b0b0;
}

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

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

.page-about .value-item {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

/* Services Section */
.page-about .section-services {
  background-color: var(--dark-bg);
}

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

.page-about .service-item {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about .service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about .service-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Commitment Section */
.page-about .section-commitment {
  background-color: #222222;
}

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

.page-about .commitment-item {
  background-color: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

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

.page-about .cta-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.page-about .cta-text {
  font-size: 1.3em;
  color: var(--light-text);
  margin-bottom: 25px;
}

/* Why Choose Section */
.page-about .section-why-choose {
  background-color: var(--dark-bg);
}

.page-about .why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about .why-item {
  background-color: #2a2a2a;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-about .why-item strong {
  color: var(--primary-color);
}

.page-about .cta-middle {
  margin-top: 40px;
}

/* Responsible Gambling Section */
.page-about .section-responsible-gambling {
  background-color: #222222;
}

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

.page-about .responsible-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about .responsible-text-block {
  flex: 1 1 400px;
  text-align: left;
}

.page-about .text-paragraph {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 15px;
}

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

.page-about .faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  background-color: #2a2a2a;
}

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

.faq-question:hover {
  background: #3a3a3a;
}

.page-about .faq-question-title {
  font-size: 1.2em;
  color: var(--light-text);
  margin: 0;
  padding-right: 15px;
}

.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);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #333333;
  color: #cccccc;
  font-size: 1em;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
}

/* Contact CTA Section */
.page-about .section-contact-cta {
  background-color: #222222;
}

.page-about .contact-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: #cccccc;
}

.page-about .contact-info p {
  margin-bottom: 10px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about .hero-title {
    font-size: 3.5em;
  }
  .page-about .hero-description {
    font-size: 1.3em;
  }
  .page-about .section-title {
    font-size: 2.5em;
  }
  .page-about .intro-grid, .page-about .values-grid, .page-about .services-grid, .page-about .commitment-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about .hero-section {
    padding: 80px 15px;
  }
  .page-about .hero-title {
    font-size: 2.5em;
  }
  .page-about .hero-description {
    font-size: 1.1em;
  }
  .page-about .section-title {
    font-size: 2em;
  }
  .page-about .section-text {
    font-size: 1em;
  }
  .page-about .intro-grid {
    grid-template-columns: 1fr;
  }
  .page-about .intro-item, .page-about .value-item, .page-about .service-item, .page-about .commitment-item {
    padding: 20px;
  }
  .page-about .responsible-content {
    flex-direction: column;
  }
  .page-about .responsible-image {
    max-width: 100%;
  }
  .page-about .faq-question {
    padding: 15px 20px;
  }
  .page-about .faq-answer {
    padding: 15px 20px;
  }
  .page-about .faq-question-title {
    font-size: 1.1em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about .why-item {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-about .hero-title {
    font-size: 2em;
  }
  .page-about .hero-description {
    font-size: 0.95em;
  }
  .page-about .section-title {
    font-size: 1.8em;
  }
  .page-about .section-text {
    font-size: 0.9em;
  }
  .page-about .intro-item, .page-about .value-item, .page-about .service-item, .page-about .commitment-item {
    padding: 15px;
  }
  .page-about .item-title {
    font-size: 1.5em;
  }
  .page-about .intro-image, .page-about .service-image {
    height: 180px;
  }
  .page-about .faq-question-title {
    font-size: 1em;
  }
  .page-about .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
}