/* Simple CSS - Your Original Working Version */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.hero-section {
    background-size: cover;
    background-position: center;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.content img {
    max-width: 100%;
    height: auto;
}

/* Dark theme support */
body.dark-theme {
    background-color: #1a1a2e;
    color: #ffffff;
}

body.dark-theme .card {
    background-color: #16213e;
    border-color: #0f3460;
}

body.dark-theme .text-muted {
    color: #a0aec0 !important;
}

/* ========================================
   STICKY SIDEBAR LAYOUT - FIXED
   ======================================== */

/* Make the layout container full height */
.sticky-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* LEFT SIDEBAR - STICKY (doesn't scroll) */
.left-sidebar-sticky {
    width: 280px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    /* Custom scrollbar for sidebar if content is too long */
}

/* RIGHT SIDEBAR - STICKY (doesn't scroll) */
.right-sidebar-sticky {
    width: 320px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* MAIN CONTENT - SCROLLABLE (this is the only part that scrolls) */
.main-content-scrollable {
    flex: 1;
    min-height: 100vh;
    overflow-y: auto;
    padding: 20px 30px;
}

/* Hide sidebar scrollbars on desktop (optional, keeps them clean) */
.left-sidebar-sticky::-webkit-scrollbar,
.right-sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}

.left-sidebar-sticky::-webkit-scrollbar-track,
.right-sidebar-sticky::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.left-sidebar-sticky::-webkit-scrollbar-thumb,
.right-sidebar-sticky::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Mobile responsive - sidebars become hidden behind hamburger menu */
@media (max-width: 992px) {
    .right-sidebar-sticky {
        display: none;
    }
}

@media (max-width: 768px) {
    .left-sidebar-sticky {
        position: fixed;
        left: -280px;
        top: 0;
        transition: left 0.3s ease;
        z-index: 1050;
        height: 100vh;
    }
    
    .left-sidebar-sticky.active {
        left: 0;
    }
    
    .main-content-scrollable {
        padding: 15px;
        margin-left: 0;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1060;
        background: var(--primary, #007bff);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        cursor: pointer;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn, .sidebar-overlay {
        display: none;
    }
}