.docs-card {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.08),
        0 6px 10px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    animation: fadeUpDocs 0.6s ease forwards;
}

/* Efekt „lift” + mocniejszy cień po hover */
.docs-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.2),
        0 10px 20px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.12);
}

/* Poświata premium po hover */
.docs-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76,175,80,0.12), transparent 60%);
    opacity: 0;
    transition: 0.4s ease;
    pointer-events: none;
}

/* Aktywna poświata */
.docs-card:hover::before {
    opacity: 1;
}

/* Animacja wejścia */
@keyframes fadeUpDocs {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Opóźnienia */
.docs-card:nth-child(1) { animation-delay: 0.1s; }
.docs-card:nth-child(2) { animation-delay: 0.25s; }
.docs-card:nth-child(3) { animation-delay: 0.4s; }

/* ======= IKONY ======= */

.docs-icon {
    font-size: 1.4rem;
    margin-right: 6px;
    vertical-align: middle;
}

/* ======= PRZYCISKI ======= */

.docs-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.docs-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #4CAF50;
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.25s ease;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover – premium */
.docs-btn:hover {
    background: #3e9b43;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 14px rgba(76,175,80,0.4);
}

/* Klik */
.docs-btn:active {
    transform: scale(0.96);
}

/* ======= RESPONSYWNOŚĆ ======= */

@media (max-width: 600px) {
    .docs-card {
        padding: 18px;
    }

    .docs-btn {
        width: 100%;
        justify-content: center;
    }
}