.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF;
  background-color: #0A192F;
  line-height: 1.7;
  font-size: 16px;
}

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

.page-terms-conditions__hero {
  background: linear-gradient(135deg, #0A192F 0%, #2a3d5c 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #E0B400;
  color: #0A192F;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 180, 0, 0.4);
}

.page-terms-conditions__cta-button:hover {
  background-color: #f0c800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 180, 0, 0.6);
}

.page-terms-conditions__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-terms-conditions__section--alt {
  background-color: #1a2a47;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #E0B400;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

.page-terms-conditions__section p {
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

.page-terms-conditions__section h3 {
  font-size: 1.6em;
  color: #E0B400;
  margin-top: 40px;
  margin-bottom: 15px;
}

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

.page-terms-conditions__section li {
  margin-bottom: 10px;
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-height: 200px; /* Enforce minimum height */
}

/* FAQ Section Specific Styles */
.page-terms-conditions__faq-section {
  background-color: #0A192F;
  padding: 80px 0;
}

.faq-list {
  margin-top: 40px;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #1A2A47;
  color: #E0B400;
  border: 1px solid #0A192F;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
  background-color: #2a3d5c;
  color: #f0c800;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  font-weight: bold;
  color: inherit; /* Inherit color from parent */
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #E0B400;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background-color: #1a2a47;
  color: #e0e0e0;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-answer p {
  margin: 0;
  padding: 0;
  color: #e0e0e0;
}

/* Contact CTA Section */
.page-terms-conditions__contact-cta {
  padding: 80px 0;
  background-color: #E0B400;
  text-align: center;
  color: #0A192F;
}

.page-terms-conditions__contact-title {
  font-size: 2.8em;
  color: #0A192F;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-terms-conditions__contact-cta p {
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
}

.page-terms-conditions__contact-button,
.page-terms-conditions__register-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.page-terms-conditions__contact-button {
  background-color: #0A192F;
  color: #E0B400;
  border: 2px solid #0A192F;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__contact-button:hover {
  background-color: #1a2a47;
  color: #f0c800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__register-button {
  background-color: #f0c800;
  color: #0A192F;
  border: 2px solid #f0c800;
  box-shadow: 0 4px 15px rgba(224, 180, 0, 0.4);
}

.page-terms-conditions__register-button:hover {
  background-color: #E0B400;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 180, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 3em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__contact-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero {
    padding: 60px 0 40px;
  }

  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }

  .page-terms-conditions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .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.6em;
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
  }

  .page-terms-conditions__contact-cta {
    padding: 60px 0;
  }

  .page-terms-conditions__contact-title {
    font-size: 1.8em;
  }

  .page-terms-conditions__contact-cta p {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-terms-conditions__contact-button,
  .page-terms-conditions__register-button {
    display: block;
    width: calc(100% - 20px);
    margin: 15px auto;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 2em;
  }

  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }

  .page-terms-conditions__section-title {
    font-size: 1.4em;
  }

  .page-terms-conditions__contact-title {
    font-size: 1.6em;
  }

  .faq-question h3 {
    font-size: 1em;
  }
}