/* style/terms-conditions.css */
.page-terms-conditions {
  padding-top: var(--header-offset, 120px);
  background-color: #f8f9fa; /* Light background for contrast with dark text */
  color: #333333; /* Dark text for readability */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a decent height */
}

.page-terms-conditions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-terms-conditions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffc107; /* Accent color for title */
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Accent color for button */
  color: #000000; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__hero-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-terms-conditions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-terms-conditions__section-container {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  color: #007bff; /* Main color for section titles */
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffc107; /* Accent underline */
  padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

.page-terms-conditions__link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  text-decoration: underline;
}

.page-terms-conditions__cta-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #e9f5ff; /* Lighter blue background for CTA */
  border-left: 5px solid #007bff;
  padding: 30px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.page-terms-conditions__cta-image {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-right: 30px;
  border-radius: 8px;
}

.page-terms-conditions__cta-text-content {
  flex-grow: 1;
}

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

.page-terms-conditions__cta-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.6;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-terms-conditions__hero-title {
    font-size: 2.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-card {
    flex-direction: column;
    text-align: center;
  }
  .page-terms-conditions__cta-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-terms-conditions__hero-section {
    padding: 60px 15px;
    min-height: 350px;
  }
  .page-terms-conditions__hero-title {
    font-size: 2.2em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
  }
  .page-terms-conditions__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions__content-area {
    padding: 20px 15px;
  }
  .page-terms-conditions__section-container {
    padding: 20px;
  }
  .page-terms-conditions__section-title {
    font-size: 1.6em;
  }
  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 0.95em;
  }
  .page-terms-conditions__cta-image {
    width: 200px;
    height: 200px;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.6em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1em;
  }
  /* Ensure images in content area are responsive and not too small */
  .page-terms-conditions__content-area img,
  .page-terms-conditions__cta-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum display size for content images */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__hero-description {
    font-size: 0.9em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.4em;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.4em;
  }
}