/* style/terms-conditions.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Charcoal */
  --text-light: #F5F5F5;
  --text-dark: #1A202C;
  --background-light: #FFFFFF;
  --background-dark: #2D3748;
  --accent-color: #E53E3E; /* 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;
}

.page-terms-conditions .terms-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  border-bottom: 5px solid var(--primary-color);
}

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

.page-terms-conditions .terms-hero p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-light);
  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: none;
  cursor: pointer;
}

.page-terms-conditions .cta-button:hover {
  background: #C53030;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .cta-button.small {
  padding: 10px 25px;
  font-size: 1em;
  margin-top: 20px;
}

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

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

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

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

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

.page-terms-conditions article ul li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

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

.page-terms-conditions .text-center {
  text-align: center;
}

.page-terms-conditions .final-cta {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

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

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

.page-terms-conditions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #fcfcfc;
  border-radius: 8px;
  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.2em;
  color: var(--secondary-color);
  font-weight: 600;
}

.page-terms-conditions .faq-toggle {
  font-size: 1.8em;
  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: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 3em;
  }
  .page-terms-conditions article h2 {
    font-size: 2em;
  }
  .page-terms-conditions article h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero {
    padding: 60px 0;
  }
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.5em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-terms-conditions .terms-content {
    padding: 40px 0;
  }
  .page-terms-conditions article h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions article h3 {
    font-size: 1.3em;
  }
  .page-terms-conditions .content-image {
    margin: 20px auto;
  }
  .page-terms-conditions .faq-question {
    padding: 15px 20px;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1.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 .terms-hero h1 {
    font-size: 2em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 0.9em;
  }
  .page-terms-conditions .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-terms-conditions article h2 {
    font-size: 1.5em;
  }
  .page-terms-conditions article h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions article p, .page-terms-conditions article ul li {
    font-size: 0.95em;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1em;
  }
  .page-terms-conditions .faq-toggle {
    font-size: 1.2em;
  }
}