/* General Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    scroll-behavior: smooth;
  }
  
  /* Navigation Bar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e293b;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  .navbar .logo {
    font-size: 40px;
    color: #38bdf8;
    font-weight: bold;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .navbar a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: #38bdf8;
  }
  
  /* Home Section */
  .home-section {
    padding: 80px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .home-section h1{
    font-size:70px;
    font-family:sans-serif;
    color:white;
  }
.home-content{
    margin-left:70px;
}
.home-content h1{
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #00f;
    font-family: monospace;
    animation: typing 4s steps(24) 1s 1 normal both, blink 0.75s step-end infinite;
  }
  
  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 19ch; /* adjust to your name length */
    }
  }
  
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }
 
h2{
    display: inline-block;
    animation: bounce 1s infinite;
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  } 
.home-section a{
    text-decoration:none;
    font-size:25px;
    color:white;
    padding:20px;
  }

button{
    background-color:rgb(15, 176, 240);
    padding:20px;
    border:none;
    border-radius:10px;
}
button:hover{
    background-color:black;
}
a:hover{
    color:white;
}

.home-section img {
    border-radius: 50%;
    margin-right:80px;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.7);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 20px rgba(0, 150, 255, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 150, 255, 0);
    }
  }
  


  .home-section h1 {
    font-size: 36px;
    margin: 10px 0;
  }
  
  .home-section h2 {
    font-size: 24px;
    color: #38bdf8;
  }
  
  .home-section p {
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto;
  }
  
  /* About Section */
  #about{
     display:flex;
     justify-content:space-between;
     align-items:center;

  }
  
  .about-img {
    width: 400px;
    height:450px;
    border-radius:100%;
    margin-left:50px;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.7);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 20px rgba(0, 150, 255, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 150, 255, 0);
    }
  }
  #about h1{
    margin-right:500px;
  }

  #about p{
    width:700px;
    font-size:20px;
    margin-right:50px;
    margin-bottom:300px;
    word-spacing:3px;
    
  }
 
  /* Services */
  #services {
    padding: 80px 20px;
    text-align: center;
  }
  #services h1{
    font-size:40px;

  }
  
  .services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .service-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 12px;
    width: 280px;
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.1);
  }
  
  .service-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #38bdf8;
  }
  
  /* Skills */
   
  .skills-section {
    padding: 80px 30px;
    text-align: center;
  }

  .skills-section h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: #111827;
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width:1000px;
    margin: 0 auto;
  }

  .skill-card {
    background-color: #fff;
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .skill-card:nth-child(1) { animation-delay: 0.1s; }
  .skill-card:nth-child(2) { animation-delay: 0.2s; }
  .skill-card:nth-child(3) { animation-delay: 0.3s; }
  .skill-card:nth-child(4) { animation-delay: 0.4s; }
  .skill-card:nth-child(5) { animation-delay: 0.5s; }
  .skill-card:nth-child(6) { animation-delay: 0.6s; }
  .skill-card:nth-child(7) { animation-delay: 0.7s; }
  .skill-card:nth-child(8) { animation-delay: 0.8s; }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .skill-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .skill-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .skill-card:hover i {
    transform: rotate(10deg) scale(1.2);
  }

  .skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
  }

  /* Icon colors */
  .html { color: #e44d26; }
  .css { color: #1572b6; }
  .js { color: #f7df1e; }
  .react { color: #61dafb; }
  .java { color: #007396; }
  .python { color: #306998; }
  .sql { color: #b76df1; }
  .mern { color: #3fa037; }
  .git{color:#0ea5e9}
  .github{color:#e44d26}


  /* Projects */
  #projects {
    padding: 80px 20px;
    text-align: center;
  }
  
  .projects-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
  }
  
  .project-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
  }
  
  .project-icon {
    font-size: 30px;
    color: #38bdf8;
    margin-bottom: 10px;
  }
  
  /* Contact Section */
  .contact-section {
    padding: 80px 20px;
    text-align: center;
  }
  
  .contact-info {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .social-icons a {
    margin: 0 10px;
    font-size: 24px;
    color: #38bdf8;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #fff;
    transform: scale(1.2);
  }
  
  .contact-form {
    margin-top: 30px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 80%;
    max-width: 500px;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: none;
    font-size: 16px;
  }
  
  .contact-form button {
    background-color: #38bdf8;
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #0ea5e9;
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 14px;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  