* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 40%, #e3f2fd 80%, #ffffff 100%);
    min-height: 100vh;
    padding: 20px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

.dashboard-header h1 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: #2c3e50;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dashboard-header p {
    font-size: 1.1rem;
    opacity: 0.7;
}

.filter-controls {
    text-align: center;
    margin-bottom: 30px;
}

.filter-select {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1rem;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-select:hover {
    background: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.filter-select:focus {
    background: white;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    gap: 25px;
    padding: 20px 0;
    justify-content: center;
    justify-items: center;
    align-items: center;
    width: 100%;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    height: 280px;
    width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 10px;
    color: #333;
}

.service-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 60px;
}

.service-server {
    display: inline-block;
    background: #e8f0fe;
    color: #5f6368;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 5px;
    opacity: 0.85;
    border: 1px solid #dadce0;
}

@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, 280px);
        gap: 20px;
        justify-content: center;
        justify-items: center;
    }
    
    .service-card {
        padding: 25px 20px;
        height: 260px;
        width: 280px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, 250px);
        gap: 15px;
        justify-content: center;
        justify-items: center;
    }
    
    .service-card {
        padding: 20px 15px;
        height: 240px;
        width: 250px;
    }
}