/* style/terms-conditions.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey/Black */
  --text-light: #FFFFFF;
  --text-dark: #333333;
  --background-light: #F5F5F5;
  --background-dark: #2C2C2C;
  --border-color: #e0e0e0;
  --accent-color: #E53935; /* Red for emphasis */
}

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

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

/* Hero Section */
.page-terms-conditions .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
}

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

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

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

.page-terms-conditions .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .cta-button:hover {
  background: #C62828; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-terms-conditions .content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-terms-conditions .section-title::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 .sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 5px solid var(--accent-color);
  padding-left: 15px;
}

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

.page-terms-conditions .section-text ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 1em;
  color: var(--text-dark);
}

.page-terms-conditions .section-text ul li {
  margin-bottom: 0.5em;
}

.page-terms-conditions .section-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions .section-text a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

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

.page-terms-conditions .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--text-light);
}

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

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

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

.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(--accent-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: var(--text-light);
  color: var(--text-dark);
}

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

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

.page-terms-conditions .faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-terms-conditions .faq-answer a:hover {
  color: var(--accent-color);
}

/* Contact Support Section */
.page-terms-conditions .contact-support {
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 80px 0;
}

.page-terms-conditions .contact-support .section-title {
  color: var(--primary-color);
}

.page-terms-conditions .contact-support .section-title::after {
  background-color: var(--accent-color);
}

.page-terms-conditions .contact-support p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-terms-conditions .contact-support ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-terms-conditions .contact-support ul li {
  color: var(--text-light);
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-terms-conditions .contact-support ul li strong {
  color: var(--primary-color);
}

.page-terms-conditions .contact-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-terms-conditions .contact-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions .hero-content h1 {
    font-size: 2.8em;
  }
  .page-terms-conditions .section-title {
    font-size: 2em;
  }
  .page-terms-conditions .sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .hero-section {
    padding: 60px 15px;
  }
  .page-terms-conditions .hero-content h1 {
    font-size: 2.2em;
  }
  .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 .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-terms-conditions .sub-title {
    font-size: 1.3em;
  }
  .page-terms-conditions .faq-question {
    padding: 15px 20px;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1.1em;
  }
  .page-terms-conditions .faq-answer {
    padding: 0 20px;
  }
  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-terms-conditions .contact-support {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .hero-content h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions .hero-content p {
    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 .faq-toggle {
    font-size: 20px;
  }
}