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

.page-terms-conditions .terms-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A2239 100%); /* Deep blue gradient */
  color: #ffffff;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-terms-conditions .terms-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-terms-conditions .terms-hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .terms-hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-terms-conditions .terms-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.page-terms-conditions .terms-hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: bold;
}

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

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Gold button */
  color: var(--primary-color); /* Dark text on gold */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

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

.page-terms-conditions .terms-content-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-terms-conditions .terms-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.page-terms-conditions .terms-article h2 {
  color: var(--primary-color); /* Dark blue for main headings */
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color); /* Gold underline */
}

.page-terms-conditions .terms-article h3 {
  color: #2c3e50; /* Slightly lighter dark blue for subheadings */
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions .terms-article p {
  margin-bottom: 15px;
  color: #555555;
}

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

.page-terms-conditions .terms-article li {
  margin-bottom: 8px;
}

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

/* FAQ Section Styling */
.page-terms-conditions .faq-section {
  background-color: #f0f2f5;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions .faq-section h2 {
  color: var(--primary-color);
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
}

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

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

.page-terms-conditions .faq-question:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.page-terms-conditions .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #333333;
}

.page-terms-conditions .faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--secondary-color); /* Gold toggle */
  transition: transform 0.3s ease;
}

.page-terms-conditions .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color); /* Dark blue when active */
}

.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: #f9f9f9;
  color: #555555;
}

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

.page-terms-conditions .faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .terms-hero-content h1 {
    font-size: 2.8em;
  }

  .page-terms-conditions .terms-hero-content p {
    font-size: 1.1em;
  }

  .page-terms-conditions .terms-article h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero-section {
    padding: 40px 15px;
  }

  .page-terms-conditions .terms-hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-terms-conditions .terms-hero-content h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions .terms-hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-terms-conditions .terms-content-section {
    padding: 30px 15px;
  }

  .page-terms-conditions .terms-article {
    padding: 20px;
  }

  .page-terms-conditions .terms-article h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-terms-conditions .terms-article h3 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .page-terms-conditions .faq-question {
    padding: 15px 20px;
  }

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

  .page-terms-conditions .faq-toggle {
    font-size: 1.2em;
  }

  .page-terms-conditions .faq-answer {
    padding: 0 20px;
  }

  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
}

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

  .page-terms-conditions .terms-hero-content p {
    font-size: 0.9em;
  }

  .page-terms-conditions .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .page-terms-conditions .terms-article h2 {
    font-size: 1.4em;
  }

  .page-terms-conditions .terms-article h3 {
    font-size: 1.1em;
  }

  .page-terms-conditions .faq-question h3 {
    font-size: 0.9em;
  }

  .page-terms-conditions .faq-toggle {
    font-size: 1em;
  }
}