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

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

.page-terms-conditions .terms-hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
  overflow: hidden;
}

.page-terms-conditions .terms-banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-terms-conditions .terms-hero-banner .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-terms-conditions .terms-hero-banner h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions .terms-hero-banner p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary color */
  color: #8B0000; /* Secondary color for text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
}

.page-terms-conditions .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  color: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .terms-sections {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-terms-conditions article {
  background-color: #ffffff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FFD700;
}

.page-terms-conditions h2 {
  color: #8B0000; /* Secondary color */
  font-size: 2.2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions h3 {
  color: #FFD700; /* Primary color */
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  color: #555555;
}

.page-terms-conditions p a {
  color: #8B0000;
  text-decoration: underline;
}

.page-terms-conditions p a:hover {
  color: #FFD700;
}

.page-terms-conditions .content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-terms-conditions .faq-section {
  padding: 40px 0;
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-top: 40px;
}

.page-terms-conditions .faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #8B0000;
  border-bottom: none;
  padding-bottom: 0;
}

.page-terms-conditions .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

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

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

.page-terms-conditions .faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #8B0000; /* Secondary color for question text */
}

.page-terms-conditions .faq-toggle {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFD700; /* Primary color for toggle icon */
}

.page-terms-conditions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  color: #555555;
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px;
  border-radius: 0 0 5px 5px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions .terms-hero-banner h1 {
    font-size: 2.5em;
  }

  .page-terms-conditions h2 {
    font-size: 1.8em;
  }

  .page-terms-conditions h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero-banner {
    padding: 40px 15px;
  }

  .page-terms-conditions .terms-hero-banner h1 {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions .terms-hero-banner p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-terms-conditions .terms-sections {
    padding: 30px 0;
  }

  .page-terms-conditions article {
    padding: 20px;
    margin-bottom: 20px;
  }

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

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

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

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

  .page-terms-conditions .faq-toggle {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .terms-hero-banner h1 {
    font-size: 1.5em;
  }

  .page-terms-conditions .terms-hero-banner p {
    font-size: 0.9em;
  }

  .page-terms-conditions h2 {
    font-size: 1.4em;
  }

  .page-terms-conditions h3 {
    font-size: 1.1em;
  }
}