/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE STYLES */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0e0e0e;
    color: #eaeaea;
    line-height: 1.6;
    padding-bottom: 50px;
}

a {
    color: #00ffd5;
    text-decoration: none;
}

a:hover {
    color: #0ff;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
    margin: auto;
}

/* BUTTON */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #00ffd5, #00a8ff);
    color: #0e0e0e;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.7);

}

.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00a8ff, #00ffd5);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.4);
}

.btn.small {
    padding: 8px 14px;
    font-size: 0.9rem;
}

/*Mobile size Optimized buttons */
@media (max-width: 768px) {
    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin: 2px;
    }

    .btn.small {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .search-bar {
        padding: 10px;
        font-size: 0.9rem;
    }

    .tool-card h3 {
        font-size: 1rem;
    }

    .tool-card p {
        font-size: 0.85rem;
    }
}


/* SEARCH BOX */
.search-bar {
    width: 90%;
    max-width: 500px;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    border: none;
    margin: 20px auto;
    display: block;
    background: #1c1c1c;
    color: #fff;
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.2);
}

/* TOOL GRID */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* TOOL CARD */
.tool-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.2);
    transform: translateY(-3px);
}

.tool-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 15px;
}

.tool-actions {
    margin-top: auto;
}

/* FOOTER */
footer {
    background: #111;
    color: #777;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 50px;
    border-top: 1px solid #222;
}

footer a {
    color: #00ffd5;
}

footer a:hover {
    text-decoration: underline;
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
}


.site-footer {
    background: #0d0d0d;
    padding: 40px 20px 20px;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 12px;
    color: #fff;
}

.footer-column p {
    margin-bottom: 15px;
    color: #aaa;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #00ffd5;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-social a {
    font-size: 1.3rem;
    color: #00ffd5;
    margin-right: 10px;
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: #0ff;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}

.main-header {
    background: #0d0d0d;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}



.logo {
    display: flex;
    align-items: center;
    color: #00ffd5;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

.logo img {
    margin-right: 10px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu a {
    margin-left: 20px;
    color: #ccc;
    font-weight: bolder;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #00ffd5;
}

/* Mobile styles */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: center; /* center logo and nav */
    }

    .nav-menu {
        margin-top: 10px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-menu a {
        margin-left: 0; /* remove left margin for mobile */
    }
}

/* Add this to your CSS file */
.breadcrumb a {
    color: #00ffd5;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
