.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text */
  line-height: 1.6;
  background-color: #1A1A1A; /* Dark background */
}

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

.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;
  color: #FFFFFF;
}

.page-terms-conditions-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-terms-conditions-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(139, 0, 0, 0.6)); /* Gold and dark red overlay */
  z-index: 2;
}

.page-terms-conditions-banner-content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.page-terms-conditions-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions-subtitle {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.page-terms-conditions-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions-cta-button:hover {
  background-color: #FFA500; /* Darker gold on hover */
  transform: translateY(-2px);
}

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

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

.page-terms-conditions-section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-terms-conditions-sub-title {
  font-size: 1.8em;
  color: #8B0000; /* Dark red for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
}

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

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

.page-terms-conditions li {
  margin-bottom: 10px;
  color: #E0E0E0;
}

.page-terms-conditions a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions a:hover {
  color: #FFA500; /* Darker gold on hover */
  text-decoration: underline;
}

/* FAQ Section Styling */
.page-terms-conditions-faq {
  background-color: #222222; /* Slightly lighter dark background for FAQ */
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #333333; /* Darker background for question */
  color: #FFD700; /* Gold for question text */
  border: 1px solid #444444;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700; /* Gold for FAQ question title */
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2A2A2A; /* Background for answer */
  border: 1px solid #444444;
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: #E0E0E0;
}

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

.faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-terms-conditions-final-cta {
  padding: 80px 0;
  background: linear-gradient(90deg, #8B0000, #4A0000); /* Dark red gradient */
  text-align: center;
}

.page-terms-conditions-final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-terms-conditions-final-cta .page-terms-conditions-section-title {
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
}

.page-terms-conditions-final-cta p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.page-terms-conditions-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-terms-conditions-login-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: transparent;
  color: #FFD700; /* Gold text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700; /* Gold border */
  cursor: pointer;
}

.page-terms-conditions-login-button:hover {
  background-color: #FFD700; /* Gold background on hover */
  color: #1A1A1A; /* Dark text on hover */
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions-banner {
    height: 250px;
  }
  .page-terms-conditions-title {
    font-size: 2.2em;
  }
  .page-terms-conditions-subtitle {
    font-size: 1.1em;
  }
  .page-terms-conditions-cta-button,
  .page-terms-conditions-login-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions-section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions-sub-title {
    font-size: 1.4em;
  }
  .page-terms-conditions-container {
    padding: 15px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-terms-conditions-cta-group {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions-banner {
    height: 200px;
  }
  .page-terms-conditions-title {
    font-size: 1.8em;
  }
  .page-terms-conditions-subtitle {
    font-size: 0.9em;
  }
  .page-terms-conditions-section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions-sub-title {
    font-size: 1.2em;
  }
  .page-terms-conditions-cta-button,
  .page-terms-conditions-login-button {
    width: 100%;
    text-align: center;
  }
}