/* Specific styles for the Terms and Conditions page */

.hero-terms {
  position: relative;
  height: 60vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  padding-top: 8.5rem; /* Space for top-bar + header */
  background: url("/placeholder.svg?height=1080&width=1920") no-repeat center center / cover;
}

@media (max-width: 768px) {
  .hero-terms {
    padding-top: 9rem; /* Adjusted space for mobile */
    min-height: 50vh;
  }
}

@media (max-width: 480px) {
  .hero-terms {
    padding-top: 8.5rem; /* Space for compact top-bar + header */
  }
}

.hero-terms .hero-overlay {
  background: rgba(0, 0, 0, 0.6); /* Darker overlay for readability */
}

.hero-terms .hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.hero-terms .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 40rem;
  margin: 0 auto;
}

.terms-content {
  background-color: #ffffff;
}

.terms-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.terms-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
  border-radius: 2px;
}

.terms-section p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.terms-section ul {
  list-style: none;
  padding-left: 0;
}

.terms-section ul li {
  margin-bottom: 1rem;
  color: #4b5563;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.terms-section ul li::before {
  content: "\2022"; /* Bullet point */
  color: #d4af37;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1.5em;
  position: absolute;
  left: 0;
}

.terms-section ul li strong {
  color: #1f2937;
}

/* Responsive adjustments for terms content */
@media (max-width: 768px) {
  .terms-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .terms-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .terms-section p,
  .terms-section ul li {
    font-size: 0.95rem;
  }
}
