 :root {
            --primary-color: #1e3a8a;  /* Azul oscuro */
            --secondary-color: #3b82f6; /* Azul medio */
            --accent-color: #60a5fa;   /* Azul claro */
            --light-color: #f8fafc;    /* Blanco azulado */
            --text-color: #1e293b;     /* Negro azulado */
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
           /* background-color: #f1f5f9;*/
            background: linear-gradient(350deg, var(--primary-color), var(--secondary-color));
            color: var(--text-color);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 1px solid #cbd5e1;
        }
        footer{
            text-align: center;
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 1px solid #cbd5e1;
        }
        
        h1 {
            color: white;
            margin-bottom: 10px;
        }
        h2{
            
            color: white;
            margin-bottom: 10px;
        
        }
 
        
        .filter-container {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            position: relative;
        }
        
        .custom-select {
            position: relative;
            width: 300px;
        }
        
        .select-trigger {
            background-color: white;
            padding: 12px 20px;
            border: 2px solid var(--secondary-color);
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .select-trigger:hover {
            background-color: var(--light-color);
        }
        
        .select-trigger::after {
            content: "▼";
            font-size: 12px;
            color: var(--primary-color);
            transition: var(--transition);
        }
        
        .select-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background-color: white;
            border: 2px solid var(--secondary-color);
            border-top: none;
            border-radius: 0 0 8px 8px;
            box-shadow: var(--shadow);
            z-index: 10;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .select-options.active {
            max-height: 300px;
            overflow-y: auto;
        }
        
        .select-option {
            padding: 12px 20px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .select-option:hover {
            background-color: var(--light-color);
        }
        
        .select-option.active {
            background-color: var(--secondary-color);
            color: white;
        }
        
        .departments-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .department-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .department-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }
        
        .card-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 15px;
            text-align: center;
        }
        
        .card-body {
            padding: 20px;
        }
        
        .employee-item {
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
        }
        
        .employee-item:last-child {
            border-bottom: none;
        }
        
        .employee-name {
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 5px;
        }
        .employee-correo{
             font-weight: 600;
            color: var(--text-color);
            margin-bottom: 5px;
        }
        
        .employee-position {
            color: #475569;
            font-size: 14px;
            margin-bottom: 5px;
        }
        
        .employee-contact {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #64748b;
        }
        
        .phone-link {
            color: var(--secondary-color);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .phone-link:hover {
            color: var(--primary-color);
        }
        
        /* Estilos para móviles */
        @media (max-width: 768px) {
            .custom-select {
                width: 100%;
            }
            
            .departments-grid {
                grid-template-columns: 1fr;
            }
            
            .employee-contact {
                flex-direction: column;
            }
            
            .employee-contact span {
                margin-bottom: 3px;
            }

            h2{
                font-size: 100%;
            }

        }
        
        /* Estilos para tablets */
        @media (min-width: 769px) and (max-width: 1024px) {
            .departments-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }