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

body {
  font-family: Arial, sans-serif;
}

nav {
  background-color:#333;
  padding: 10px 20px;
  position: relative;
}

.menu-toggle {
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position:absolute;
    top: 0.001px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 9999;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #444;
    width: 100%;
  }

  .nav-links a {
    text-align: center;
    border-top: 5px solid #555;
  }

  .nav-links.show {
    display: flex;
  }
}

 
 
 
 
 /* Basic CSS Styling */
        :root {
            --primary-color: #4e54c8;
            --secondary-color: #8f94fb;
            --light-color: #f5f5f5;
            --dark-color: #333;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Arial, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: var(--dark-color);
            background-color: var(--light-color);
        }
        
        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 3rem 0;
            text-align: center;
        }
        
        nav {
            display: flex;
            justify-content: center;
            background: var(--dark-color);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        nav a {
            color: white;
            text-decoration: none;
            padding: 0.7rem 1.8rem;
            margin: 0 0.5rem;
            border-radius: 30px;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        nav a:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-3px);
        }
        
        section {
            padding: 4rem 10%;
            min-height: auto;
        }
        
        #home {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            min-height: 80vh;
        }
        
        #home h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            background-image: url(https://gifdb.com/images/high/sky-colorful-galaxy-fppxcdl761ryr9ph.gif);
            background-clip: text;
            background-size: cover;
            color: transparent;
        }
        
        #home p {
            font-size: 1.5rem;
            max-width: 800px;
            margin-bottom: 3rem;
            background-image: url(https://giffiles.alphacoders.com/415/4155.gif);
            background-clip: text;
            background-size: cover;
            color: transparent;
        }
        
        .btn {
            display: inline-block;
            background: white;
            color: var(--primary-color);
            padding: 0.9rem 2rem;
            border: none;
            border-radius: 30px;
            text-decoration: none;
            font-size: 1.1rem;
            margin: 0.7rem;
            transition: all 0.3s ease;
            font-weight: 600;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
             background-image: url(https://gifdb.com/images/high/sky-colorful-galaxy-fppxcdl761ryr9ph.gif);
            background-clip: text;
            background-size: cover;
            color: transparent;
        }
        
        .btn:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.3);
            
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid white;
            /*color: white;*/
             background-image: url(https://gifdb.com/images/high/sky-colorful-galaxy-fppxcdl761ryr9ph.gif);
            background-clip: text;
            background-size: cover;
            color: transparent;
        }
        
        .btn-outline:hover {
            background: white;
            color: var(--primary-color);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.8rem;
            color: var(--primary-color);
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
            margin: 0.5rem auto;
            border-radius: 2px;
        }
        
        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 3rem;
        }
        
        .about-img {
            flex: 1;
            min-width: 300px;
            text-align: center;
        }
        
        .about-img img {
            width: 100%;
            max-width: 400px;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            border: 5px solid white;
        }
        
        .about-content {
            flex: 2;
            min-width: 300px;
        }
        
        .about-content h3 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
        }
        
        .about-content p {
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .skills {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .skill-tag {
            background: var(--secondary-color);
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        /* Projects Section */
        #projects {
            background: white;
        }
        
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .project-card {
            background: var(--light-color);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .project-img {
            height: 200px;
            overflow: hidden;
        }
        
        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .project-card:hover .project-img img {
            transform: scale(1.1);
        }
        
        .project-info {
            padding: 1.5rem;
        }
        
        .project-info h3 {
            margin-bottom: 0.8rem;
            color: var(--primary-color);
        }
        
        .project-info p {
            margin-bottom: 1.2rem;
            color: #555;
        }
        
        .project-links {
            display: flex;
            gap: 1rem;
        }
        
        /* Resume Section */
        .resume-item {
            background: white;
            padding: 2rem;
            margin-bottom: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            position: relative;
            border-left: 4px solid var(--primary-color);
        }
        
        .resume-item h3 {
            color: var(--primary-color);
            margin-bottom: 0.8rem;
        }
        
        .resume-item .date {
            background: var(--secondary-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            display: inline-block;
            margin-bottom: 0.8rem;
        }
        
        /* Certifications */
        .certifications {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .certificate {
            background: white;
            padding: 1.8rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .certificate:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .certificate img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-bottom: 1.5rem;
        }
        
        .certificate h3 {
            margin-bottom: 0.8rem;
            color: var(--primary-color);
        }
        
        /* Chatbot Section */
        #chatbot {
            background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
        }
        
        .chatbot-container {
            max-width: 900px;
            margin: 0 auto;
            background: white;
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .chatbot-container p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: #555;
        }
        
        .chatbot-iframe {
            width: 100%;
            height: 500px;
            border: none;
            border-radius: 10px;
            margin: 1.5rem 0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .tech-used {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .tech-tag {
            background: var(--primary-color);
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        /* Contact Section */
        #contact form {
            max-width: 700px;
            margin: 0 auto;
            background: white;
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .form-group {
            margin-bottom: 1.8rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.2);
        }
        
        .form-group textarea {
            height: 180px;
            resize: vertical;
        }
        
        /* Footer */
        footer {
            background: var(--dark-color);
            color: white;
            text-align: center;
            padding: 3rem 0;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .social-links a {
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            color: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            nav {
                flex-wrap: wrap;
            }
            
            nav a {
                padding: 0.5rem 1rem;
                margin: 0.3rem;
                font-size: 0.9rem;
            }
            
            #home h1 {
                font-size: 2.5rem;
            }
            
            #home p {
                font-size: 1.2rem;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            section {
                padding: 3rem 5%;
            }
        }

/* Add this CSS in your stylesheet */
    .chatbox-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 350px;
        z-index: 1000;
    }
    
    .chatbox-toggle {
        background-color: #4e8cff;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        margin-left: auto;
        transition: all 0.3s ease;
    }
    
    .chatbox-toggle:hover {
        background-color: #3a7aed;
        transform: scale(1.05);
    }
    
    .chatbox-toggle i {
        font-size: 24px;
    }
    
    .chatbox {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        display: none;
        flex-direction: column;
        height: 400px;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .chatbox.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .chatbox-header {
        background-color: #4e8cff;
        color: white;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .chatbox-header h3 {
        margin: 0;
        font-size: 18px;
    }
    
    .chatbox-close {
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }
    
    .chatbox-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;
        word-wrap: break-word;
    }
    
    .received {
        align-self: flex-start;
        background-color: #f1f1f1;
        border-bottom-left-radius: 5px;
    }
    
    .sent {
        align-self: flex-end;
        background-color: #4e8cff;
        color: white;
        border-bottom-right-radius: 5px;
    }
    
    .chatbox-input {
        display: flex;
        padding: 10px;
        border-top: 1px solid #eee;
    }
    
    .chatbox-input input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 20px;
        outline: none;
    }
    
    .chatbox-input button {
        background-color: #4e8cff;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-left: 10px;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .chatbox-input button:hover {
        background-color: #3a7aed;
    }
    
    .quick-replies {
        display: flex;
        gap: 8px;
        padding: 10px;
        flex-wrap: wrap;
    }
    
    .quick-reply {
        background: #f1f1f1;
        border: none;
        border-radius: 15px;
        padding: 5px 10px;
        font-size: 12px;
        cursor: pointer;
    }
    
    .quick-reply:hover {
        background: #ddd;
    }
    
    @media (max-width: 480px) {
        .chatbox-container {
            width: 90%;
            right: 5%;
            bottom: 10px;
        }
    }



