.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-terms-conditions__hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #004d99 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-terms-conditions__hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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);
}

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

.page-terms-conditions__cta-button--secondary {
  background: #004d99;
  color: var(--secondary-color);
}

.page-terms-conditions__cta-button--secondary:hover {
  background: #003366;
  color: #ffffff;
}

.page-terms-conditions__section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

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

.page-terms-conditions__section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-terms-conditions__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-terms-conditions__section h3 {
  font-size: 1.6em;
  color: #004d99;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-terms-conditions__section p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-terms-conditions__section ul,
.page-terms-conditions__section ol {
  margin-bottom: 20px;
  padding-left: 25px;
  color: #555555;
}

.page-terms-conditions__section ul li,
.page-terms-conditions__section ol li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-terms-conditions__section ul li::marker {
  color: var(--secondary-color);
}

.page-terms-conditions__section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__section a:hover {
  text-decoration: underline;
  color: #004d99;
}

.page-terms-conditions__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions__image--large {
  max-height: 500px;
}

.page-terms-conditions__image--medium {
  max-height: 400px;
}

.page-terms-conditions__image--small {
  max-height: 300px;
}

/* FAQ Section Specific Styles */
.page-terms-conditions__faq {
  background-color: #f0f0f0;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

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

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__hero h1 {
    font-size: 2.8em;
  }
  .page-terms-conditions__hero p {
    font-size: 1.1em;
  }
  .page-terms-conditions__section h2 {
    font-size: 2em;
  }
  .page-terms-conditions__section h3 {
    font-size: 1.5em;
  }
  .page-terms-conditions__section p,
  .page-terms-conditions__section ul li,
  .page-terms-conditions__section ol li {
    font-size: 1em;
  }
  .faq-question h3 {
    font-size: 1.15em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero {
    padding: 60px 15px;
    min-height: 250px;
  }
  .page-terms-conditions__hero h1 {
    font-size: 2.2em;
  }
  .page-terms-conditions__hero p {
    font-size: 1em;
  }
  .page-terms-conditions__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-terms-conditions__section {
    padding: 40px 0;
  }
  .page-terms-conditions__container {
    padding: 0 15px;
  }
  .page-terms-conditions__section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-terms-conditions__section h3 {
    font-size: 1.3em;
    margin-top: 30px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.05em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions__section h2 {
    font-size: 1.6em;
  }
  .page-terms-conditions__section h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions__cta-button {
    width: 100%;
    max-width: 250px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
}