        /* Add this at the top of your styles to ensure scrolling works */
        html,
        body {
            overflow-x: hidden;
            overflow-y: auto;
            height: auto;
            min-height: 100%;
        }

        body {
            margin: 0;
            padding: 0;
            overflow: visible !important;
            /* Force enable scrolling */
        }

        /* Dark mode color scheme declaration */
        html {
            color-scheme: dark;
            background-color: #0e141b;
            /* Your primary theme color */
        }

        body {
            background-color: #0e141b !important;
            /* Force the theme color */
        }

        :root {
            --primary-color: #0e141b;
            --secondary-color: #141b23;
            --accent-color: #4ea1ff;
            --accent-rgb: 78, 161, 255;
            --text-color: #e6edf3;
            --text-color-light: #a9b6c6;
            --gradient-start: #0e141b;
            --gradient-end: #141b23;
            --card-bg: rgba(20, 27, 35, 0.7);
            --neon-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
            --stagger-delay: 0ms;
            --animation-delay: 0ms;
            --stat-delay: 0ms;
        }

        /* Enhanced Global Styles */
        body {
            background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
            color: var(--text-color);
            font-family: 'Calibre', 'Inter', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Enhanced Typography */
        .display-4 {
            font-size: 5rem;
            font-weight: 700;
            background: linear-gradient(45deg, var(--text-color) 30%, var(--accent-color) 70%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: var(--neon-shadow);
            margin-bottom: 1.5rem;
        }

        /* Enhanced Hero Section Styles */
        .hero {
            position: relative;
            min-height: 100vh;
            /* Changed from height to min-height to allow growth when needed */
            display: flex;
            align-items: center;
            padding: calc(80px + 40px) 0 60px;
            /* Navigation height (80px) + buffer (40px) = 120px */
            margin-top: 0;
            overflow: hidden;
            background: linear-gradient(to bottom right,
                    var(--primary-color) 0%,
                    var(--secondary-color) 100%);
        }

        /* Hero Animation States */
        .hero-content {
            opacity: 0;
            transform: translateY(30px);
            animation: heroContentFadeIn 1.2s ease-out 0.3s forwards;
        }

        .hero-greeting {
            display: block;
            color: var(--accent-color);
            font-family: 'SF Mono', monospace;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateY(20px);
            animation: heroGreetingSlideIn 0.8s ease-out 0.5s forwards;
        }

        .hero-title {
            font-size: 4.5rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--text-color) 30%, var(--accent-color) 70%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: var(--neon-shadow);
            opacity: 0;
            transform: translateY(30px);
            animation: heroTitleSlideIn 1s ease-out 0.7s forwards;
        }

        .hero-subtitle {
            font-size: 3rem;
            color: var(--text-color-light);
            margin-bottom: 2rem;
            opacity: 0;
            transform: translateY(25px);
            animation: heroSubtitleSlideIn 0.9s ease-out 0.9s forwards;
        }

        .hero-description {
            color: var(--text-color-light);
            font-size: 1.1rem;
            max-width: 540px;
            margin-bottom: 2rem;
            line-height: 1.8;
            opacity: 0;
            transform: translateY(20px);
            animation: heroDescriptionSlideIn 0.8s ease-out 1.1s forwards;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0;
            transform: translateY(25px);
            animation: heroButtonsSlideIn 0.8s ease-out 1.3s forwards;
        }

        .social-links {
            opacity: 0;
            transform: translateY(20px);
            animation: socialLinksSlideIn 0.8s ease-out 1.5s forwards;
        }

        .hero-image-container {
            position: relative;
            padding: 2rem;
            /* Add max-width to control the image container size */
            max-width: 400px;
            margin-left: auto;
            /* Centers the container if smaller than parent */
            opacity: 0;
            transform: translateX(50px) scale(0.9);
            animation: heroImageSlideIn 1.2s ease-out 0.8s forwards;
        }

        /* Hero Animation Keyframes */
        @keyframes heroContentFadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        /* Add smooth transitions for interactive elements */
        .primary-btn,
        .secondary-btn {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .social-link {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes heroGreetingSlideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        @keyframes heroTitleSlideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        @keyframes heroSubtitleSlideIn {
            from {
                opacity: 0;
                transform: translateY(25px);
            }

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

        @keyframes heroDescriptionSlideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        @keyframes heroButtonsSlideIn {
            from {
                opacity: 0;
                transform: translateY(25px);
            }

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

        @keyframes socialLinksSlideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        @keyframes heroImageSlideIn {
            from {
                opacity: 0;
                transform: translateX(50px) scale(0.9);
            }

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

        .hero::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background:
                radial-gradient(circle at center, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%),
                linear-gradient(var(--accent-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--accent-color) 1px, transparent 1px);
            background-size: 100% 100%, 50px 50px, 50px 50px;
            background-position: center;
            opacity: 0.1;
        }

        /* Hero styles are now defined above with animations */

        .primary-btn,
        .secondary-btn {
            padding: 1rem 2rem;
            border-radius: 4px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .primary-btn {
            background: var(--accent-color);
            color: var(--primary-color);
            border: none;
        }

        .secondary-btn {
            background: transparent;
            color: var(--accent-color);
            border: 2px solid var(--accent-color);
        }

        .primary-btn:hover,
        .secondary-btn:hover {
            transform: translateY(-3px);
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
        }

        .social-link {
            color: var(--text-color-light);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            color: var(--accent-color);
            transform: translateY(-3px);
        }

        .social-icon-image {
            margin-top: -0.4rem;
            width: 1.7rem;
            height: 1.7rem;
            display: inline-block;
            vertical-align: middle;
            filter: brightness(0) saturate(100%) invert(70%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
            transition: all 0.3s ease;
        }

        .social-link:hover .social-icon-image {
            filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2000%) hue-rotate(200deg) brightness(120%) contrast(120%);
            transform: translateY(-3px);
        }

        /* Enhanced Image Container Styles */
        /* Hero image container styles are now defined above with animations */

        .hero-image-frame {
            position: relative;
            width: 100%;
            /* Adjust padding-bottom to control aspect ratio */
            padding-bottom: 100%;
            /* Makes it square, use 75% for 4:3 ratio, or 56.25% for 16:9 */
        }

        .hero-image-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            transition: transform 0.5s ease;
            background: linear-gradient(45deg,
                    rgba(var(--accent-rgb), 0.1),
                    rgba(17, 34, 64, 0.3));
            border: 2px solid rgba(var(--accent-rgb), 0.2);
        }

        .hero-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            /* Add overlay using a pseudo-element */
            mix-blend-mode: overlay;
        }

        /* Add this new style for the overlay */
        .hero-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,
                    rgba(10, 25, 47, 0.1),
                    /* Primary color with opacity */
                    rgba(17, 34, 64, 0.1)
                    /* Secondary color with opacity */
                );
            z-index: 1;
        }

        /* Decorative shapes */
        .hero-image-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            border: 2px solid var(--accent-color);
            opacity: 0.3;
            transition: all 0.5s ease;
        }

        .shape-1 {
            top: -15px;
            right: -15px;
            width: 70px;
            /* Reduced from 100px */
            height: 70px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }

        .shape-2 {
            bottom: -20px;
            left: -20px;
            width: 100px;
            /* Reduced from 150px */
            height: 100px;
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            animation: floatAnimation 8s ease-in-out infinite reverse;
        }

        .shape-3 {
            top: 50%;
            right: -30px;
            width: 60px;
            /* Reduced from 80px */
            height: 60px;
            border-radius: 50%;
            animation: floatAnimation 7s ease-in-out infinite;
        }

        /* Dot pattern background */
        .hero-image-dots {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 20px;
            left: 20px;
            z-index: -1;
            background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
            background-size: 15px 15px;
            opacity: 0.1;
        }

        /* Hover effects */
        .hero-image-frame:hover .hero-image-wrapper {
            transform: translateY(-10px);
        }

        .hero-image-frame:hover .shape-1 {
            transform: translate(10px, -10px) rotate(10deg);
            opacity: 0.5;
        }

        .hero-image-frame:hover .shape-2 {
            transform: translate(-10px, 10px) rotate(-10deg);
            opacity: 0.5;
        }

        .hero-image-frame:hover .shape-3 {
            transform: translate(5px, -5px) scale(1.1);
            opacity: 0.5;
        }


        /* Performance optimizations for animations */
        @media (prefers-reduced-motion: reduce) {

            .hero-content,
            .hero-greeting,
            .hero-title,
            .hero-subtitle,
            .hero-description,
            .hero-buttons,
            .social-links,
            .hero-image-container {
                animation: none !important;
                opacity: 1 !important;
                transform: none !important;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-image-container {
                padding: 1rem;
                margin-top: 2rem;
                max-width: 300px;
                /* Even smaller on mobile */
                margin-left: auto;
                margin-right: auto;
            }

            .shape-1 {
                width: 50px;
                height: 50px;
            }

            .shape-2 {
                width: 70px;
                height: 70px;
            }

            .shape-3 {
                width: 40px;
                height: 40px;
            }
        }




        /* Responsive Design */
        @media (max-width: 768px) {
            .hero {
                min-height: 100vh;
                /* Ensure consistent behavior with desktop */
                padding: calc(75px + 40px) 0 80px;
                /* Mobile nav height (55px) + top (20px) + buffer (40px) */
                text-align: center;
            }

            /* Adjust animation delays for mobile to be faster */
            .hero-greeting {
                animation-delay: 0.3s;
            }

            .hero-title {
                animation-delay: 0.5s;
            }

            .hero-subtitle {
                animation-delay: 0.7s;
            }

            .hero-description {
                animation-delay: 0.9s;
            }

            .hero-buttons {
                animation-delay: 1.1s;
            }

            .social-links {
                animation-delay: 1.3s;
            }

            .hero-image-container {
                animation-delay: 0.6s;
            }


            .hero-title {
                font-size: 3rem;
            }

            .hero-subtitle {
                font-size: 2rem;
            }

            .hero-description {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-buttons {
                justify-content: center;
                flex-wrap: wrap;
            }

            .social-links {
                justify-content: center;
            }

            .hero-image-container {
                margin-top: 3rem;
            }
        }

        /* Handle very small viewports to prevent overflow */
        @media (max-height: 600px) {
            .hero {
                min-height: 100vh;
                /* Allow growth while maintaining full-screen preference */
                padding: calc(60px + 20px) 0 40px;
                /* Compact nav space + minimal buffer */
            }


            .stat-number {
                font-size: 1.8rem;
                /* Slightly smaller for very constrained screens */
            }

            .stat-label {
                font-size: 0.75rem;
                /* Smaller labels to save space */
            }

            .hero-title {
                font-size: 3rem;
            }

            .hero-subtitle {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.5rem;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .primary-btn,
            .secondary-btn {
                width: 100%;
                text-align: center;
            }
        }

        .stat-item {
            background: rgba(17, 34, 64, 0.25);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: 20px;
            padding: 1.5rem 2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 180px;
            z-index: 10;
        }

        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
            transition: left 0.5s ease;
        }

        .stat-item:hover::before {
            left: 100%;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            border-color: rgba(var(--accent-rgb), 0.3);
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            background: transparent;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--accent-color);
            flex-shrink: 0;
        }

        .stat-custom-icon {
            width: 48px;
            height: 48px;
            object-fit: contain;
            filter: invert(31%) sepia(93%) saturate(1352%) hue-rotate(201deg) brightness(102%) contrast(97%);
            /* Makes icons exact blue #4ea1ff */
        }

        .stat-content {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .stat-number {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent-color);
            line-height: 1;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-color-light);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Responsive adjustments for stats */
        @media (max-width: 768px) {

            .stat-item {
                padding: 1.2rem 1.5rem;
                min-width: 160px;
                width: 100%;
                max-width: 280px;
                justify-content: center;
                align-items: center;
            }

            .stat-icon {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .stat-content {
                align-items: center;
                text-align: center;
            }

            .stat-number {
                font-size: 1.5rem;
                text-align: center;
            }

            .stat-label {
                font-size: 0.8rem;
                text-align: center;
            }
        }

        @media (max-width: 480px) {

            .stat-item {
                padding: 1rem 1.2rem;
                min-width: 140px;
            }
        }

        /* Enhanced Project Cards */
        .project-card {
            background: rgba(17, 34, 64, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 15px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            transform-style: preserve-3d;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        /* Hover effects only for desktop devices */
        @media (hover: hover) and (pointer: fine) {
            .project-card:hover {
                transform: translateY(-10px);
                border-color: var(--accent-color);
            }

            .project-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg,
                        transparent,
                        rgba(var(--accent-rgb), 0.1),
                        transparent);
                transition: 0.8s;
            }

            .project-card:hover::before {
                left: 100%;
            }

            .project-image:hover {
                transform: scale(1.02);
            }

            .project-link:hover {
                transform: translateY(-3px);
                color: var(--text-color);
            }

            .tech-tag:hover {
                background: var(--accent-color);
                color: var(--primary-color);
            }
        }

        /* Mobile specific styles - disable hover effects */
        @media (hover: none) and (pointer: coarse) {
            .project-card {
                transform: none !important;
                transition: none;
            }

            .project-card:hover {
                transform: none !important;
                box-shadow: none;
                border-color: rgba(var(--accent-rgb), 0.2);
            }

            .project-card::before {
                display: none;
            }

            .project-image {
                transform: none !important;
                transition: none;
            }

            .project-link {
                transform: none !important;
            }

            .tech-tag {
                transition: none;
            }

            .tech-tag:hover {
                background: rgba(var(--accent-rgb), 0.1);
                color: var(--accent-color);
            }
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .project-title {
            font-size: 1.8rem;
            color: var(--text-color);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .project-links {
            display: flex;
            gap: 1rem;
        }

        .project-link {
            color: var(--accent-color);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin: 1rem 0;
        }

        .tech-tag {
            background: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .project-description {
            color: var(--text-color-light);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .project-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .featured-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        /* Enhanced Skill Bars */
        .skill-bar {
            height: 40px;
            background: rgba(17, 34, 64, 0.8);
            border-radius: 20px;
            margin: 1.5rem 0;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-color), rgba(var(--accent-rgb), 0.85));
            border-radius: 20px;
            position: relative;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .skill-progress::after {
            content: attr(data-progress);
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-color);
            font-weight: 600;
        }




        /* ========================================
   MOBILE NAVIGATION - FULLSCREEN OVERLAY
   ======================================== */

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, rgba(14, 20, 27, 0.98) 0%, rgba(20, 27, 35, 0.98) 100%);
            backdrop-filter: blur(10px);
            z-index: 9998;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile Menu Container */
        .mobile-menu-container {
            width: 100%;
            max-width: 500px;
            padding: 2rem;
            text-align: center;
        }

        /* Mobile Navigation List */
        .mobile-nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav-item {
            margin: 0;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-menu-overlay.active .mobile-nav-item {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered animation delays */
        .mobile-menu-overlay.active .mobile-nav-item:nth-child(1) {
            transition-delay: 0.1s;
        }

        .mobile-menu-overlay.active .mobile-nav-item:nth-child(2) {
            transition-delay: 0.15s;
        }

        .mobile-menu-overlay.active .mobile-nav-item:nth-child(3) {
            transition-delay: 0.2s;
        }

        .mobile-menu-overlay.active .mobile-nav-item:nth-child(4) {
            transition-delay: 0.25s;
        }

        .mobile-menu-overlay.active .mobile-nav-item:nth-child(5) {
            transition-delay: 0.3s;
        }

        .mobile-menu-overlay.active .mobile-nav-item:nth-child(6) {
            transition-delay: 0.35s;
        }

        /* Mobile Navigation Links */
        .mobile-nav-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.2rem 2rem;
            margin: 0.5rem 0;
            color: var(--text-color);
            text-decoration: none;
            font-size: 1.5rem;
            font-weight: 500;
            background: rgba(17, 34, 64, 0.5);
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            min-height: 60px;
        }

        .mobile-nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
            transition: left 0.5s ease;
        }

        .mobile-nav-link:active::before {
            left: 100%;
        }

        .mobile-nav-link:active {
            background: rgba(var(--accent-rgb), 0.15);
            border-color: var(--accent-color);
            transform: scale(0.98);
        }

        .mobile-nav-link .nav-number {
            color: var(--accent-color);
            font-family: 'SF Mono', monospace;
            font-size: 1rem;
            min-width: 35px;
            text-align: left;
        }

        .mobile-nav-link .nav-text {
            color: var(--text-color);
            flex: 1;
            text-align: left;
        }

        /* Mobile Dashboard Link */
        .mobile-dashboard-link {
            margin-top: 2rem;
            padding: 1rem 2rem;
            background: rgba(var(--accent-rgb), 0.1);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            color: var(--accent-color);
            text-decoration: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
        }

        .mobile-menu-overlay.active .mobile-dashboard-link {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.4s;
        }

        .mobile-dashboard-link:active {
            background: rgba(var(--accent-rgb), 0.2);
            transform: scale(0.98);
        }

        /* Close Button */
        .mobile-menu-close {
            position: fixed;
            top: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: rgba(17, 34, 64, 0.8);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 9999;
            transition: all 0.3s ease;
            opacity: 0;
            transform: rotate(-90deg) scale(0.8);
        }

        .mobile-menu-overlay.active .mobile-menu-close {
            opacity: 1;
            transform: rotate(0) scale(1);
            transition-delay: 0.2s;
        }

        .mobile-menu-close:active {
            background: rgba(var(--accent-rgb), 0.2);
            border-color: var(--accent-color);
            transform: scale(0.9);
        }

        .mobile-menu-close svg {
            width: 24px;
            height: 24px;
            stroke: var(--accent-color);
            stroke-width: 2;
        }

        /* Mobile navigation adjustments */
        @media (max-width: 991px) {
            .floating-nav {
                display: flex;
                align-items: center;
                width: 85%;
            }

            .floating-nav .container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0 0.5rem;
                width: 100%;
            }

            .navbar-brand {
                margin: 0;
                padding: 0 0.5rem;
                font-size: 1.8rem;
                height: 100%;
                display: flex;
                align-items: center;
            }

            .navbar-brand::after {
                width: 35px;
                height: 35px;
            }

            .navbar-toggler {
                margin: 0;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* Hide default Bootstrap collapse */
            .navbar-collapse {
                display: none !important;
            }
        }

        /* Enhanced Floating Navigation Styles */
        .floating-nav {
            background: rgba(10, 25, 47, 0.7);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: 15px;
            height: 60px;
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 96%;
            max-width: 1200px;
            z-index: 1000;
            display: flex;
            align-items: center;
        }

        /* Make inner container fill the navbar height for perfect vertical centering */
        .floating-nav .container {
            height: 100%;
            position: relative;
        }

        .floating-nav.shrunk {
            height: 55px;
            padding: 0.4rem 1.2rem;
            top: 15px;
            width: 92%;
            max-width: 1100px;
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent-color) !important;
            position: relative;
            padding: 0.3rem 0.7rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .floating-nav.shrunk .navbar-brand {
            font-size: 1.6rem;
        }

        .navbar-brand::after {
            content: '';
            position: absolute;
            width: 35px;
            height: 35px;
            border: 2px solid var(--accent-color);
            border-radius: 8px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(45deg);
            opacity: 0.3;
            transition: all 0.3s ease;
            z-index: -1;
        }

        .navbar-brand:hover::after {
            transform: translate(-50%, -50%) rotate(225deg);
            opacity: 0.6;
        }

        .nav-item {
            position: relative;
            margin: 0 0.5rem;
        }

        .nav-link {
            color: var(--text-color) !important;
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            position: relative;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
        }

        .floating-nav.shrunk .nav-link {
            font-size: 0.85rem;
            padding: 0.4rem 0.8rem !important;
        }

        .nav-icon {
            display: none;
            font-size: 1.2rem;
            color: var(--accent-color);
        }

        /* Liquid Navigation Indicator */
        .liquid-indicator {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            height: 40px;
            background: rgba(var(--accent-rgb), 0.15);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            z-index: -1;
        }

        .nav-link.active {
            color: var(--accent-color) !important;
            font-weight: 600;
        }

        .nav-link.active .nav-number {
            color: var(--accent-color);
            font-weight: 700;
        }

        .nav-link.active .nav-text {
            color: var(--accent-color);
        }

        /* Remove hover effects */
        .nav-link:hover {
            color: var(--text-color) !important;
        }

        /* Navbar navigation container */
        .navbar-nav {
            position: relative;
        }

        /* Ensure the container used for absolute positioning is positioned */
        #navbarNav {
            position: relative;
        }

        /* Navbar layout adjustments to avoid squeezing Dashboard on desktop */
        @media (min-width: 992px) {
            .floating-nav .navbar-collapse {
                display: flex;
                align-items: center;
            }
        }

        .floating-nav .navbar-nav {
            flex: 1 1 auto;
            justify-content: center;
            gap: 0.25rem;
            flex-wrap: nowrap;
        }

        .floating-nav .nav-dashboard {
            flex: 0 0 auto;
            white-space: nowrap;
            margin-left: 0.75rem;
        }

        /* Tighten spacing on medium desktops to preserve layout */
        @media (min-width: 992px) and (max-width: 1200px) {
            .floating-nav .nav-link {
                padding: 0.35rem 0.6rem !important;
                font-size: 0.9rem;
            }

            .floating-nav .nav-number {
                display: none;
            }

            .floating-nav .navbar-brand {
                font-size: 1.6rem;
            }

            .floating-nav .nav-dashboard .dashboard-link {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
        }

        /* Mobile adjustments - hide liquid indicator on mobile */
        @media (max-width: 991px) {
            .liquid-indicator {
                display: none !important;
            }

            /* Remove active styles on mobile for cleaner look */
            .nav-link.active {
                color: var(--text-color) !important;
                font-weight: 500;
            }

            .nav-link.active .nav-number {
                color: var(--accent-color);
                font-weight: 500;
            }

            .nav-link.active .nav-text {
                color: var(--text-color);
            }
        }

        .nav-number {
            color: var(--accent-color);
            font-size: 0.8rem;
            margin-right: 0.5rem;
            font-family: 'SF Mono', monospace;
        }

        /* Mobile Navigation */
        .navbar-toggler {
            border: none;
            padding: 0.5rem;
            position: relative;
            border-radius: 6px;
            background: transparent;
            width: 50px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        .navbar-toggler:hover {
            background: rgba(var(--accent-rgb), 0.1);
            transition: background 0.2s ease;
        }

        .navbar-toggler:focus,
        .navbar-toggler:active,
        .navbar-toggler:focus-visible {
            box-shadow: none;
            outline: none;
            border: none;
            background: transparent;
        }

        .navbar-toggler:active {
            transform: scale(0.95);
            transition: transform 0.1s ease;
        }

        /* Additional mobile nav styles */
        @media (max-width: 991px) {
            .floating-nav {
                height: 55px;
                padding: 0.3rem 0.5rem;
            }

            .floating-nav.shrunk {
                height: 50px;
                padding: 0.3rem 0.5rem;
                top: 10px;
                width: 80%;
            }

            /* Ensure perfect vertical centering for brand and toggler */
            .floating-nav .navbar-brand,
            .floating-nav .navbar-toggler {
                height: 100%;
                display: flex;
                align-items: center;
            }
        }

        .navbar-toggler-icon {
            background-image: none !important;
            position: relative;
            width: 28px;
            height: 2px;
            background-color: var(--accent-color);
            transition: all 0.3s ease;
        }

        .navbar-toggler-icon::before,
        .navbar-toggler-icon::after {
            content: '';
            position: absolute;
            width: 28px;
            height: 2px;
            background-color: var(--accent-color);
            transition: all 0.3s ease;
            left: 0;
        }

        .navbar-toggler-icon::before {
            top: -8px;
        }

        .navbar-toggler-icon::after {
            bottom: -8px;
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
            background-color: transparent;
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
            transform: rotate(45deg);
            top: 0;
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
            transform: rotate(-45deg);
            bottom: 0;
        }

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

        ::-webkit-scrollbar-track {
            background: var(--primary-color);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent-color);
            border-radius: 4px;
        }


        /* Base reveal animation - more subtle and faster */
        .reveal {
            opacity: 0;
            transform: translateY(15px);
            /* Reduced from 30px */
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            /* Reduced from 0.8s */
            will-change: transform, opacity;
            /* Performance optimization */
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===================== */
        /* Testimonials Swiper Slider */
        /* ========================== */
        .testimonials-section {
            padding: 100px 0;
            position: relative;
        }

        /* Navigation Buttons Container */
        .testimonials-nav-buttons {
            position: absolute;
            top: -70px;
            right: 2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            z-index: 10;
        }

        .testimonial-nav-left,
        .testimonial-nav-right {
            width: 48px;
            height: 48px;
            background: rgba(17, 34, 64, 0.9);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 12px;
            color: var(--accent-color);
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .testimonial-nav-left:hover,
        .testimonial-nav-right:hover {
            background: rgba(var(--accent-rgb), 0.15);
            border-color: var(--accent-color);
            transform: scale(1.05);
        }

        .testimonial-nav-left:active,
        .testimonial-nav-right:active {
            transform: scale(0.95);
        }

        .testimonial-nav-left:focus,
        .testimonial-nav-right:focus {
            outline: none;
        }

        .testimonials-slider-wrapper {
            position: relative;
            padding: 0 2rem;
        }

        /* Swiper Container */
        .testimonialsSwiper {
            padding-bottom: 60px !important;
            overflow: visible;
        }

        .testimonialsSwiper .swiper-wrapper {
            height: max-content !important;
            padding-bottom: 20px;
        }

        /* Swiper Slide */
        .testimonialsSwiper .swiper-slide {
            height: auto;
            display: flex;
            align-items: stretch;
        }

        /* Testimonial Card */
        .testimonial-card {
            background: rgba(17, 34, 64, 0.85);
            border: 1px solid rgba(var(--accent-rgb), 0.25);
            border-radius: 16px;
            padding: 1.5rem;
            padding-bottom: 3.5rem;
            min-height: 300px;
            height: 100%;
            width: 100%;
            color: var(--text-color);
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .testimonial-card:hover {
            border-color: var(--accent-color);
        }

        /* Active slide enhancement */
        .swiper-slide-active .testimonial-card {
            border-color: rgba(var(--accent-rgb), 0.4);
        }

        /* Ensure hover works on active slide */
        .swiper-slide-active .testimonial-card:hover {
            border-color: var(--accent-color);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            margin-bottom: 0.5rem;
        }

        .testimonial-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(var(--accent-rgb), 0.35);
            background: rgba(255, 255, 255, 0.02);
            flex-shrink: 0;
        }

        .testimonial-meta {
            min-width: 0;
            flex: 1;
        }

        .testimonial-name {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-color);
            margin-bottom: 2px;
        }

        .testimonial-project {
            color: var(--text-color-light);
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 2px;
        }

        .testimonial-dates {
            color: var(--text-color-light);
            font-size: 0.85rem;
            opacity: 0.8;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .star-rating {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: #f4c542;
            margin: 0.5rem 0;
        }

        .star-rating .rating-value {
            color: var(--text-color);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .testimonial-text {
            margin: 0;
            color: var(--text-color-light);
            font-size: 0.95rem;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
        }

        .testimonial-upwork-link {
            position: absolute;
            bottom: 0.75rem;
            right: 0.75rem;
            font-size: 0.8rem;
            color: var(--accent-color);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.4rem 0.75rem;
            border-radius: 6px;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            background: rgba(17, 34, 64, 0.8);
            transition: all 0.25s ease;
            backdrop-filter: blur(5px);
            opacity: 0.9;
        }

        .testimonial-upwork-link:hover {
            opacity: 1;
            color: var(--accent-color);
            border-color: rgba(var(--accent-rgb), 0.5);
            background: rgba(17, 34, 64, 0.95);
            text-decoration: none;
        }

        .testimonial-upwork-link i {
            font-size: 0.85rem;
        }

        .testimonial-card:hover .testimonial-upwork-link {
            opacity: 1;
        }

        /* Ensure upwork link hover works on active slide */
        .swiper-slide-active .testimonial-card:hover .testimonial-upwork-link {
            opacity: 1;
        }

        /* Swiper Pagination */
        .testimonial-pagination {
            bottom: 10px !important;
        }

        .testimonial-pagination .swiper-pagination-bullet {
            width: 16px !important;
            height: 4px !important;
            border-radius: 5px !important;
            margin: 0 6px !important;
            background: rgba(var(--accent-rgb), 0.3);
            opacity: 1;
            transition: all 0.3s ease;
        }

        .testimonial-pagination .swiper-pagination-bullet-active {
            background: var(--accent-color) !important;
            width: 32px !important;
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .testimonials-section {
                padding: 70px 0;
            }

            .testimonials-nav-buttons {
                right: 1rem;
            }

            .testimonial-nav-left,
            .testimonial-nav-right {
                width: 56px;
                height: 56px;
                font-size: 1.3rem;
            }

            .testimonials-slider-wrapper {
                padding: 0 1rem;
            }

            .testimonial-card {
                min-height: 250px;
                padding: 1rem;
                padding-bottom: 3rem;
            }
        }

        @media (max-width: 576px) {
            .testimonials-nav-buttons {
                position: relative;
                right: auto;
                top: auto;
                justify-content: center;
                margin-bottom: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .testimonial-card {
                min-height: 220px;
            }

            .testimonial-text {
                -webkit-line-clamp: 3;
                line-clamp: 3;
            }
        }

        /* Slide animations - more subtle and faster */
        .slide-left {
            opacity: 0;
            transform: translateX(-30px);
            /* Reduced from -100px */
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            /* Reduced from 0.8s */
            will-change: transform, opacity;
            /* Performance optimization */
        }

        .slide-right {
            opacity: 0;
            transform: translateX(30px);
            /* Reduced from 100px */
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            /* Reduced from 0.8s */
            will-change: transform, opacity;
            /* Performance optimization */
        }

        .slide-left.active,
        .slide-right.active {
            opacity: 1;
            transform: translateX(0);
        }

        /* Scale animations - more subtle and faster */
        .scale-up {
            opacity: 0;
            transform: scale(0.95);
            /* Less dramatic scale (from 0.8) */
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            /* Reduced from 0.8s */
            will-change: transform, opacity;
            /* Performance optimization */
        }

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

        /* Rotate animations - more subtle and faster */
        .rotate-in {
            opacity: 0;
            transform: rotate(-15deg) scale(0.95);
            /* Less rotation and scale (from -180deg and 0.8) */
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            /* Reduced from 0.8s */
            will-change: transform, opacity;
            /* Performance optimization */
        }

        .rotate-in.active {
            opacity: 1;
            transform: rotate(0) scale(1);
        }

        /* Fade animations - faster */
        .fade-in {
            opacity: 0;
            transition: opacity 0.4s ease-in;
            /* Reduced from 0.8s */
        }

        .fade-in.active {
            opacity: 1;
        }

        /* Stagger animations for lists */
        .stagger-item {
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease-out;
        }

        .stagger-item.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* New subtle animations */

        .pop-in {
            opacity: 0;
            transform: scale(0.9);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            /* Bouncy effect */
        }

        .pop-in.active {
            opacity: 1;
            transform: scale(1);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .display-4 {
                font-size: 3rem;
            }


            .project-card {
                padding: 1.5rem;
            }

            .project-title {
                font-size: 1.5rem;
            }

            .project-tech {
                gap: 0.5rem;
            }

            .tech-tag {
                padding: 0.3rem 0.8rem;
                font-size: 0.8rem;
            }

        }

        /* Enhanced Projects Section Styles */
        .projects-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 3rem;
            position: relative;
            display: block;
            text-align: center;
            font-weight: 700;
            background: linear-gradient(45deg, var(--text-color) 30%, var(--accent-color) 70%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: var(--neon-shadow);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: var(--accent-color);
        }

        .project-card {
            background: rgba(17, 34, 64, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 15px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            transform-style: preserve-3d;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        /* Hover effects only for desktop devices */
        @media (hover: hover) and (pointer: fine) {
            .project-card:hover {
                transform: translateY(-10px);
                border-color: var(--accent-color);
            }

            .project-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg,
                        transparent,
                        rgba(var(--accent-rgb), 0.1),
                        transparent);
                transition: 0.8s;
            }

            .project-card:hover::before {
                left: 100%;
            }

            .project-image:hover {
                transform: scale(1.02);
            }

            .project-link:hover {
                transform: translateY(-3px);
                color: var(--text-color);
            }

            .tech-tag:hover {
                background: var(--accent-color);
                color: var(--primary-color);
            }
        }

        /* Mobile specific styles - disable hover effects */
        @media (hover: none) and (pointer: coarse) {
            .project-card {
                transform: none !important;
                transition: none;
            }

            .project-card:hover {
                transform: none !important;
                box-shadow: none;
                border-color: rgba(var(--accent-rgb), 0.2);
            }

            .project-card::before {
                display: none;
            }

            .project-image {
                transform: none !important;
                transition: none;
            }

            .project-link {
                transform: none !important;
            }

            .tech-tag {
                transition: none;
            }

            .tech-tag:hover {
                background: rgba(var(--accent-rgb), 0.1);
                color: var(--accent-color);
            }
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .project-title {
            font-size: 1.8rem;
            color: var(--text-color);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .project-links {
            display: flex;
            gap: 1rem;
        }

        .project-link {
            color: var(--accent-color);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin: 1rem 0;
        }

        .tech-tag {
            background: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .project-description {
            color: var(--text-color-light);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .project-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .featured-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        /* Updated Skills Section Styles */
        .skills-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        /* Skills Section Scroll Animations */
        .skills-section .skill-category {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .skills-section .skill-category.animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        .skills-section .skill-category-title {
            opacity: 0;
            transform: translateX(-20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
        }

        .skills-section .skill-category.animate-in .skill-category-title {
            opacity: 1;
            transform: translateX(0);
        }

        .skills-section .skill-item {
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .skills-section .skill-category.animate-in .skill-item {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* Staggered animation for skill items */
        .skills-section .skill-category.animate-in .skill-item:nth-child(2) {
            transition-delay: 0.1s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(3) {
            transition-delay: 0.2s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(4) {
            transition-delay: 0.3s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(5) {
            transition-delay: 0.4s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(6) {
            transition-delay: 0.5s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(7) {
            transition-delay: 0.6s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(8) {
            transition-delay: 0.7s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(9) {
            transition-delay: 0.8s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(10) {
            transition-delay: 0.9s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(11) {
            transition-delay: 1.0s;
        }

        .skills-section .skill-category.animate-in .skill-item:nth-child(12) {
            transition-delay: 1.1s;
        }

        /* Enhanced hover effects for animated skill items */
        .skills-section .skill-item:hover {
            transform: translateY(-3px) scale(1.02);
        }

        /* Skills section title animation */
        .skills-section .section-title {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .skills-section.animate-in .section-title {
            opacity: 1;
            transform: translateY(0);
        }

        /* Skills container animation */
        .skills-section .skills-container {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
        }

        .skills-section.animate-in .skills-container {
            opacity: 1;
            transform: translateY(0);
        }

        .skills-container {
            background: rgba(17, 34, 64, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 3rem;
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
            gap: 1.5rem;
        }

        .skill-category {
            margin: 0;
            /* grid handles spacing */
        }

        /* Remove vertical stacking gap when categories are in a grid */
        .skills-section .skill-category+.skill-category {
            margin-top: 0;
        }

        /* Responsive column count for skills categories */
        /* auto-fit grid is fluid; no fixed breakpoints needed */

        .skill-category-title {
            color: var(--accent-color);
            font-size: 1.5rem;
            margin-bottom: 1.25rem;
            position: relative;
            padding-left: 1rem;
        }

        .skill-category-title::before {
            content: '▹';
            position: absolute;
            left: -10px;
            color: var(--accent-color);
        }

        /* Remove legacy progress bar visuals for skills */
        .skill-bar-container,
        .skill-info,
        .skill-percentage,
        .skill-bar,
        .skill-progress {
            display: none !important;
        }

        .experience-card {
            background: rgba(17, 34, 64, 0.6);
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            transition: all 0.3s ease;
        }

        .experience-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-color);
        }

        .experience-date {
            color: var(--accent-color);
            font-family: 'SF Mono', monospace;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .experience-title {
            color: var(--text-color);
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

        .experience-description {
            color: var(--text-color-light);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .achievement-list {
            list-style: none;
            padding: 0;
        }

        .achievement-item {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-color-light);
        }

        .achievement-item::before {
            content: '▹';
            position: absolute;
            left: 0;
            color: var(--accent-color);
        }

        .certificate-card {
            display: flex;
            align-items: center;
            background: rgba(17, 34, 64, 0.8);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            transition: all 0.3s ease;
        }

        .certificate-card:hover {
            transform: translateX(10px);
            border-color: var(--accent-color);
        }

        .certificate-icon {
            font-size: 2rem;
            color: var(--accent-color);
            margin-right: 1.5rem;
        }

        .certificate-info {
            flex: 1;
        }

        .certificate-title {
            color: var(--text-color);
            margin-bottom: 0.25rem;
        }

        .certificate-date {
            color: var(--text-color-light);
            font-size: 0.9rem;
        }

        .certificate-details {
            display: flex;
            gap: 1.5rem;
            margin: 0.5rem 0;
            font-size: 1rem;
        }

        .certificate-details span {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            color: var(--text-color);
        }

        /* Styles for grade badge */
        .grade {
            background: rgba(75, 158, 244, 0.15) !important;
            /* Semi-transparent blue */
            border: 1px solid rgba(75, 158, 244, 0.3) !important;
        }

        .grade i {
            color: #4B9EF4 !important;
            /* Blue star color */
        }

        /* Styles for rank badge */
        .rank {
            background: rgba(255, 215, 0, 0.15) !important;
            /* Semi-transparent yellow */
            border: 1px solid rgba(255, 215, 0, 0.3) !important;
        }

        .rank i {
            color: #FFD700 !important;
            /* Gold color for trophy icon */
        }

        .certificate-details i {
            font-size: 1rem;
        }

        .grade:hover,
        .rank:hover,
        .jobs:hover,
        .satisfaction:hover,
        .rating:hover {
            transform: translateY(-2px);
            border-color: var(--accent-color);
            transition: all 0.3s ease;
        }

        @media (max-width: 768px) {
            .skills-container {
                padding: 2rem;
            }

            .experience-card {
                padding: 1.5rem;
            }
        }

        .tech-tag {
            cursor: pointer;
        }

        /* Ensure Skills is single-column visually while using responsive grid cards */
        .skills-section .skills-container {
            max-width: none;
            /* allow full width of parent container */
            width: 100%;
            margin: 0 auto;
        }

        .skills-section .skill-category+.skill-category {
            margin-top: 0;
            /* grid gap controls vertical spacing; avoid offsetting only non-first items */
        }

        /* GitHub Activity Section */
        .github-activity-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .github-activity-section .section-title {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .github-activity-section.animate-in .section-title {
            opacity: 1;
            transform: translateY(0);
        }

        .github-graph-container {
            opacity: 1;
            transform: translateY(0);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px 0;
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Animation enhancement - if JavaScript adds animate-in class */
        .github-activity-section.animate-in .github-graph-container {
            opacity: 1;
            transform: translateY(0);
        }

        .github-graph-container iframe {
            max-width: 100%;
            width: 690px;
            height: 157px;
            border-radius: 8px;
            transition: 0.3s ease;
            display: block;
        }

        /* GitHub Button Container */
        .github-button-container {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .github-profile-btn {
            text-decoration: none;
        }

        /* Responsive styles for GitHub graph */
        @media (max-width: 768px) {
            .github-graph-container iframe {
                width: 100% !important;
                max-width: 100%;
                height: 200px;

            }

            .github-button-container {
                margin-top: 1.5rem;
                padding: 0 1rem;
            }
        }

        @media (max-width: 480px) {
            .github-activity-section {
                padding: 60px 0;
            }

            .github-graph-container {
                padding: 15px;
            }

            .github-graph-container iframe {
                height: 170px;

            }

            .github-button-container {
                margin-top: 1rem;
                padding: 0 0.5rem;
            }
        }

        /* Experience & Certificates Timeline */
        .experience-section {
            padding: 80px 0 100px;
        }

        /* Timeline Section Scroll Animations */
        .experience-section .section-title {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .experience-section.animate-in .section-title {
            opacity: 1;
            transform: translateY(0);
        }

        .timeline {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
        }

        .experience-section.animate-in .timeline {
            opacity: 1;
            transform: translateY(0);
        }

        /* Timeline Items Animation */
        .timeline-item {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in {
            opacity: 1;
            transform: translateX(0);
        }

        /* Timeline Markers Animation */
        .timeline-marker {
            opacity: 0;
            transform: scale(0);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-marker {
            opacity: 1;
            transform: scale(1);
        }

        /* Timeline Content Animation */
        .timeline-content {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Fast hover transitions for timeline content */
        .timeline-item:hover .timeline-content {
            transition: all 0.2s ease;
        }

        .timeline-item.animate-in .timeline-content {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered animation for timeline items */
        .timeline-item:nth-child(1) {
            transition-delay: 0.1s;
        }

        .timeline-item:nth-child(2) {
            transition-delay: 0.3s;
        }

        .timeline-item:nth-child(3) {
            transition-delay: 0.5s;
        }

        .timeline-item:nth-child(4) {
            transition-delay: 0.7s;
        }

        /* Timeline badges animation */
        .timeline-badges {
            opacity: 0;
            transform: translateY(15px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-badges {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.3s;
        }

        /* Timeline links animation */
        .timeline-link {
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-link {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.4s;
        }

        /* Enhanced hover effects for animated timeline items */
        .timeline-item:hover {
            transform: translateX(5px);
            transition: all 0.2s ease;
        }

        .timeline-item.animate-in:hover {
            transform: translateX(5px);
            transition: all 0.2s ease;
        }

        .timeline-item:hover .timeline-content {
            transform: translateY(-2px);
            transition: all 0.2s ease;
        }

        .timeline-item.animate-in:hover .timeline-content {
            transform: translateY(-2px);
            transition: all 0.2s ease;
        }

        /* Timeline line animation */
        .timeline::before {
            opacity: 0;
            transform: scaleY(0);
            transform-origin: top;
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .experience-section.animate-in .timeline::before {
            opacity: 1;
            transform: scaleY(1);
        }

        /* Timeline date animation */
        .timeline-date {
            opacity: 0;
            transform: translateX(-20px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-date {
            opacity: 1;
            transform: translateX(0);
            transition-delay: 0.2s;
        }

        /* Timeline title animation */
        .timeline-title {
            opacity: 0;
            transform: translateY(15px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-title {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.3s;
        }

        /* Timeline description animation */
        .timeline-description {
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-description {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.4s;
        }

        /* Timeline subtitle animation */
        .timeline-subtitle {
            opacity: 0;
            transform: translateY(8px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.animate-in .timeline-subtitle {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.35s;
        }

        /* Smooth timeline marker pulse effect */
        .timeline-marker {
            position: relative;
            box-sizing: border-box;
        }

        .timeline-item.animate-in .timeline-marker::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--accent-color);
            border-radius: 50%;
            transform: translate(0, 0);
            transform-origin: center center;
            opacity: 0.3;
            animation: pulse 2s ease-in-out infinite;
            z-index: -1;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 0.3;
            }

            50% {
                transform: scale(1.5);
                opacity: 0.15;
            }

            100% {
                transform: scale(2);
                opacity: 0;
            }
        }

        .timeline {
            position: relative;
            margin: 0 auto;
            padding-left: 0;
            /* align marker and line using same origin */
            max-width: 900px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 13px;
            /* centerline to match marker center (6px left + 7px radius) */
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(var(--accent-color), rgba(var(--accent-rgb), 0.25));
            opacity: 0.4;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
        }

        .timeline-marker {
            position: absolute;
            left: 6px;
            /* marker center at 13px given 14px width */
            top: 8px;
            width: 14px;
            height: 14px;
            background: var(--primary-color);
            border: 2px solid var(--accent-color);
            border-radius: 50%;
        }

        .timeline-content {
            background: rgba(17, 34, 64, 0.8);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            margin-left: 40px;
            /* clear line + marker */
            transition: all 0.3s ease;
        }

        .timeline-item:hover .timeline-content {
            transform: translateY(-4px);
            border-color: var(--accent-color);
            transition: all 0.2s ease;
        }

        .timeline-date {
            color: var(--accent-color);
            font-family: 'SF Mono', monospace;
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
        }

        .timeline-title {
            color: var(--text-color);
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .timeline-subtitle {
            color: var(--text-color-light);
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
        }

        .timeline-description {
            color: var(--text-color-light);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .timeline-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin: 0.75rem 0;
        }

        .badge-item {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 0.75rem;
            border-radius: 20px;
            background: rgba(17, 34, 64, 0.8);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            color: var(--text-color);
            font-size: 0.9rem;
        }

        .timeline-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--accent-color);
            text-decoration: none;
            margin-top: 0.5rem;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            background: rgba(var(--accent-rgb), 0.08);
        }

        .timeline-link:hover {
            transform: translateY(-2px);
            border-color: var(--accent-color);
            transition: all 0.2s ease;
        }

        /* Upwork Button - Matching Website Design */
        .timeline-link.upwork-btn {
            background: rgba(17, 34, 64, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            color: var(--accent-color);
            font-weight: 500;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-size: 0.9rem;
        }

        .timeline-link.upwork-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
            transition: left 0.5s ease;
        }

        .timeline-link.upwork-btn:hover {
            background: rgba(var(--accent-rgb), 0.15);
            border-color: var(--accent-color);
            transform: translateY(-2px);
            color: var(--accent-color);
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .timeline-link.upwork-btn:hover::before {
            left: 100%;
        }

        .timeline-link.upwork-btn:active {
            transform: translateY(-1px);
        }

        .timeline-link.upwork-btn i {
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .timeline-link.upwork-btn:hover i {
            transform: scale(1.05);
        }

        /* Focus state for accessibility */
        .timeline-link.upwork-btn:focus {
            outline: 2px solid var(--accent-color);
            outline-offset: 2px;
            background: rgba(var(--accent-rgb), 0.15);
            border-color: var(--accent-color);
        }

        @media (max-width: 768px) {
            .timeline {
                padding-left: 0;
            }

            .timeline::before {
                left: 13px;
            }

            .timeline-marker {
                left: 6px;
            }

            .timeline-content {
                margin-left: 32px;
                /* tighter on mobile */
                padding: 1.2rem;
            }
        }





        /* ============================================
           CLEAN CONTACT SECTION STYLES
           ============================================ */

        .contact-section {
            padding: 6rem 0;
        }

        .contact-subtitle {
            color: var(--text-color-light);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 3rem;
            text-align: center;
            line-height: 1.7;
        }

        /* Contact Cards */
        .contact-info-card,
        .contact-form-card {
            background: rgba(17, 34, 64, 0.6);
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: 16px;
            padding: 2rem;
            height: 100%;
        }

        .contact-card-title {
            color: var(--text-color);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .contact-card-desc {
            color: var(--text-color-light);
            font-size: 0.95rem;
            margin-bottom: 2rem;
            opacity: 0.8;
        }

        /* Contact Details List */
        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .contact-detail-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(var(--accent-rgb), 0.05);
            border-radius: 12px;
            text-decoration: none;
            color: var(--text-color);
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        a.contact-detail-item:hover {
            background: rgba(var(--accent-rgb), 0.1);
            border-color: rgba(var(--accent-rgb), 0.2);
        }

        .contact-detail-icon {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            color: var(--accent-color);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .contact-detail-content {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .contact-detail-label {
            font-size: 0.8rem;
            color: var(--text-color-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .contact-detail-value {
            font-size: 1rem;
            color: var(--text-color);
            font-weight: 500;
        }

        /* Contact Socials Section */
        .contact-socials-section {
            padding-top: 1.5rem;
            border-top: 1px solid rgba(var(--accent-rgb), 0.1);
        }

        .contact-socials-label {
            display: block;
            color: var(--text-color-light);
            font-size: 0.85rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .contact-socials {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .contact-social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            color: var(--text-color-light);
            font-size: 1.2rem;
            background: rgba(var(--accent-rgb), 0.05);
            border: 1px solid rgba(var(--accent-rgb), 0.1);
            border-radius: 10px;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .contact-social-link:hover {
            color: var(--accent-color);
            border-color: var(--accent-color);
            background: rgba(var(--accent-rgb), 0.1);
        }

        .contact-social-link .social-svg-icon {
            width: 20px;
            height: 20px;
            filter: brightness(0) saturate(100%) invert(70%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
            transition: filter 0.2s ease;
        }

        .contact-social-link:hover .social-svg-icon {
            filter: invert(50%) sepia(100%) saturate(2000%) hue-rotate(200deg) brightness(120%) contrast(120%);
        }

        /* Clean Contact Form */
        .contact-form-clean {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .form-row-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
        }

        .form-group-clean {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-label-clean {
            color: var(--text-color-light);
            font-size: 0.85rem;
            font-weight: 500;
        }

        .form-input-clean {
            background: rgba(var(--accent-rgb), 0.05);
            border: 1px solid rgba(var(--accent-rgb), 0.15);
            border-radius: 10px;
            color: var(--text-color);
            font-size: 1rem;
            padding: 0.875rem 1rem;
            transition: all 0.2s ease;
            outline: none;
            width: 100%;
        }

        .form-input-clean::placeholder {
            color: var(--text-color-light);
            opacity: 0.5;
        }

        .form-input-clean:focus {
            border-color: var(--accent-color);
            background: rgba(var(--accent-rgb), 0.08);
        }

        .form-textarea-clean {
            min-height: 140px;
            resize: vertical;
        }

        .submit-btn-clean {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: transparent;
            color: var(--accent-color);
            border: 1px solid var(--accent-color);
            padding: 1rem 2rem;
            font-size: 1rem;
            font-weight: 500;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;
            margin-top: 0.5rem;
        }

        .submit-btn-clean:hover {
            background: var(--accent-color);
            color: var(--primary-color);
        }

        .submit-btn-clean .btn-icon {
            transition: transform 0.2s ease;
        }

        .submit-btn-clean:hover .btn-icon {
            transform: translateX(4px);
        }

        /* intl-tel-input dark theme customization */
        .iti {
            width: 100%;
        }

        .iti__tel-input {
            background: rgba(var(--accent-rgb), 0.05) !important;
            border: 1px solid rgba(var(--accent-rgb), 0.15) !important;
            border-radius: 10px !important;
            color: var(--text-color) !important;
            font-size: 1rem !important;
            padding: 0.875rem 1rem !important;
            padding-left: 100px !important;
            outline: none !important;
        }

        .iti__tel-input:focus {
            border-color: var(--accent-color) !important;
            background: rgba(var(--accent-rgb), 0.08) !important;
        }

        .iti__selected-dial-code {
            color: var(--text-color) !important;
        }

        .iti__arrow {
            border-top-color: var(--text-color-light) !important;
        }

        .iti__arrow--up {
            border-bottom-color: var(--text-color-light) !important;
        }

        .iti__dropdown-content {
            background: var(--secondary-color) !important;
            border: 1px solid rgba(var(--accent-rgb), 0.2) !important;
            border-radius: 10px !important;
        }

        .iti__search-input {
            background: var(--primary-color) !important;
            border: 1px solid rgba(var(--accent-rgb), 0.2) !important;
            color: var(--text-color) !important;
            border-radius: 8px !important;
        }

        .iti__search-input::placeholder {
            color: var(--text-color-light) !important;
        }

        .iti__country {
            padding: 10px 12px !important;
            transition: background 0.2s ease !important;
        }

        .iti__country:hover {
            background: rgba(var(--accent-rgb), 0.1) !important;
        }

        .iti__country-name,
        .iti__dial-code {
            color: var(--text-color) !important;
        }

        .iti__highlight {
            background: rgba(var(--accent-rgb), 0.15) !important;
        }

        .iti__selected-country {
            border-radius: 8px !important;
            padding: 0 8px !important;
        }

        .iti__selected-country:focus {
            outline: none !important;
        }

        /* Responsive Contact Section */
        @media (max-width: 991px) {
            .contact-info-card {
                margin-bottom: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .form-row-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .contact-info-card,
            .contact-form-card {
                padding: 1.5rem;
            }

            .contact-detail-item {
                padding: 0.875rem;
            }

            .contact-detail-icon {
                width: 40px;
                height: 40px;
            }
        }

        /* Contact Form Notifications */
        .contact-notification {
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            padding: 1rem 1.5rem;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            max-width: 90%;
            min-width: 300px;
        }

        .contact-notification.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .contact-notification-success {
            background: rgba(46, 204, 113, 0.95);
            color: #fff;
        }

        .contact-notification-error {
            background: rgba(231, 76, 60, 0.95);
            color: #fff;
        }

        .contact-notification-warning {
            background: rgba(241, 196, 15, 0.95);
            color: #1a1a2e;
        }

        .contact-notification i {
            font-size: 1.2rem;
        }

        .contact-notification span {
            flex: 1;
            font-weight: 500;
        }

        .contact-notification .notification-close {
            background: none;
            border: none;
            color: inherit;
            font-size: 1.5rem;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.2s ease;
            padding: 0;
            line-height: 1;
        }

        .contact-notification .notification-close:hover {
            opacity: 1;
        }

        /* Form Cooldown Overlay */
        .form-cooldown-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 25, 47, 0.95);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .cooldown-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
        }

        .cooldown-content i {
            font-size: 2.5rem;
            color: var(--accent-color);
            opacity: 0.8;
        }

        .cooldown-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-color);
        }

        .cooldown-timer {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-color);
            font-family: 'SF Mono', monospace;
        }

        .cooldown-message {
            font-size: 0.9rem;
            color: var(--text-color-light);
        }

        /* Form Card needs relative positioning for overlay */
        .contact-form-card {
            position: relative;
        }

        /* Form disabled state */
        .contact-form-clean.form-disabled .form-input-clean,
        .contact-form-clean.form-disabled .submit-btn-clean {
            opacity: 0.5;
            pointer-events: none;
        }

        /* Search Container Styles */
        .search-container {
            max-width: 600px;
            margin: 0 auto 2rem;
        }

        .search-input {
            background: rgba(17, 34, 64, 0.8) !important;
            border: 1px solid rgba(var(--accent-rgb), 0.2) !important;
            color: var(--text-color) !important;
            padding: 1rem !important;
            font-size: 1rem;
            border-start-start-radius: 0 !important;
            border-end-start-radius: 0 !important;
        }

        .search-input::placeholder {
            color: var(--text-color-light) !important;
            opacity: 0.6;
        }

        .search-input:focus {
            box-shadow: none !important;
            border-color: var(--accent-color) !important;
        }

        .input-group-text {
            border: 1px solid rgba(var(--accent-rgb), 0.2) !important;
            border-right: none !important;
            color: var(--accent-color) !important;
        }

        /* Search Loading Indicator */
        .search-loading-indicator {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            pointer-events: none;
        }

        .search-loading-indicator.active {
            opacity: 1;
            visibility: visible;
        }

        /* Apple-style Spinner */
        .apple-spinner {
            width: 20px;
            height: 20px;
            position: relative;
            animation: appleSpinnerRotate 1.2s linear infinite;
        }

        .spinner-dot {
            position: absolute;
            width: 2px;
            height: 6px;
            background: var(--accent-color);
            border-radius: 2px;
            left: 50%;
            top: 0;
            margin-left: -1px;
            transform-origin: 50% 10px;
            opacity: 0;
        }

        /* Position and animate each dot */
        .spinner-dot:nth-child(1) {
            transform: rotate(0deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0s;
        }

        .spinner-dot:nth-child(2) {
            transform: rotate(45deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0.15s;
        }

        .spinner-dot:nth-child(3) {
            transform: rotate(90deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0.3s;
        }

        .spinner-dot:nth-child(4) {
            transform: rotate(135deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0.45s;
        }

        .spinner-dot:nth-child(5) {
            transform: rotate(180deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0.6s;
        }

        .spinner-dot:nth-child(6) {
            transform: rotate(225deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0.75s;
        }

        .spinner-dot:nth-child(7) {
            transform: rotate(270deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 0.9s;
        }

        .spinner-dot:nth-child(8) {
            transform: rotate(315deg);
            animation: appleSpinnerFade 1.2s linear infinite;
            animation-delay: 1.05s;
        }

        @keyframes appleSpinnerRotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes appleSpinnerFade {

            0%,
            100% {
                opacity: 0.2;
            }

            50% {
                opacity: 1;
            }
        }

        .text-accent {
            color: var(--accent-color) !important;
        }

        /* Animation for filtering */
        .project-card {
            opacity: 1;
            transform: translateY(0);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: transform, opacity;
            backface-visibility: hidden;
            /* Optimize performance */
            -webkit-backface-visibility: hidden;
            transform-style: preserve-3d;
            /* Better 3D performance */
        }

        .project-card.reveal {
            opacity: 0;
            transform: translateY(30px);
        }

        /* Disable hover animation on mobile */
        @media (hover: hover) and (pointer: fine) {
            .project-card:hover {
                transform: translateY(-10px);
            }
        }

        /* Mobile specific optimizations */
        @media (max-width: 768px) {
            .project-card {
                transform: none !important;
                /* Disable transform on mobile */
                transition: opacity 0.6s ease;
                /* Simpler transition */
            }

            .project-card:hover {
                transform: none !important;
            }
        }

        /* Remove any existing slide animations */
        .slide-left,
        .slide-right {
            opacity: 1;
            transform: none;
        }

        .project-card.hidden {
            opacity: 0;
            transform: scale(0.8);
            height: 0;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }

        .view-certificate {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            /* Center content */
            gap: 0.5rem;
            margin-top: 1rem;
            padding: 0.6rem 1.2rem;
            /* Slightly more padding */
            background: #1a4731;
            /* Darker green background */
            border: none;
            /* Remove border */
            border-radius: 6px;
            /* Less rounded corners */
            color: #4CAF50;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            /* Slightly bolder text */
            transition: all 0.2s ease;
            width: fit-content;
            /* Add subtle shadow */
        }

        .view-certificate i {
            color: #4CAF50;
            margin-right: 4px;
        }

        .view-certificate:hover {
            transform: translateY(-2px);
            background: #235c3f;
            /* Lighter green on hover */
        }

        .view-certificate:active {
            transform: translateY(0);
        }

        /* Mobile adjustments */
        @media (max-width: 768px) {
            .view-certificate {
                padding: 0.5rem 1rem;
                font-size: 0.85rem;
            }
        }

        .certificate-year {
            color: #00FF9D;
            /* Bright green color */
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .certificate-title {
            color: var(--text-color);
            font-size: 1.4rem;
            margin-bottom: 0.5rem;
        }

        .certificate-school {
            color: var(--text-color-light);
            font-size: 1rem;
            margin-bottom: 1rem;
            opacity: 0.8;
        }

        .certificate-details {
            display: flex;
            gap: 1.5rem;
            margin: 1rem 0;
        }

        .certificate-details span {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            background: rgba(17, 34, 64, 0.8);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            color: var(--text-color);
        }

        .certificate-card {
            background: rgba(17, 34, 64, 0.8);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(var(--accent-rgb), 0.2);
        }

        /* Certificate Modal Styles */
        .certificate-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(5px);
            overflow: auto;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-content {
            position: relative;
            margin: auto;
            padding: 20px;
            width: auto;
            max-width: 90vw;
            max-height: 90vh;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: inline-block;
        }

        .certificate-preview {
            max-width: 100%;
            max-height: calc(90vh - 80px);
            /* Account for padding and close button */
            height: auto;
            width: auto;
            object-fit: contain;
            border-radius: 10px;
            display: block;
        }

        .close-modal {
            position: absolute;
            right: 25px;
            top: 0;
            color: var(--accent-color);
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close-modal:hover {
            color: var(--text-color);
        }

        /* Animation for modal */
        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translate(-50%, -60%);
            }

            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        .modal-content {
            animation: modalFadeIn 0.3s ease-out;
        }

        /* Additional responsive improvements for very large screens */
        @media (min-width: 1200px) {
            .modal-content {
                max-width: 100vw;
            }

            .certificate-preview {
                max-height: calc(90vh - 100px);
                max-width: 100%;
            }
        }

        /* Ensure modal works well on landscape mobile */
        @media (max-width: 768px) and (orientation: landscape) {
            .modal-content {
                max-height: 80vh;
                max-width: 90vw;
                padding: 10px;
            }

            .certificate-preview {
                max-height: calc(80vh - 40px);
                max-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .certificate-card {
                padding: 1.5rem;
            }

            .certificate-year {
                font-size: 1rem;
            }

            .certificate-title {
                font-size: 1.2rem;
                line-height: 1.4;
            }

            .certificate-school {
                font-size: 0.9rem;
                margin-bottom: 0.8rem;
            }

            .certificate-details {
                flex-direction: column;
                gap: 0.8rem;
            }

            .certificate-details span {
                font-size: 0.9rem;
                padding: 0.4rem 0.8rem;
            }

            /* Modal adjustments for mobile */
            .modal-content {
                width: auto;
                max-width: 95vw;
                padding: 15px;
                max-height: 85vh;
            }

            .close-modal {
                right: 15px;
                top: -5px;
                font-size: 28px;
            }

            .certificate-preview {
                max-height: calc(85vh - 60px);
                max-width: 100%;
                object-fit: contain;
            }
        }

        /* For very small screens */
        @media (max-width: 380px) {
            .certificate-card {
                padding: 1rem;
            }

            .certificate-title {
                font-size: 1.1rem;
            }

            .certificate-details span {
                font-size: 0.8rem;
                padding: 0.3rem 0.6rem;
            }

            .view-certificate {
                font-size: 0.8rem;
                padding: 0.4rem 0.8rem;
            }
        }

        /* Ensure smooth transitions on all devices */
        .certificate-card,
        .certificate-details span,
        .view-certificate {
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: transparent;
            /* Remove tap highlight on mobile */
        }

        /* Improve touch targets for mobile */
        .view-certificate,
        .certificate-details span,
        .close-modal {
            min-height: 44px;
            /* Minimum touch target size */
            display: flex;
            align-items: center;
        }

        /* Specific styles for rank badge */
        .rank {
            background: rgba(255, 215, 0, 0.15) !important;
            /* Semi-transparent yellow */
            border: 1px solid rgba(255, 215, 0, 0.3) !important;
        }

        .rank i {
            color: #FFD700 !important;
            /* Gold color for trophy icon */
        }

        /* Styles for Upwork badges */
        .jobs {
            background: rgba(59, 130, 246, 0.15) !important;
            /* Semi-transparent blue */
            border: 1px solid rgba(59, 130, 246, 0.3) !important;
        }

        .jobs i {
            color: #3B82F6 !important;
            /* Blue color for briefcase icon - professional */
        }

        .satisfaction {
            background: rgba(255, 215, 0, 0.15) !important;
            /* Semi-transparent gold */
            border: 1px solid rgba(255, 215, 0, 0.3) !important;
        }

        .satisfaction i {
            color: #FFD700 !important;
            /* Gold color for star icon - like ratings */
        }

        .rating {
            background: rgba(34, 197, 94, 0.15) !important;
            /* Semi-transparent green */
            border: 1px solid rgba(34, 197, 94, 0.3) !important;
        }

        .rating i {
            color: #22C55E !important;
            /* Green color for dollar icon - money */
        }

        /* Technical Skills Grid Styles – compact chip layout */
        .skills-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            padding: 0;
        }

        .skill-item {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 0.95rem;
            background: rgba(var(--accent-rgb), 0.08);
            border-radius: 12px;
            border: 1px solid rgba(var(--accent-rgb), 0.25);
            transition: all 0.2s ease;
        }

        .skill-item:hover {
            transform: translateY(-2px);
            border-color: var(--accent-color);
        }

        .skill-icon {
            font-size: 1.1rem;
            color: var(--accent-color);
            transition: all 0.2s ease;
        }

        .skill-logo {
            width: 1.4rem;
            height: 1.4rem;
            object-fit: contain;
            transition: all 0.2s ease;
        }

        .skill-item:hover .skill-icon {
            transform: scale(1.05);
        }

        .skill-item:hover .skill-logo {
            transform: scale(1.05);
            filter: brightness(1.1);
        }

        .skill-name {
            color: var(--text-color);
            font-size: 1.05rem;
            margin: 0;
        }



        @media (max-width: 768px) {
            .skill-item {
                padding: 0.5rem 0.8rem;
            }
        }


        /* Remove transition properties that might cause unwanted animations */
        .hero-content,
        .hero-image-container {
            transition: none !important;
        }

        /* Download Popup Styles */
        .download-popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(17, 34, 64, 0.95);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            z-index: 1000;
            min-width: 300px;
            text-align: center;
            animation: popIn 0.3s ease-out;
        }

        .download-popup h3 {
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .download-options {
            display: grid;
            gap: 1rem;
        }

        .download-option {
            background: rgba(var(--accent-rgb), 0.1);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            padding: 1rem;
            border-radius: 10px;
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .download-option:hover {
            background: rgba(var(--accent-rgb), 0.2);
            transform: translateY(-2px);
        }

        .download-option i {
            font-size: 1.2rem;
        }

        .download-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 999;
        }

        .close-download-popup {
            position: absolute;
            right: 1rem;
            top: 1rem;
            background: none;
            border: none;
            color: var(--accent-color);
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close-download-popup:hover {
            color: var(--text-color);
            transform: rotate(90deg);
        }

        @keyframes popIn {
            from {
                opacity: 0;
                transform: translate(-50%, -60%);
            }

            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        /* Category Buttons Styles */
        .categories-container {
            margin-bottom: 2rem;
        }

        .category-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .category-btn {
            background: transparent;
            color: var(--text-color);
            border: 1px solid var(--accent-color);
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .category-btn:hover {
            background: rgba(var(--accent-rgb), 0.1);
        }

        .category-btn.active {
            background: var(--accent-color);
            color: var(--primary-color);
        }

        /* Mobile responsiveness for category buttons */
        @media (max-width: 768px) {
            .category-buttons {
                gap: 0.5rem;
            }

            .category-btn {
                padding: 0.4rem 1rem;
                font-size: 0.8rem;
            }
        }

        /* Add these styles for centering single project */
        #projectsContainer {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        #projectsContainer .col-md-6 {
            transition: all 0.3s ease;
        }

        /* When only one project is visible, center it */
        #projectsContainer.single-project .col-md-6 {
            margin-left: auto;
            margin-right: auto;
            float: none;
        }

        /* Load More Button Styles */
        .load-more-btn {
            position: relative;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 50px;
            padding: 1rem 2.5rem;
            color: var(--accent-color);
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            margin: 0 auto;
        }

        .load-more-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
            transition: left 0.6s ease;
        }

        .load-more-btn:hover {
            transform: translateY(-3px);
            border-color: rgba(var(--accent-rgb), 0.4);
            background: rgba(var(--accent-rgb), 0.05);
        }

        .load-more-btn:hover::before {
            left: 100%;
        }

        .load-more-btn:active {
            transform: translateY(-1px);
        }

        .load-more-btn .btn-text {
            position: relative;
            z-index: 2;
        }

        .load-more-btn .btn-icon {
            position: relative;
            z-index: 2;
            transition: transform 0.3s ease;
        }

        .load-more-btn:hover .btn-icon {
            transform: translateY(2px);
        }

        .load-more-btn.hidden {
            display: none;
        }

        /* Empty State Styles */
        .empty-state-server,
        .empty-state-search {
            animation: fadeIn 0.5s ease-in;
        }

        .empty-state-search.hidden {
            display: none !important;
        }

        .empty-state-content {
            max-width: 500px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        .empty-state-icon {
            font-size: 4rem;
            color: var(--accent-color);
            margin-bottom: 1.5rem;
            opacity: 0.8;
            animation: pulse 2s ease-in-out infinite;
        }

        .empty-state-title {
            font-size: 1.8rem;
            color: var(--text-color);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .empty-state-text {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .clear-search-btn {
            position: relative;
            background: rgba(var(--accent-rgb), 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 12px;
            padding: 0.9rem 2rem;
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-color);
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .clear-search-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
            transition: left 0.6s ease;
        }

        .clear-search-btn:hover {
            transform: translateY(-2px);
            border-color: rgba(var(--accent-rgb), 0.5);
            background: rgba(var(--accent-rgb), 0.15);
        }

        .clear-search-btn:hover::before {
            left: 100%;
        }

        .clear-search-btn:active {
            transform: translateY(0);
        }

        .clear-search-btn i {
            transition: transform 0.3s ease;
        }

        .clear-search-btn:hover i {
            transform: rotate(90deg);
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 0.8;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(1.05);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        /* Project item visibility for pagination */
        .project-item {
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 1;
            transform: translateY(0);
        }

        .project-item.hidden-pagination {
            display: none;
        }

        .project-item.fade-in {
            animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        /* Mobile responsiveness for projects - Show 2 per row on mobile */
        @media (max-width: 700px) {
            #projectsContainer .col-md-6 {
                width: 50%;
                /* Make columns take 50% width to show 2 per row */
                padding-left: 5px;
                padding-right: 5px;
            }

            .load-more-btn {
                padding: 0.8rem 2rem;
                font-size: 0.9rem;
            }

            .project-card {
                padding: 1rem;
                /* Reduce padding to make cards smaller */
                backdrop-filter: none;
                /* Disable blur effect on mobile to improve performance */
                -webkit-backdrop-filter: none;
                /* For Safari support */
                background: rgba(17, 34, 64, 0.95);
                /* Make background more solid instead of blurred */
            }

            .project-title {
                font-size: 1.2rem;
                /* Smaller title */
                margin-bottom: 0.5rem;
            }

            /* Empty state mobile styles */
            .empty-state-content {
                padding: 2rem 1rem;
            }

            .empty-state-icon {
                font-size: 3rem;
            }

            .empty-state-title {
                font-size: 1.5rem;
            }

            .empty-state-text {
                font-size: 1rem;
            }

            .clear-search-btn {
                padding: 0.75rem 1.5rem;
                font-size: 0.9rem;
            }

            .project-description {
                font-size: 0.85rem;
                /* Smaller text */
                margin-bottom: 0.75rem;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;

            }

            .project-tech {
                gap: 0.4rem;
                margin: 0.5rem 0;
            }

            .project-image {
                height: 150px;
                /* Smaller image height */
                margin-bottom: 0.75rem;
            }


            .tech-tag {
                padding: 0.2rem 0.6rem;
                font-size: 0.7rem;
            }

            .project-link {
                font-size: 1.2rem;
            }

            .project-header {
                margin-bottom: 0.75rem;
            }
        }

        /* Even smaller screens - adjust further if needed */
        @media (max-width: 400px) {
            .tech-tag {
                padding: 0.2rem 0.5rem;
                font-size: 0.65rem;
            }
        }

        /* Subtle parallax effect on scroll */
        .parallax-scroll {
            transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
        }

        .parallax-slow {
            transform: translateY(0);
        }

        .parallax-medium {
            transform: translateY(0);
        }

        .parallax-fast {
            transform: translateY(0);
        }

        /* Project hover enhancement */
        .project-card {
            transition: transform 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
        }



        .upwork-profile-btn {
            display: inline-flex;
            align-items: center;
            margin-top: 10px;
            padding: 8px 16px;
            background-color: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 4px;
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        /* Upwork profile button styling */
        .upwork-profile-btn {
            display: inline-flex;
            align-items: center;
            margin-top: 15px;
            padding: 10px 18px;
            background-color: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 4px;
            font-size: 0.95rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .upwork-profile-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(var(--accent-rgb), 0.2);
            transition: all 0.4s ease;
            z-index: -1;
        }

        .upwork-profile-btn:hover {
            transform: translateY(-3px);
            color: #fff;
        }

        .upwork-profile-btn:hover::before {
            left: 0;
        }

        .upwork-profile-btn i {
            margin-right: 10px;
            font-size: 1.1rem;
        }

        /* Upwork stats styling - updated for inline display */
        .upwork-stats {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 15px 0;
        }

        .upwork-stat {
            background: rgba(17, 34, 64, 0.8);
            border: 1px solid rgba(var(--accent-rgb), 0.2);
            border-radius: 8px;
            padding: 10px 15px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .upwork-stat:hover {
            transform: translateY(-3px);
            border-color: var(--accent-color);
        }

        .upwork-stat-icon {
            color: var(--accent-color);
            font-size: 1.2rem;
            margin-right: 12px;
        }

        .upwork-stat-value {
            font-weight: 600;
            color: #fff;
            font-size: 1.1rem;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .upwork-stat {
                padding: 8px 12px;
            }

            .upwork-stat-value {
                font-size: 1rem;
            }
        }

        @keyframes slideInNotificationFromTop {
            from {
                transform: translateY(-20px) translateX(-50%);
                opacity: 0;
            }

            to {
                transform: translateY(0) translateX(-50%);
                opacity: 1;
            }
        }

        /* Responsive notification adjustment */
        @media (max-width: 768px) {
            .notification {
                width: 90%;
                min-width: auto;
            }
        }

        /* Location Badge */
        .location-badge {
            display: inline-flex;
            align-items: center;
            background-color: rgba(var(--accent-rgb), 0.1);
            color: var(--accent-color);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            backdrop-filter: blur(4px);
            max-width: fit-content;
            transition: all 0.3s ease;
        }

        .location-badge:hover {
            transform: translateY(-2px);
        }

        .location-badge i {
            margin-right: 8px;
            color: var(--accent-color);
            font-size: 1rem;
        }

        /* Optimized Animation Styles */
        .stagger-item {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transition-delay: var(--stagger-delay, 0ms);
        }

        .stagger-item.active {
            opacity: 1;
            transform: translateY(0);
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease;
            transition-delay: var(--animation-delay, 0ms);
        }

        .fade-in.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Optimized pagination animations */
        .hidden-pagination {
            opacity: 0;
            transform: scale(0.8);
            pointer-events: none;
        }

        /* Optimized stat animations */
        .stat-item {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s ease;
            transition-delay: var(--stat-delay, 0ms);
        }

        .stat-item.animate {
            opacity: 1;
            transform: translateY(0);
        }

        /* Performance optimized skill progress bars */
        .skill-progress {
            width: 0%;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: var(--stagger-delay, 0ms);
        }

        .skill-progress.active {
            width: var(--progress-width, 0%);
        }

        /* Optimized reveal animations */

        .pop-in {
            opacity: 0;
            transform: scale(0.8) translateY(20px);
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .pop-in.active {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .scale-up {
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.5s ease;
        }

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

        .slide-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

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

        .slide-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

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

        /* General reveal animation */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Scroll to Top Button */
        .scroll-to-top-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            background: rgba(17, 34, 64, 0.9);
            border: 1px solid rgba(var(--accent-rgb), 0.4);
            color: var(--accent-color);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(8px);
            font-size: 1.2rem;
            opacity: 0;
            transform: translateY(20px) scale(0.8);
            visibility: hidden;
        }

        .scroll-to-top-btn:hover {
            background: rgba(var(--accent-rgb), 0.1);
            transform: translateY(-2px);
        }

        .scroll-to-top-btn.show {
            opacity: 1;
            transform: translateY(0) scale(1);
            visibility: visible;
        }

        .scroll-to-top-btn i {
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .scroll-to-top-btn:hover i {
            transform: translateY(-2px);
        }

        /* Enhanced mobile responsiveness for scroll to top button */
        @media (max-width: 768px) {
            .scroll-to-top-btn {
                bottom: 25px;
                right: 15px;
                width: 55px;
                height: 55px;
                font-size: 1.3rem;
            }
        }

        /* Smooth scroll behavior for the entire page */
        html {
            scroll-behavior: smooth;
        }

        /* Dashboard link styles */
        .dashboard-link {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            color: var(--accent-color);
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: inline-block;
        }

        .dashboard-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
            transition: left 0.5s;
        }

        .dashboard-link:hover,
        .dashboard-link:focus {
            background: rgba(var(--accent-rgb), 0.15) !important;
            transform: translateY(-2px);
            color: var(--accent-color) !important;
            text-decoration: none !important;
        }

        .dashboard-link:hover::before {
            left: 100%;
        }

        .dashboard-link i {
            margin-right: 6px;
            font-size: 0.9rem;
        }

        /* Desktop navigation dashboard link */
        .nav-dashboard {
            margin-left: 20px;
            display: flex;
            align-items: center;
            height: 100%;
            margin-top: 5px;
        }

        /* Media queries for responsive behavior */
        @media (max-width: 991.98px) {
            .nav-dashboard {
                display: none;
            }
        }

        @media (min-width: 992px) {
            .nav-dashboard {
                display: block;
            }
        }

        /* Testimonial Modal Styles */
        .testimonial-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            animation: fadeIn 0.3s ease-out;
        }

        .testimonial-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .testimonial-modal-content {
            position: relative;
            width: 100%;
            max-width: 900px;
            animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .close-testimonial-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            color: var(--text-color);
            font-size: 28px;
            font-weight: 300;
            line-height: 1;
            cursor: pointer;
            background: rgba(17, 34, 64, 0.9);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            transition: background 0.3s ease, border-color 0.3s ease;
            z-index: 10;
        }

        .close-testimonial-modal:hover,
        .close-testimonial-modal:focus {
            background: rgba(var(--accent-rgb), 0.2);
            border-color: var(--accent-color);
        }

        /* Horizontal Testimonial Card */
        .testimonial-card-horizontal {
            background: rgba(17, 34, 64, 0.95);
            border: 2px solid rgba(var(--accent-rgb), 0.35);
            border-radius: 20px;
            padding: 2.5rem;
            padding-bottom: 4rem;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .testimonial-header-horizontal {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .testimonial-avatar-horizontal {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(var(--accent-rgb), 0.45);
            flex-shrink: 0;
        }

        .testimonial-meta-horizontal {
            flex: 1;
            min-width: 0;
        }

        .testimonial-name-horizontal {
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--text-color);
            margin-bottom: 0.5rem;
        }

        .testimonial-project-horizontal {
            color: var(--text-color-light);
            font-size: 1.05rem;
            line-height: 1.5;
            margin-bottom: 0.5rem;
        }

        .testimonial-dates-horizontal {
            color: var(--text-color-light);
            font-size: 0.95rem;
            opacity: 0.85;
        }

        .star-rating-horizontal {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.2rem;
        }

        .star-rating-horizontal i {
            color: #fbbf24;
        }

        .star-rating-horizontal .rating-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-color);
            margin-left: 0.5rem;
        }

        .testimonial-text-horizontal {
            margin: 0;
            margin-bottom: 1rem;
            color: var(--text-color-light);
            font-size: 1.1rem;
            line-height: 1.8;
            font-style: italic;
            position: relative;
            padding-left: 1.5rem;
            border-left: 3px solid rgba(var(--accent-rgb), 0.4);
        }

        .testimonial-upwork-link-horizontal {
            position: absolute;
            bottom: 1.5rem;
            right: 1.5rem;
            font-size: 0.8rem;
            color: var(--accent-color);
            text-decoration: none;
            padding: 0.4rem 0.75rem;
            border: 1px solid rgba(var(--accent-rgb), 0.3);
            border-radius: 6px;
            background: rgba(17, 34, 64, 0.8);
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            backdrop-filter: blur(5px);
            opacity: 0.9;
        }

        .testimonial-upwork-link-horizontal:hover {
            opacity: 1;
            color: var(--accent-color);
            border-color: rgba(var(--accent-rgb), 0.5);
            background: rgba(17, 34, 64, 0.95);
            text-decoration: none;
        }

        .testimonial-upwork-link-horizontal i {
            font-size: 0.85rem;
        }

        /* Modal Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes modalSlideUp {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }

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

        /* Mobile Responsive Styles */
        @media (max-width: 768px) {
            .testimonial-modal-content {
                max-width: 100%;
                margin: 0 10px;
            }

            .close-testimonial-modal {
                top: 12px;
                right: 12px;
                width: 32px;
                height: 32px;
                font-size: 24px;
                line-height: 1;
            }

            .testimonial-card-horizontal {
                padding: 1.75rem;
                padding-bottom: 4rem;
                gap: 1.25rem;
            }

            .testimonial-header-horizontal {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .testimonial-avatar-horizontal {
                width: 70px;
                height: 70px;
            }

            .testimonial-name-horizontal {
                font-size: 1.2rem;
            }

            .testimonial-project-horizontal {
                font-size: 0.95rem;
            }

            .testimonial-dates-horizontal {
                font-size: 0.85rem;
            }

            .star-rating-horizontal {
                font-size: 1rem;
            }

            .star-rating-horizontal .rating-value {
                font-size: 1.1rem;
            }

            .testimonial-text-horizontal {
                font-size: 1rem;
                padding-left: 1rem;
                margin-bottom: 1.5rem;
            }

            .testimonial-upwork-link-horizontal {
                bottom: 1.25rem;
                right: 1.25rem;
                font-size: 0.8rem;
                padding: 0.4rem 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .testimonial-modal.show {
                padding: 10px;
            }

            .testimonial-card-horizontal {
                padding: 1.5rem;
                padding-bottom: 3.5rem;
                gap: 1rem;
            }

            .testimonial-avatar-horizontal {
                width: 60px;
                height: 60px;
            }

            .testimonial-name-horizontal {
                font-size: 1.1rem;
            }

            .testimonial-text-horizontal {
                font-size: 0.95rem;
                margin-bottom: 1.5rem;
            }

            .testimonial-upwork-link-horizontal {
                bottom: 1rem;
                right: 1rem;
            }
        }