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

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

    body {
        min-height: 100vh;
    }

    ::selection {
        background-color: #78350F;
        color: white;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fff1f2;
    }
    ::-webkit-scrollbar-thumb {
        background: #9f1239;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #78350F;
    }

    /* Fade-in animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delays */
    .animate-on-scroll.delay-100 { transition-delay: 0.1s; }
    .animate-on-scroll.delay-200 { transition-delay: 0.2s; }
    .animate-on-scroll.delay-300 { transition-delay: 0.3s; }
    .animate-on-scroll.delay-400 { transition-delay: 0.4s; }
    .animate-on-scroll.delay-500 { transition-delay: 0.5s; }

    /* Mobile menu transition */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    #mobile-menu.open {
        max-height: 400px;
        padding-bottom: 0.5rem;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        box-shadow: 0 4px 20px rgba(120, 53, 15, 0.1);
    }

    /* Select styling */
    select option {
        background: white;
        color: #1c1917;
    }

    /* Image aspect ratios */
    img {
        max-width: 100%;
        height: auto;
    }
