/* Using Google Fonts for Manrope instead of local files */
        
        .parallax-bg {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        
        .glass-effect {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .text-gradient {
            background: linear-gradient(135deg, #000000 0%, #333333 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .hover-lift {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .hover-lift:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }
        
        .scroll-reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        
        .nav-blur {
            backdrop-filter: blur(20px);
            background: rgba(255, 255, 255, 0.95);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        .dark .nav-blur {
            background: rgba(15, 23, 42, 0.95);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* Mobile Menu Animation Fallbacks */
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(-30px) translateZ(0);
            }
            to {
                opacity: 1;
                transform: translateX(0) translateZ(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px) translateZ(0);
            }
            to {
                opacity: 1;
                transform: translateY(0) translateZ(0);
            }
        }
        
        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.5) translateZ(0);
            }
            to {
                opacity: 1;
                transform: scale(1) translateZ(0);
            }
        }
        
        /* Apply animations to mobile menu items with delay - optimized for iOS */
#new-mobile-menu.visible .new-mobile-nav-link:nth-child(1) { animation: fadeInRight 0.3s ease-out 0.1s forwards; }
#new-mobile-menu.visible .new-mobile-nav-link:nth-child(2) { animation: fadeInRight 0.3s ease-out 0.15s forwards; }
#new-mobile-menu.visible .new-mobile-nav-link:nth-child(3) { animation: fadeInRight 0.3s ease-out 0.2s forwards; }
#new-mobile-menu.visible .new-mobile-nav-link:nth-child(4) { animation: fadeInRight 0.3s ease-out 0.25s forwards; }
#new-mobile-menu.visible .new-mobile-nav-link:nth-child(5) { animation: fadeInRight 0.3s ease-out 0.3s forwards; }

/* Exit animations for mobile menu items */
@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px) translateZ(0);
    }
}

#new-mobile-menu.closing .new-mobile-nav-link:nth-child(5) { animation: fadeOutRight 0.2s ease-in forwards; }
#new-mobile-menu.closing .new-mobile-nav-link:nth-child(4) { animation: fadeOutRight 0.2s ease-in 0.03s forwards; }
#new-mobile-menu.closing .new-mobile-nav-link:nth-child(3) { animation: fadeOutRight 0.2s ease-in 0.06s forwards; }
#new-mobile-menu.closing .new-mobile-nav-link:nth-child(2) { animation: fadeOutRight 0.2s ease-in 0.09s forwards; }
#new-mobile-menu.closing .new-mobile-nav-link:nth-child(1) { animation: fadeOutRight 0.2s ease-in 0.12s forwards; }
        
        /* Enhanced hover effect for mobile menu items */
        .new-mobile-nav-link {
            transition: all 0.3s ease;
        }
        
        .new-mobile-nav-link:hover {
            transform: translateX(10px);
            background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 100%);
        }
        
        .dark .new-mobile-nav-link:hover {
            background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
        }
        
        /* Social icons animation - optimized for iOS */
#new-mobile-menu.visible .fa-facebook { animation: scaleIn 0.25s ease-out 0.35s forwards; }
#new-mobile-menu.visible .fa-twitter { animation: scaleIn 0.25s ease-out 0.4s forwards; }
#new-mobile-menu.visible .fa-instagram { animation: scaleIn 0.25s ease-out 0.45s forwards; }
#new-mobile-menu.visible .fa-linkedin { animation: scaleIn 0.25s ease-out 0.5s forwards; }

/* Social icons exit animation - optimized for iOS */
#new-mobile-menu.closing .fa-facebook { animation: scaleOut 0.15s ease-in forwards; }
#new-mobile-menu.closing .fa-twitter { animation: scaleOut 0.15s ease-in 0.03s forwards; }
#new-mobile-menu.closing .fa-instagram { animation: scaleOut 0.15s ease-in 0.06s forwards; }
#new-mobile-menu.closing .fa-linkedin { animation: scaleOut 0.15s ease-in 0.09s forwards; }

@keyframes scaleOut {
    from {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
    to {
        opacity: 0;
        transform: scale(0.5) translateZ(0);
    }
}

/* CTA button animation - optimized for iOS */
#new-mobile-menu.visible button { animation: fadeInUp 0.3s ease-out 0.55s forwards; }

/* CTA button exit animation - optimized for iOS */
#new-mobile-menu.closing button { animation: fadeOutDown 0.2s ease-in 0.15s forwards; }

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }
}
        
        /* Simple close button with grow animation */
.close-button {
    transition: transform 0.3s ease;
}

.close-button:hover {
    transform: scale(1.1);
}

.close-button div div {
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

.close-button:hover div div {
    background-color: var(--color-primary) !important;
}

.dark .close-button:hover div div {
    background-color: var(--color-dark-primary) !important;
}

/* Set initial state for CSS animation fallback */
#new-mobile-menu .new-mobile-nav-link,
#new-mobile-menu .fa-facebook,
#new-mobile-menu .fa-twitter,
#new-mobile-menu .fa-instagram,
#new-mobile-menu .fa-linkedin,
#new-mobile-menu button {
            opacity: 0;
        }
        
        .theme-toggle {
            position: relative;
            width: 60px;
            height: 30px;
            background: #e2e8f0;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .theme-toggle.dark {
            background: #475569;
        }
        
        .theme-toggle::before {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            width: 24px;
            height: 24px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .theme-toggle.dark::before {
            transform: translateX(30px);
            background: #1e293b;
        }
        
        .theme-toggle::after {
            content: '☀️';
            position: absolute;
            top: 50%;
            left: 8px;
            transform: translateY(-50%);
            font-size: 14px;
            transition: all 0.3s ease;
            opacity: 1;
        }
        
        .theme-toggle.dark::after {
            content: '🌙';
            left: 38px;
            opacity: 1;
        }
        
        .nav-item {
            position: relative;
            overflow: hidden;
        }
        
        .nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        
        .nav-item:hover::before {
            left: 100%;
        }
        
        .navbar-slide-down {
            animation: slideDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        @keyframes slideDown {
            0% {
                transform: translateY(-100%);
                opacity: 0;
            }
            60% {
                transform: translateY(10px);
                opacity: 0.8;
            }
            100% {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .nav-link {
            position: relative;
            overflow: hidden;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-link.active::after {
            width: 100%;
        }
        
        .navbar-glass {
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            background: rgba(255, 255, 255, 0.85);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-glass.dark {
            background: rgba(17, 24, 39, 0.85);
            border-bottom: 1px solid rgba(75, 85, 99, 0.2);
        }
        
        .nav-logo {
            transition: all 0.3s ease;
        }
        
        .nav-logo:hover {
            transform: scale(1.05) rotate(5deg);
        }
        
        .nav-cta {
            position: relative;
            overflow: hidden;
        }
        
        .nav-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s;
        }
        
        .nav-cta:hover::before {
            left: 100%;
        }
        
        /* Mobile Menu Styles */
#new-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 40;
}

#new-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #000000, #333333);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}
        
        .dark .btn-primary {
            background: linear-gradient(to right, #ffffff, #cbd5e1);
            color: #111827;
        }
        
        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: rgba(0, 0, 0, 0.05);
            color: #000000;
            font-weight: 600;
            border: 2px solid #000000;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .dark .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            border: 2px solid #ffffff;
        }
        
        .btn-secondary:hover {
            background: rgba(0, 0, 0, 0.1);
            transform: translateY(-3px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        }
        
        .dark .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        }