body {
    margin: 0;
    background-color: #f4f6f9;
    font-family: 'Segoe UI', sans-serif;
}

/* =========================
SIDEBAR
========================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #212529;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-logo {
    color: white;
    text-align: right;  
    font-size: 28px;
    font-weight: bold;
  
}

/* =========================
MENU
========================= */

.menu-header {
    display: block;
    background: #343a40;
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    border-bottom: 1px solid #495057;
    cursor: pointer;
}

    .menu-header:hover {
        background: #495057;
    }

.sidebar a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

    .sidebar a:hover {
        background: #dc3545;
        color: white;
    }

.submenu {
    background: #2b3035;
}

    .submenu a {
        padding-left: 40px !important;
        font-size: 14px;
        color: #d1d5db;
    }

        .submenu a:hover {
            background: #dc3545;
            color: white;
        }

/* =========================
PREMIUM MENU
========================= */

.premium-menu {
    opacity: .7;
    position: relative;
}

    .premium-menu:hover {
        background: #495057 !important;
    }

.premium-badge {
    float: right;
    background: gold;
    color: black;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 10px;
}

/* =========================
MAIN CONTENT
========================= */

.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 25px;
}

/* =========================
HERO SECTION
========================= */

.hero-section {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

/* =========================
TOOL CARDS
========================= */

.tool-card {
    border: none;
    border-radius: 15px;
    cursor: pointer;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,.08);
}

    .tool-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
    }

    .tool-card h1 {
        font-size: 48px;
    }

    .tool-card h5 {
        font-weight: 600;
    }

/* =========================
CATEGORY CARDS
========================= */

.category-card {
    border-radius: 12px;
    height: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.10);
    }

/* =========================
FEATURES
========================= */

.feature-icon {
    font-size: 3rem;
}

.section-title {
    margin-bottom: 20px;
    font-weight: 700;
}

/* =========================
DASHBOARD CARD
========================= */

.card-tool {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.08);
}

/* =========================
UPLOAD AREA
========================= */

.upload-area {
    border: 2px dashed #ced4da;
    padding: 50px;
    text-align: center;
    border-radius: 10px;
    background: #fafafa;
}

/* =========================
BOOTSTRAP CARD
========================= */

.card {
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,.08);
}

/* =========================
SCROLLBAR
========================= */

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 10px;
}

/* =========================
MOBILE & TABLET
========================= */

@media (max-width: 768px) {


    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
        padding: 15px;
    }

    .hero-section {
        padding: 40px 15px;
    }

        .hero-section h1,
        .display-4 {
            font-size: 2rem;
        }

    .lead {
        font-size: 1rem;
    }

    .tool-card h1 {
        font-size: 34px;
    }

    .tool-card h5 {
        font-size: 15px;
    }

    .badge {
        margin: 4px;
    }


}
