/* About Section */
.legalpages-section {
  padding-top: 2rem;
  padding-bottom: 6rem;
  background-color: #f8f9fa;
}

.legalpages-section .container {
  max-width: 90%;
  margin: 0 auto;
}

.legalpages-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529;
  letter-spacing: -0.5px;
  position: relative;
}

.legalpages-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #212529, #6c757d);
  border-radius: 2px;
}

.legalpages-content a {
  color: inherit;
  text-decoration: underline;
}

.legalpages-content a:hover {
  color: #212529;
  text-decoration: underline;
}

.content-wrapper {
  display: flex;
  justify-content: center;
}

.legalpages-content {
  background: #ffffff;
  padding: 2.5rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
}

.legalpages-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #212529, #6c757d);
}

.legalpages-content p {
  margin-bottom: 1.5rem;
  color: #495057;
  font-size: 1rem;
  line-height: 1.6;
}

.legalpages-content h3 {
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: #212529;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legalpages-section {
    padding: 2rem 1rem;
  }

  .legalpages-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .legalpages-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 580px) {
  .about-section {
    padding: 1.5rem 1rem;
  }

  .about-content {
    padding: 1.5rem 1rem;
  }
}