/* Base styles for tool pages */
.tools-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header-section {
    text-align: center;
    margin-bottom: 3rem;
}

.header-section h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    justify-content: center;
}

.tool-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.tool-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.tool-card p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .tools-main {
        padding: 1rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .header-section h1 {
        font-size: 2rem;
    }
}

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

    .tool-card {
        padding: 1.5rem;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
} 