.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem;
    align-items: center;
    justify-content: center;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    width: 100%;
    max-width: 180px;
    margin: 0.5rem;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
    text-decoration: none;
    color: inherit;
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon img {
    width: 100%;
    height: 100%;
    color: #007bff;
}

.tool-card h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.tool-card p {
    margin: 0;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1.5rem;
        align-items: center;
    }

    .tool-card {
        padding: 0.75rem;
        aspect-ratio: 1;
        max-width: 150px;
    }

    .tool-icon {
        width: 36px;
        height: 36px;
    }

    .tool-card h3 {
        font-size: 0.9rem;
    }

    .tool-card p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
        padding: 1rem;
        align-items: center;
    }
    
    .tool-card {
        aspect-ratio: 1;
        max-width: 180px;
    }
} 