﻿
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #003366;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.tool-card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 51, 102, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.tool-card-icon svg {
    width: 32px;
    height: 32px;
    fill: #003366;
}

.tool-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2333;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.3;
}

.tool-card-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
    flex-grow: 1;
    margin-bottom: 24px;
}

.tool-card-btn {
    display: inline-flex;
    align-items: center;
    color: #cc0000;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.tool-card-btn span {
    margin-right: 8px;
}

.tool-card-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.tool-card-btn:hover {
    color: #003366;
}

.tool-card-btn:hover svg {
    transform: translateX(4px);
}

