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

header {
    background-color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;  
    color: #333;
    border-bottom: 2px solid #ccc;
}


nav {
    background-color: #f0f0f0;
    padding: 10px 0;
    border-bottom: 2px solid #007bff;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 0 20px;
}

.menu-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
}

.menu-link:hover, .menu-link.activo {
    background-color: #007bff;
    color: white;
}


.servicios {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.servicios h2 {
    margin-bottom: 20px;
    color: #333;
}


.grid-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-items: center;
}

.card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    width: 220px;
    text-align: center;
    transition: transform 0.3s;
}

.card2 {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    width: 320px;
    text-align: center;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    font-weight: bold;  
    color: #333;
}

.grid-servicios2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-items: center;
}

.grid-servicios3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    justify-items: center;
}

.boton-servicio {
    display: block; 
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    margin-top: 8px;
    transition: color 0.3s, transform 0.2s;
}

.boton-servicio:hover {
    color: #007bff;
    transform: scale(1.1);
}

.boton:hover {
    background: #005fcc;
}

footer{
    padding: 25px;
    border-radius: 10px;
    background-color: #ddd;
    color: #000;
    text-align: center;

}

#contenido-form {
    text-align: left;
    background-color: #f0f0f0;  
    border: 2px solid #ddd;     
    border-radius: 10px;        
    padding: 20px;              
    width: 400px;               
    margin: 0 auto;            
    
}

#botonera{
    background-color: #f0f0f0;  
    border: 2px solid #ddd;     
    border-radius: 10px;        
    padding: 20px;              
    width: 400px;               
    margin: 0 auto;   
}

.boton{
    color: #007bff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
}

.boton:hover{
    background-color: #007bff;
    color: #e8e8e8;
}

.idioma{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #007bff;
    
}

.idioma img{
    padding: 10px;
    width: 50px;
    height: auto;
}