/* style/terms-conditions.css */
:root {
  --primary-color: #0A2342;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #1a3a5a;
  --border-color: #e0e0e0;
  --button-hover-dark: #e6c200;
}

.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-hero {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--secondary-color);
}

.page-terms-conditions-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-terms-conditions-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-terms-conditions-article {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-terms-conditions-article strong {
  color: var(--primary-color);
  font-weight: bold;
}

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

.page-terms-conditions-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-terms-conditions-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.page-terms-conditions-btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-terms-conditions-btn-primary:hover {
  background-color: var(--button-hover-dark);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions-btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-terms-conditions-btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions-faq-section {
  background-color: var(--background-dark);
  padding: 60px 0;
  color: var(--text-light);
}

.page-terms-conditions-faq-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-question:hover {
  background-color: #1a3a5a;
}

.faq-question h3 {
  font-size: 1.3em;
  margin: 0;
  color: var(--secondary-color);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #ffffff;
  color: var(--text-dark);
  padding: 0 25px;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions-title {
    font-size: 2.8em;
  }
  .page-terms-conditions-article {
    padding: 30px;
  }
  .page-terms-conditions-article h2 {
    font-size: 2em;
  }
  .page-terms-conditions-article h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions-hero {
    padding: 60px 0 30px;
  }
  .page-terms-conditions-title {
    font-size: 2.2em;
  }
  .page-terms-conditions-subtitle {
    font-size: 1.1em;
  }
  .page-terms-conditions-content-section {
    padding: 40px 0;
  }
  .page-terms-conditions-article {
    padding: 20px;
  }
  .page-terms-conditions-article h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions-article h3 {
    font-size: 1.3em;
  }
  .page-terms-conditions-article p {
    font-size: 1em;
  }
  .page-terms-conditions-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions-faq-title {
    font-size: 2.2em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions-hero {
    padding: 40px 0 20px;
  }
  .page-terms-conditions-title {
    font-size: 1.8em;
  }
  .page-terms-conditions-subtitle {
    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-contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-terms-conditions-btn {
    width: 100%;
    max-width: 280px;
  }
  .page-terms-conditions-faq-title {
    font-size: 1.8em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
}