body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Estilos para el contenedor principal del navbar */
.navbar {
    background: rgb(250, 250, 250);
    background: linear-gradient(90deg, rgba(250, 250, 250, 1) 0%, rgba(0, 123, 244, 1) 45%, rgba(0, 76, 252, 1) 85%);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Contenedor para logo, menú y hamburguesa */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo de la empresa */
.navbar-logo .logo {
    height: 95px;
    width: auto;
    margin-right: 10px;
}

/* Botón de hamburguesa */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Menú principal */
.navbar-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu li {
    position: relative;
    padding: 0 48px;
}

.nav-menu li a {
    color: #ffffff; /* Color blanco para el texto */
    text-decoration: none;
    padding: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la visibilidad */
    font-size: 14px;
}

.nav-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

/* Dropdowns */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #007bf4;
    padding: 10px;
    list-style: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-menu li {
    padding: 5px 0;
}

.dropdown-menu li a {
    color: #ffffff; /* Color blanco para el texto */
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la visibilidad */
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Estilos para el campo de búsqueda */
.search-dropdown {
    width: 300px;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bf4;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.search-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
    box-sizing: border-box;
    max-width: calc(100% - 60px);
    color: #000; /* Color oscuro para el texto del input */
}

.search-icon {
    width: 40px;
    height: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-search {
    width: 100%;
    padding: 12px;
    background-color: #00c0e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

.btn-search:hover {
    background-color: #0097b9;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #000;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        padding-top: 20px;
        flex-direction: column;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .navbar-menu.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 10px 20px;
    }

    .nav-menu li a {
        font-size: 18px;
        color: #ffffff; /* Color blanco para el texto */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la visibilidad */
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        margin-top: 5px;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        color: #ffffff; /* Color blanco para el texto */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Sombra para mejorar la visibilidad */
    }

    .search-dropdown {
        width: 100%;
        padding: 20px;
        position: static;
        transform: none;
    }

    .search-input {
        width: 100%;
    }

    .btn-search {
        width: 100%;
    }

    /* Estilos específicos para el dropdown de búsqueda en el menú lateral */
    .navbar-menu.active .search-dropdown {
        background-color: #007bf4;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        padding: 20px;
        width: 100%;
    }

    .navbar-menu.active .search-input {
        background-color: #fff;
        color: #000; /* Color oscuro para el texto del input */
        border: 1px solid #ccc;
    }

    .navbar-menu.active .btn-search {
        background-color: #00c0e6;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        text-align: center;
        margin-top: 10px;
    }

    .navbar-menu.active .btn-search:hover {
        background-color: #0097b9;
    }
}