﻿.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    padding: 20px;
    border-radius: 10px;
    background: #1b1b1b;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

    .tool-card:hover {
        transform: translateY(-4px);
        background: #252525;
    }

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

.hero {
    padding: 110px 20px;
    text-align: center;
    background: #f3f3f3;
}

    .hero h1 {
        font-size: 44px;
        margin-bottom: 20px;
    }

    .hero p {
        max-width: 700px;
        margin: auto;
        font-size: 18px;
        color: #555;
    }

.tools-page {
    max-width: 1100px;
    margin: auto;
}

.dropdown {
    position: relative;
    padding-bottom: 10px;
}

.primary-btn {
    display: inline-block;
    background: #111;
    color: white !important;
    padding: 12px 25px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 600;
}

    .primary-btn:hover {
        background: #333;
    }

.result-box {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: white;
    max-width: 400px;
}

    .result-box button {
        margin-left: 10px;
        padding: 4px 10px;
        border: none;
        background: #4CAF50;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

/* NAVBAR */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.tool-card h3 {
    color: white;
    margin-bottom: 8px;
}

.tool-card p {
    color: #ccc;
    font-size: 14px;
}

.tool-card {
    display: block;
    padding: 20px;
    border-radius: 10px;
    background: #1b1b1b;
    color: white;
    transition: 0.2s;
}

    .tool-card:hover {
        transform: translateY(-4px);
        background: #252525;
    }

.navbar {
    display: flex;
    align-items: center;
    background: #111;
    padding: 14px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .navbar a {
        color: white !important;
    }

.nav-logo {
    color: #7CFC00 !important;
    font-weight: bold;
    font-size: 20px;
    margin-right: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-item {
    color: white !important;
    cursor: pointer;
}

    .nav-item:hover {
        color: #7CFC00;
    }

/* DROPDOWN */

.dropdown {
    position: relative;
}

    .dropdown-menu a {
        display: block;
        color: white !important;
        padding: 8px 10px;
        font-size: 14px;
    }

        .dropdown-menu a:hover {
            background: #2a2a2a;
            border-radius: 4px;
        }


.dropdown:hover .dropdown-menu {
    display: block;
}

a {
    text-decoration: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1b1b1b;
    padding: 12px;
    border-radius: 6px;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 999;
}