/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Assuming body background from shared.css is #000 */
  padding-top: 0; /* Handled by shared.css on body, or if not, this would be var(--header-offset, 120px) */
}

.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  margin-top: 0;
  background-color: #000;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-terms-conditions__hero-image {
  width: 100%;
  margin: 0;
}

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

.page-terms-conditions__content-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for content area */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-terms-conditions__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffc107; /* Gold accent for main title */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-terms-conditions__intro-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
  line-height: 1.8;
}

.page-terms-conditions__section-block {
  margin-bottom: 40px;
  padding: 30px;
  background-color: rgba(0, 123, 255, 0.1); /* Semi-transparent blue background */
  border-radius: 10px;
  border: 1px solid #007bff;
}

.page-terms-conditions__section-title {
  font-size: 28px;
  font-weight: bold;
  color: #007bff; /* Primary blue for section titles */
  margin-top: 0;
  margin-bottom: 20px;
}

.page-terms-conditions__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-terms-conditions__list li {
  margin-bottom: 10px;
}

.page-terms-conditions__list-heading {
  color: #ffc107;
}

.page-terms-conditions__paragraph a, 
.page-terms-conditions__list li a {
  color: #ffc107; /* Gold for links */
  text-decoration: underline;
}

.page-terms-conditions__paragraph a:hover,
.page-terms-conditions__list li a:hover {
  color: #ffffff;
}

.page-terms-conditions__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-terms-conditions__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background-color: #ffc107;
  color: #000000;
  border: 2px solid #ffc107;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.page-terms-conditions__btn-secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-terms-conditions__btn-secondary:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* FAQ Section */
.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background for items */
  border: 1px solid rgba(0, 123, 255, 0.3);
}

.page-terms-conditions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #e0e0e0;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background-color: rgba(0, 123, 255, 0.2); /* Darker blue for active answer background */
  border-radius: 0 0 8px 8px;
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: #007bff; /* Primary blue for question background */
  border: 1px solid #007bff;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-terms-conditions__faq-question:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-terms-conditions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-terms-conditions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
  transform: rotate(45deg);
  color: #ffc107;
}

.page-terms-conditions__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  color: #999999;
  background-color: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 36px;
  }

  .page-terms-conditions__section-title {
    font-size: 24px;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list li {
    font-size: 15px;
  }
  
  .page-terms-conditions__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 0 !important; /* Ensure no double padding if shared.css handles body */
  }
  
  .page-terms-conditions__content-section {
    padding: 30px 15px;
  }

  .page-terms-conditions__container,
  .page-terms-conditions__section-block,
  .page-terms-conditions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__main-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .page-terms-conditions__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 5px;
  }

  .page-terms-conditions__section-block {
    padding: 20px;
  }

  .page-terms-conditions__section-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .page-terms-conditions__paragraph,
  .page-terms-conditions__list li {
    font-size: 15px;
  }

  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* FAQ Mobile */
  .page-terms-conditions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-terms-conditions__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-terms-conditions__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-terms-conditions__faq-answer {
    padding: 0 15px;
  }
  
  .page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
    padding: 15px !important;
  }

  .page-terms-conditions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}