:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Deep Sky Blue */
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --background-light: #F8F8F8;
  --background-dark: #2C3E50; /* Dark Blue Gray for contrast */
  --border-color: #E0E0E0;
}

.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

/* Hero Banner */
.page-terms-conditions .hero-banner {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-terms-conditions .hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image */
  z-index: 0;
}

.page-terms-conditions .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.6), rgba(30, 144, 255, 0.6));
  z-index: 1;
}

.page-terms-conditions .hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-terms-conditions .hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions .hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .cta-button:hover {
  background-color: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .cta-button.secondary-cta {
  background-color: var(--secondary-color);
  color: var(--text-light);
  margin-top: 20px;
}

.page-terms-conditions .cta-button.secondary-cta:hover {
  background-color: #1A7DD9; /* Slightly darker blue */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.page-terms-conditions .content-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-terms-conditions .section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-terms-conditions h3 {
  font-size: 1.6em;
  color: var(--text-dark);
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-terms-conditions p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-terms-conditions ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1em;
}

.page-terms-conditions li {
  margin-bottom: 0.5em;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-terms-conditions .content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* FAQ Section */
.page-terms-conditions .faq-container {
  margin-top: 40px;
}

.page-terms-conditions .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-terms-conditions .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--text-dark);
}

.page-terms-conditions .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-terms-conditions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #FDFDFD;
  color: var(--text-dark);
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px;
  border-top: 1px solid var(--border-color);
}

.page-terms-conditions .faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* Bottom Call to Action */
.page-terms-conditions .call-to-action-bottom {
  background: linear-gradient(90deg, var(--secondary-color), #4CAF50); /* Blue to Green gradient */
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.page-terms-conditions .cta-bottom-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .cta-bottom-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
  opacity: 0.9;
}

.page-terms-conditions .cta-button.large-cta {
  padding: 18px 45px;
  font-size: 1.3em;
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-terms-conditions .cta-button.large-cta:hover {
  background-color: #FFC107;
}

/* Copyright Info */
.page-terms-conditions .copyright-info {
  text-align: center;
  padding: 25px 20px;
  background-color: var(--background-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .hero-title {
    font-size: 2.8em;
  }
  .page-terms-conditions .hero-description {
    font-size: 1.1em;
  }
  .page-terms-conditions .section-title {
    font-size: 2em;
  }
  .page-terms-conditions .cta-bottom-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .hero-banner {
    height: 350px;
  }
  .page-terms-conditions .hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions .hero-description {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions .content-section {
    padding: 40px 0;
  }
  .page-terms-conditions .section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-terms-conditions h3 {
    font-size: 1.4em;
  }
  .page-terms-conditions p, .page-terms-conditions li {
    font-size: 0.95em;
  }
  .page-terms-conditions .faq-question {
    padding: 15px 20px;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1.05em;
  }
  .page-terms-conditions .faq-answer {
    padding: 0 20px;
  }
  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
  .page-terms-conditions .call-to-action-bottom {
    padding: 60px 0;
  }
  .page-terms-conditions .cta-bottom-title {
    font-size: 2em;
  }
  .page-terms-conditions .cta-bottom-description {
    font-size: 1.1em;
  }
  .page-terms-conditions .cta-button.large-cta {
    padding: 15px 35px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .hero-banner {
    height: 300px;
  }
  .page-terms-conditions .hero-title {
    font-size: 1.8em;
  }
  .page-terms-conditions .hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions .section-title {
    font-size: 1.6em;
    margin-top: 30px;
  }
  .page-terms-conditions h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1em;
  }
  .page-terms-conditions .cta-bottom-title {
    font-size: 1.8em;
  }
  .page-terms-conditions .cta-bottom-description {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button.large-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
}