* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #00d9ff;
            --secondary: #7b2ff7;
            --accent: #ff6b6b;
            --dark: #0f0f23;
            --light: #ffffff;
            --gray: #8892b0;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--dark);
            color: var(--light);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        /* Animated Background */
        .bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 8%;
            background: rgba(15, 15, 35, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid rgba(0, 217, 255, 0.1);
            transition: all 0.3s;
        }

        nav.scrolled {
            padding: 15px 8%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 2px;
            position: relative;
        }

        .logo::before {
            content: '<';
            position: absolute;
            left: -20px;
            color: var(--primary);
        }

        .logo::after {
            content: '/>';
            position: absolute;
            right: -30px;
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            gap: 40px;
            list-style: none;
        }

        .nav-links a {
            color: var(--gray);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            position: relative;
            transition: all 0.3s;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a:hover::before {
            width: 100%;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
        }

        .menu-toggle span {
            width: 30px;
            height: 3px;
            background: var(--primary);
            transition: all 0.3s;
            border-radius: 3px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 120px 8% 80px;
        }

        .hero-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            max-width: 1400px;
            margin: 0 auto;
            align-items: center;
        }

        .hero-text h3 {
            font-size: 20px;
            color: var(--primary);
            margin-bottom: 15px;
            font-weight: 500;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-text h1 {
            font-size: 70px;
            font-weight: 800;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #fff, var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
            line-height: 1.2;
        }

        .hero-text h2 {
            font-size: 40px;
            color: var(--gray);
            margin-bottom: 25px;
            animation: fadeInUp 0.8s ease-out 0.4s backwards;
        }

        .hero-text h2 span {
            color: var(--accent);
            font-weight: 600;
        }

        .hero-text p {
            font-size: 18px;
            line-height: 1.8;
            color: var(--gray);
            margin-bottom: 40px;
            animation: fadeInUp 0.8s ease-out 0.6s backwards;
            max-width: 90%;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            animation: fadeInUp 0.8s ease-out 0.8s backwards;
            flex-wrap: wrap;
        }

        .btn {
            padding: 15px 35px;
            font-size: 16px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--light);
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-3px);
        }

        /* Avatar Section */
        .hero-avatar {
            position: relative;
            animation: fadeInRight 1s ease-out;
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .avatar-wrapper {
            position: relative;
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
        }

        .avatar-border {
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
            opacity: 0.3;
            animation: morphing 8s ease-in-out infinite;
            filter: blur(20px);
        }

        @keyframes morphing {
            0%, 100% {
                border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            }
            25% {
                border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
            }
            50% {
                border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
            }
            75% {
                border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
            }
        }

        .avatar-img {
            position: relative;
            width: 100%;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        .avatar-img img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Section Styling */
        section {
            padding: 100px 8%;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-tag {
            font-size: 16px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
            display: inline-block;
        }

        .section-title {
            font-size: 50px;
            font-weight: 800;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--light), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-description {
            font-size: 18px;
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Skills Section */
        .skills-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .skill-category {
            background: rgba(255, 255, 255, 0.03);
            padding: 40px 30px;
            border-radius: 20px;
            border: 1px solid rgba(0, 217, 255, 0.1);
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }

        .skill-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0);
            transition: transform 0.4s;
        }

        .skill-category:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
        }

        .skill-category:hover::before {
            transform: scaleX(1);
        }

        .skill-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .skill-icon {
            width: 70px;
            height: 70px;
            border-radius: 15px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: var(--light);
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
        }

        .skill-category h3 {
            font-size: 24px;
            font-weight: 700;
            color: var(--light);
        }

        .skill-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .skill-item {
            position: relative;
        }

        .skill-name {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 16px;
            color: var(--gray);
        }

        .skill-percentage {
            color: var(--primary);
            font-weight: 600;
        }

        .skill-bar {
            height: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 10px;
            transition: width 1.5s ease-out;
            width: 0;
            box-shadow: 0 0 10px var(--primary);
        }

        .skill-category:hover .skill-progress {
            width: var(--progress) !important;
        }

        /* Experience Timeline */
        .timeline-container {
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }

        .timeline-container::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--primary), var(--secondary));
            transform: translateX(-50%);
        }

        .timeline-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            margin-bottom: 60px;
            position: relative;
        }

        .timeline-item:nth-child(even) .timeline-content {
            grid-column: 1;
            text-align: right;
        }

        .timeline-item:nth-child(even) .timeline-empty {
            grid-column: 2;
        }

        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 30px;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            border: 4px solid var(--dark);
            box-shadow: 0 0 20px var(--primary);
            z-index: 10;
        }

        .timeline-content {
            background: rgba(255, 255, 255, 0.03);
            padding: 35px;
            border-radius: 15px;
            border: 1px solid rgba(0, 217, 255, 0.1);
            transition: all 0.4s;
        }

        .timeline-content:hover {
            transform: scale(1.05);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
        }

        .timeline-date {
            font-size: 14px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .timeline-content h3 {
            font-size: 24px;
            color: var(--light);
            margin-bottom: 8px;
        }

        .timeline-content h4 {
            font-size: 18px;
            color: var(--accent);
            margin-bottom: 15px;
        }

        .timeline-content p {
            color: var(--gray);
            line-height: 1.7;
        }

        /* Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .project-card {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(0, 217, 255, 0.1);
            transition: all 0.4s;
            position: relative;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
        }

        .project-card:hover {
            transform: translateY(-15px);
            border-color: var(--primary);
            box-shadow: 0 25px 50px rgba(0, 217, 255, 0.3);
        }

        .project-number {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 60px;
            font-weight: 900;
            color: rgba(0, 217, 255, 0.1);
            z-index: 1;
        }

        .project-content {
            padding: 40px;
            position: relative;
            z-index: 2;
        }

        .project-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            margin-bottom: 25px;
            color: var(--light);
        }

        .project-card h3 {
            font-size: 26px;
            margin-bottom: 15px;
            color: var(--light);
        }

        .project-card p {
            color: var(--gray);
            line-height: 1.7;
            margin-bottom: 25px;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 25px;
        }

        .tech-tag {
            padding: 8px 16px;
            background: rgba(123, 47, 247, 0.2);
            border: 1px solid var(--secondary);
            border-radius: 20px;
            font-size: 13px;
            color: var(--light);
            font-weight: 500;
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
        }

        .project-link:hover {
            gap: 15px;
        }

        /* Contact Section */
        .contact-container {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        .contact-info h3 {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--light);
        }

        .contact-info p {
            color: var(--gray);
            line-height: 1.8;
            margin-bottom: 30px;
            font-size: 17px;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 40px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .contact-item i {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            background: rgba(0, 217, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 20px;
        }

        .contact-item span {
            color: var(--gray);
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(0, 217, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 20px;
            transition: all 0.3s;
            text-decoration: none;
        }

        .social-link:hover {
            background: var(--primary);
            color: var(--dark);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.03);
            padding: 45px;
            border-radius: 20px;
            border: 1px solid rgba(0, 217, 255, 0.1);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            color: var(--light);
            font-weight: 500;
            font-size: 15px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(0, 217, 255, 0.2);
            border-radius: 10px;
            color: var(--light);
            font-size: 15px;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        /* Footer */
        footer {
            background: rgba(15, 15, 35, 0.95);
            padding: 40px 8%;
            text-align: center;
            border-top: 1px solid rgba(0, 217, 255, 0.1);
        }

        footer p {
            color: var(--gray);
            font-size: 15px;
        }

        /* Scroll to top */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light);
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            transform: translateY(-5px);
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .hero-text h1 {
                font-size: 50px;
            }

            .hero-text h2 {
                font-size: 30px;
            }

            .timeline-container::before {
                left: 30px;
            }

            .timeline-item {
                grid-template-columns: 1fr;
                padding-left: 80px;
            }

            .timeline-item:nth-child(even) .timeline-content {
                grid-column: 1;
                text-align: left;
            }

            .timeline-dot {
                left: 30px;
            }

            .timeline-empty {
                display: none;
            }

            .contact-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 15px 5%;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: rgba(15, 15, 35, 0.98);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 30px;
                transition: left 0.3s;
            }

            .nav-links.active {
                left: 0;
            }

            .menu-toggle {
                display: flex;
            }

            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(8px, 8px);
            }

            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(8px, -8px);
            }

            .hero {
                padding: 100px 5% 60px;
            }

            .hero-text h1 {
                font-size: 40px;
            }

            .hero-text h2 {
                font-size: 24px;
            }

            .hero-text p {
                font-size: 16px;
            }

            section {
                padding: 60px 5%;
            }

            .section-title {
                font-size: 36px;
            }

            .skills-grid {
                grid-template-columns: 1fr;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .logo::before,
            .logo::after {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .hero-text h1 {
                font-size: 32px;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .contact-form {
                padding: 30px 20px;
            }
        }

        .form-success {
    display: none;
    margin-top: 1rem;
    padding: 12px;
    border-radius: 6px;
    background: #e6fffa;
    color: #065f46;
    font-weight: 500;
    text-align: center;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}