/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-terms-conditions__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 70%);
  animation: page-terms-conditions-pulse 10s infinite alternate;
  opacity: 0.3;
}

@keyframes page-terms-conditions-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

.page-terms-conditions__title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-terms-conditions__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e9ecef;
}

.page-terms-conditions__section {
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__section--alt-bg {
  background-color: #e9f5ff; /* Light blue, good contrast with #333 text */
}

.page-terms-conditions__heading {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 25px;
  border-left: 5px solid #ffc107;
  padding-left: 15px;
  font-weight: 600;
}

.page-terms-conditions__sub-heading {
  font-size: 1.5em;
  color: #0056b3; /* Darker shade of primary for good contrast */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-terms-conditions__list {
  list-style-type: disc;
  margin-left: 25px;
  padding: 0;
}

.page-terms-conditions__list li {
  margin-bottom: 10px;
  color: #495057;
}

.page-terms-conditions__list li strong {
  color: #007bff;
}

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

.page-terms-conditions__button {
  display: inline-block;
  background-color: #ffc107;
  color: #333; /* Dark text on light yellow for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

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

.page-terms-conditions__button--secondary {
  background-color: #007bff;
  color: #fff; /* White text on dark blue for contrast */
}

.page-terms-conditions__button--secondary:hover {
  background-color: #0056b3;
}

.page-terms-conditions__link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.page-terms-conditions__section--contact p {
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-terms-conditions__title {
    font-size: 2.2em;
  }

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

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

  .page-terms-conditions__sub-heading {
    font-size: 1.3em;
  }

  .page-terms-conditions__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

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

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

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

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

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

  .page-terms-conditions__button {
    width: 100%;
    text-align: center;
  }
}