/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Ensure full height */
html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Body */
body {
    background-color: #f4f7f6;
    color: #333;
    font-size: 16px;
}

/* Header Styles */
header {
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 20px 0;
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Tools Container */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px 20px;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

/* Tool Styling */
.tool {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Links styling */
a {
    text-decoration: none;
    color: inherit;
}

/* Tool Icons */
.tool .icon {
    font-size: 4em;
    color: #2ecc71;
    margin-bottom: 20px;
}

.tool h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.tool p {
    color: #7f8c8d;
}

/* Footer Styles (Sticks to Bottom) */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Media Queries */
@media screen and (max-width: 1170px) {
    .tools-container {
        width: 100%;
    }
}
