body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ddd;
}

.hero {
    margin-top: 80px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 50px;
}

.btn {
    display: inline-block;
    background-color: #fff;
    color: #667eea;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #ddd;
}

.services, .projects {
    padding: 80px 50px;
    text-align: center;
}

.services h2, .projects h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.service-list, .project-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.service, .project {
    width: 300px;
    margin: 30px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover, .project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service i {
    font-size: 3em;
    margin-bottom: 20px;
    color: #667eea;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

nav ul li select {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
}

nav ul li select option {
    background-color: #667eea;
    color: #fff;
}
/* ... (resto del CSS) ... */

nav ul li.language-select {
    position: relative;
}

nav ul li.language-select select {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    appearance: none;
    padding-right: 25px;
}

nav ul li.language-select select option {
    background-color: #667eea;
    color: #fff;
}

nav ul li.language-select i.fas.fa-globe {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    pointer-events: none;
}

.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

body {
    padding-top: 80px;
}

/* Estilos para el menú responsivo */
nav ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px;
}

hr {
    border: none;
    height: 3px; /* Tamaño adecuado para escritorio */
    background: white;
    margin: 0 auto;
    width: 90%;
    box-sizing: border-box; /* Evita que se expanda por margen/padding */
}

/* Estilos para el botón de menú hamburguesa */
.menu-toggle {
    display: none; /* Oculto en pantallas grandes */
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
}

/* Diseño del menú en móviles */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .menu-toggle {
        display: block; /* Mostrar el botón en móviles */
        position: absolute;
        top: 15px; /* Asegura separación del borde superior */
        right: 55px; /* Agrega margen derecho para separarlo de la pantalla */
    }

    .nav-links {
        display: none; /* Ocultar menú inicialmente */
        flex-direction: column;
        width: 100%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex; /* Mostrar cuando se haga clic */
    }

    .nav-links li {
        margin: 15px 0;
    }

    hr {
        height: 1px; /* Reduce el grosor en móviles */
        width: 80%; /* Se mantiene más corto */
        margin: 5px auto 0; /* Ajustamos el margen para no verse separado */
    }
}

