  
        
        :root {
            --primary: #2563eb;
            --secondary: #1e40af;
            --accent: #3b82f6;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --border: #e2e8f0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
            color: var(--dark);
            overflow-x: hidden;
            transition: background 0.3s ease, color 0.3s ease;
        }

        /* Dark Mode */
        body.dark-mode {
            background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
            color: #f1f5f9;
        }

        body.dark-mode .navbar {
            background: rgba(15, 23, 42, 0.95) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .nav-link {
            color: #f1f5f9 !important;
        }

        body.dark-mode .nav-link:hover {
            color: var(--primary) !important;
        }

        body.dark-mode .card-custom,
        body.dark-mode .project-card,
        body.dark-mode .contact-form {
            background: rgba(30, 41, 59, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .card-title,
        body.dark-mode .project-title,
        body.dark-mode .section-title,
        body.dark-mode .hero-title {
            color: #f1f5f9;
        }

        body.dark-mode .card-text,
        body.dark-mode .project-desc,
        body.dark-mode .section-subtitle,
        body.dark-mode .hero-subtitle {
            color: #94a3b8;
        }

        body.dark-mode .skill-item {
            background: rgba(30, 41, 59, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #f1f5f9;
        }

        body.dark-mode .project-header {
            background: rgba(15, 23, 42, 0.6);
        }

        body.dark-mode .form-control,
        body.dark-mode .form-select {
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #f1f5f9;
        }

        body.dark-mode .form-control::placeholder {
            color: #64748b;
        }

        body.dark-mode .footer {
            background: rgba(15, 23, 42, 0.8);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
        }

        body.dark-mode .social-link {
            background: rgba(30, 41, 59, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .hero-badge,
        body.dark-mode .section-badge {
            background: rgba(37, 99, 235, 0.2);
            color: #60a5fa;
        }

        /* Theme Switch */
        .theme-switch-wrapper {
            display: flex;
            align-items: center;
        }

        .theme-switch {
            display: inline-block;
            height: 30px;
            position: relative;
            width: 60px;
        }

        .theme-switch input {
            display: none;
        }

        .slider {
            background-color: #cbd5e1;
            bottom: 0;
            cursor: pointer;
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
            transition: 0.4s;
            border-radius: 34px;
        }

        .slider:before {
            background-color: #ffffff;
            bottom: 3px;
            content: "";
            height: 24px;
            left: 3px;
            position: absolute;
            transition: 0.4s;
            width: 24px;
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        input:checked + .slider {
            background-color: #2563eb;
        }

        input:checked + .slider:before {
            transform: translateX(30px);
        }

        .slider .icon {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 14px;
            transition: opacity 0.3s;
        }

        .slider .sun {
            left: 8px;
            opacity: 1;
        }

        .slider .moon {
            right: 8px;
            opacity: 0;
        }

        input:checked + .slider .sun {
            opacity: 0;
        }

        input:checked + .slider .moon {
            opacity: 1;
        }

        /* Navbar */
        .navbar {
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(10px);
            padding: 20px 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            border-bottom: 1px solid var(--border);
        }

        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary) !important;
        }

        .nav-link {
            color: var(--dark) !important;
            font-weight: 500;
            margin: 0 15px;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: var(--primary) !important;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 120px 0 80px;
        }

        .hero-content {
            text-align: center;
        }

        .profile-wrapper {
            position: relative;
            width: 280px;
            height: 280px;
            margin: 0 auto 40px;
        }

        .profile-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 6px solid white;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
        }

        .profile-img:hover {
            transform: scale(1.05);
            box-shadow: 0 25px 80px rgba(37, 99, 235, 0.2);
        }

        .hero-badge {
            display: inline-block;
            padding: 10px 20px;
            background: #eff6ff;
            color: var(--primary);
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 25px;
        }

        .hero-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 20px;
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            color: var(--gray);
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .btn-primary-custom {
            padding: 15px 40px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        }

        .btn-primary-custom:hover {
            background: var(--secondary);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
        }

        .btn-outline-custom {
            padding: 15px 40px;
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .btn-outline-custom:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        /* Section Styles */
        .section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-badge {
            display: inline-block;
            padding: 8px 20px;
            background: #eff6ff;
            color: var(--primary);
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 15px;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Cards */
        .card-custom {
            background: white;
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 35px;
            transition: all 0.3s ease;
            height: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .card-custom:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            border-color: var(--primary);
        }

        .card-icon {
            width: 60px;
            height: 60px;
            background: #eff6ff;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 12px;
        }

        .card-text {
            color: var(--gray);
            line-height: 1.7;
        }

        /* Skills */
        .skill-item {
            background: white;
            padding: 12px 24px;
            border-radius: 50px;
            border: 1px solid var(--border);
            display: inline-block;
            margin: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
            color: var(--dark);
        }

        .skill-item:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-3px);
        }

        .skill-item img {
            border-radius: 10px;
        }

        /* Projects */
        .project-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }

        .project-header {
            padding: 30px;
            background: #f8fafc;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 150px;
        }
        .project-icon img {
            max-width: 100px;
            max-height: 100px;
            object-fit: contain;
        }

        .project-body {
            padding: 30px;
        }

        .project-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 12px;
        }

        .project-desc {
            color: var(--gray);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .project-link:hover {
            gap: 12px;
            color: var(--secondary);
        }

        /* Contact Form */
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .form-control, .form-select {
            background: #f8fafc;
            border: 1px solid var(--border);
            color: var(--dark);
            padding: 14px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .form-control:focus, .form-select:focus {
            background: white;
            border-color: var(--primary);
            color: var(--dark);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        textarea.form-control {
            min-height: 150px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 50px;
        }

        .social-link {
            width: 55px;
            height: 55px;
            background: white;
            border: 1px solid var(--border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .social-link:hover {
            background: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
            border-color: var(--primary);
        }

        .social-link img {
            width: 35px;
            height: 35px;
            object-fit: contain;
            border-radius: 50%;
        }

        /* Footer */
        .footer {
            padding: 40px 0;
            text-align: center;
            background: white;
            border-top: 1px solid var(--border);
            margin-top: 80px;
            color: var(--gray);
        }

        .success-message {
            display: none;
            padding: 20px;
            background: #dcfce7;
            border: 1px solid #22c55e;
            color: #16a34a;
            border-radius: 10px;
            margin-top: 20px;
            text-align: center;
        }

        .success-message.show {
            display: block;
        }

        @media (max-width: 768px) {
            .hero {
                text-align: center;
            }

            .profile-wrapper {
                width: 220px;
                height: 220px;
            }

            .contact-form {
                padding: 30px 20px;
            }
        }