:root {

    --primary: #0F172A;
    --secondary: #1E293B;

    --accent: #2563EB;
    --accent-hover: #1D4ED8;

    --background: #F4F7FB;

    --text: #0F172A;
    --muted: #64748B;

    --network: #DBEAFE;
    --email: #EDE9FE;
    --security: #DCFCE7;
    --utilities: #FEF3C7;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, sans-serif;
}

/* -----------------------
   NAVBAR
------------------------ */

.navbar-custom {

    background:
        linear-gradient(
            135deg,
            #0F172A,
            #1E293B
        );

    box-shadow:
        0 4px 12px rgba(0,0,0,.08);
}

.navbar-brand {

    font-weight: 700;
    font-size: 1.25rem;
}

.top-navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: white;

    border-radius: 20px;

    margin: 20px 0 30px;

    padding: 12px 20px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.06);
}

/* -----------------------
   CATEGORY GRID
------------------------ */

.tools-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(450px, 1fr));

    gap: 24px;
}

/* -----------------------
   CATEGORY
------------------------ */

.category {

    background: white;

    border-radius: 20px;

    padding: 25px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.06);
}

.category-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}

.category-title {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 1.2rem;

    font-weight: 700;
}

.icon-wrap {

    width: 48px;

    height: 48px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;
}

.network .icon-wrap {
    background: var(--network);
}

.email .icon-wrap {
    background: var(--email);
}

.security .icon-wrap {
    background: var(--security);
}

.utilities .icon-wrap {
    background: var(--utilities);
}

/* -----------------------
   TOOL CARDS
------------------------ */

.tool-list {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.tool-card {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 180px;

    background: #F8FAFC;

    border-radius: 16px;

    padding: 18px;

    text-decoration: none;

    color: inherit;

    transition: .2s ease;
}

.tool-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 20px rgba(0,0,0,.08);

    color: inherit;
}

.tool-card h3 {

    font-size: 1rem;

    margin-bottom: 8px;
}

.tool-card p {

    color: var(--muted);

    font-size: .9rem;

    margin-bottom: 10px;
}

.tool-foot {

    display: flex;

    justify-content: space-between;

    font-weight: 600;

    color: #0f4c81;
}

/* -----------------------
   SIDEBAR
------------------------ */

.sidebar-title {

    background:
        linear-gradient(
            135deg,
            #0F172A,
            #1E293B
        );

    color: white;
}

.content-card {

    background: white;

    border-radius: 15px;

    padding: 25px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.06);
}


/* ===================================
   MODERN NAVBAR
=================================== */

.top-navbar {

    background: white;

    border-radius: 20px;

    margin: 20px 0 30px;

    padding: 12px 20px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.06);
}

.brand-wrap {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;
}

.brand-logo {

    width: 50px;

    height: 50px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #2563EB,
            #1D4ED8
        );

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 700;
}

.brand-title {

    color: #0F172A;

    font-weight: 700;
}

.brand-subtitle {

    color: #64748B;

    font-size: .8rem;
}

.top-navbar .nav-link {

    color: #334155;

    font-weight: 500;

    margin: 0 8px;
}

.top-navbar .nav-link:hover {

    color: #2563EB;
}

.search-box input {

    width: 260px;

    border: 1px solid #E2E8F0;

    border-radius: 12px;

    padding: 10px 15px;

    outline: none;
}

.search-box input:focus {

    border-color: #2563EB;
}

/* ===================================
   BUTTONS
=================================== */

/* ===================================
   BUTTONS
=================================== */

.btn-primary-custom {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: #0F4C81;

    color: white;

    padding: 14px 28px;

    border-radius: 999px;

    font-weight: 600;

    text-decoration: none;

    transition: all .25s ease;

    border: none;
}

.btn-primary-custom:hover {

    background: #0B3B63;

    color: white;

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(15,76,129,.25);
}

.btn-secondary-custom {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: white;

    color: #334155;

    padding: 14px 28px;

    border-radius: 999px;

    font-weight: 600;

    text-decoration: none;

    border: 1px solid #D7DEE8;

    transition: all .25s ease;
}

.btn-secondary-custom:hover {

    background: #F8FAFC;

    color: #0F172A;

    border-color: #CBD5E1;
}




/* -----------------------
   MOBILE
------------------------ */

@media (max-width: 992px) {

    .hero-wrap {

        grid-template-columns: 1fr;
    }

    .tools-grid {

        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {

    .tool-list {

        grid-template-columns: 1fr;
    }

}
