/* Legal Pages (Terms of Service & Privacy Policy) */

/* Shared Label */
.legal-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--pastelgreen);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Hero Section */
.legal-hero {
  background: linear-gradient(135deg, rgba(52, 78, 65, 0.92), rgba(0, 0, 0, 0.85)),
    url('../assets/images/VAs.webp');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin: 10px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-hero-overlay {
  text-align: center;
  padding: 200px 60px 80px 60px;
  max-width: 750px;
}

.legal-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  animation: legalFadeUp 1s ease;
}

.legal-hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245, 245, 245, 0.85);
  line-height: 1.7;
  animation: legalFadeUp 1.3s ease;
}

@keyframes legalFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Section */
.legal-content {
  max-width: 860px;
  margin: 60px auto 80px auto;
  padding: 0 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--darkgreen);
  text-align: start;
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 1rem;
  font-weight: 300;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 10px 0 18px 24px;
  color: #444;
}

.legal-content li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--lightgreen);
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
  color: var(--darkgreen);
}

.legal-content strong {
  font-weight: 600;
  color: #333;
}

.legal-effective-date {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

/* Responsive */
@media screen and (max-width: 1135px) {
  .legal-hero-overlay {
    padding: 180px 40px 80px 40px;
  }

  .legal-hero h1 {
    font-size: 2.5rem;
  }

  .legal-content {
    padding: 0 40px;
  }
}

@media screen and (max-width: 850px) {
  .legal-hero h1 {
    font-size: 2rem;
  }

  .legal-content h2 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 560px) {
  .legal-hero-overlay {
    padding: 150px 20px 60px 20px;
  }

  .legal-hero h1 {
    font-size: 1.6rem;
  }

  .legal-content {
    padding: 0 20px;
    margin: 40px auto 60px auto;
  }

  .legal-content h2 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 400px) {
  .legal-hero h1 {
    font-size: 1.4rem;
  }

  .legal-hero-overlay {
    padding: 130px 15px 50px 15px;
  }
}
