/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 50px 0;
    text-align: center;
}

header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
}

nav {
    background-image: linear-gradient(to right, #007bff, #0056b3); /* Fondo de gradiente */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Efecto de sombra */
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin-right: 20px; /* Espacio entre elementos del menú */
}

nav ul li:last-child {
    margin-right: 0; /* Eliminar margen derecho del último elemento */
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s, color 0.3s; /* Transiciones suaves */
    position: relative;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Color de fondo al pasar el cursor */
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    bottom: 0;
    left: 0;
    transform: scaleX(0); /* Inicialmente no visible */
    transition: transform 0.3s ease; /* Animación de transformación */
}

nav ul li a:hover::before {
    transform: scaleX(1); /* Mostrar la línea al pasar el cursor */
}

section {
    padding: 50px 0;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    flex: 1; /* Esto hará que todos los elementos tengan el mismo ancho */
    margin: 0 10px; /* Ajuste de los márgenes entre los servicios */
}

.service:hover {
    transform: translateY(-5px);
}

.service i {
    font-size: 36px;
    margin-bottom: 10px;
    color: #007bff;
}

.service h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.service p {
    font-size: 16px;
    color: #666;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
