.github-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #24292e, #333);
  border: none;
  border-radius: 12px; /* Material rounded corners */
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}

.github-btn:hover {
  background: linear-gradient(145deg, #333, #24292e);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transform: translateY(-2px); /* subtle lift on hover */
}

.github-btn:active {
  transform: translateY(0); /* smooth press effect */
}
.button-container {
  display: flex;
  justify-content: center;  /* horizontally center */
  margin-top: 20px;   
  margin-bottom:  20px  ;      /* spacing from text */
} 
  
 footer {
            text-align: center;
            padding: 10px;
            background-color: #333;
            color: white;
        }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
    }

    body {
      background: #f4f7fa;
      color: #333;
      line-height: 1.6;
      overflow-x: hidden;
      transition: background 0.3s, color 0.3s;
    }

    body.dark-theme {
      background: #1a1a1a;
      color: #333; /* Dark text for visibility */
    }

    /* Navigation */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      background: #fff;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      transition: background 0.3s;
    }

    body.dark-theme nav {
      background: #2c2c2c;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 15px 20px;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 600;
      color: #007bff;
    }

    body.dark-theme .logo {
      color: #4da8ff;
    }

    .nav-links a {
      margin-left: 20px;
      text-decoration: none;
      color: #333;
      font-weight: 500;
      transition: color 0.3s;
    }

    body.dark-theme .nav-links a {
      color: #ddd;
    }

    .nav-links a:hover {
      color: #007bff;
    }

    body.dark-theme .nav-links a:hover {
      color: #4da8ff;
    }

    /* Hamburger Menu */
    .hamburger {
      display: none;
      font-size: 1.8rem;
      cursor: pointer;
      color: #333;
    }

    body.dark-theme .hamburger {
      color: #ddd;
    }

    /* Theme Toggle Button */
    .theme-toggle {
      background: none;
      border: none;
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #333;
      margin-left: 20px;
    }

    body.dark-theme .theme-toggle {
      color: #ddd;
    }

    /* Hero Section */
    .hero {
      height: 100vh;
      display:flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #00C9FF, #92FE9D);
      color: #150101;
      text-align: center;
      padding: 20px;
    }

    body.dark-theme .hero {
      background: linear-gradient(135deg, #004080, #d80e73);
    }

    .hero-content h1 {
      font-size: 3rem;
      margin-bottom: 10px;
    }

    .hero-content p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto 20px;
    }

    .hero-content img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #fff;
      margin-bottom: 20px;
    }

    .cta-button {
      display: inline-block;
      background: #000000;
      color: #fff;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s;
    }
     .cv-button {
      display: inline-block;
      background: #000000;
      color: #fff;
      margin-top: 10px;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s;
    }

    body.dark-theme .cta-button {
      background: #4da8ff;
    }

    .cta-button:hover {
      background: #0056b3;
    }

    body.dark-theme .cta-button:hover {
      background: #3a8cff;
    }

    /* Sections */
    section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    h2 {
      font-size: 2.5rem;
      margin-bottom: 40px;
      text-align: center;
      color: #007bff;
    }

    body.dark-theme h2 {
      color: #4da8ff;
    }

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

    .about-content img {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #007bff;
    }

    body.dark-theme .about-content img {
      border-color: #4da8ff;
    }

    .about-text p {
      font-size: 1.1rem;
      margin-bottom: 20px;
    }

    .about-text ul {
      list-style: none;
      font-size: 1.1rem;
    }

    .about-text ul li {
      margin-bottom: 10px;
    }

    /* Experience Section */
    .experience-item {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, scale 0.3s ease;
    }

    body.dark-theme .experience-item {
      background: #2c2c2c;
    }

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

    .experience-item:hover {
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      border: 1px solid #007bff;
    }

    body.dark-theme .experience-item:hover {
      border-color: #4da8ff;
    }

    .experience-item h3 {
      font-size: 1.5rem;
      color: #333;
      margin-bottom: 10px;
    }

    body.dark-theme .experience-item h3 {
      color: #ddd;
    }

    .experience-item p {
      font-size: 1rem;
      color: #666;
    }

    body.dark-theme .experience-item p {
      color: #aaa;
    }

    /* Skills Section */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      text-align: center;
    }

    .skill-card {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      opacity: 0;
      transform: scale(0.8);
      transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    }

    body.dark-theme .skill-card {
      background: #2c2c2c;
    }

    .skill-card.visible {
      opacity: 1;
      transform: scale(1);
    }

    .skill-card:hover {
      transform: rotate(2deg) translateY(-5px);
      background-color: #f0f8ff;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    body.dark-theme .skill-card:hover {
      background-color: #3a3a3a;
    }

    .skill-card i {
      font-size: 2rem;
      color: #007bff;
      margin-bottom: 10px;
    }

    body.dark-theme .skill-card i {
      color: #4da8ff;
    }

    .skill-card p {
      color: #333;
    }

    body.dark-theme .skill-card p {
      color: #ddd;
    }

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

    .project-card {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      position: relative;
      
      opacity: 0;
      transform: scale(0.9);
      transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
    }

    body.dark-theme .project-card {
      background: #2c2c2c;
    }

    .project-card.visible {
      opacity: 1;
      transform: scale(1);
    }

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

    .project-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s;
    }

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

    .project-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 200px;
      background: rgba(0, 123, 255, 0.3);
      opacity: 0;
      transition: opacity 0.3s;
    }

    body.dark-theme .project-card::after {
      background: rgba(77, 168, 255, 0.3);
    }

    .project-card:hover::after {
      opacity: 1;
    }

    .project-info {
      padding: 20px;
      position: relative;
    }

    .project-info h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      color: #333;
    }

    body.dark-theme .project-info h3 {
      color: #ddd;
    }

    .project-info p {
      font-size: 1rem;
      color: #666;
      opacity: 1;
      transition: opacity 0.3s;
    }

    body.dark-theme .project-info p {
      color: #aaa;
    }

    .project-card:hover .project-info p {
      opacity: 0.8;
    }

    /* Contact Section */
    .contact-form {
      max-width: 600px;
      margin: 0 auto;
      background: #fff;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    body.dark-theme .contact-form {
      background: #2c2c2c;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 1rem;
      background: #fff;
      color: #333;
    }

    body.dark-theme .contact-form input,
    body.dark-theme .contact-form textarea {
      border-color: #555;
      background: #333;
      color: #ddd;
    }

    .contact-form button {
      background: #007bff;
      color: #fff;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.3s;
    }

    body.dark-theme .contact-form button {
      background: #4da8ff;
    }

    .contact-form button:hover {
      background: #0056b3;
    }

    body.dark-theme .contact-form button:hover {
      background: #3a8cff;
    }

    .contact-links {
      text-align: center;
      margin-top: 20px;
    }

    .contact-links a {
      color: #007bff;
      margin: 0 10px;
      text-decoration: none;
      font-size: 1rem;
    }

    body.dark-theme .contact-links a {
      color: #4da8ff;
    }

    .contact-links a:hover {
      text-decoration: underline;
    }

    /* Chat Bubble */
    .chat-bubble {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #007bff;
      color: #fff;
      padding: 15px 25px;
      border-radius: 50px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      z-index: 1000;
      animation: pulse 2s infinite;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    body.dark-theme .chat-bubble {
      background: #4da8ff;
    }

    .chat-bubble i {
      font-size: 1.2rem;
    }

    .chat-bubble:hover {
      background: #0056b3;
    }

    body.dark-theme .chat-bubble:hover {
      background: #3a8cff;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    /* Chatbot Overlay */
    .chatbot-overlay {
      position: fixed;
      bottom: -100%;
      right: 20px;
      width: 350px;
      height: 500px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      z-index: 1001;
      display: flex;
      flex-direction: column;
      transition: bottom 0.3s ease;
      overflow: hidden;
    }

    body.dark-theme .chatbot-overlay {
      background: #2c2c2c;
    }

    .chatbot-overlay.active {
      bottom: 80px;
    }

    .chatbot-header {
      background: #007bff;
      color: #fff;
      padding: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    body.dark-theme .chatbot-header {
      background: #4da8ff;
    }

    .chatbot-header img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #fff;
    }

    .chatbot-header h3 {
      font-size: 1.2rem;
      font-weight: 500;
      margin-left: 10px;
      flex-grow: 1;
    }

    .chatbot-close {
      background: none;
      border: none;
      color: #fff;
      font-size: 1.2rem;
      cursor: pointer;
    }

    .chatbot-body {
      flex-grow: 1;
      padding: 20px;
      overflow-y: auto;
      background: #f9f9f9;
    }

    body.dark-theme .chatbot-body {
      background: #333;
    }

    .chat-message {
      margin-bottom: 15px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .chat-message.user {
      justify-content: flex-end;
    }

    .chat-message.ai .message-content {
      background: #e6f3ff;
      color: #333;
    }

    body.dark-theme .chat-message.ai .message-content {
      background: #4a4a4a;
      color: #ddd;
    }

    .chat-message.user .message-content {
      background: #007bff;
      color: #fff;
    }

    body.dark-theme .chat-message.user .message-content {
      background: #4da8ff;
    }

    .message-content {
      max-width: 70%;
      padding: 10px 15px;
      border-radius: 10px;
      font-size: 0.9rem;
      line-height: 1.4;
    }

    .typing-animation {
      display: flex;
      gap: 5px;
      padding: 10px;
    }

    .typing-animation span {
      width: 8px;
      height: 8px;
      background: #007bff;
      border-radius: 50%;
      animation: typing 1s infinite;
    }

    body.dark-theme .typing-animation span {
      background: #4da8ff;
    }

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

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

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

    .chatbot-input {
      display: flex;
      padding: 15px;
      border-top: 1px solid #ddd;
      background: #fff;
    }

    body.dark-theme .chatbot-input {
      border-top-color: #555;
      background: #2c2c2c;
    }

    .chatbot-input input {
      flex-grow: 1;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 20px;
      font-size: 0.9rem;
      outline: none;
      background: #fff;
      color: #333;
    }

    body.dark-theme .chatbot-input input {
      border-color: #555;
      background: #333;
      color: #ddd;
    }

    .chatbot-input button {
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 10px;
      cursor: pointer;
      transition: background 0.3s;
    }

    body.dark-theme .chatbot-input button {
      background: #4da8ff;
    }

    .chatbot-input button:hover {
      background: #0056b3;
    }

    body.dark-theme .chatbot-input button:hover {
      background: #3a8cff;
    }

    /* Footer */
    footer {
      background: #333;
      color: #fff;
      text-align: center;
      padding: 20px;
    }

    body.dark-theme footer {
      background: #1a1a1a;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      }

      body.dark-theme .nav-links {
        background: #2c2c2c;
      }

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

      .nav-links a {
        margin: 10px 0;
      }

      .hamburger {
        display: block;
      }

      .hero-content h1 {
        font-size: 2rem;
      }

      .hero-content p {
        font-size: 1rem;
      }

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

      .chat-bubble {
        padding: 10px 20px;
        font-size: 0.9rem;
      }

      .chatbot-overlay {
        width: 90%;
        right: 5%;
      }
    }

    @media (max-width: 480px) {
      .hero-content h1 {
        font-size: 1.5rem;
      }

      h2 {
        font-size: 2rem;
      }

      .project-card img {
        height: 150px;
      }

      .chatbot-overlay {
        height: 400px;
      }
    }