html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Desktop Navbar - Clean Horizontal Design */
.eco-desktop-navbar {
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco-desktop-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Section */
.eco-desktop-navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eco-desktop-navbar-logo img {
    height: auto;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.eco-desktop-navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--eco-green);
    font-family: 'Poppins', sans-serif;
}

/* Navigation Links */
.eco-desktop-navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.eco-desktop-navbar-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.eco-desktop-navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--eco-green);
    transition: width 0.3s ease;
}

.eco-desktop-navbar-link:hover {
    color: var(--eco-green);
}

.eco-desktop-navbar-link:hover::after {
    width: 80%;
}

.eco-desktop-navbar-link.active {
    color: var(--eco-green);
    font-weight: 600;
}

.eco-desktop-navbar-link.active::after {
    width: 80%;
}

/* Login Button */
.eco-desktop-navbar-actions {
    display: flex;
    align-items: center;
}

/* Login Button */
.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #00bf63;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #1f80ff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(31, 128, 255, 0.2);
    position: relative;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(31, 128, 255, 0.4);
    border-color: #1f80ff;
    animation: outlinePulse 0.6s ease-in-out;
}

@keyframes outlinePulse {
    0%, 100% {
        border-width: 2px;
        box-shadow: 0 4px 15px rgba(31, 128, 255, 0.4);
    }
    50% {
        border-width: 3px;
        box-shadow: 0 6px 20px rgba(31, 128, 255, 0.6);
    }
}

.login-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.login-btn:hover .login-icon {
    transform: scale(1.1);
}

/* Responsive */
@media (min-width: 992px) {
    .eco-desktop-navbar {
        display: block;
    }
}

/* Tablet adjustments */
@media (min-width: 992px) and (max-width: 1200px) {
    .eco-desktop-navbar-nav {
        gap: 1.5rem;
    }
    
    .eco-desktop-navbar-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
}

.eco-desktop-navbar.navbar-hidden {
    transform: translateY(-120%);
    box-shadow: none;
}

/* Smooth scroll offset for sticky navbar on desktop */
@media (min-width: 992px) {
    html {
        scroll-padding-top: 80px;
    }
    
    section[id] {
        scroll-margin-top: 20px;
    }
}
