/* style/about-us.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-light: #FFFFFF;
  --text-dark: #0A1931;
  --bg-light: #F8F8F8;
  --bg-dark: #1A2A40;
  --border-color: #e0e0e0;
}

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

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

.page-about-us .hero-banner {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-about-us .hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about-us .cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

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

.page-about-us .section-heading {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-about-us .section-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-about-us .sub-heading {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about-us .section-intro, .page-about-us .section-mission-vision, .page-about-us .section-products, .page-about-us .section-security, .page-about-us .section-support, .page-about-us .section-responsible-gambling, .page-about-us .section-faq {
  padding: 80px 0;
}

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

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

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

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

.page-about-us .responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-about-us .responsive-image:hover {
  transform: scale(1.02);
}

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

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

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

.page-about-us .card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.page-about-us .values-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 50px;
  border-radius: 10px;
  margin-top: 60px;
  text-align: center;
}

.page-about-us .values-heading {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-about-us .values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-about-us .values-list li {
  font-size: 1.1em;
  flex-basis: calc(33% - 40px);
  text-align: left;
  background-color: var(--primary-color);
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about-us .values-list li strong {
  color: var(--secondary-color);
}

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

.page-about-us .product-item {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us .product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-about-us .product-image {
  max-width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about-us .product-title .link-title {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-about-us .product-title .link-title:hover {
  color: var(--secondary-color);
}

.page-about-us .cta-button-small {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-about-us .cta-button-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-about-us .responsible-item {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us .responsible-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-about-us .responsible-image {
  max-width: 100%;
  height: 180px; /* Fixed height for responsible gambling images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-about-us .call-to-action {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
}

.page-about-us .call-to-action p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-about-us .cta-button-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

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

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

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

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

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

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

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

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

.page-about-us .text-gold {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-us .hero-title {
    font-size: 2.5em;
  }
  .page-about-us .hero-subtitle {
    font-size: 1.1em;
  }
  .page-about-us .section-heading {
    font-size: 2em;
  }
  .page-about-us .content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-about-us .content-wrapper.reverse-order {
    flex-direction: column;
  }
  .page-about-us .values-list li {
    flex-basis: calc(50% - 20px);
    text-align: center;
  }
  .page-about-us .cta-button, .page-about-us .cta-button-secondary {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-about-us .hero-banner {
    padding: 60px 15px;
  }
  .page-about-us .hero-title {
    font-size: 2em;
  }
  .page-about-us .section-heading {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-about-us .section-intro, .page-about-us .section-mission-vision, .page-about-us .section-products, .page-about-us .section-security, .page-about-us .section-support, .page-about-us .section-responsible-gambling, .page-about-us .section-faq {
    padding: 50px 0;
  }
  .page-about-us .values-list li {
    flex-basis: 100%;
  }
  .page-about-us .card, .page-about-us .product-item, .page-about-us .responsible-item {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-about-us .call-to-action {
    padding: 30px;
  }
}