
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f9f9f9;
            color: #333;
        }
        
        /* Barra de bienvenida animada */
        .welcome-bar {
            background: linear-gradient(90deg, #ffb518, #015e31, #f45a10);
            color: white;
            padding: 8px 0;
            overflow: hidden;
            position: relative;
            text-align: center;
            font-weight: bold;
        }
        
        .marquee {
            display: inline-block;
            white-space: nowrap;
            animation: marquee 20s linear infinite;
        }
        
        @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        
       
        /* Carrusel mejorado */
.carousel {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.carousel-inner {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición más suave */
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-item:hover .carousel-img {
    transform: scale(1.05);
}

/* Indicadores de radio */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Botones de navegación (opcionales, puedes ocultarlos si quieres solo indicadores) */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel:hover .carousel-control {
    opacity: 1;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Responsive para el carrusel */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 250px;
    }
    
    .carousel-control {
        opacity: 0.7; /* Siempre visibles en móviles */
    }
}
        
        /* Sección de departamentos */
        .departments {
            display: flex;
            justify-content: space-around;
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            flex-wrap: wrap;
        }
        
        .department-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            width: 30%;
            min-width: 300px;
            margin-bottom: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .department-card:hover {
            transform: translateY(-5px);
        }
        
        .department-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .department-content {
            padding: 20px;
        }
        
        .department-content h3 {
            color: #002d80;
            margin-bottom: 10px;
        }
        
        .btn {
            display: inline-block;
            background-color: #f45a10;
            color: white;
            padding: 8px 15px;
            border-radius: 4px;
            text-decoration: none;
            margin-top: 10px;
            font-weight: bold;
        }
         /* Sección de texto largo para demostrar el scroll */
         .long-content {
            height: 1500px;
            background: linear-gradient(180deg, #f8f9fa, #e9ecef);
            padding: 20px;
            border-radius: 8px;
        }
        
                /* Estilos para la barra de navegación oculta */
        .navbar.hidden {
            transform: translateY(-100%);
            transition: transform 0.3s ease-in-out;
        }

        .navbar {
            transition: transform 0.3s ease-in-out;
            transform: translateY(0);
        }

        /* Estilos para el indicador de scroll */
        .scroll-indicator {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background-color: #015e31;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .scroll-indicator.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-indicator:hover {
            background-color: #015e31d5;
            transform: scale(1.1);
        }
        /* Pie de página */
        footer {
            background: linear-gradient(90deg, #f45a10, #015e31, #ffb518);
           color: white;
            padding: 40px 20px;
            margin-bottom: auto;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .footer-section {
            flex: 1;
            min-width: 300px;
            margin-bottom: 20px;
            margin-left: 10px;
        }
        
        .footer-section h3 {
            margin-bottom: 15px;
            border-bottom: 2px solid #ffcc00;
            padding-bottom: 5px;
            display: inline-block;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.8rem;
            margin-right: 15px;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: #ffcc00;
        }
        
        .feedback-form input,
        .feedback-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: none;
            border-radius: 4px;
        }
        
        .feedback-form button {
            background-color: #ffcc00;
            color: #002d80;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .legal {
            font-size: 0.8rem;
            margin-top: 10px;
        }
        .legal>a{
            color: white;
            text-decoration: none;
        }
        .legal>a:hover{
            color: #bebdbd;
            text-decoration: underline;
        }
        
        .motivational {
            text-align: center;
            margin-top: 20px;
            font-style: italic;
            font-size: 1.2rem;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .department-card {
                width: 100%;
            }
            
            .footer-section {
                flex: 100%;
            }
            
            .main-header h1 {
                font-size: 2.5rem;
            }
        }
        .dropdown-content, 
        .user-dropdown, 
        .language-dropdown,
        .mobile-menu,
        .search-results {
            z-index: 99999 !important;
        }

        .navbar {
            position: relative;
            z-index: 10000;
        }