.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A1931; /* Main dark background */
  line-height: 1.6;
  padding-bottom: 50px;
}

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

.page-terms-conditions .terms-intro-section {
  background: linear-gradient(135deg, #0A1931 0%, #1A2A44 100%);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 2px solid #E0B143;
}

.page-terms-conditions .main-title {
  font-size: 2.8em;
  color: #E0B143; /* Gold for main title */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-terms-conditions .intro-text {
  font-size: 1.1em;
  color: #CCCCCC;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions .image-container {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .content-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-terms-conditions .section-title {
  font-size: 2.2em;
  color: #E0B143; /* Gold for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(224, 177, 67, 0.4);
  position: relative;
  padding-left: 15px;
}

.page-terms-conditions .section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 80%;
  background-color: #E0B143;
  border-radius: 3px;
}

.page-terms-conditions .subsection-title {
  font-size: 1.6em;
  color: #FFF;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid #E0B143;
  padding-left: 10px;
}

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

.page-terms-conditions ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #CCCCCC;
}

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

.page-terms-conditions strong {
  color: #E0B143;
}

.page-terms-conditions .text-link {
  color: #E0B143;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions .text-link:hover {
  color: #F0D17C;
  text-decoration: underline;
}

.page-terms-conditions .cta-section {
  text-align: center;
  background-color: #1A2A44;
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .cta-text {
  font-size: 1.3em;
  color: #FFF;
  margin-bottom: 25px;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  background-color: #E0B143;
  color: #0A1931;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions .cta-button:hover {
  background-color: #F0D17C;
  transform: translateY(-2px);
}

/* FAQ Section Styling */
.page-terms-conditions .faq-section {
  padding: 50px 0;
  background-color: #0A1931;
}

.page-terms-conditions .faq-list {
  margin-top: 30px;
}

.page-terms-conditions .faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(224, 177, 67, 0.3);
  border-radius: 8px;
  background-color: #1A2A44;
  overflow: hidden;
}

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

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

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

.page-terms-conditions .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #E0B143;
  transition: transform 0.3s ease;
}

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

.page-terms-conditions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #0A1931;
  color: #CCCCCC;
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border-top: 1px solid rgba(224, 177, 67, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions .main-title {
    font-size: 2em;
  }

  .page-terms-conditions .intro-text {
    font-size: 1em;
  }

  .page-terms-conditions .section-title {
    font-size: 1.8em;
    padding-left: 10px;
  }

  .page-terms-conditions .section-title::before {
    width: 4px;
  }

  .page-terms-conditions .subsection-title {
    font-size: 1.4em;
  }

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

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

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

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

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

  .page-terms-conditions .section-title {
    font-size: 1.6em;
  }

  .page-terms-conditions .subsection-title {
    font-size: 1.2em;
  }

  .page-terms-conditions .cta-text {
    font-size: 1em;
  }

  .page-terms-conditions .cta-button {
    padding: 10px 20px;
  }
}