.lab-card {
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1.5rem;
    text-decoration: none !important;
    border: none;
    color: #fff !important;
}

.lab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.col-12:nth-child(5n+1) .lab-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.col-12:nth-child(5n+2) .lab-card {
    background: linear-gradient(135deg, #134E5E 0%, #71B280 100%);
}

.col-12:nth-child(5n+3) .lab-card {
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
}

.col-12:nth-child(5n+4) .lab-card {
    background: linear-gradient(135deg, #093028 0%, #237A57 100%);
}

.col-12:nth-child(5n+5) .lab-card {
    background: linear-gradient(135deg, #005c97 0%, #363795 100%);
}

.lab-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 16px;
    transition: transform 0.3s ease, background 0.3s;
    backdrop-filter: blur(5px);
}

.lab-card:hover .lab-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 255, 255, 0.35);
}

.lab-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lab-desc {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.empty-box {
    border: 1px dashed rgba(7, 50, 81, .25);
    border-radius: 18px;
    background: rgba(176, 210, 255, .06);
    padding: 2.5rem;
    text-align: center;
}

.empty-box i {
    font-size: 44px;
    opacity: .75;
}
