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

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

.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;
  z-index: 1;
}

.page-terms-conditions .hero-image-content {
  width: 100%;
  max-width: 800px; /* Adjust size for visual balance */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  object-fit: cover;
}

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

.page-terms-conditions .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-terms-conditions .cta-button:hover {
  background: var(--primary-color-dark);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 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 .terms-article {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.page-terms-conditions .terms-article h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid var(--primary-color);
}

.page-terms-conditions .terms-article p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444;
}

.page-terms-conditions .terms-article p a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

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

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

.page-terms-conditions .terms-article ul li {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #555;
}

/* FAQ Section */
.page-terms-conditions .faq-section {
  padding: 60px 0;
  background-color: #f0f2f5;
  border-top: 1px solid #e0e0e0;
}

.page-terms-conditions .faq-section h2 {
  text-align: center;
  font-size: 2.5em;
  color: var(--secondary-color-dark);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-terms-conditions .faq-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-terms-conditions .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-terms-conditions .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

.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: #fdfdfd;
  border-top: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-terms-conditions .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #555;
}

/* Variables for color scheme */
:root {
  --primary-color: #FFD700; /* Gold */
  --primary-color-dark: #CCAA00; /* Darker Gold for hover */
  --primary-color-light: #FFEB80; /* Lighter Gold for gradients */
  --secondary-color: #000080; /* Dark Blue */
  --secondary-color-dark: #000060; /* Even Darker Blue */
  --secondary-color-light: #1A1A99; /* Slightly Lighter Blue */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --background-medium: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions .hero-content h1 {
    font-size: 2.2em;
  }
  .page-terms-conditions .hero-content p {
    font-size: 1em;
  }
  .page-terms-conditions .terms-article {
    padding: 30px;
  }
  .page-terms-conditions .terms-article h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions .terms-article h3 {
    font-size: 1.4em;
  }
  .page-terms-conditions .terms-article p {
    font-size: 1em;
  }
  .page-terms-conditions .faq-section h2 {
    font-size: 2em;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .hero-section {
    padding: 40px 15px;
  }
  .page-terms-conditions .hero-image-content {
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .page-terms-conditions .hero-content h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-terms-conditions .hero-content p {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 6px;
  }
  .page-terms-conditions .content-section {
    padding: 40px 0;
  }
  .page-terms-conditions .terms-article {
    padding: 20px;
  }
  .page-terms-conditions .terms-article h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-terms-conditions .terms-article h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-left: 10px;
  }
  .page-terms-conditions .terms-article p {
    font-size: 0.95em;
  }
  .page-terms-conditions .faq-section {
    padding: 40px 0;
  }
  .page-terms-conditions .faq-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-terms-conditions .faq-question {
    padding: 15px 20px;
  }
  .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 20px;
  }
  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .hero-content h1 {
    font-size: 1.5em;
  }
  .page-terms-conditions .hero-image-content {
    border-radius: 6px;
  }
  .page-terms-conditions .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-terms-conditions .terms-article h2 {
    font-size: 1.4em;
  }
  .page-terms-conditions .terms-article h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .faq-section h2 {
    font-size: 1.6em;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 0.95em;
  }
  .page-terms-conditions .faq-toggle {
    font-size: 1.3em;
  }
}