/* Legal.css */

.legal-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.container {
  width: 90%;
  margin: auto;
}

.legal-heading {
  text-align: center;
  margin-bottom: 50px;
}

.legal-heading h2 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  position: relative;
  display: inline-block;
}

.legal-heading h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #f59e0b;
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-radius: 20px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.legal-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  text-align: center;
  padding: 20px;
}

.legal-card:hover {
  transform: translateY(-8px);
}

.legal-card img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
}

.legal-card h5 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

/* Responsive */

@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-heading h2 {
    font-size: 32px;
  }

  .legal-card h5 {
    font-size: 18px;
  }
}