.sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
}

.sidebar h4 {
    font-size: 1.3em;
    color: #2E7D32;
    margin-bottom: 15px;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    border-radius: 5px;
    text-align: center;
}

.sidebar a:hover {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.content-wrapper {
    margin-left: 240px;
    padding: 0 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.5);
}

.card a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.card a:hover,
.card a h3,
.card a p {
    text-decoration: none !important;
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    color: #2E7D32;
    margin: 5px 0;
}

.card p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .sidebar {
        position: static;
        width: 100%;
        transform: none;
        margin-bottom: 20px;
    }

    .content-wrapper {
        margin-left: 0;
    }

    .card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}