.tools-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
}

.tools-hero h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.tools-hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

.tool-category {
    margin-bottom: 40px;
}

.tool-category h3 {
    color: #1e3c72;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
}

.tool-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tool-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.tool-card h4 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.tool-card p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .tools-hero h2 {
        font-size: 2em;
    }

    .tools-hero p {
        font-size: 1.1em;
    }

    .tool-category h3 {
        font-size: 1.5em;
    }

    .tools-container {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 15px;
    }
}