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

.page-terms-conditions .hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #FFEB3B 100%); /* Lighter gold for banner effect */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-terms-conditions .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions .hero-content h1 {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions .hero-content p {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 25px auto;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-terms-conditions .cta-button:hover {
  background: #A52A2A; /* Slightly darker red */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-terms-conditions .section-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
}

.page-terms-conditions .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.page-terms-conditions .content-block {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-terms-conditions .content-block h3 {
  font-size: 1.6em;
  color: var(--primary-color-dark);
  margin-top: 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 15px;
}

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

.page-terms-conditions .content-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #444;
}

.page-terms-conditions .content-block ul li {
  margin-bottom: 8px;
}

.page-terms-conditions .content-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions .content-block a:hover {
  text-decoration: underline;
  color: var(--primary-color-dark);
}

/* Image specific styles */
.page-terms-conditions .content-image-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 15px;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions .content-image-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 15px;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-terms-conditions .content-image-right,
  .page-terms-conditions .content-image-left {
    float: none;
    margin: 20px auto;
    max-width: 80%;
    display: block;
  }
}

/* Clearfix for floated images */
.page-terms-conditions .content-block::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ Styles */
.page-terms-conditions .faq-list {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-terms-conditions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--primary-color-light);
  color: #333;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-terms-conditions .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
  border-left: none;
  padding-left: 0;
}

.page-terms-conditions .faq-question:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.page-terms-conditions .faq-question:hover h3 {
  color: #fff;
}

.page-terms-conditions .faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.page-terms-conditions .faq-question:hover .faq-toggle {
  color: #fff;
}

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

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

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
  border-top: 1px solid #eee;
}

.page-terms-conditions .faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .hero-content h1 {
    font-size: 2.2em;
  }
  .page-terms-conditions .section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions .content-block h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .hero-banner {
    padding: 40px 15px;
  }
  .page-terms-conditions .hero-content h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions .hero-content p {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-terms-conditions .content-section {
    padding: 40px 0;
  }
  .page-terms-conditions .container {
    padding: 0 15px;
  }
  .page-terms-conditions .section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  .page-terms-conditions .content-block {
    padding: 20px;
  }
  .page-terms-conditions .content-block h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .faq-question {
    padding: 12px 15px;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1em;
  }
  .page-terms-conditions .faq-toggle {
    font-size: 1.5em;
  }
  .page-terms-conditions .faq-answer {
    padding: 0 15px;
  }
  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .hero-content h1 {
    font-size: 1.5em;
  }
  .page-terms-conditions .cta-button {
    font-size: 0.9em;
    padding: 10px 25px;
  }
  .page-terms-conditions .section-title {
    font-size: 1.4em;
  }
  .page-terms-conditions .content-block h3 {
    font-size: 1.1em;
  }
  .page-terms-conditions .content-block ul {
    margin-left: 15px;
  }
}

/* Custom color variables for better contrast and branding */
:root {
  --primary-color: #FFD700; /* Gold */
  --primary-color-dark: #CCA700; /* Darker Gold for text on light backgrounds */
  --primary-color-light: #FFF8DC; /* Lighter Gold for subtle backgrounds */
  --secondary-color: #8B0000; /* Dark Red */
  --secondary-color-light: #DC143C; /* Brighter Red for accents */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
}

.page-terms-conditions .hero-content h1, .page-terms-conditions .section-title {
  color: var(--secondary-color);
}

.page-terms-conditions .content-block h3 {
  color: var(--primary-color-dark);
}

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

.page-terms-conditions .cta-button:hover {
  background: var(--secondary-color-light);
}

.page-terms-conditions .content-block a {
  color: var(--secondary-color);
}

.page-terms-conditions .content-block a:hover {
  color: var(--primary-color-dark);
}

.page-terms-conditions .faq-question {
  background: var(--primary-color-light);
}

.page-terms-conditions .faq-question h3 {
  color: var(--secondary-color);
}

.page-terms-conditions .faq-question:hover {
  background-color: var(--primary-color);
}

.page-terms-conditions .faq-question:hover h3 {
  color: var(--text-color-light);
}

.page-terms-conditions .faq-toggle {
  color: var(--secondary-color);
}

.page-terms-conditions .faq-question:hover .faq-toggle,
.page-terms-conditions .faq-item.active .faq-toggle {
  color: var(--text-color-light);
}

/* Ensure general text contrast */
.page-terms-conditions p, .page-terms-conditions ul li {
  color: var(--text-color-dark);
}

.page-terms-conditions .hero-content p {
  color: var(--text-color-dark);
}

.page-terms-conditions .faq-answer p {
  color: var(--text-color-dark);
}