/* style/terms-conditions.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --accent-color: #FFCC00;
  --border-color: #e0e0e0;
}

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

.page-terms-conditions .hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--background-dark));
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.page-terms-conditions .hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-terms-conditions .hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

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

.page-terms-conditions .content-section {
  padding: 60px 0;
}

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

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

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

.page-terms-conditions article p {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.8;
}

/* FAQ Section Styling */
.page-terms-conditions .faq-section {
  margin-top: 60px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions .faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  color: var(--primary-color);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 15px;
}

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

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

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

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

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

.page-terms-conditions .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-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: #ffffff;
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px 25px;
  border-top: 1px solid var(--border-color);
}

.page-terms-conditions .faq-answer p {
  margin: 0;
  color: var(--text-color-dark);
  font-size: 1.0em;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions .hero-title {
    font-size: 2.8em;
  }
  .page-terms-conditions .hero-description {
    font-size: 1.1em;
  }
  .page-terms-conditions article h2 {
    font-size: 2em;
  }
  .page-terms-conditions article h3 {
    font-size: 1.5em;
  }
  .page-terms-conditions .faq-section h2 {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .hero-section {
    padding: 60px 15px;
  }
  .page-terms-conditions .hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions .hero-description {
    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 article h2 {
    font-size: 1.8em;
    margin-top: 30px;
  }
  .page-terms-conditions article h3 {
    font-size: 1.4em;
    margin-top: 25px;
  }
  .page-terms-conditions article p {
    font-size: 0.95em;
  }
  .page-terms-conditions .faq-section {
    padding: 25px;
    margin-top: 40px;
  }
  .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: 1.1em;
  }
  .page-terms-conditions .faq-toggle {
    font-size: 1.5em;
  }
  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
}