* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

:root {
    --primary: #f72585;
    --primary-dark: #f72585;
    --secondary: #09b73d;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    background-color: #f9fbff;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}


/* Tools Section */
.tools-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    font-size: 2.2rem;
    color: white;
}

.compression .tool-icon {
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
}

.resizer .tool-icon {
    background: linear-gradient(135deg, #7209b7, #b5179e);
}

.converter .tool-icon {
    background: linear-gradient(135deg, #f72585, #ff9e00);
}

.image-to-pdf .tool-icon {
    background: linear-gradient(135deg, #38b000, #80ed99);
}

.pdf-to-image .tool-icon {
    background: linear-gradient(135deg, #ff9e00, #ffd166);
}

.tool-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.tool-card p {
    color: var(--gray);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tool-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2);
}

.tool-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}

.tool-button i {
    margin-left: 8px;
}



/* Responsive */
@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .tool-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }

}



