/* 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: transparent; /* Body background is handled by shared.css */
}

.page-terms-conditions__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
}

.page-terms-conditions__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Use custom font color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ffffff;
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-terms-conditions__section-title {
  font-size: 2em;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

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

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

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

.page-terms-conditions__list a {
  color: #017439;
  text-decoration: underline;
}

.page-terms-conditions__list a:hover {
  color: #005f2e;
}

.page-terms-conditions__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #a10707;
  transform: translateY(-2px);
}

.page-terms-conditions__cta-button {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-terms-conditions__contact-info {
  margin-top: 30px;
  font-weight: bold;
  color: #333333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-terms-conditions__main-title {
    font-size: 2em;
  }

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

  .page-terms-conditions__content-area {
    padding: 30px 15px;
  }

  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }

  .page-terms-conditions p,
  .page-terms-conditions li {
    font-size: 0.95em;
  }

  .page-terms-conditions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 15px;
  }
}