.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.resource-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.resource-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: #01524c;
}

.resource-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: white;
    border: 2px solid #b87332;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.resource-card:hover .resource-icon {
    background: #01524c;
    border-color: #01524c;
}

.resource-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: white;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 50% 82%, 18% 100%, 0% 38%);
    transition: all 0.3s;
}

.resource-card:hover .resource-icon::before {
    background: white;
}

.resource-icon::after {
    content: '↓';
    position: absolute;
    font-size: 28px;
    color: #01524c;
    font-weight: bold;
    transition: all 0.3s;
}

.resource-card:hover .resource-icon::after {
    color: white;
}

.resource-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.resource-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.button-container {
    display: flex;
    justify-content: center;
}

.view-all-btn {
    padding: 14px 48px;
    background: #01524c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: #01524c;
    transform: scale(1.05);
}

.view-all-btn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 28px;
    }

    .header-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .filter-dropdown {
        width: 100%;
    }

    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .resource-card {
        padding: 20px;
    }
}