.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-terms-conditions__banner {
  position: relative;
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 20px;
}

.page-terms-conditions__banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-terms-conditions__banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-terms-conditions__banner h1 {
  font-size: 3em;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__banner p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #333333;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  color: #ffffff;
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-terms-conditions__section {
  padding: 40px 0;
}

.page-terms-conditions__section:nth-of-type(odd) {
  background-color: #f1f1f1;
}

.page-terms-conditions__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-terms-conditions__container h2 {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

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

.page-terms-conditions__container h3 {
  font-size: 1.6em;
  color: #0056b3;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 10px;
}

.page-terms-conditions__container p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444444;
}

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

.page-terms-conditions__container ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-terms-conditions__container a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__container a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-terms-conditions__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Specific Styles */
.page-terms-conditions__faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  background-color: #ffffff;
}

.page-terms-conditions__faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq .faq-question:hover {
  background-color: #f1f1f1;
}

.page-terms-conditions__faq .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #333333;
  border-bottom: none;
  padding-bottom: 0;
}

.page-terms-conditions__faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

.page-terms-conditions__faq .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #ffc107;
}

.page-terms-conditions__faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background-color: #ffffff;
}

.page-terms-conditions__faq .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
}

.page-terms-conditions__faq .faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__banner {
    height: 250px;
    padding: 15px;
  }

  .page-terms-conditions__banner h1 {
    font-size: 2.2em;
  }

  .page-terms-conditions__banner p {
    font-size: 1em;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-terms-conditions__container {
    padding: 15px;
  }

  .page-terms-conditions__container h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-terms-conditions__container h3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-terms-conditions__container p,
  .page-terms-conditions__container ul li {
    font-size: 0.95em;
  }

  .page-terms-conditions__faq .faq-question {
    padding: 12px 15px;
  }

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

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

  .page-terms-conditions__faq .faq-answer {
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__banner {
    height: 200px;
  }

  .page-terms-conditions__banner h1 {
    font-size: 1.8em;
  }

  .page-terms-conditions__banner p {
    font-size: 0.9em;
  }

  .page-terms-conditions__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-terms-conditions__container h2 {
    font-size: 1.6em;
  }

  .page-terms-conditions__container h3 {
    font-size: 1.2em;
  }
}