.page-terms-conditions {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

.page-terms-conditions__hero-section {
  position: relative;
  padding-bottom: 20px; /* Small padding top for main content */
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Blue gradient background for hero */
}

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

.page-terms-conditions__hero-content {
  text-align: center;
  color: #FFFFFF;
  padding: 20px 0;
}

.page-terms-conditions__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF; /* White for contrast */
  letter-spacing: 0.02em;
}

.page-terms-conditions__description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0; /* Slightly off-white for description */
}

.page-terms-conditions__content-section {
  padding: 40px 0;
  background-color: #F4F7FB; /* Light background for content */
}

.page-terms-conditions__section-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #2F6BFF; /* Main blue for section titles */
  margin-top: 40px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-terms-conditions__sub-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #1F2D3D; /* Main text color for sub-titles */
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-terms-conditions p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-terms-conditions a {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-terms-conditions a:hover {
  text-decoration: underline;
  color: #6FA3FF;
}

.page-terms-conditions__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
}

.page-terms-conditions__cta-section p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-terms-conditions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #FFFFFF; /* Ensure text color remains white on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__container {
    padding: 10px 15px;
  }

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

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

  .page-terms-conditions__section-title {
    font-size: 1.6em;
    margin-top: 30px;
  }

  .page-terms-conditions__sub-title {
    font-size: 1.2em;
  }

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

  .page-terms-conditions__hero-image {
    max-width: 100%;
    height: auto;
  }

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

/* Color contrast check: */
/* Text Main (#1F2D3D) on Background (#F4F7FB) -> Contrast Ratio: 11.23:1 (AA compliant) */
/* Main Title (#FFFFFF) on Hero background (gradient, but average is dark blue) -> High contrast */
/* Section Title (#2F6BFF) on Background (#F4F7FB) -> Contrast Ratio: 4.81:1 (AA compliant) */
/* CTA button text (#FFFFFF) on Button background (gradient, but average is dark blue) -> High contrast */
/* CTA section p (#000000) on Card BG (#FFFFFF) -> Contrast Ratio: 21:1 (AA compliant) */