/* =====================================================
   1. SLIM NAVIGATION CORE
===================================================== */
nav.main-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px; /* Reduced vertical padding for slim height */
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-btn span {
    width: 26px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 4px;
}

/* =====================================================
   2. MOBILE DRAWER (STAYS THE SAME)
===================================================== */
@media (max-width: 768px) {
    .hamburger-btn { display: flex; }

    .side-drawer {
        position: fixed;
        top: 0;
        right: -320px;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 10002;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .side-drawer.active { right: 0; }

    .drawer-header {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
    }

    .close-drawer { font-size: 30px; background: none; border: none; color: #94a3b8; }
    .nav-menu { list-style: none; padding: 15px; }
    .nav-menu li { margin-bottom: 8px; }
    .nav-menu a { color: #1e293b; text-decoration: none; font-size: 17px; font-weight: 500; }

    .dropdown-header { display: flex; justify-content: space-between; align-items: center; }
    .toggle-indicator { font-size: 20px; color: #667eea; font-weight: bold; }

    .mobile-sub-menu {
        display: none;
        list-style: none;
        padding-left: 15px;
        margin-top: 5px;
        border-left: 2px solid #e2e8f0;
    }

    .drawer-cta {
        background: #667eea !important;
        color: #fff !important;
        text-align: center;
        padding: 10px;
        border-radius: 6px;
        display: block;
        margin-top: 15px;
    }
}

/* =====================================================
   3. DESKTOP VIEW (ALIGNED & SLIM)
===================================================== */
@media (min-width: 769px) {
    .side-drawer { position: static; background: transparent; box-shadow: none; display: block; }
    .drawer-header { display: none; }

    .nav-menu {
        display: flex;
        gap: 12px;
        align-items: center;
        list-style: none;
    }

    .nav-menu a { 
        color: #ffffff; 
        font-size: 13.5px; /* Slightly smaller for slim header */
        text-decoration: none; 
        padding: 6px 10px; 
    }

    .has-dropdown { position: relative; }
    .mobile-sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #ffffff;
        min-width: 180px;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        display: none !important;
    }

    .has-dropdown:hover .mobile-sub-menu { display: block !important; }
    .mobile-sub-menu a { color: #1e293b !important; padding: 10px 15px; display: block; }
    .mobile-sub-menu a:hover { background: #f8fafc; color: #667eea !important; }

    .toggle-indicator { display: none; }
    
    .drawer-cta {
        background: #ffffff !important;
        color: #667eea !important;
        border-radius: 4px;
        font-weight: 700;
        padding: 6px 15px !important;
    }
}
/* =====================================================
   4. SLIM FOOTER
===================================================== */
.main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 20px;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-info h4 { color: #ffffff; margin-bottom: 15px; }
.footer-links { margin: 20px 0; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { margin-top: 30px; font-size: 12px; border-top: 1px solid #1e293b; padding-top: 20px; }

@media (max-width: 768px) {
    .footer-links { flex-direction: column; gap: 10px; }
}