/* Hide scrollbars for the carousel but keep functionality */
.hide-scrollbar::-webkit-scrollbar { 
    display: none; 
}
.hide-scrollbar { 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Dynamic Navbar Scroll State (Responsive) */
#navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    margin-top: 10px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Tablet adjustments */
@media (min-width: 768px) {
    #navbar.scrolled {
        margin-top: 16px;
        margin-left: 32px;
        margin-right: 32px;
        padding: 0 32px;
    }
}

/* Desktop adjustments */
@media (min-width: 1024px) {
    #navbar.scrolled {
        margin-top: 20px;
        margin-left: 60px;
        margin-right: 60px;
        padding: 0 40px;
    }
}

/* Single Page App (SPA) View Switching Logic */
.view-section { 
    display: none; 
    animation: fadeInUp 0.5s ease-out forwards; 
}
.view-section.active { 
    display: block; 
}