/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-terms-conditions__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff); /* Using a lighter variant of main color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

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

.page-terms-conditions__title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff; /* High contrast for title */
}

.page-terms-conditions__subtitle {
  font-size: 1.2em;
  opacity: 0.9;
  color: #e0f2ff; /* Slightly lighter for subtitle */
}

.page-terms-conditions__content {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.page-terms-conditions__article {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #007bff; /* Main brand color for headings */
  margin-top: 35px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffc107; /* Auxiliary color for accent */
  padding-bottom: 10px;
}

.page-terms-conditions__heading--secondary {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-terms-conditions__article p {
  margin-bottom: 15px;
  color: #444;
}

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

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

.page-terms-conditions__link {
  color: #007bff; /* Main brand color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  text-decoration: underline;
  color: #0056b3;
}

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

.page-terms-conditions__link--small:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-terms-conditions__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #e6f2ff; /* Light background for CTA */
  border-radius: 8px;
  border: 1px solid #cce0ff;
}

.page-terms-conditions__cta-text {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #0056b3; /* Darker variant for text */
  font-weight: 500;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color for CTA button */
  color: #333333; /* Dark text for contrast on yellow */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-terms-conditions__related-info {
  background-color: #e9ecef;
  padding: 60px 0;
  text-align: center;
}

.page-terms-conditions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-terms-conditions__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-terms-conditions__grid-item h3 {
  color: #007bff;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.4em;
}

.page-terms-conditions__grid-item p {
  color: #555;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-terms-conditions__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.highlight {
  color: #007bff;
  font-weight: bold;
}

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

  .page-terms-conditions__title {
    font-size: 2.2em;
  }

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

  .page-terms-conditions__article {
    padding: 25px;
  }

  .page-terms-conditions__heading {
    font-size: 1.7em;
  }

  .page-terms-conditions__heading--secondary {
    font-size: 1.8em;
  }

  .page-terms-conditions__cta-text {
    font-size: 1.1em;
  }

  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-terms-conditions__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__title {
    font-size: 1.8em;
  }

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

  .page-terms-conditions__article {
    padding: 20px;
  }
  .page-terms-conditions__list {
    margin-left: 15px;
  }
}