body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f8f8f8;
    color: #333;
}

header {
    background-color: #3d3d3f;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

nav {
  background: linear-gradient(to right, rgb(21,52,109), rgb(42,82,152));
  padding: 10px;
  text-align: center;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

section {
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

footer {
      background: linear-gradient(to right, rgb(2, 24, 65), rgb(13, 25, 46));
    color: white;
    text-align: center;
    padding: 20px;
}

/* Estilo general para todas las imágenes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Logo principal */
.logo {
  width: 350px;
  margin: 0 auto;
  display: block;
}

/* Imagen de fondo de sección "Nosotros" */
.imagen-seccion {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Íconos de servicios */
.card img {
  width: 80px;
  height: auto;
  margin: 10px auto;
}

/* Asegurar que las cards sean responsivas */
.servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  width: 200px;
  text-align: center;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
