:root {
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.body-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.body-section h1 {
  margin-bottom: 30px;
  padding: 15px 25px;
  color: #fff;
  background-color: var(--color-primary-dark);
  border-radius: 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  width: fit-content;
  max-width: 100%;
  text-align: center;
  border: 2px solid var(--color-secondary);
}

.body-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-right: 15px;
  border-right: 4px solid var(--color-secondary);
  width: fit-content;
  text-align: right;
}

.body-section h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: right;
}

.body-section p {
  color: var(--color-text-dark);
  font-weight: 500;
  line-height: 1.6;
  font-size: 1.05rem;
  margin-top: 15px;
  text-align: justify;
}

.body-section ul {
  list-style: none;
  padding-right: 0;
}
.body-section ul li {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  padding-right: 20px;
  position: relative;
  margin-bottom: 10px;
  color: var(--color-text-dark);
  text-align: justify;
}
.body-section ul li::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--color-secondary);
  position: absolute;
  right: 0;
  top: 5px;
  font-size: 0.8em;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .body-section {
    padding: 20px;
  }
  .body-section h1,
  .body-section h2,
  .body-section h3 {
    width: 100%;
    padding-right: 0;
    border-right: none;
    margin-bottom: 20px;
  }
  .DataBase {
    text-align: center;
  }
}
