/* Updated CSS with icon removal */
:root {
    --primary-red: #ef233c;
    --dark-red: #d00000;
    --accent-red: #f25f5c;
    --light-bg: #ffffff;
    --text-dark: #2b2d42;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.page-wrapper {
    width: 100%;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--primary-red);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 1rem 0;
}

.tool-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 150px; /* Reduced height */
    border-top: 3px solid var(--primary-red);
}

.tool-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Take full height of card */
}

.tool-title {
    font-size: 1rem;
    margin-bottom: 1rem; /* Increased margin */
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    width: 100%;
}

.btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }

    .tool-card {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tool-card {
        height: 130px;
    }
    
    .tool-content {
        padding: 1rem;
    }
}