:root {
            --primary-color: #5e3bee;
            --secondary-color: #2d2e32;
            --text-color: #555;
            --light-bg: #f9f9f9;
            --dark-bg: #1a1a1a;
            --light-text: #fff;
            --transition: all 0.3s ease;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .dark-mode {
            --secondary-color: #f9f9f9;
            --text-color: #ccc;
            --light-bg: #1a1a1a;
            --dark-bg: #2d2e32;
            --light-text: #fff;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

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

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
            background-color: var(--light-bg);
            line-height: 1.6;
            transition: var(--transition);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            color: var(--secondary-color);
            font-weight: 700;
            transition: var(--transition);
        }

        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: var(--transition);
        }

        
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--light-bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #4a2bc9;
        }

        /* Navigation */
        .navbar {
            background-color: var(--light-bg);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 1rem 2rem;
            transition: var(--transition);
        }

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

        .nav-link {
            color: var(--secondary-color);
            font-weight: 500;
            margin: 0 0.5rem;
            position: relative;
        }

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

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

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

        /* Theme Toggle */
        .theme-toggle {
            background: none;
            border: none;
            color: var(--secondary-color);
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 6rem 2rem 2rem;
            background: linear-gradient(135deg, var(--light-bg) 0%, rgba(94, 59, 238, 0.1) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-color), transparent);
            opacity: 0.1;
            top: -250px;
            right: -250px;
            animation: float 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: linear-gradient(45deg, transparent, var(--primary-color));
            opacity: 0.1;
            bottom: -150px;
            left: -150px;
            animation: float 10s ease-in-out infinite;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            animation: fadeInDown 1s ease;
        }

        .hero-content h2 {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            animation: fadeInDown 1s ease 0.2s forwards;
            opacity: 0;
        }

        .dynamic-text {
            font-family: 'Fira Code', monospace;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
        }

        .dynamic-text::after {
            content: '|';
            position: absolute;
            right: -8px;
            color: var(--primary-color);
            animation: blink 0.7s infinite;
        }

        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            max-width: 600px;
            animation: fadeInDown 1s ease 0.4s forwards;
            opacity: 0;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 0.8rem 2rem;
            font-weight: 500;
            border-radius: 50px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-primary::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: 0.5s;
            z-index: -1;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            background-color: transparent;
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(94, 59, 238, 0.2);
        }

        .hero-img {
            position: relative;
            animation: fadeInRight 1s ease;
        }

        .hero-img img {
            width: 450px;
            height: 450px;
            border-radius: 100%;    
            border: 3px solid var(--primary-color);
            box-shadow: 0 0 30px rgba(94, 59, 238, 0.2);
            transition: var(--transition);
            object-fit: cover;
            background-repeat: no-repeat;
        }

        .hero-img:hover img {
            transform: scale(1.05);
            box-shadow: 0 0 50px rgba(94, 59, 238, 0.3);
        }

        /* Floating elements */
        .floating-element {
            position: absolute;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary-color);
            opacity: 0.5;
            animation: float 6s ease-in-out infinite;
        }

        .float-1 {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
            width: 20px;
            height: 20px;
        }

        .float-2 {
            top: 60%;
            left: 5%;
            animation-delay: 2s;
            width: 30px;
            height: 30px;
        }

        .float-3 {
            top: 40%;
            right: 10%;
            animation-delay: 4s;
            width: 25px;
            height: 25px;
        }

        /* Section Common Styles */
        section {
            padding: 5rem 2rem;
            scroll-margin-top: 70px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

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

        /* About Section */
        .about-content {
            display: flex;
            align-items: center;
            gap: 4rem;
        }

        .about-img {
            flex: 1;
            position: relative;
        }

        .about-img img {
            width: 100%;
            height: 550px;
            object-fit: cover;
            background-repeat: no-repeat;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
        }

        .about-img:hover img {
            transform: translateY(-10px);
        }

        .about-text {
            flex: 1;
        }

        /* Skills Section */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .skill-card {
            background: linear-gradient(145deg, #e2e8ec, #ffffff);
            box-shadow: 5px 5px 15px #d1d9e6, -5px -5px 15px #ffffff;
            border-radius: 10px;
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .dark-mode .skill-card {
            background: linear-gradient(145deg, #232323, #1a1a1a);
            box-shadow: 5px 5px 15px #0f0f0f, -5px -5px 15px #252525;
        }

        .skill-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-shadow);
        }

        .skill-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            transition: var(--transition);
        }

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

        .skill-name {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .skill-bar {
            height: 8px;
            background-color: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), #8c68cd);
            border-radius: 4px;
            width: 0;
            transition: width 1.5s ease-in-out;
            position: relative;
        }

        .skill-percent {
            position: absolute;
            right: 10px;
            top: -25px;
            font-weight: 600;
            color: var(--primary-color);
        }

        /* Projects Section */
        .projects-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background-color: var(--light-bg);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .project-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: var(--transition);
        }

        .project-card:hover .project-img {
            transform: scale(1.05);
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-title {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }

        .tech-tag {
            background-color: rgba(94, 59, 238, 0.1);
            color: var(--primary-color);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            transition: var(--transition);
        }

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

        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        /* Experience Section */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--primary-color);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
            border-radius: 3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .timeline-item:nth-child(odd) {
            left: 0;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
        }

        .timeline-content {
            padding: 20px;
            background-color: var(--light-bg);
            border-radius: 10px;
            box-shadow: var(--card-shadow);
            position: relative;
            transition: var(--transition);
        }

        .timeline-content:hover {
            transform: translateX(10px);
        }

        .timeline-date {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: var(--transition);
        }

        .contact-item:hover {
            transform: translateX(10px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: rgba(94, 59, 238, 0.1);
            color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .contact-item:hover .contact-icon {
            background-color: var(--primary-color);
            color: white;
            transform: scale(1.1);
        }

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

        .social-link {
            width: 40px;
            height: 40px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(-100%);
            transition: var(--transition);
        }

        .social-link:hover::before {
            transform: translateX(100%);
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.1);
        }

        .contact-form {
            background-color: var(--light-bg);
            padding: 2rem;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-control {
            background-color: var(--light-bg);
            border: 1px solid #ddd;
            padding: 0.8rem 1rem;
            border-radius: 5px;
            width: 100%;
            transition: var(--transition);
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(94, 59, 238, 0.25);
        }

        .form-label {
            position: absolute;
            left: 1rem;
            top: 0.8rem;
            color: #999;
            transition: var(--transition);
            pointer-events: none;
        }

        .form-control:focus ~ .form-label,
        .form-control:not(:placeholder-shown) ~ .form-label {
            top: -0.5rem;
            left: 0.8rem;
            font-size: 0.8rem;
            background-color: var(--light-bg);
            padding: 0 0.5rem;
            color: var(--primary-color);
        }

        .error-message {
            color: #ff3860;
            font-size: 0.8rem;
            margin-top: 0.5rem;
            display: none;
        }

        /* Footer */
        footer {
            background-color: var(--dark-bg);
            color: var(--light-text);
            padding: 3rem 2rem;
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .footer-link {
            color: var(--light-text);
            transition: var(--transition);
            position: relative;
        }

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

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

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

        .copyright {
            margin-top: 2rem;
            opacity: 0.8;
        }

        /* Scroll to Top Button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .scroll-top.active {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            background-color: var(--secondary-color);
            transform: translateY(-5px);
        }

        /* loader */
        .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader.dark-mode {
    background: #121212;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(94, 59, 238, 0.2);
    border-radius: 50%;
    border-top-color: #5e3bee;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: inherit;
    color: #5e3bee;
    font-size: 16px;
    letter-spacing: 1px;
}

.loader.dark-mode .loader-text {
    color: #ffffff;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body.loaded .loader {
    opacity: 0;
    visibility: hidden;
}

/* CHATBOT STYLES */
 
        .chatbot-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .chatbot-toggle {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #5e3bee, #8a6eff);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(94, 59, 238, 0.3);
            transition: all 0.3s ease;
        }
        
        .chatbot-toggle:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(94, 59, 238, 0.4);
        }
        
        .chatbot-toggle i {
            color: white;
            font-size: 24px;
        }
        
        .chatbot-window {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 320px;
            height: 400px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
            display: none;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .dark-mode .chatbot-window {
            background: #2d2d2d;
            color: white;
        }
        
        .chatbot-header {
            background: linear-gradient(135deg, #5e3bee, #8a6eff);
            color: white;
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .chatbot-header h3 {
            margin: 0;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .chatbot-close {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 18px;
        }
        
        .chatbot-messages {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .message {
            max-width: 80%;
            padding: 10px 15px;
            border-radius: 18px;
            line-height: 1.4;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .bot-message {
            background: #f0f0f5;
            border-top-left-radius: 5px;
            align-self: flex-start;
            color: #333;
        }
        
        .dark-mode .bot-message {
            background: #3d3d4d;
            color: white;
        }
        
        .user-message {
            background: #5e3bee;
            color: white;
            border-top-right-radius: 5px;
            align-self: flex-end;
        }
        
        .chatbot-input {
            display: flex;
            padding: 10px;
            border-top: 1px solid #eee;
            background: white;
        }
        
        .dark-mode .chatbot-input {
            background: #2d2d2d;
            border-top: 1px solid #444;
        }
        
        .chatbot-input input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 20px;
            outline: none;
            font-size: 14px;
        }
        
        .dark-mode .chatbot-input input {
            background: #3d3d3d;
            border-color: #555;
            color: white;
        }
        
        .chatbot-input button {
            background: #5e3bee;
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            margin-left: 10px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .chatbot-input button:hover {
            background: #4a2bbd;
        }
        
        .suggestion-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }
        
        .chip {
            background: #e6e6ff;
            color: #5e3bee;
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .dark-mode .chip {
            background: #3d3d6d;
            color: #a396ff;
        }
        
        .chip:hover {
            background: #5e3bee;
            color: white;
        }
        
        .typing-indicator {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #888;
            font-style: italic;
        }
        
        .typing-dot {
            width: 6px;
            height: 6px;
            background: #888;
            border-radius: 50%;
            animation: typingAnimation 1.4s infinite;
        }
        
        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        /* Chatbot styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5e3bee, #8a6eff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(94, 59, 238, 0.3);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(94, 59, 238, 0.4);
}

.chatbot-toggle i {
    color: white;
    font-size: 24px;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.dark-mode .chatbot-window {
    background: #2d2d2d;
    color: white;
}

.chatbot-header {
    background: linear-gradient(135deg, #5e3bee, #8a6eff);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

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

.bot-message {
    background: #f0f0f5;
    border-top-left-radius: 5px;
    align-self: flex-start;
    color: #333;
}

.dark-mode .bot-message {
    background: #3d3d4d;
    color: white;
}

.user-message {
    background: #5e3bee;
    color: white;
    border-top-right-radius: 5px;
    align-self: flex-end;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    background: white;
}

.dark-mode .chatbot-input {
    background: #2d2d2d;
    border-top: 1px solid #444;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.dark-mode .chatbot-input input {
    background: #3d3d3d;
    border-color: #555;
    color: white;
}

.chatbot-input button {
    background: #5e3bee;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.chatbot-input button:hover {
    background: #4a2bbd;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chip {
    background: #e6e6ff;
    color: #5e3bee;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dark-mode .chip {
    background: #3d3d6d;
    color: #a396ff;
}

.chip:hover {
    background: #5e3bee;
    color: white;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-style: italic;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}
        
        @keyframes typingAnimation {
            0%, 60%, 100% { transform: translateY(0); }
            30% { transform: translateY(-5px); }
        }   
        

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes blink {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0;
            }
        }

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

        @keyframes progress {
            from {
                width: 0;
            }
        }

        /* Particle Canvas */
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-content h1 {
                font-size: 2.8rem;
            }
            
            .hero-content h2 {
                font-size: 1.8rem;
            }
            
            .about-content {
                flex-direction: column;
                gap: 2rem;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
            }
        }

        @media (max-width: 768px) {
            .hero {
                text-align: center;
                padding-top: 8rem;
                flex-direction: column;
            }

            .btn-primary{
                margin-bottom: 10px;
            }

            .about-img img{
                height: 500px;
            }

            .hero-img{
                margin-top: 20px;
            }

            .hero-img img{
                width: 220px;
                height: 220px;

            }
            
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .hero-content h2 {
                font-size: 1.5rem;
            }
            
            .hero-content p {
                margin: 0 auto 2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .contact-container {
                grid-template-columns: 1fr;
            }

            .floating-element {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .navbar {
                padding: 1rem;
            }
            
            .hero-content h1 {
                font-size: 2rem;
            }
            
            section {
                padding: 3rem 1rem;
            }
            
            .project-links {
                flex-direction: column;
            }
        }
@media screen and (max-width: 480px) {
    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .project-card {
        margin: 0 auto;
        max-width: 300px;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .project-links .btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 320px) {
    .projects-container {
        padding: 0;
    }
    
    .project-card {
        max-width: 280px;
        border-radius: 8px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-tech {
        gap: 0.3rem;
    }
    
    .tech-tag {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}


        