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

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

    body {
        overflow-x: hidden;
    }

    #page-loader {
        position: fixed;
        inset: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #0F1419;
        transition: opacity 0.5s ease;
    }

    #page-loader.fade-out {
        opacity: 0;
        pointer-events: none;
    }

    ::selection {
        background: rgba(249, 112, 102, 0.3);
        color: #ffffff;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #1A2029;
    }
    ::-webkit-scrollbar-thumb {
        background: #374151;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #4B5563;
    }

    /* Service card hover effect */
    .service-card {
        transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    }
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    /* Back to top button */
    #back-to-top.visible {
        opacity: 1;
        pointer-events: all;
    }

    /* Mobile menu transition */
    #mobile-menu {
        animation: slideDown 0.3s ease;
    }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        .animate-bounce {
            animation: none;
        }
    }

    /* Focus styles */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #F97066;
        outline-offset: 2px;
    }
</script>
