/* style/terms-conditions.css */

/* Base styles for the page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  /* Body background is dark #000000, so main text should be light */
  color: #ffffff; /* Default text color for the page */
  background-color: #000000; /* Assuming body background is handled by shared.css, but setting explicit for clarity */
}

.page-terms-conditions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #000000; /* Ensure dark background for hero */
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and text */
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
  z-index: 1;
  color: #ffffff;
}

.page-terms-conditions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-terms-conditions__lead-text {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-terms-conditions__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-terms-conditions__light-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-terms-conditions__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #26A9E0; /* Brand color for section titles */
  margin-bottom: 30px;
  text-align: center;
}

.page-terms-conditions__sub-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-terms-conditions__paragraph {
  font-size: 1.1rem;
  margin-bottom: 1.5em;
  line-height: 1.7;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 1.5em;
}

.page-terms-conditions__list-item {
  margin-bottom: 0.8em;
  font-size: 1.1rem;
}

.page-terms-conditions__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5em;
}

.page-terms-conditions__contact-item {
  margin-bottom: 1em;
  font-size: 1.1rem;
}

.page-terms-conditions__contact-item strong {
  color: #26A9E0;
}

.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;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-terms-conditions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-terms-conditions a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-terms-conditions a:hover {
  color: #1e87c0;
}

/* Image specific styles */
.page-terms-conditions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 0 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-terms-conditions__hero-content {
    padding-bottom: 40px;
  }

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

  .page-terms-conditions__lead-text,
  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item,
  .page-terms-conditions__contact-item {
    font-size: 1rem;
  }

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

  .page-terms-conditions__sub-title {
    font-size: 1.4rem;
  }

  .page-terms-conditions__section {
    padding: 40px 15px;
  }

  .page-terms-conditions__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

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