        /* Base Animations */
        @keyframes fade-in {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        @keyframes spin-slow {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(5deg);
            }
        }

        @keyframes morph {

            0%,
            100% {
                border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            }

            25% {
                border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
            }

            50% {
                border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
            }

            75% {
                border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
            }
        }

        @keyframes pulse-glow {

            0%,
            100% {
                box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
            }

            50% {
                box-shadow: 0 0 40px rgba(249, 115, 22, 0.8), 0 0 60px rgba(234, 88, 12, 0.4);
            }
        }

        @keyframes slide-up {
            from {
                opacity: 0;
                transform: translateY(60px);
            }

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

        @keyframes slide-in-left {
            from {
                opacity: 0;
                transform: translateX(-60px);
            }

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

        @keyframes slide-in-right {
            from {
                opacity: 0;
                transform: translateX(60px);
            }

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

        @keyframes scale-in {
            from {
                opacity: 0;
                transform: scale(0.8);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes gradient-shift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Animation Classes */
        .animate-fade-in {
            animation: fade-in 1s ease-out;
        }

        .animate-spin-slow {
            animation: spin-slow 20s linear infinite;
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        .animate-morph {
            animation: morph 8s ease-in-out infinite;
        }

        .animate-pulse-glow {
            animation: pulse-glow 3s ease-in-out infinite;
        }

        .animate-gradient {
            background-size: 200% 200%;
            animation: gradient-shift 4s ease infinite;
        }

        /* Scroll-triggered animations */
        .scroll-animate {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-animate.animate-active {
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-animate-left {
            opacity: 0;
            transform: translateX(-40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-animate-left.animate-active {
            opacity: 1;
            transform: translateX(0);
        }

        .scroll-animate-right {
            opacity: 0;
            transform: translateX(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-animate-right.animate-active {
            opacity: 1;
            transform: translateX(0);
        }

        .scroll-animate-scale {
            opacity: 0;
            transform: scale(0.9);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-animate-scale.animate-active {
            opacity: 1;
            transform: scale(1);
        }

        /* Staggered children animations */
        .stagger-children>* {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .stagger-children.animate-active>*:nth-child(1) {
            transition-delay: 0.1s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(2) {
            transition-delay: 0.2s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(3) {
            transition-delay: 0.3s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(4) {
            transition-delay: 0.4s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(5) {
            transition-delay: 0.5s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(6) {
            transition-delay: 0.6s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(7) {
            transition-delay: 0.7s;
            opacity: 1;
            transform: translateY(0);
        }

        .stagger-children.animate-active>*:nth-child(8) {
            transition-delay: 0.8s;
            opacity: 1;
            transform: translateY(0);
        }

        /* Morphing Blob Backgrounds */
        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            animation: morph 8s ease-in-out infinite, float 10s ease-in-out infinite;
            opacity: 0.5;
            pointer-events: none;
        }

        .blob-1 {
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(251, 146, 60, 0.3));
            top: -100px;
            left: -100px;
        }

        .blob-2 {
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, rgba(251, 146, 60, 0.3), rgba(245, 158, 11, 0.3));
            bottom: -50px;
            right: -50px;
            animation-delay: -4s;
        }

        .blob-3 {
            width: 250px;
            height: 250px;
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(249, 115, 22, 0.3));
            top: 50%;
            right: 10%;
            animation-delay: -2s;
        }

        /* Glassmorphism */
        .glass {
            background: rgba(24, 24, 27, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Smooth page transitions */
        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
            overflow-x: hidden;
        }

        /* Section dividers with morphing effect */
        .section-divider {
            height: 100px;
            background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.1), transparent);
            margin: -50px 0;
            position: relative;
            z-index: 1;
        }

        /* Interactive hover effects */
        .hover-lift {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .hover-lift:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Magnetic button effect */
        .magnetic-btn {
            position: relative;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Smooth section background transitions */
        section {
            position: relative;
            transition: background 0.5s ease;
        }

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

        ::-webkit-scrollbar-track {
            background: #18181b;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #f97316, #ea580c);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #fb923c, #f97316);
        }

        /* Typing Text Loader */
        .page-loader {
            position: fixed;
            inset: 0;
            background: #000;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
        }

        .page-loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-content {
            display: inline-block;
        }

        .loader-text {
            font-size: 5rem;
            font-weight: 900;
            color: transparent;
            background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
            -webkit-background-clip: text;
            background-clip: text;
            position: relative;
            overflow: hidden;
            border-right: 0.15em solid #ffffff;
            white-space: nowrap;
            margin: 0 auto;
            letter-spacing: 0.1em;
            width: 0;
            animation:
                typing 2s steps(10, end) forwards,
                blink-caret 0.75s step-end infinite;
        }

        @media (max-width: 768px) {
            .loader-text {
                font-size: 2.5rem;
                /* Smaller font on mobile to fit the single line */
            }
        }

        /* Typing Animation */
        @keyframes typing {
            from {
                width: 0
            }

            to {
                width: 100%
            }
        }

        /* Cursor Blinking */
        @keyframes blink-caret {

            from,
            to {
                border-color: transparent
            }

            50% {
                border-color: #ffffff;
            }
        }

        /* Infinite Scroll Animation */
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .animate-scroll {
            display: flex;
            width: max-content;
            animation: scroll 40s linear infinite;
        }

        .animate-scroll:hover {
            animation-play-state: paused;
        }