@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        /* ==========================
           RESPONSIVE DESIGN SYSTEM
           ========================== */
        
        /* Base responsive variables */
        :root {
            --container-padding: 1rem;
            --section-padding: 3rem 0;
            --border-radius: 0.5rem;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Mobile First Approach */
        @media (min-width: 640px) {
            :root {
                --container-padding: 1.5rem;
                --section-padding: 4rem 0;
            }
        }
        
        @media (min-width: 768px) {
            :root {
                --container-padding: 2rem;
                --section-padding: 5rem 0;
            }
        }
        
        @media (min-width: 1024px) {
            :root {
                --container-padding: 3rem;
                --section-padding: 6rem 0;
            }
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f8fafc;
            transition: background-color 0.3s ease;
            overflow-x: hidden;
        }
        
        .dark body {
            background-color: #0f172a;
        }
        
        .gradient-text {
            background-image: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
            background-size: 200% auto;
            color: transparent;
            background-clip: text;
            -webkit-background-clip: text;
        }

        /* Enhanced Text Gradients */
        .gradient-text-role {
            background-image: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #3b82f6);
            background-size: 300% auto;
            color: transparent;
            background-clip: text;
            -webkit-background-clip: text;
            animation: gradientShift 3s ease-in-out infinite;
        }

        .gradient-text-subtitle {
            background-image: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
            background-size: 200% auto;
            color: transparent;
            background-clip: text;
            -webkit-background-clip: text;
            animation: gradientShift 2s ease-in-out infinite;
        }

        .animate-gradient {
            animation: gradientShift 2s ease-in-out infinite;
        }

        @keyframes gradientShift {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        /* Hero Section Enhancements */
        .hero-glow {
            text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
        }

        .hero-text-shadow {
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .floating-text {
            animation: floatText 6s ease-in-out infinite;
        }

        @keyframes floatText {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        /* Enhanced Button Animations */
        .btn-magnetic {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-magnetic:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }

        /* Section Transition Effects */
        .section-transition {
            position: relative;
            overflow: hidden;
        }

        .section-transition::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.8s ease;
        }

        .section-transition.animate::before {
            left: 100%;
        }

        /* Enhanced Scroll Animations */
        .scroll-reveal {
            opacity: 0;
            transform: translateY(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-reveal.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-reveal-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-reveal-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .scroll-reveal-right {
            opacity: 0;
            transform: translateX(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-reveal-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        /* Staggered Animation Delays */
        .delay-100 { transition-delay: 0.1s; }
        .delay-200 { transition-delay: 0.2s; }
        .delay-300 { transition-delay: 0.3s; }
        .delay-400 { transition-delay: 0.4s; }
        .delay-500 { transition-delay: 0.5s; }
        .delay-600 { transition-delay: 0.6s; }
        .delay-700 { transition-delay: 0.7s; }
        .delay-800 { transition-delay: 0.8s; }

        /* Hero Section Special Effects */
        .hero-title-glow {
            text-shadow: 
                0 0 10px rgba(59, 130, 246, 0.5),
                0 0 20px rgba(59, 130, 246, 0.3),
                0 0 30px rgba(59, 130, 246, 0.1);
        }

        .hero-subtitle-glow {
            text-shadow: 
                0 0 5px rgba(139, 92, 246, 0.4),
                0 0 10px rgba(139, 92, 246, 0.2);
        }

        /* Enhanced Button Effects */
        .btn-gradient-border {
            position: relative;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            padding: 2px;
            border-radius: 50px;
        }

        .btn-gradient-border::before {
            content: '';
            position: absolute;
            inset: 0;
            padding: 2px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
            border-radius: inherit;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
        }

        /* Floating Icons Enhancement */
        .floating-icon {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: floatIcon 4s ease-in-out infinite;
        }

        .floating-icon:nth-child(2) {
            animation-delay: 1s;
        }

        .floating-icon:nth-child(3) {
            animation-delay: 2s;
        }

        /* Chatbot floating icon specific animation */
        #chatbot-toggle.floating-icon {
            animation: floatIcon 4s ease-in-out infinite;
            animation-delay: 0.5s;
        }

        @keyframes floatIcon {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-10px) rotate(5deg);
            }
        }

        /* Section Divider Effects */
        .section-divider {
            position: relative;
            overflow: hidden;
        }

        .section-divider::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
            animation: sectionReveal 2s ease-out;
        }

        @keyframes sectionReveal {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Modern Skills Section Styles */
        .skill-item {
            position: relative;
            overflow: hidden;
        }

        .skill-progress {
            width: 0;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .skill-item.animate .skill-progress {
            width: var(--skill-width, 0%);
        }

        .tech-icon {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tech-icon:hover {
            transform: translateY(-8px) scale(1.05);
        }

        .tech-icon div {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tech-icon:hover div {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        /* Skills Section Background Pattern */
        .skills-pattern {
            background-image: 
                radial-gradient(circle at 25% 25%, #3b82f6 2px, transparent 2px),
                radial-gradient(circle at 75% 75%, #8b5cf6 2px, transparent 2px);
            background-size: 60px 60px;
            background-position: 0 0, 30px 30px;
        }

        /* Enhanced Card Hover Effects */
        .skill-card {
            position: relative;
            overflow: hidden;
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s;
        }

        .skill-card:hover::before {
            left: 100%;
        }

        /* Progress Bar Enhancements */
        .progress-bar-modern {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .progress-bar-modern::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* Mobile Navigation Fixes */
        @media (max-width: 768px) {
            header {
                padding: 0.5rem 0;
            }
            
            nav {
                padding: 0.5rem 1rem;
            }
            
            .hamburger {
                cursor: pointer;
                z-index: 1000;
            }
            
            .hamburger.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            
            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
        }

        /* FAB Clickability Fix */
        #fab-toggle {
            cursor: pointer;
            pointer-events: auto;
            z-index: 1000;
        }

        #fab-toggle:active {
            transform: scale(0.95);
        }

        #fab-options {
            pointer-events: auto;
        }

        #fab-options a {
            cursor: pointer;
            pointer-events: auto;
        }

        /* Ensure FAB is always clickable */
        .floating-icon {
            pointer-events: auto;
            cursor: pointer;
        }

        /* ==========================
           GALLERY CAROUSEL STYLES
           ========================== */
        
        .gallery-carousel-container {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
        }

        .gallery-carousel-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 1rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .gallery-carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .gallery-carousel-slide {
            min-width: 100%;
            flex-shrink: 0;
        }

        .gallery-carousel-prev,
        .gallery-carousel-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 3rem;
            height: 3rem;
            background: rgba(255, 255, 255, 0.9);
            color: #374151;
            border: none;
            border-radius: 50%;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-carousel-prev:hover,
        .gallery-carousel-next:hover {
            background: rgba(255, 255, 255, 1);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .gallery-carousel-prev {
            left: 1rem;
        }

        .gallery-carousel-next {
            right: 1rem;
        }

        .gallery-indicator {
            width: 0.75rem;
            height: 0.75rem;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: #d1d5db;
        }

        .gallery-indicator.active {
            background-color: #3b82f6;
            transform: scale(1.2);
        }

        .gallery-indicator:hover {
            background-color: #6b7280;
            transform: scale(1.1);
        }

        /* Dark mode styles */
        .dark .gallery-carousel-prev,
        .dark .gallery-carousel-next {
            background: rgba(31, 41, 55, 0.9);
            color: #f9fafb;
        }

        .dark .gallery-carousel-prev:hover,
        .dark .gallery-carousel-next:hover {
            background: rgba(31, 41, 55, 1);
        }

        .dark .gallery-indicator {
            background-color: #4b5563;
        }

        .dark .gallery-indicator.active {
            background-color: #60a5fa;
        }

        .dark .gallery-indicator:hover {
            background-color: #9ca3af;
        }

        /* Responsive carousel styles */
        @media (max-width: 768px) {
            .gallery-carousel-prev,
            .gallery-carousel-next {
                width: 2.5rem;
                height: 2.5rem;
            }

            .gallery-carousel-prev {
                left: 0.5rem;
            }

            .gallery-carousel-next {
                right: 0.5rem;
            }

            .gallery-carousel-slide .text-3xl {
                font-size: 1.875rem;
            }

            .gallery-carousel-slide .text-lg {
                font-size: 1rem;
            }

            .gallery-carousel-slide .w-16 {
                width: 3rem;
            }

            .gallery-carousel-slide .h-16 {
                height: 3rem;
            }
        }

        @media (max-width: 480px) {
            .gallery-carousel-prev,
            .gallery-carousel-next {
                width: 2rem;
                height: 2rem;
            }

            .gallery-carousel-prev {
                left: 0.25rem;
            }

            .gallery-carousel-next {
                right: 0.25rem;
            }

            .gallery-carousel-slide .text-3xl {
                font-size: 1.5rem;
            }

            .gallery-carousel-slide .text-lg {
                font-size: 0.875rem;
            }

            .gallery-carousel-slide .w-16 {
                width: 2.5rem;
            }

            .gallery-carousel-slide .h-16 {
                height: 2.5rem;
            }

            .gallery-carousel-slide .gap-3 {
                gap: 0.5rem;
            }
        }

        /* Carousel slide animations */
        .gallery-carousel-slide {
            animation: slideIn 0.5s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Auto-play indicator - removed CSS animation in favor of JavaScript control */
        .gallery-carousel-container.auto-play .gallery-carousel-track {
            /* CSS animation removed - using JavaScript for better control */
        }

        /* Smooth carousel transitions */
        .gallery-carousel-track {
            transition: transform 0.5s ease-in-out;
        }

        /* Enhanced carousel slide animations */
        .gallery-carousel-slide {
            transition: all 0.3s ease;
        }

        .gallery-carousel-slide:hover {
            transform: scale(1.02);
        }

        /* ==========================
           MOBILE RESPONSIVENESS FIXES
           ========================== */

        /* Prevent horizontal scrolling */
        html, body {
            overflow-x: hidden;
            max-width: 100vw;
        }

        /* Ensure all containers fit within viewport */
        .container {
            max-width: 100vw;
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }

        @media (min-width: 640px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }

        @media (min-width: 768px) {
            .container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        /* Enhanced glassmorphism for navbar */
        header {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .dark header {
            background: rgba(17, 24, 39, 0.85);
            border-bottom: 1px solid rgba(55, 65, 81, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        /* Mobile-specific navbar adjustments */
        @media (max-width: 640px) {
            header {
                padding-top: 0.5rem;
                padding-bottom: 0.5rem;
            }
            
            nav {
                padding-left: 0.75rem;
                padding-right: 0.75rem;
            }
            
            .hamburger {
                padding: 0.25rem;
            }
            
            .hamburger span {
                width: 1.25rem;
                height: 0.125rem;
            }
        }

        /* Fix floating elements positioning on mobile */
        @media (max-width: 640px) {
            .fixed.bottom-6.right-20 {
                right: 1rem;
                bottom: 1rem;
            }
            
            .fixed.bottom-6.left-6 {
                left: 1rem;
                bottom: 1rem;
            }
            
            .fixed.bottom-6.right-6 {
                right: 1rem;
                bottom: 1rem;
            }
            
            /* Stack floating elements vertically on very small screens */
            .fixed.bottom-6.right-6 {
                bottom: 5rem;
            }
        }

        /* Ensure all sections fit mobile width */
        section {
            max-width: 100vw;
            overflow-x: hidden;
        }

        /* Mobile text sizing improvements */
        @media (max-width: 480px) {
            h1 {
                font-size: 2rem;
                line-height: 1.1;
            }
            
            h2 {
                font-size: 1.75rem;
                line-height: 1.2;
            }
            
            h3 {
                font-size: 1.5rem;
                line-height: 1.3;
            }
            
            p {
                font-size: 0.875rem;
                line-height: 1.5;
            }
        }

        /* Fix button sizing on mobile */
        @media (max-width: 640px) {
            .btn, button, a[class*="btn"] {
                min-height: 2.5rem;
                padding: 0.5rem 1rem;
                font-size: 0.875rem;
            }
        }

        /* Fix grid layouts on mobile */
        @media (max-width: 768px) {
            .grid {
                gap: 1rem;
            }
            
            .grid-cols-1 {
                grid-template-columns: 1fr;
            }
            
            .grid-cols-2 {
                grid-template-columns: 1fr;
            }
            
            .grid-cols-3 {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 640px) and (max-width: 768px) {
            .grid-cols-2 {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .grid-cols-3 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Fix carousel on mobile */
        @media (max-width: 640px) {
            .gallery-carousel-container {
                margin: 0 -0.75rem;
                padding: 0 0.75rem;
            }
            
            .gallery-carousel-slide {
                padding: 0 0.5rem;
            }
        }

        /* Fix form elements on mobile */
        @media (max-width: 640px) {
            input, textarea, select {
                font-size: 16px; /* Prevents zoom on iOS */
                padding: 0.75rem;
            }
        }

        /* Fix modal and overlay positioning */
        @media (max-width: 640px) {
            .modal, .overlay {
                padding: 1rem;
            }
            
            .modal-content {
                margin: 1rem;
                max-height: calc(100vh - 2rem);
                overflow-y: auto;
            }
        }

        /* Ensure images don't overflow */
        img {
            max-width: 100%;
            height: auto;
        }

        /* Fix table responsiveness */
        @media (max-width: 768px) {
            table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
        }

        /* Fix flex layouts on mobile */
        @media (max-width: 640px) {
            .flex-wrap {
                flex-wrap: wrap;
            }
            
            .flex-col {
                flex-direction: column;
            }
            
            .space-x-4 > * + * {
                margin-left: 0;
                margin-top: 1rem;
            }
            
            .space-x-6 > * + * {
                margin-left: 0;
                margin-top: 1.5rem;
            }
        }

        /* Fix shadow and border issues on mobile */
        @media (max-width: 640px) {
            .shadow-xl, .shadow-2xl {
                box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            }
            
            .rounded-2xl {
                border-radius: 1rem;
            }
        }

        /* Fix z-index issues on mobile */
        @media (max-width: 640px) {
            .z-50 {
                z-index: 50;
            }
            
            .z-40 {
                z-index: 40;
            }
            
            .z-30 {
                z-index: 30;
            }
        }
        
        .gradient-bg {
            background-image: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        
        .project-card:hover .project-overlay {
            opacity: 1;
            transform: translateY(0);
        }
        
        .animate-role {
            animation: fadeIn 1s ease-in-out;
        }
        
        .nav-link::after {
            content: '';
            display: block;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            transition: width 0.3s;
        }
        
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link.active {
            color: #3b82f6;
            font-weight: 600;
        }

        .dark .nav-link.active {
            color: #8b5cf6;
        }
        
        .hamburger span {
            transition: all 0.3s ease;
        }
        
        .hamburger.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
        
        
                /* Circular Progress Bar */
        .circle-bg {
            stroke: #e5e7eb; /* Light gray for background */
        }

        .dark .circle-bg {
            stroke: #374151; /* Darker gray for dark mode */
        }

        .circle {
            transition: stroke-dasharray 0.5s ease;
        }

        .percentage {
            font-size: 0.75rem;
            font-weight: 600;
        }
        /* No additional CSS needed for linear progress bars; existing Tailwind styles suffice */

/* Hover Animation for Tech Stack Cards */
.tech-stack-card {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.tech-stack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

        /* Particles.js Container */
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: transparent;
            z-index: 1;
        }

        /* Hover Animation for Tech Stack Cards */
        .tech-stack-card {
            transition: transform 0.2s ease, box-shadow 0.3s ease;
        }

        .tech-stack-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
                
        .floating-label {
            transition: all 0.3s ease;
        }
        
        .floating-input:focus + .floating-label,
        .floating-input:not(:placeholder-shown) + .floating-label {
            transform: translateY(-24px);
            font-size: 0.75rem;
            color: #3b82f6;
        }
        
        .dark .floating-input:focus + .floating-label,
        .dark .floating-input:not(:placeholder-shown) + .floating-label {
            color: #8b5cf6;
        }
        
        .section {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .social-icon:hover {
            transform: translateY(-3px);
        }

        .service-details-btn {
            transition: all 0.3s ease;
        }

        #service-modal {
            transition: opacity 0.3s ease;
        }

        /* Gallery styles */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }

        .gallery-item {
            background: white;
            border-radius: 0.5rem;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 1.5rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .btn {
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 0.875rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .btn-secondary {
            background: #25d366;
            color: white;
        }

        .btn-secondary:hover {
            background: #128c7e;
            transform: translateY(-2px);
        }

        .btn-social {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            backdrop-filter: blur(10px);
        }

        .btn-social:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .btn-tertiary {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .btn-tertiary:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .social-links {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.75rem;
        }

        .social-links .btn {
            width: 40px;
            height: 40px;
            padding: 0;
            justify-content: center;
            border-radius: 50%;
        }

        /* Modal styles */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            backdrop-filter: blur(10px);
        }

        .modal.flex {
            display: flex;
        }

        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 1rem;
            max-width: 90vw;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
            z-index: 1;
        }

        .modal-close:hover {
            color: #333;
        }

        /* Dark mode support for gallery */
        .dark .gallery-item {
            background: #1f2937;
            color: white;
        }

        .dark .modal-content {
            background: #1f2937;
            color: white;
        }

        .dark .modal-close {
            color: #9ca3af;
        }

        .dark .modal-close:hover {
            color: #f9fafb;
        }

        /* Animation for gallery items */
        .animate-fade-in {
            animation: fadeIn 0.6s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* CTA Banner */
        .cta-banner {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
            border-radius: 1rem;
            margin: 2rem 0;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .cta-banner h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        /* Quote button */
        .quote-btn {
            position: fixed;
            bottom: 2rem;
            right: 8rem;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 2rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
            transition: all 0.3s ease;
            z-index: 100;
        }

        .quote-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
        }

        .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.375rem;
            background-color: transparent;
            transition: border-color 0.2s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: #3b82f6;
        }

        .dark .form-input {
            border-color: #374151;
            color: white;
        }

        .dark .form-input:focus {
            border-color: #8b5cf6;
        }

        .cta-banner {
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white;
            padding: 3rem 2rem;
            border-radius: 0.5rem;
            text-align: center;
            margin-top: 3rem;
        }

        .floating-shape {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.2;
            z-index: -1;
        }

        .shape-1 {
            width: 300px;
            height: 300px;
            background: #3b82f6;
            top: 10%;
            left: 5%;
            animation: float 8s ease-in-out infinite;
        }

        .shape-2 {
            width: 200px;
            height: 200px;
            background: #8b5cf6;
            bottom: 10%;
            right: 5%;
            animation: float 6s ease-in-out infinite reverse;
        }

        .shape-3 {
            width: 150px;
            height: 150px;
            background: #ec4899;
            top: 50%;
            right: 15%;
            animation: float 7s ease-in-out infinite 1s;
        }

        .testimonial-card {
            background: white;
            border-radius: 0.5rem;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 1rem;
            left: 1rem;
            font-size: 4rem;
            color: rgba(59, 130, 246, 0.1);
            font-family: serif;
            line-height: 1;
        }

        /* GitHub Calendar Styles */
        .calendar {
            width: 100%;
            border: none !important;
        }
        
        .calendar .contrib-number {
            color: #3b82f6 !important;
        }
        
        .calendar .contrib-legend {
            display: none;
        }
        
        .dark .calendar .contrib-number {
            color: #8b5cf6 !important;
        }
        
        .dark .calendar rect.ContributionCalendar-day[data-level="0"] {
            fill: #1e293b !important;
        }
        
        .dark .calendar .text-muted {
            color: #94a3b8 !important;
        }

        .dark .testimonial-card {
            background: #1e293b;
        }

        .timeline-item {
            position: relative;
            padding-left: 3rem;
            padding-bottom: 2rem;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 1rem;
            top: 0;
            height: 100%;
            width: 2px;
            background: #e5e7eb;
        }

        .timeline-dot {
            position: absolute;
            left: 0.75rem;
            top: 0.25rem;
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 50%;
            background: #3b82f6;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

                 .dark .timeline-item::before {
             background: #334155;
         }

         /* WhatsApp Floating Button */
         .whatsapp-float {
             position: fixed;
             bottom: 2rem;
             left: 2rem;
             width: 60px;
             height: 60px;
             background: #25d366;
             border-radius: 50%;
             text-align: center;
             font-size: 30px;
             color: white;
             box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
             z-index: 99999;
             transition: all 0.3s ease;
             display: flex;
             align-items: center;
             justify-content: center;
             text-decoration: none;
             animation: float 3s ease-in-out infinite;
             /* Ensure it's always visible and floating */
             opacity: 1 !important;
             visibility: visible !important;
             pointer-events: auto !important;
         }

         .whatsapp-float:hover {
             transform: scale(1.1) translateY(-5px);
             box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
             color: white;
         }

         .whatsapp-pulse {
             position: absolute;
             width: 100%;
             height: 100%;
             border-radius: 50%;
             background: #25d366;
             animation: pulse 2s infinite;
             z-index: -1;
         }

         .whatsapp-tooltip {
             position: absolute;
             right: 70px;
             top: 50%;
             transform: translateY(-50%);
             background: #333;
             color: white;
             padding: 8px 12px;
             border-radius: 6px;
             font-size: 14px;
             white-space: nowrap;
             opacity: 0;
             pointer-events: none;
             transition: opacity 0.3s ease;
         }

         .whatsapp-tooltip::after {
             content: '';
             position: absolute;
             right: -5px;
             top: 50%;
             transform: translateY(-50%);
             border: 5px solid transparent;
             border-left-color: #333;
         }

         .whatsapp-float:hover .whatsapp-tooltip {
             opacity: 1;
         }

         .whatsapp-icon {
             display: flex;
             align-items: center;
             justify-content: center;
             width: 100%;
             height: 100%;
         }

         .whatsapp-icon i {
             font-size: 30px;
             color: white;
         }

         @keyframes pulse {
             0% {
                 transform: scale(1);
                 opacity: 1;
             }
             100% {
                 transform: scale(1.5);
                 opacity: 0;
             }
         }

         /* Scroll to Top Button */
         .scroll-to-top {
             position: fixed;
             bottom: 2rem;
             right: 8rem;
             width: 50px;
             height: 50px;
             background: linear-gradient(135deg, #3b82f6, #8b5cf6);
             border: none;
             border-radius: 50%;
             color: white;
             font-size: 18px;
             cursor: pointer;
             opacity: 0;
             visibility: hidden;
             transform: translateY(20px);
             transition: all 0.3s ease;
             z-index: 100;
             box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
         }

         .scroll-to-top.visible {
             opacity: 1;
             visibility: visible;
             transform: translateY(0);
         }

         .scroll-to-top:hover {
             transform: translateY(-3px);
             box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
         }

         /* Loading Screen */
         .loading-screen {
             position: fixed;
             top: 0;
             left: 0;
             width: 100%;
             height: 100%;
             background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
             display: flex;
             align-items: center;
             justify-content: center;
             z-index: 9999;
             transition: opacity 0.3s ease, visibility 0.3s ease;
         }

         .loading-screen.hidden {
             opacity: 0;
             visibility: hidden;
         }

         .loading-content {
             text-align: center;
             color: white;
         }

         .loading-logo {
             font-size: 4rem;
             margin-bottom: 1rem;
             animation: bounce 1s infinite;
         }

         .loading-content h2 {
             font-size: 2rem;
             margin-bottom: 1rem;
         }

         .loading-bar {
             width: 200px;
             height: 4px;
             background: rgba(255, 255, 255, 0.3);
             border-radius: 2px;
             margin: 1rem auto;
             overflow: hidden;
         }

         .loading-progress {
             height: 100%;
             background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
             background-size: 200% 100%;
             animation: loading 1s ease-in-out infinite, gradientShift 2s ease-in-out infinite;
         }

         @keyframes loading {
             0% {
                 width: 0%;
             }
             50% {
                 width: 70%;
             }
             100% {
                 width: 100%;
             }
         }

         @keyframes gradientShift {
             0%, 100% {
                 background-position: 0% 50%;
             }
             50% {
                 background-position: 100% 50%;
             }
         }

         @keyframes bounce {
             0%, 20%, 50%, 80%, 100% {
                 transform: translateY(0);
             }
             40% {
                 transform: translateY(-20px);
             }
             60% {
                 transform: translateY(-10px);
             }
         }

         /* ==========================
            Chatbot Styles
            ========================== */
            
            /* Dark Mode */
            .dark .chatbot-window {
                background: #1f2937;
                color: white;
            }
            .dark .bot-message .message-content {
                background: #374151;
                color: #f9fafb;
            }
            .dark .chatbot-input {
                border-top-color: #374151;
                background: #111827;
            }
            .dark .chatbot-input input {
                background: #374151;
                border-color: #4b5563;
                color: white;
            }
            .dark .quick-reply {
                background: #374151;
                border-color: #4b5563;
                color: #f9fafb;
            }
            .dark .quick-reply:hover {
                background: #667eea;
                color: white;
            }

         /* Enhanced card hover effects */
         .service-card, .project-card {
             transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
             position: relative;
             overflow: hidden;
         }

         .service-card::before, .project-card::before {
             content: '';
             position: absolute;
             top: 0;
             left: -100%;
             width: 100%;
             height: 100%;
             background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
             transition: left 0.5s;
         }

         .service-card:hover::before, .project-card:hover::before {
             left: 100%;
         }

         /* Enhanced button styles */
         .btn-primary {
             background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
             border: none;
             color: white;
             padding: 12px 24px;
             border-radius: 25px;
             font-weight: 600;
             transition: all 0.3s ease;
             box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
         }

         .btn-primary:hover {
             transform: translateY(-2px);
             box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
         }

         /* Enhanced navigation */
         .nav-link {
             position: relative;
             transition: all 0.3s ease;
         }

         .nav-link::after {
             content: '';
             position: absolute;
             bottom: -5px;
             left: 0;
             width: 0;
             height: 2px;
             background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
             transition: width 0.3s ease;
         }

         .nav-link:hover::after {
             width: 100%;
         }

         /* Enhanced section animations */
         .section {
             opacity: 0;
             transform: translateY(30px);
             transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
         }

         .section.visible {
             opacity: 1;
             transform: translateY(0);
         }

         /* Enhanced loading animations */
         .loading-progress {
             background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
             background-size: 200% 100%;
             animation: loading 2s ease-in-out infinite, gradientShift 3s ease-in-out infinite;
         }

         @keyframes gradientShift {
             0%, 100% {
                 background-position: 0% 50%;
             }
             50% {
                 background-position: 100% 50%;
             }
         }

         /* Enhanced modal styles */
         .modal {
             backdrop-filter: blur(10px);
             background: rgba(0, 0, 0, 0.5);
         }

         .modal-content {
             background: white;
             border-radius: 20px;
             box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
             transform: scale(0.9);
             transition: transform 0.3s ease;
         }

         .modal.active .modal-content {
             transform: scale(1);
         }

         /* Enhanced form styles */
         .floating-input {
             transition: all 0.3s ease;
             border-bottom: 2px solid #e5e7eb;
         }

         .floating-input:focus {
             border-bottom-color: #667eea;
             box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
         }

         /* Enhanced testimonial cards */
         .testimonial-card {
             background: white;
             padding: 2rem;
             border-radius: 15px;
             box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
             transition: all 0.3s ease;
             position: relative;
             overflow: hidden;
         }

         .testimonial-card::before {
             content: '"';
             position: absolute;
             top: -10px;
             left: 20px;
             font-size: 4rem;
             color: #667eea;
             opacity: 0.1;
             font-family: serif;
         }

         .testimonial-card:hover {
             transform: translateY(-5px);
             box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
         }

         /* Enhanced timeline styles */
         .timeline-item {
             position: relative;
             margin-bottom: 2rem;
         }

         .timeline-dot {
             position: absolute;
             left: -20px;
             top: 0;
             width: 40px;
             height: 40px;
             background: linear-gradient(135deg, #667eea, #764ba2);
             border-radius: 50%;
             display: flex;
             align-items: center;
             justify-content: center;
             color: white;
             box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
         }

         .timeline-item::before {
             content: '';
             position: absolute;
             left: 0;
             top: 40px;
             width: 2px;
             height: calc(100% + 1rem);
             background: linear-gradient(to bottom, #667eea, #764ba2);
         }

         /* Dark mode enhancements */
         .dark .testimonial-card {
             background: #1f2937;
             color: white;
         }

         .dark .modal-content {
             background: #1f2937;
             color: white;
         }

         .dark .floating-input {
             border-bottom-color: #4b5563;
             color: white;
         }

        .dark .floating-input:focus {
            border-bottom-color: #667eea;
        }

        /* ==========================
           COMPREHENSIVE RESPONSIVE STYLES
           ========================== */

        /* Mobile Optimizations (320px - 767px) */
        @media (max-width: 767px) {
            /* Typography scaling */
            .text-4xl { font-size: 2rem; }
            .text-6xl { font-size: 3rem; }
            .text-3xl { font-size: 1.75rem; }
            .text-2xl { font-size: 1.5rem; }
            .text-xl { font-size: 1.25rem; }
            
            /* Container adjustments */
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            /* Hero section mobile optimization */
            #home {
                min-height: 100vh;
                padding-top: 4rem;
                padding-bottom: 2rem;
            }
            
            #home h1 {
                font-size: 2.5rem;
                line-height: 1.2;
                margin-bottom: 1rem;
            }
            
            #home .text-xl {
                font-size: 1.125rem;
                margin-bottom: 1.5rem;
            }
            
            #home .text-lg {
                font-size: 1rem;
                margin-bottom: 2rem;
            }
            
            /* Button stack optimization */
            #home .flex-col {
                gap: 0.75rem;
            }
            
            #home .px-8 {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            
            /* Image optimization */
            #home img {
                width: 100%;
                max-width: 280px;
                height: auto;
                margin: 0 auto;
            }
            
            /* About section mobile */
            #about .py-20 {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
            
            #about .mb-16 {
                margin-bottom: 2rem;
            }
            
            /* Skills grid mobile */
            .grid-cols-1 {
                gap: 1rem;
            }
            
            /* Services mobile */
            .service-card {
                margin-bottom: 1.5rem;
            }
            
            /* Projects mobile */
            .project-card {
                margin-bottom: 1.5rem;
            }
            
            /* Gallery mobile */
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            /* Contact form mobile */
            .contact-form {
                padding: 1.5rem;
            }
            
            /* Floating elements mobile positioning */
            .whatsapp-float {
                bottom: 1rem;
                left: 1rem;
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
            
            .scroll-to-top {
                bottom: 1rem;
                right: 1rem;
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
            
            .quote-btn {
                bottom: 1rem;
                right: 4rem;
                padding: 0.5rem 1rem;
                font-size: 0.875rem;
            }
        }

        /* Tablet Optimizations (768px - 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            /* Typography scaling */
            .text-4xl { font-size: 2.5rem; }
            .text-6xl { font-size: 4rem; }
            .text-3xl { font-size: 2rem; }
            
            /* Container adjustments */
            .container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            
            /* Hero section tablet */
            #home h1 {
                font-size: 3.5rem;
            }
            
            /* Grid adjustments */
            .grid-cols-2 {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .grid-cols-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            
            /* Services tablet */
            .service-card {
                margin-bottom: 2rem;
            }
            
            /* Projects tablet */
            .project-card {
                margin-bottom: 2rem;
            }
            
            /* Gallery tablet */
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }

        /* Desktop Optimizations (1024px+) */
        @media (min-width: 1024px) {
            /* Enhanced hover effects for desktop */
            .service-card:hover,
            .project-card:hover {
                transform: translateY(-8px);
                box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            }
            
            /* Enhanced animations */
            .animate-fade-in {
                animation: fadeInUp 0.8s ease-out;
            }
            
            @keyframes fadeInUp {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            
            /* Parallax effects for desktop */
            .parallax-element {
                transform: translateZ(0);
                will-change: transform;
            }
        }

        /* Large Desktop (1440px+) */
        @media (min-width: 1440px) {
            .container {
                max-width: 1320px;
                margin: 0 auto;
            }
            
            /* Enhanced spacing */
            .py-20 {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
            
            /* Larger typography */
            .text-6xl {
                font-size: 5rem;
            }
        }

        /* Ultra-wide screens (1920px+) */
        @media (min-width: 1920px) {
            .container {
                max-width: 1600px;
            }
            
            .py-20 {
                padding-top: 10rem;
                padding-bottom: 10rem;
            }
        }

        /* ==========================
           MOBILE-SPECIFIC IMPROVEMENTS
           ========================== */

        /* Touch-friendly buttons */
        @media (max-width: 767px) {
            .btn, .btn-primary, .btn-secondary, .btn-tertiary {
                min-height: 44px;
                min-width: 44px;
                padding: 0.75rem 1.5rem;
                font-size: 1rem;
            }
            
            /* Navigation mobile */
            .hamburger {
                padding: 0.5rem;
                min-width: 44px;
                min-height: 44px;
            }
            
            /* Mobile menu improvements */
            #mobile-menu {
                backdrop-filter: blur(10px);
                background: rgba(255, 255, 255, 0.95);
            }
            
            .dark #mobile-menu {
                background: rgba(17, 24, 39, 0.95);
            }
            
            /* Form inputs mobile */
            .form-input,
            .floating-input {
                min-height: 44px;
                font-size: 16px; /* Prevents zoom on iOS */
            }
        }

        /* ==========================
           CHATBOT MOBILE OPTIMIZATION
           ========================== */

        @media (max-width: 767px) {
            .chatbot-window {
                width: calc(100vw - 2rem);
                max-width: 320px;
                height: 400px;
                max-height: 70vh;
                bottom: 80px;
                right: 1rem;
                left: 1rem;
                margin: 0 auto;
            }
            
            .chatbot-toggle {
                width: 50px;
                height: 50px;
                bottom: 1rem;
                right: 1rem;
            }
            
            .chatbot-toggle .fas {
                font-size: 20px;
            }
            
            .chatbot-header {
                padding: 10px 12px;
            }
            
            .chatbot-avatar {
                width: 32px;
                height: 32px;
            }
            
            .chatbot-info h3 {
                font-size: 16px;
            }
            
            .chatbot-info .status {
                font-size: 11px;
            }
            
            .chatbot-messages {
                padding: 12px;
            }
            
            .message-content {
                font-size: 13px;
                padding: 8px 12px;
            }
            
            .quick-reply {
                font-size: 12px;
                padding: 6px 10px;
            }
            
            .chatbot-input {
                padding: 10px;
            }
            
            #chatbot-input-field {
                font-size: 13px;
                padding: 8px;
            }
        }

        /* ==========================
           PERFORMANCE OPTIMIZATIONS
           ========================== */

        /* Reduce motion for users who prefer it */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* Optimize for high DPI displays */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            .gradient-text,
            .gradient-bg {
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }
        }

        /* ==========================
           ACCESSIBILITY IMPROVEMENTS
           ========================== */

        /* Focus indicators */
        .btn:focus,
        .nav-link:focus,
        .form-input:focus,
        .floating-input:focus {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
        }

        /* High contrast mode support */
        @media (prefers-contrast: high) {
            .gradient-text {
                background: none;
                color: #000;
                -webkit-background-clip: unset;
                background-clip: unset;
            }
            
            .dark .gradient-text {
                color: #fff;
            }
        }

        /* ==========================
           PRINT STYLES
           ========================== */

        @media print {
            .whatsapp-float,
            .scroll-to-top,
            .quote-btn,
            .chatbot-toggle,
            .chatbot-window,
            #scroll-progress,
            #back-to-top {
                display: none !important;
            }
            
            body {
                background: white !important;
                color: black !important;
            }
            
            .gradient-text {
                background: none !important;
                color: black !important;
                -webkit-background-clip: unset !important;
                background-clip: unset !important;
            }
        }

        /* ==========================
           MODERN ENHANCEMENTS
           ========================== */

        /* Smooth scrolling for all devices */
        html {
            scroll-behavior: smooth;
        }

        /* Enhanced focus states */
        .btn:focus-visible,
        .nav-link:focus-visible,
        .form-input:focus-visible,
        .floating-input:focus-visible {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        /* Improved button interactions */
        .btn {
            position: relative;
            overflow: hidden;
        }

        .btn::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;
        }

        .btn:hover::before {
            left: 100%;
        }

        /* Enhanced card animations */
        .service-card,
        .project-card {
            position: relative;
            overflow: hidden;
        }

        .service-card::after,
        .project-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s;
        }

        .service-card:hover::after,
        .project-card:hover::after {
            transform: translateX(100%);
        }

        /* Improved text selection */
        ::selection {
            background: rgba(59, 130, 246, 0.2);
            color: inherit;
        }

        .dark ::selection {
            background: rgba(139, 92, 246, 0.2);
        }

        /* Enhanced scrollbar styling */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        .dark ::-webkit-scrollbar-track {
            background: #1e293b;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #2563eb, #7c3aed);
        }

        /* Loading states */
        .loading {
            position: relative;
            overflow: hidden;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Improved image loading */
        img {
            transition: opacity 0.3s ease;
        }

        img[loading="lazy"] {
            opacity: 0;
        }

        img[loading="lazy"].loaded {
            opacity: 1;
        }

        /* Enhanced mobile touch interactions */
        @media (hover: none) and (pointer: coarse) {
            .btn:hover,
            .service-card:hover,
            .project-card:hover {
                transform: none;
            }
            
            .btn:active,
            .service-card:active,
            .project-card:active {
                transform: scale(0.98);
            }
        }

        /* ==========================
           MODERN SCROLL ANIMATIONS
           ========================== */

        /* Intersection Observer Animations */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .animate-on-scroll.animate {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered animations */
        .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; }

        /* Slide animations */
        .slide-in-left {
            opacity: 0;
            transform: translateX(-100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(100px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        /* Scale animations */
        .scale-in {
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scale-in.animate {
            opacity: 1;
            transform: scale(1);
        }

        /* Rotate animations */
        .rotate-in {
            opacity: 0;
            transform: rotate(-10deg) scale(0.9);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .rotate-in.animate {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }

        /* Fade animations */
        .fade-in {
            opacity: 0;
            transition: opacity 0.8s ease-out;
        }

        .fade-in.animate {
            opacity: 1;
        }

        /* ==========================
           PARALLAX EFFECTS
           ========================== */

        .parallax-slow {
            transform: translateZ(0);
            will-change: transform;
        }

        .parallax-medium {
            transform: translateZ(0);
            will-change: transform;
        }

        .parallax-fast {
            transform: translateZ(0);
            will-change: transform;
        }

        /* ==========================
           CURSOR EFFECTS
           ========================== */

        .cursor-dot {
            position: fixed;
            top: 0;
            left: 0;
            width: 8px;
            height: 8px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transition: transform 0.1s ease;
        }

        .cursor-outline {
            position: fixed;
            top: 0;
            left: 0;
            width: 40px;
            height: 40px;
            border: 2px solid rgba(59, 130, 246, 0.3);
            border-radius: 50%;
            pointer-events: none;
            z-index: 9998;
            transition: all 0.15s ease;
        }

        .cursor-hover .cursor-outline {
            transform: scale(1.5);
            border-color: rgba(59, 130, 246, 0.6);
        }

        /* ==========================
           GLASSMORPHISM EFFECTS
           ========================== */

        .glass {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .dark .glass {
            background: rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* ==========================
           LOADING ANIMATIONS
           ========================== */

        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
        }

        .dark .skeleton {
            background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
            background-size: 200% 100%;
        }

        @keyframes skeleton-loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ==========================
           MICRO-INTERACTIONS
           ========================== */

        .bounce-in {
            animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .wiggle {
            animation: wiggle 0.5s ease-in-out;
        }

        @keyframes wiggle {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-5deg); }
            75% { transform: rotate(5deg); }
        }

        .pulse-glow {
            animation: pulseGlow 2s infinite;
        }

        @keyframes pulseGlow {
            0%, 100% {
                box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
            }
            50% {
                box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
            }
        }

        /* ==========================
           TEXT ANIMATIONS
           ========================== */

        .text-reveal {
            overflow: hidden;
        }

        .text-reveal span {
            display: inline-block;
            opacity: 0;
            transform: translateY(100%);
            animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .text-reveal span:nth-child(1) { animation-delay: 0.1s; }
        .text-reveal span:nth-child(2) { animation-delay: 0.2s; }
        .text-reveal span:nth-child(3) { animation-delay: 0.3s; }
        .text-reveal span:nth-child(4) { animation-delay: 0.4s; }
        .text-reveal span:nth-child(5) { animation-delay: 0.5s; }

        @keyframes textReveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ==========================
           CARD HOVER EFFECTS
           ========================== */

        .card-3d {
            transform-style: preserve-3d;
            transition: transform 0.3s ease;
        }

        .card-3d:hover {
            transform: rotateY(5deg) rotateX(5deg);
        }

        .card-tilt {
            transition: transform 0.3s ease;
        }

        .card-tilt:hover {
            transform: perspective(1000px) rotateX(10deg) rotateY(10deg);
        }

        /* ==========================
           PROGRESS BARS ANIMATION
           ========================== */

        .progress-bar {
            width: 0%;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .progress-bar.animate {
            width: var(--progress-width);
        }

        /* ==========================
           FLOATING ELEMENTS
           ========================== */

        .float-animation {
            animation: float 6s ease-in-out infinite;
        }

        .float-animation:nth-child(2) {
            animation-delay: 2s;
        }

        .float-animation:nth-child(3) {
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        /* ==========================
           RESPONSIVE ANIMATIONS
           ========================== */

        @media (prefers-reduced-motion: reduce) {
            .animate-on-scroll,
            .slide-in-left,
            .slide-in-right,
            .scale-in,
            .rotate-in,
            .fade-in,
            .bounce-in,
            .wiggle,
            .pulse-glow,
            .text-reveal,
            .card-3d,
            .card-tilt,
            .float-animation {
                animation: none;
                transition: none;
            }
            
            .animate-on-scroll,
            .slide-in-left,
            .slide-in-right,
            .scale-in,
            .rotate-in,
            .fade-in {
                opacity: 1;
                transform: none;
            }
        }