.realizacje-hero {
    background: white;
    padding: 40px 0;
    margin-bottom: 60px;
}

.realizacje-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.realizacje-hero h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--red);
}

.realizacje-hero p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 20px;
}

.realizacje-section {
    padding: 0 0 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.category-card-content {
    padding: 25px;
}

.category-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.category-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--red);
    transition: width 0.3s ease;
}

.category-card:hover h2::after {
    width: 100%;
}

@media (max-width: 992px) {
    .realizacje-hero h1 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .category-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}