/* Global styles */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #2563eb;
    --secondary-color: #1d4ed8;
    --accent-color: #7c3aed;
    --pink-accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-light: var(--gray-400);
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-gradient: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
    --bg-dark: #0f172a;
    --border-color: var(--gray-200);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
    --card-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] {
    --primary-color: #3b82f6;
    --secondary-color: #2563eb;
    --accent-color: #8b5cf6;
    --pink-accent: #22d3ee;
    --text-primary: var(--gray-50);
    --text-secondary: var(--gray-300);
    --text-light: var(--gray-400);
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --bg-dark: #020617;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.5);
    --card-bg: rgba(30, 41, 59, 0.95);
    --nav-bg: rgba(30, 41, 59, 0.95);
}
        :root {
            /* Colors */
            --primary-color: #2563eb;
            --secondary-color: #1d4ed8;
            --accent-color: #7c3aed;
            --pink-accent: #06b6d4;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            
            /* Neutrals */
            --white: #ffffff;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            
            --text-primary: var(--gray-900);
            --text-secondary: var(--gray-600);
            --text-light: var(--gray-400);
            --bg-primary: var(--white);
            --bg-secondary: var(--gray-50);
            --bg-gradient: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
            --bg-dark: #0f172a;
            --border-color: var(--gray-200);
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            --transition: all 0.3s ease;
            --card-bg: rgba(255, 255, 255, 0.95);
            --nav-bg: rgba(255, 255, 255, 0.95);
        }

        [data-theme="dark"] {
            --primary-color: #3b82f6;
            --secondary-color: #2563eb;
            --accent-color: #8b5cf6;
            --pink-accent: #22d3ee;
            --text-primary: var(--gray-50);
            --text-secondary: var(--gray-300);
            --text-light: var(--gray-400);
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            --bg-dark: #020617;
            --border-color: #334155;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.5);
            --card-bg: rgba(30, 41, 59, 0.95);
            --nav-bg: rgba(30, 41, 59, 0.95);
        }

        /* Dark mode toggle button */
        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 50px;
            padding: 8px 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            color: var(--text-primary);
            backdrop-filter: blur(10px);
            transition: var(--transition);
            box-shadow: var(--shadow-md);
        }

        .theme-toggle:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .theme-toggle i {
            font-size: 1rem;
            transition: var(--transition);
        }

        .theme-toggle.dark i.fa-moon {
            color: var(--accent-color);
        }

        .theme-toggle.light i.fa-sun {
            color: #fbbf24;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-gradient);
            background-attachment: fixed;
            scroll-behavior: smooth;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 60% 40%, rgba(236, 72, 153, 0.02) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .nav-brand {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
            margin-left: -10rem;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary-color);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 30%, #f8fafc 70%, #ffffff 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
            clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(2deg); }
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-content .subtitle {
            font-size: 1.5rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            font-weight: 500;
        }

        .hero-content .description {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.7;
        }

        .hero-content {
            margin-left: -10rem;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 0.5rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

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

        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }

        .hero-image {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-right: -2rem;
        }

        .profile-image {
            width: 400px;
            height: 400px;
            border-radius: 50%;
            object-fit: cover;
            object-position: 60% 30%;
            border: 8px solid white;
            box-shadow: var(--shadow-xl);
            transition: transform 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .profile-image:hover {
            transform: scale(1.05);
        }

        .profile-image-container {
            position: relative;
            display: inline-block;
        }

        .profile-image-container::before,
        .profile-image-container::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            opacity: 0;
            z-index: 1;
        }

        .profile-image-container::before {
            width: 410px;
            height: 410px;
            animation: ripple-wave 3s ease-out infinite;
        }

        .profile-image-container::after {
            width: 410px;
            height: 410px;
            animation: ripple-wave 3s ease-out infinite 1.5s;
        }

        /* Add additional ripple elements */
        .profile-image-container {
            position: relative;
            display: inline-block;
        }

        .profile-image-container::before,
        .profile-image-container::after,
        .ripple-1,
        .ripple-2 {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: var(--primary-color);
            opacity: 0;
            z-index: 1;
            pointer-events: none;
        }

        .ripple-1,
        .ripple-2 {
            width: 410px;
            height: 410px;
        }

        .ripple-1 {
            animation: ripple-wave 3s ease-out infinite 0.75s;
        }

        .ripple-2 {
            animation: ripple-wave 3s ease-out infinite 2.25s;
        }

        @keyframes ripple-wave {
            0% {
                opacity: 0.3;
                transform: translate(-50%, -50%) scale(1);
            }
            25% {
                opacity: 0.25;
                transform: translate(-50%, -50%) scale(1.05);
            }
            50% {
                opacity: 0.15;
                transform: translate(-50%, -50%) scale(1.15);
            }
            75% {
                opacity: 0.08;
                transform: translate(-50%, -50%) scale(1.25);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(1.4);
            }
        }

        /* Social Links */
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--text-secondary);
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Section Styles */
        .section {
            padding: 5rem 0;
            position: relative;
        }

        .section:nth-child(even) {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
        }

        .section:nth-child(odd) {
            background: rgba(248, 250, 252, 0.3);
        }

        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
            pointer-events: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 1;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: #4a5568;
            margin-bottom: 1rem;
            font-weight: 700;
            margin-bottom: 3rem;
            color: var(--text-primary);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Cards */
        .card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(15px);
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            border: 1px solid rgba(99, 102, 241, 0.1);
            position: relative;
            overflow: hidden;
        }

        .portfolio-item {
            display: flex;
            flex-direction: column;
            text-align: center;
        }

        .portfolio-item .btn {
            margin-top: auto;
            align-self: center;
        }

        .portfolio-item div[style*="display: flex"] {
            justify-content: center !important;
        }

        .portfolio-item div[style*="display: flex"] {
            justify-content: center !important;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
            border-color: rgba(99, 102, 241, 0.2);
        }

        .card:hover::before {
            opacity: 1;
        }

        /* Grid Layouts */
        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-2 {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }

        .grid-3 {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }

        .grid-5 {
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        }

        /* Center the advanced skills row with 3 items */
        .advanced-skills-row {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .advanced-skills-row .programming-skill-card {
            flex: 0 0 auto;
            width: 200px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
                padding: 0 1rem;
                display: flex;
                flex-direction: column;
            }

            .hero-content {
                margin-left: 0 !important;
                padding: 0 1rem;
                order: 2;
                width: 100% !important;
            }

            .hero-image {
                margin-right: 0 !important;
                justify-content: center !important;
                order: 1;
                display: flex !important;
                align-items: center !important;
                text-align: center !important;
                width: 100% !important;
            }

            .nav-brand {
                margin-left: 0 !important;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .hero-content h1 {
                font-size: 1.2rem !important;
                line-height: 1.2;
            }

            .hero-content .description {
                font-size: 0.8rem !important;
                line-height: 1.4;
            }

            .hero-content p {
                font-size: 0.8rem !important;
            }

            .profile-image {
                width: 200px;
                height: 200px;
            }

            .profile-image-container {
                margin: 0 auto !important;
            }

            .profile-image-container::before,
            .profile-image-container::after,
            .ripple-1,
            .ripple-2 {
                width: 210px !important;
                height: 210px !important;
            }

            .hero-buttons {
                justify-content: center !important;
                margin-top: 2rem !important;
                flex-direction: column !important;
                gap: 1rem !important;
                align-items: center !important;
            }

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

            .portfolio-tabs {
                display: flex !important;
                flex-direction: column !important;
                gap: 1rem !important;
                align-items: center !important;
            }

            .timeline-content {
                margin-left: 0 !important;
                padding: 1rem !important;
            }

            .timeline-marker {
                display: none !important;
            }

            .contact-info {
                text-align: center !important;
            }

            .contact-item {
                justify-content: center !important;
                flex-direction: column !important;
                align-items: center !important;
                gap: 0.5rem !important;
            }

            .container {
                padding: 0 1rem;
            }

            .nav-menu {
                display: none;
            }

            .profile-image {
                width: 250px;
                height: 250px;
            }

            .section {
                padding: 3rem 0;
            }

            .section-title {
                font-size: 2rem;
                font-weight: 700;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

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

        /* Floating elements */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .floating-element {
            position: absolute;
            background: var(--primary-color);
            border-radius: 0.5rem;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            top: 20%;
            left: 10%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            top: 60%;
            right: 15%;
            width: 40px;
            height: 40px;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            bottom: 30%;
            left: 20%;
            width: 80px;
            height: 80px;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        /* Programming skill cards hover effects */
        .programming-skill-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(99, 102, 241, 0.25);
        }

        .programming-skill-card:hover .skill-icon {
            transform: scale(1.1);
        }



        /* Abstract Background Shapes */
        .abstract-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -2;
            overflow: hidden;
        }

        .abstract-shape {
            position: absolute;
            animation: abstract-float 30s infinite ease-in-out;
            filter: blur(3px);
        }

        /* Flowing brush strokes */
        .shape-1 {
            width: 600px;
            height: 200px;
            top: 10%;
            left: -20%;
            background: linear-gradient(25deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 80%);
            border-radius: 100px 20px 80px 30px;
            transform: rotate(-15deg);
            animation-delay: 0s;
        }

        .shape-2 {
            width: 500px;
            height: 150px;
            top: 40%;
            right: -25%;
            background: linear-gradient(155deg, rgba(236, 72, 153, 0.06) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 90%);
            border-radius: 80px 40px 60px 20px;
            transform: rotate(20deg);
            animation-delay: -10s;
        }

        .shape-3 {
            width: 450px;
            height: 120px;
            bottom: 25%;
            left: -15%;
            background: linear-gradient(75deg, rgba(139, 92, 246, 0.05) 0%, rgba(99, 102, 241, 0.02) 60%, transparent 100%);
            border-radius: 60px 30px 90px 10px;
            transform: rotate(10deg);
            animation-delay: -20s;
        }

        .shape-4 {
            width: 400px;
            height: 180px;
            top: 65%;
            right: -10%;
            background: linear-gradient(200deg, rgba(99, 102, 241, 0.04) 0%, rgba(236, 72, 153, 0.02) 70%, transparent 100%);
            border-radius: 70px 15px 50px 35px;
            transform: rotate(-25deg);
            animation-delay: -15s;
        }

        .shape-5 {
            width: 350px;
            height: 100px;
            top: 5%;
            right: 10%;
            background: linear-gradient(45deg, rgba(236, 72, 153, 0.05) 0%, rgba(99, 102, 241, 0.03) 60%, transparent 100%);
            border-radius: 50px 25px 70px 15px;
            transform: rotate(35deg);
            animation-delay: -25s;
        }

        .shape-6 {
            width: 300px;
            height: 80px;
            bottom: 10%;
            right: 15%;
            background: linear-gradient(120deg, rgba(139, 92, 246, 0.06) 0%, rgba(236, 72, 153, 0.03) 50%, transparent 100%);
            border-radius: 40px 20px 60px 10px;
            transform: rotate(-10deg);
            animation-delay: -5s;
        }

        @keyframes abstract-float {
            0%, 100% { 
                transform: translateY(0px) translateX(0px) rotate(var(--rotation, 0deg)) scale(1); 
                opacity: 0.8;
            }
            33% { 
                transform: translateY(-15px) translateX(10px) rotate(calc(var(--rotation, 0deg) + 3deg)) scale(1.02); 
                opacity: 0.6;
            }
            66% { 
                transform: translateY(-5px) translateX(20px) rotate(calc(var(--rotation, 0deg) - 2deg)) scale(0.98); 
                opacity: 0.9;
            }
        }

        /* Large flowing background washes */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, transparent 30%),
                linear-gradient(45deg, transparent 60%, rgba(139, 92, 246, 0.015) 80%, transparent 100%),
                linear-gradient(225deg, rgba(236, 72, 153, 0.01) 0%, transparent 40%);
            z-index: -3;
            pointer-events: none;
        }

        /* Additional paint splatters */
        .abstract-bg::before {
            content: '';
            position: absolute;
            width: 800px;
            height: 300px;
            top: 30%;
            left: 20%;
            background: linear-gradient(60deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.015) 50%, transparent 80%);
            border-radius: 200px 50px 150px 30px;
            transform: rotate(-5deg);
            filter: blur(4px);
            animation: abstract-float 35s infinite ease-in-out;
            animation-delay: -12s;
        }

        .abstract-bg::after {
            content: '';
            position: absolute;
            width: 700px;
            height: 250px;
            bottom: 20%;
            right: 10%;
            background: linear-gradient(300deg, rgba(236, 72, 153, 0.04) 0%, rgba(99, 102, 241, 0.02) 60%, transparent 90%);
            border-radius: 150px 40px 120px 25px;
            transform: rotate(15deg);
            filter: blur(4px);
            animation: abstract-float 40s infinite ease-in-out;
            animation-delay: -18s;
        }

        /* Dark mode abstract shapes */
        [data-theme="dark"] .abstract-shape {
            filter: blur(3px) brightness(1.2);
        }

        [data-theme="dark"] .shape-1 {
            background: linear-gradient(25deg, rgba(129, 140, 248, 0.12) 0%, rgba(167, 139, 250, 0.06) 40%, transparent 80%);
        }

        [data-theme="dark"] .shape-2 {
            background: linear-gradient(155deg, rgba(244, 114, 182, 0.1) 0%, rgba(167, 139, 250, 0.05) 50%, transparent 90%);
        }

        [data-theme="dark"] .shape-3 {
            background: linear-gradient(75deg, rgba(167, 139, 250, 0.08) 0%, rgba(129, 140, 248, 0.04) 60%, transparent 100%);
        }

        [data-theme="dark"] .shape-4 {
            background: linear-gradient(200deg, rgba(129, 140, 248, 0.06) 0%, rgba(244, 114, 182, 0.03) 70%, transparent 100%);
        }

        [data-theme="dark"] .shape-5 {
            background: linear-gradient(45deg, rgba(244, 114, 182, 0.08) 0%, rgba(129, 140, 248, 0.04) 60%, transparent 100%);
        }

        [data-theme="dark"] .shape-6 {
            background: linear-gradient(120deg, rgba(167, 139, 250, 0.1) 0%, rgba(244, 114, 182, 0.05) 50%, transparent 100%);
        }

        [data-theme="dark"] body::after {
            background: 
                linear-gradient(135deg, rgba(129, 140, 248, 0.04) 0%, transparent 30%),
                linear-gradient(45deg, transparent 60%, rgba(167, 139, 250, 0.025) 80%, transparent 100%),
                linear-gradient(225deg, rgba(244, 114, 182, 0.02) 0%, transparent 40%);
        }

        [data-theme="dark"] .abstract-bg::before {
            background: linear-gradient(60deg, rgba(129, 140, 248, 0.05) 0%, rgba(167, 139, 250, 0.025) 50%, transparent 80%);
        }

        [data-theme="dark"] .abstract-bg::after {
            background: linear-gradient(300deg, rgba(244, 114, 182, 0.06) 0%, rgba(129, 140, 248, 0.03) 60%, transparent 90%);
        }

        /* Update existing elements to use CSS variables */
        .navbar {
            background: var(--nav-bg);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        /* Form placeholder styling */
        input::placeholder,
        textarea::placeholder {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        .nav-brand {
            color: var(--text-primary) !important;
            transition: var(--transition);
        }

        .nav-link {
            color: var(--text-secondary) !important;
            transition: var(--transition);
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary-color) !important;
        }

        .section {
            background: var(--bg-primary);
            transition: var(--transition);
        }

        .card {
            background: var(--card-bg) !important;
            border: 1px solid var(--border-color) !important;
            transition: var(--transition);
        }

/* Mobile responsive styles */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .container, .hero-container, .nav-container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        overflow-x: hidden !important;
    }
    
    .nav-brand {
        margin-left: 0 !important;
        text-align: center !important;
    }
    
    .hero-content h1,
    .hero-content .description,
    .hero-content .hero-buttons,
    .hero-content .social-links,
    .hero-content > div:first-child {
        margin-left: 0 !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .hero-content {
        text-align: center !important;
        width: 100% !important;
    }
    
    .hero-content h1 {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
    
    .hero-content h1 span {
        white-space: normal !important;
        display: block !important;
    }
}
