 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #00d4ff;
            --secondary-color: #1a1a2e;
            --accent-color: #16213e;
            --text-color: #ffffff;
            --text-muted: #b8b8b8;
            --bg-primary: #0a0a0a;
            --bg-secondary: #1a1a1a;
            --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --glow: 0 0 20px rgba(0, 212, 255, 0.3);
            --transition: all 0.3s ease;
        }

        /* Light theme variables */
        [data-theme="light"] {
            --text-color: #333333;
            --text-muted: #666666;
            --bg-primary: #f5f5f5;
            --bg-secondary: #ffffff;
            --secondary-color: #e9ecef;
            --accent-color: #e3e8f0;
            --glow: 0 0 20px rgba(102, 126, 234, 0.2);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background: var(--bg-primary);
            overflow-x: hidden;
            transition: var(--transition);
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1rem 5%;
            background: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            transition: var(--transition);
        }

        [data-theme="light"] .header {
            background: rgba(255, 255, 255, 0.95);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .header.scrolled {
            padding: 0.5rem 5%;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-color);
            text-decoration: none;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: var(--transition);
        }

        .logo:hover {
            transform: scale(1.05);
            filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
        }

        .navbar {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .navbar a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: var(--transition);
            position: relative;
        }

        .navbar a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: var(--transition);
            transform: translateX(-50%);
        }

        .navbar a:hover::before,
        .navbar a.active::before {
            width: 80%;
        }

        .navbar a:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
        }

        /* Theme Toggle Button */
        .theme-toggle {
            background: var(--bg-secondary);
            border: 2px solid var(--primary-color);
            color: var(--text-color);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            margin-left: 1rem;
        }

        .theme-toggle:hover {
            background: var(--primary-color);
            color: white;
            transform: rotate(30deg);
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 45px;
            height: 45px;
            background: var(--bg-secondary);
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
            padding: 0;
        }

        .mobile-menu-btn span {
            width: 20px;
            height: 2px;
            background: var(--text-color);
            margin: 2px 0;
            transition: var(--transition);
            border-radius: 2px;
        }

        .mobile-menu-btn.active span:nth-child(1) {
            transform: translateY(6px) rotate(45deg);
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 0 5%;
            position: relative;
            background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%2300d4ff;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%2300d4ff;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="3" fill="url(%23a)"/><circle cx="800" cy="300" r="2" fill="url(%23a)"/><circle cx="300" cy="700" r="2" fill="url(%23a)"/><circle cx="700" cy="800" r="3" fill="url(%23a)"/></svg>');
            opacity: 0.5;
            z-index: -1;
        }

        .hero-content {
            flex: 1;
            max-width: 600px;
            animation: slideInLeft 1s ease-out;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-content .highlight {
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .typing-effect {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            min-height: 2.5rem;
        }

        .hero-content p {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .btn-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            background: var(--gradient);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: var(--transition);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: all 0.6s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
        }

        .btn-outline {
            background: transparent;
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            animation: slideInRight 1s ease-out;
        }

        .hero-image .profile-pic {
            width: 350px;
            height: 350px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--primary-color);
            box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
            animation: float 3s ease-in-out infinite;
        }

        .social-links {
            position: fixed;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 1rem;
            z-index: 100;
        }

        .social-links a {
            width: 50px;
            height: 50px;
            background: var(--bg-secondary);
            color: var(--text-color);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            text-decoration: none;
            font-size: 1.5rem;
            transition: var(--transition);
            border: 2px solid transparent;
        }

        .social-links a:hover {
            background: var(--primary-color);
            transform: translateX(10px);
            box-shadow: var(--glow);
        }

        /* Section Styles */
        .section {
            padding: 5rem 5%;
            position: relative;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        /* About Section */
        .about {
            background: var(--bg-secondary);
        }

        .about-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: center;
        }

        .about-image {
            position: relative;
        }

        .about-image img {
            width: 100%;
            max-width: 400px;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .about-text h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }

        /* Skills Section */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .skill-card {
            background: var(--bg-secondary);
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            text-align: center;
        }

        [data-theme="light"] .skill-card {
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
        }

        .skill-card i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .skill-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        /* Portfolio Section */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .portfolio-item {
            position: relative;
            background: var(--bg-secondary);
            border-radius: 20px;
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        [data-theme="light"] .portfolio-item {
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 80px rgba(0, 212, 255, 0.2);
        }

        .portfolio-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: var(--transition);
        }

        .portfolio-item:hover img {
            transform: scale(1.1);
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transform: translateY(100%);
            transition: var(--transition);
        }

        .portfolio-item:hover .portfolio-overlay {
            transform: translateY(0);
        }

        .portfolio-overlay h4 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .portfolio-overlay p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        /* Contact Section */
        .contact {
            background: var(--bg-secondary);
        }

        .contact-form {
            max-width: 800px;
            margin: 0 auto;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .input-group {
            position: relative;
        }

        .input-group input,
        .input-group textarea {
            width: 100%;
            padding: 1rem;
            background: var(--bg-primary);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: var(--text-color);
            font-size: 1rem;
            transition: var(--transition);
        }

        [data-theme="light"] .input-group input,
        [data-theme="light"] .input-group textarea {
            border: 2px solid rgba(0, 0, 0, 0.1);
        }

        .input-group input:focus,
        .input-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
        }

        .input-group.full-width {
            grid-column: 1 / -1;
        }

        .input-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* Animations */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-content h1 {
                font-size: 3rem;
            }
            
            .about-content {
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--bg-secondary);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 2rem;
                transition: var(--transition);
                gap: 1.5rem;
            }

            .navbar.active {
                left: 0;
            }

            .navbar a {
                font-size: 1.2rem;
                padding: 1rem 2rem;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .theme-toggle {
                margin-left: 0.5rem;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .typing-effect {
                font-size: 1.5rem;
            }

            .section {
                padding: 3rem 5%;
            }

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .social-links {
                position: relative;
                left: auto;
                top: auto;
                transform: none;
                flex-direction: row;
                justify-content: center;
                margin: 2rem 0;
            }

            .hero {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
                padding-top: 2rem;
            }

            .hero-image .profile-pic {
                width: 250px;
                height: 250px;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2rem;
            }
            
            .btn-group {
                justify-content: center;
            }
            
            .hero-image .profile-pic {
                width: 200px;
                height: 200px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }

        /* Footer */
        .footer {
            background: var(--bg-primary);
            padding: 2rem 5%;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        [data-theme="light"] .footer {
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        .footer p {
            color: var(--text-muted);
        }

        /* Scroll to top button */
        .scroll-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999;
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            transform: translateY(-5px);
            box-shadow: var(--glow);
        }

.view_button{
    padding-top: 50px;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.view_button button {
    background: linear-gradient(135deg, #448AFF, #2962FF);
    color: #fff;
    padding: 12px 20px;
    border-radius: 1rem;
    cursor: pointer;
    border: none;
    width: 220px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

.view_button button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #2962FF, #1E88E5);
}
