.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main for dark body background */
  background-color: transparent; /* Body background handled by shared.css var(--deep-navy) */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HERO Section */
.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%); /* Brand color gradient for hero background */
  overflow: hidden;
}

.page-terms-conditions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-terms-conditions__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__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-terms-conditions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Content Sections */
.page-terms-conditions__content-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy from custom colors */
}

.page-terms-conditions__section-title {
  font-size: 2.2rem;
  color: #F2C14E; /* Gold for section titles */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

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

.page-terms-conditions__section-title--light {
  color: #F3F8FF;
}

.page-terms-conditions__content-section h2 {
  color: #F2C14E;
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-terms-conditions__content-section h3 {
  color: #F3F8FF;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-terms-conditions__content-section p {
  margin-bottom: 15px;
  color: #AFC4E8;
}

.page-terms-conditions__content-section a {
  color: #4FA8FF; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__content-section a:hover {
  color: #F2C14E; /* Gold on hover */
  text-decoration: underline;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #AFC4E8;
}

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

.page-terms-conditions__list li strong {
  color: #F3F8FF;
}

.page-terms-conditions__content-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG from custom colors */
}

.page-terms-conditions__faq-list {
  margin-top: 40px;
}

details.page-terms-conditions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #08162B; /* Deep Navy for FAQ item background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
  font-size: 1.1rem;
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question:hover {
  background: #113B7A; /* Main color on hover */
}

.page-terms-conditions__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

.page-terms-conditions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-terms-conditions__hero-description {
    font-size: 1rem;
  }

  .page-terms-conditions__section-title {
    font-size: 2rem;
  }

  .page-terms-conditions__content-section h2 {
    font-size: 1.6rem;
  }

  .page-terms-conditions__content-section h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: 10px !important; /* Ensure small padding on mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-terms-conditions__hero-image {
    border-radius: 8px;
  }

  .page-terms-conditions__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-terms-conditions__content-section {
    padding: 40px 0;
  }

  .page-terms-conditions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-terms-conditions__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-terms-conditions__hero-description {
    font-size: 0.95rem;
  }

  .page-terms-conditions__section-title {
    font-size: 1.8rem;
  }

  .page-terms-conditions__section-title::after {
    width: 60px;
  }

  .page-terms-conditions__content-section h2 {
    font-size: 1.4rem;
  }

  .page-terms-conditions__content-section h3 {
    font-size: 1.2rem;
  }

  .page-terms-conditions p,
  .page-terms-conditions li,
  .page-terms-conditions__faq-qtext {
    font-size: 0.95rem;
  }

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

  details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
    padding: 15px 20px;
  }

  .page-terms-conditions__faq-qtext {
    font-size: 1rem;
  }

  .page-terms-conditions__faq-toggle {
    font-size: 20px;
  }

  details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
    padding: 0 20px 15px;
  }
}