    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        overflow-x: hidden;
    }

    /* Scroll Reveal Animations */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* Navbar Transition */
    #navbar {
        background: transparent;
    }

    #navbar.scrolled {
        background: rgba(15, 26, 46, 0.95);
        backdrop-blur-xl;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }

    /* Mobile Menu Transitions */
    #mobileMenu {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    ::-webkit-scrollbar-track {
        background: #F0FAF6;
    }

    ::-webkit-scrollbar-thumb {
        background: #4EC493;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #2AA876;
    }

    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
        .scroll-reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }

        html {
            scroll-behavior: auto;
        }

        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Selection Color */
    ::selection {
        background: #4EC493;
        color: #0F1A2E;
    }
