body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #0d0d0d;
    color: #ffffff;
    scroll-behavior: smooth; /* Animación suave al desplazarse */
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1c1c1c;
    padding: 10px 0;
    z-index: 1000;
}

.navbar-inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.navbar li {
    margin: 0 8px;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #86a5d9;
}

.section {
    padding: 100px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sección 1: Introducción con imagen de fondo, blur y tinte */
.intro {
    height: 70vh;
    padding-top: 50px;
    background: url('image_1.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 150, 0.15); /* Tinte azul del 15% */
    backdrop-filter: blur(15px);
    z-index: 1;
}

.intro h1, .intro p {
    position: relative;
    z-index: 2;
}

/* Sección 3: Servicios con imagen de fondo, blur y tinte */
.services {
    height: 70vh;
    padding-top: 50px;
    background: url('image_2.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 150, 0.15); /* Tinte azul del 15% */
    backdrop-filter: blur(15px);
    z-index: 1;
}

.services h2, .services ul {
    position: relative;
    z-index: 2;
}

.about, .contact {
    background-color: #1c1c1c;
}

/* Animación al entrar en la sección 2 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about {
    animation: fadeInUp 1.5s ease-in-out;
}

h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #86a5d9;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 10px 0;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

input, textarea, button {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

input, textarea {
    background-color: #2b2b2b;
    color: #ffffff;
}

button {
    background-color: #86a5d9;
    color: #000;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

button:hover {
    background-color: #668bbd;
}

footer {
    background-color: #1c1c1c;
    padding: 10px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.mensaje {
    position: fixed;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    z-index: 9999;
    transition: all 0.5s ease;
    opacity: 0;
}

.mensaje.visible {
    bottom: 20px;
    opacity: 1;
}

.mensaje.success {
    background-color: #4CAF50;
}

.mensaje.error {
    background-color: #F44336;
}

.language-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-selector img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.dropdown {
    position: absolute;
    top: 40px;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: #1c1c1c;
    padding: 5px 0;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.dropdown img {
    width: 30px;
    height: 30px;
    margin: 5px 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dropdown img:hover {
    transform: scale(1.1);
}

.hidden {
    display: none;
}

/* Ajuste responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar li {
        margin: 5px 0;
    }
}

