.page-terms-conditions {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #1A202C;
  --background-dark: #12161E;
  --background-light: #f4f7f6;
  --border-color: #333;
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

.page-terms-conditions__hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--secondary-color);
}

.page-terms-conditions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-terms-conditions__hero-subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__small-button {
  padding: 10px 25px;
  font-size: 0.9em;
  margin-top: 20px;
}

.page-terms-conditions__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-terms-conditions__section p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
}

.page-terms-conditions__section h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-terms-conditions__section ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-terms-conditions__section li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.page-terms-conditions__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.page-terms-conditions__text-content {
  flex: 1;
}

.page-terms-conditions__image-container {
  flex: 0 0 400px;
  text-align: center;
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* FAQ Section */
.page-terms-conditions__faq {
  background-color: var(--primary-color);
  padding: 80px 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--background-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.faq-question:hover {
  background-color: #2a3345;
  color: #fff;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: var(--background-dark);
  color: rgba(255, 255, 255, 0.85);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 3em;
  }
  .page-terms-conditions__section-title {
    font-size: 2em;
  }
  .page-terms-conditions__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-terms-conditions__image-container {
    flex: none;
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
  }
  .page-terms-conditions__text-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-banner {
    padding: 60px 0;
  }
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }
  .page-terms-conditions__hero-subtitle {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions__section {
    padding: 40px 0;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-terms-conditions__section h3 {
    font-size: 1.5em;
  }
  .page-terms-conditions__container {
    padding: 0 15px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 2em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__section h3 {
    font-size: 1.3em;
  }
  .page-terms-conditions__section p, .page-terms-conditions__section li {
    font-size: 0.95em;
  }
  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}