* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

header {
  background: #333;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

header nav ul li {
  margin: 0 1rem;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Estilos para la sección hero */
#hero {
  background: url('hero-bg.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-btn {
  background: #ff6b6b;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #ff3b3b;
}

main {
  padding: 2rem;
}
/* Estilos para la sección "Quiénes somos" */
#quienes-somos {
  background: #f9f9f9;
  padding: 3rem 2rem;
  text-align: left;
}

#quienes-somos .container {
  max-width: 800px;
  margin: 0 auto;
}

#quienes-somos h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

#quienes-somos p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

#quienes-somos ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

#quienes-somos ul li {
  font-size: 1.1rem;
  color: #444;
  padding: 0.5rem 0;
}

@media (max-width: 768px) {
  #quienes-somos {
    padding: 2rem 1rem;
  }

  #quienes-somos h2 {
    font-size: 2rem;
  }

  #quienes-somos p {
    font-size: 1rem;
  }

  #quienes-somos ul li {
    font-size: 1rem;
  }
}
/* Estilos para la sección de servicios */
#servicios {
  margin-bottom: 3rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#servicios h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service {
  background: #fff;
  padding: 1.5rem;
  margin: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 600px;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

.service p {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #555;
}

.service h4 {
  font-size: 1.4rem;
  color: #ff6b6b;
  margin-top: 1rem;
}

.service ul {
  list-style: none;
  padding: 0;
}

.service ul li {
  font-size: 1rem;
  padding: 0.5rem;
  background: #f8f8f8;
  border-radius: 5px;
  margin: 0.3rem 0;
}

/* Responsividad */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}

/* Estilos para el formulario de contacto */
#contacto h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}
  
form {
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: auto;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 3px;
}

form button {
  display: block;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 0.7rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Estilos para el footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #333;
  color: #fff;
}