:root {
    --primary-blue: #2563eb;
    --primary-light: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-accent: #f9fafb;
    --border-color: rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--primary-light);
    color: var(--text-main);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 100px 0 60px;
    /* Accounts for fixed navbar and nav dots */
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .slide {
        justify-content: flex-start;
        /* Start from top on mobile */
        padding-top: 80px;
    }
}

.slide.active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 1.1s ease-out forwards;
}

/* Nav Item Styling */
.nav-dot.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.nav-dot:not(.active) {
    color: var(--text-muted);
}

.nav-dot:hover:not(.active) {
    background: rgba(0, 0, 0, 0.02);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}