:root {
            --primary-color: #512BD4;
            --secondary-color: #68217A;
            --accent-color: #00B4D8;
            --text-dark: #2c3e50;
            --text-light: #7f8c8d;
            --dotnet-purple: #512BD4;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Navbar */
        .navbar {
            padding: 1rem 0;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-color) !important;
        }

        .nav-link {
            font-weight: 500;
            margin: 0 0.5rem;
            color: var(--text-dark) !important;
            transition: color 0.3s ease;
        }

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

        /* Hero Section */
        #home {
            min-height: 100vh;
            background-image: linear-gradient(rgba(81, 43, 212, 0.85), rgba(104, 33, 122, 0.85)), 
                              url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        #home::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: moveBackground 20s linear infinite;
            pointer-events: none;
        }

        @keyframes moveBackground {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease 0.2s backwards;
        }

        .hero-description {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease 0.4s backwards;
        }

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

        .btn-custom {
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            animation: fadeInUp 1s ease 0.6s backwards;
        }

        .btn-primary-custom {
            background: white;
            color: var(--secondary-color);
            border: 2px solid white;
        }

        .btn-primary-custom:hover {
            background: transparent;
            color: white;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        /* Section Styling */
        section {
            padding: 80px 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 3rem;
            text-align: center;
            position: relative;
            padding-bottom: 1rem;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

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

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

        /* About Section */
        #about {
            background: #f8f9fa;
        }

        .about-content {
            display: flex;
            gap: 3rem;
            align-items: center;
        }

        .about-image {
            width: 300px;
            height: 300px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            border: 5px solid white;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .about-image:hover {
            transform: scale(1.05) rotate(2deg);
            box-shadow: 0 20px 50px rgba(81, 43, 212, 0.4);
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .about-image:hover img {
            transform: scale(1.1);
        }

        .hero-profile-image {
            width: 400px;
            height: 400px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
            border: 5px solid white;
            animation: fadeInUp 1s ease 0.3s backwards;
            overflow: hidden;
            position: relative;
        }

        .hero-profile-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

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

        .tech-orbit {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 500px;
            height: 500px;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .hero-profile-image:hover .tech-orbit {
            opacity: 1;
        }

        .tech-icon {
            position: absolute;
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: 0 5px 20px rgba(81, 43, 212, 0.4);
            animation: orbit 20s linear infinite;
            top: 50%;
            left: 50%;
            margin-left: -25px;
            margin-top: -25px;
        }

        .tech-icon:nth-child(1) { animation-delay: 0s; }
        .tech-icon:nth-child(2) { animation-delay: -1.54s; }
        .tech-icon:nth-child(3) { animation-delay: -3.08s; }
        .tech-icon:nth-child(4) { animation-delay: -4.62s; }
        .tech-icon:nth-child(5) { animation-delay: -6.16s; }
        .tech-icon:nth-child(6) { animation-delay: -7.7s; }
        .tech-icon:nth-child(7) { animation-delay: -9.24s; }
        .tech-icon:nth-child(8) { animation-delay: -10.78s; }
        .tech-icon:nth-child(9) { animation-delay: -12.32s; }
        .tech-icon:nth-child(10) { animation-delay: -13.86s; }
        .tech-icon:nth-child(11) { animation-delay: -15.4s; }
        .tech-icon:nth-child(12) { animation-delay: -16.94s; }
        .tech-icon:nth-child(13) { animation-delay: -18.48s; }

        @keyframes orbit {
            from {
                transform: rotate(0deg) translateX(250px) rotate(0deg);
            }
            to {
                transform: rotate(360deg) translateX(250px) rotate(-360deg);
            }
        }

        .tech-icon i {
            animation: counterRotate 20s linear infinite;
        }

        @keyframes counterRotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(-360deg);
            }
        }

        .about-text h3 {
            color: var(--secondary-color);
            margin-bottom: 1rem;
        }

        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .skill-badge {
            padding: 8px 20px;
            background: var(--secondary-color);
            color: white;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: visible;
        }

        .skill-badge:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 5px 15px rgba(81, 43, 212, 0.4);
        }

        .skill-percentage {
            position: absolute;
            top: -45px;
            left: 50%;
            transform: translateX(-50%) scale(0);
            background: linear-gradient(135deg, #512BD4 0%, #68217A 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            white-space: nowrap;
            box-shadow: 0 5px 20px rgba(81, 43, 212, 0.5);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .skill-percentage::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid #68217A;
        }

        .skill-badge:hover .skill-percentage {
            transform: translateX(-50%) scale(1);
            opacity: 1;
            top: -50px;
        }

        .percentage-bar {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            margin-top: 6px;
            overflow: hidden;
        }

        .percentage-fill {
            height: 100%;
            background: white;
            border-radius: 2px;
            transition: width 0.4s ease;
            width: 0;
        }

        .skill-badge:hover .percentage-fill {
            width: var(--skill-level);
        }

        /* Resume Section */
        .resume-item {
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
            transition: all 0.4s ease;
            opacity: 0;
            transform: translateY(30px);
        }

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

        .resume-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(81, 43, 212, 0.3);
        }

        .resume-item h4 {
            color: var(--secondary-color);
            margin-bottom: 0.5rem;
        }

        .resume-item .date {
            color: var(--accent-color);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        /* Projects Section */
        #projects {
            background: #f8f9fa;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            height: 100%;
            opacity: 0;
            transform: translateY(30px);
            display: flex;
            flex-direction: row;
        }

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

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(81, 43, 212, 0.3);
        }

        .project-image-container {
            width: 45%;
            height: 100%;
            min-height: 300px;
            position: relative;
            overflow: hidden;
        }

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.15) rotate(2deg);
        }

        .project-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(81, 43, 212, 0.7) 0%, rgba(104, 33, 122, 0.7) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .project-card:hover .project-image-overlay {
            opacity: 1;
        }

        .project-body {
            padding: 2.5rem;
            width: 55%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .project-body h4 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

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

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tech-badge {
            padding: 4px 12px;
            background: #e8f4f8;
            color: var(--secondary-color);
            border-radius: 15px;
            font-size: 0.85rem;
        }

        /* Contact Section */
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1.5rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            opacity: 0;
            transform: translateX(-30px);
        }

        .contact-item.fade-in {
            opacity: 1;
            transform: translateX(0);
        }

        .contact-item:hover {
            transform: translateX(10px) scale(1.03);
            box-shadow: 0 10px 25px rgba(81, 43, 212, 0.2);
        }

        .contact-item:hover .contact-icon {
            transform: rotate(360deg) scale(1.1);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #512BD4 0%, #68217A 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 1.5rem;
            transition: all 0.5s ease;
        }

        .contact-form .form-control {
            padding: 12px;
            border-radius: 8px;
            border: 2px solid #e0e0e0;
            margin-bottom: 1rem;
        }

        .contact-form .form-control:focus {
            border-color: var(--secondary-color);
            box-shadow: none;
        }

        .btn-submit {
            background: linear-gradient(135deg, #512BD4 0%, #68217A 100%);
            color: white;
            border: none;
            padding: 12px 40px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-submit:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 20px rgba(81, 43, 212, 0.4);
        }

        /* Footer */
        footer {
            background: var(--primary-color);
            color: white;
            padding: 2rem 0;
            text-align: center;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--secondary-color);
            transform: translateY(-5px) rotate(360deg);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

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

            .hero-profile-image {
                width: 250px;
                height: 250px;
                margin-top: 2rem;
            }

            .tech-orbit {
                width: 350px;
                height: 350px;
            }

            .tech-icon {
                width: 40px;
                height: 40px;
                font-size: 1.4rem;
                margin-left: -20px;
                margin-top: -20px;
            }

            @keyframes orbit {
                from {
                    transform: rotate(0deg) translateX(175px) rotate(0deg);
                }
                to {
                    transform: rotate(360deg) translateX(175px) rotate(-360deg);
                }
            }

            .about-content {
                flex-direction: column;
                text-align: center;
            }

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

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

            .project-card {
                flex-direction: column;
            }

            .project-image-container {
                width: 100%;
                min-height: 250px;
            }

            .project-body {
                width: 100%;
                padding: 1.5rem;
            }
        }