.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  line-height: 1.7;
  background-color: #1A1A1A;
}

.page-terms-conditions h1,
.page-terms-conditions h2,
.page-terms-conditions h3 {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-terms-conditions h1 {
  font-size: 3em;
  text-align: center;
  margin-top: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions h2 {
  font-size: 2.2em;
  margin-top: 40px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-terms-conditions h3 {
  font-size: 1.6em;
  margin-top: 30px;
  color: #FFC107; /* Slightly darker gold for sub-headings */
}

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

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

.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-color: #000080; /* Deep blue background for contrast */
}

.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%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .terms-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(26, 26, 26, 0.85); /* Semi-transparent dark overlay */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .terms-hero-content h1 {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions .terms-hero-content p {
  font-size: 1.3em;
  color: #F0F0F0;
  margin-bottom: 30px;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .cta-button:hover {
  background: #FFC107; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .secondary-button {
  display: inline-block;
  padding: 15px 40px;
  background: #000080; /* Deep blue for secondary button */
  color: #FFD700;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  margin-left: 20px;
  border: 2px solid #FFD700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .secondary-button:hover {
  background: #000060; /* Darker blue on hover */
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .terms-content-section {
  padding: 60px 0;
  background-color: #1A1A1A;
}

.page-terms-conditions .content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-terms-conditions .terms-conclusion {
  text-align: center;
  font-size: 1.2em;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #FFD700;
}

.page-terms-conditions .button-group {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* FAQ Section Styling */
.page-terms-conditions .faq-container {
  margin-top: 40px;
  border-top: 1px solid #FFD700;
  padding-top: 20px;
}

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

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

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

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

.page-terms-conditions .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700;
  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 25px;
  background: #2A2A2A;
}

.page-terms-conditions .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid #444;
}

.page-terms-conditions .faq-answer p {
  color: #E0E0E0;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .terms-hero-content h1 {
    font-size: 3em;
  }
  .page-terms-conditions .terms-hero-content p {
    font-size: 1.1em;
  }
  .page-terms-conditions h1 {
    font-size: 2.5em;
  }
  .page-terms-conditions h2 {
    font-size: 2em;
  }
  .page-terms-conditions h3 {
    font-size: 1.5em;
  }
  .page-terms-conditions p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero-section {
    padding: 40px 15px;
  }
  .page-terms-conditions .terms-hero-content h1 {
    font-size: 2.5em;
  }
  .page-terms-conditions .terms-hero-content p {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button,
  .page-terms-conditions .secondary-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-left: 0;
    margin-right: 0;
    display: block;
    width: fit-content;
    margin: 15px auto;
  }
  .page-terms-conditions .button-group {
    flex-direction: column;
    align-items: center;
  }
  .page-terms-conditions h1 {
    font-size: 2em;
  }
  .page-terms-conditions h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions h3 {
    font-size: 1.3em;
  }
  .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.8em;
  }
  .page-terms-conditions .faq-answer {
    padding: 0 20px;
  }
  .page-terms-conditions .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .terms-hero-content h1 {
    font-size: 2em;
  }
  .page-terms-conditions .terms-hero-content p {
    font-size: 0.9em;
  }
  .page-terms-conditions h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions h2 {
    font-size: 1.6em;
  }
  .page-terms-conditions h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .cta-button,
  .page-terms-conditions .secondary-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-terms-conditions .faq-question h3 {
    font-size: 1em;
  }
  .page-terms-conditions .faq-toggle {
    font-size: 1.5em;
  }
}