/* style/terms-conditions.css */

:root {
  --primary-color: #1A202C; /* Deep Charcoal Black */
  --secondary-color: #FFD700; /* Luxury Gold */
  --text-light: #F0F2F5; /* Light Gray for text on dark backgrounds */
  --text-dark: #333333; /* Dark Gray for text on light backgrounds */
  --background-light: #FFFFFF; /* White background */
  --background-dark: #2D3748; /* Darker background for sections */
  --border-color: #E0E0E0; /* Light border */
}

.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: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Banner */
.page-terms-conditions .hero-banner {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions .hero-content {
  position: relative;
  z-index: 1;
}

.page-terms-conditions .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-terms-conditions .hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-light);
}

/* 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(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  display: inline-block;
}

.page-terms-conditions h2:first-of-type {
  margin-top: 0;
}

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

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

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

.page-terms-conditions .contact-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions .contact-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* FAQ Section */
.page-terms-conditions .faq-section {
  margin-top: 60px;
  background-color: var(--background-dark);
  padding: 40px;
  border-radius: 8px;
  color: var(--text-light);
}

.page-terms-conditions .faq-section .section-title {
  color: var(--secondary-color);
  border-bottom-color: var(--text-light);
  margin-top: 0;
  margin-bottom: 30px;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--primary-color);
  border: 1px solid var(--background-dark);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #2D3748; /* Slightly lighter primary for hover */
  border-color: var(--secondary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--text-light);
  font-weight: 600;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid var(--primary-color);
  border-radius: 0 0 5px 5px;
}

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

.faq-answer p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions .hero-title {
    font-size: 2.5em;
  }

  .page-terms-conditions .hero-description {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-terms-conditions .section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-terms-conditions p,
  .page-terms-conditions .list-style li {
    font-size: 0.95em;
  }

  .page-terms-conditions .faq-section {
    padding: 30px 20px;
  }

  .faq-question {
    padding: 12px 15px;
  }

  .faq-question h3 {
    font-size: 1em;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .hero-title {
    font-size: 2em;
  }

  .page-terms-conditions .hero-banner {
    padding: 60px 0;
  }

  .page-terms-conditions .section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions .list-style {
    margin-left: 10px;
  }
}