/* style/terms-conditions.css */

/* Base styles for the terms-conditions page */
.page-terms-conditions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: transparent; /* Body handles the actual background */
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-terms-conditions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #f8f8f8; /* Light background for the section */
}

.page-terms-conditions__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-terms-conditions__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-terms-conditions__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

/* Content Sections */
.page-terms-conditions__content-section {
  padding: 60px 0;
}

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

.page-terms-conditions__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 25px;
  text-align: left;
}

.page-terms-conditions__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-terms-conditions__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-terms-conditions__highlight {
  font-weight: bold;
  color: #000000; /* Ensure strong contrast for highlighted text */
}

.page-terms-conditions__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Color variations for sections */
.page-terms-conditions__light-bg {
  background-color: #FFFFFF; /* Auxiliary color */
  color: #333333;
}

.page-terms-conditions__dark-bg {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
}

.page-terms-conditions__dark-bg .page-terms-conditions__section-title {
  color: #FFFFFF; /* White title on dark background */
}

.page-terms-conditions__dark-bg .page-terms-conditions__highlight {
  color: #FFFF00; /* Yellow highlight on dark background for contrast */
}

/* Call to Action Section */
.page-terms-conditions__cta-section {
  background-color: #26A9E0; /* Primary brand color */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-terms-conditions__cta-container {
  max-width: 800px;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-terms-conditions__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-terms-conditions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background-color: #EA7C07; /* Custom 'Login' color, used for primary CTA */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-terms-conditions__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}


/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .page-terms-conditions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-terms-conditions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-terms-conditions__hero-content {
    padding: 0 15px;
  }

  .page-terms-conditions__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-terms-conditions__cta-section {
    padding: 60px 15px;
  }

  .page-terms-conditions__cta-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-terms-conditions__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-terms-conditions__button-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}