.section {
  padding: 60px 20px;
  margin: 40px 0;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.section h2 {
  text-align: center;
  color: #333;
  font-size: 2.5rem;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
}

.content p {
  font-size: 1.1rem;
  color: #555;
}

.box-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 0;
  height: 100%;
  transition: transform 0.3s ease;
}

.box-container,
.inner-box {
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.box-container:hover {
  transform: translateY(-4px);
}

.titulo-box {
  background-color: #0f5d7e;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  padding: 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.text-box {
  background-color: #f0f6fa;
  color: #333;
  font-size: 1rem;
  text-align: center;
  padding: 20px;
  flex-grow: 1;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-box .row > div {
  display: flex;
  flex-direction: column;
}

.text-box p,
.content p {
  margin-bottom: 10px;
  font-size: 1.05rem;
  text-align: center;
  color: #333;
}

.subtitulo-box {
  background-color: #0f5d7e;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  padding: 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.source-logo {
  max-height: 80px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.source-logo:hover {
  transform: scale(1.05);
}

.card-box {
  background-color: #0f5d7e;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card-box:hover {
  transform: translateY(-5px);
}

.card-box h5 {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-box p {
  font-size: 0.95rem;
  color: #f1f1f1;
}

.inner-box {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  height: 100%;
}