  body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f0f4f8;
      color: #333;
    }

    header {
      background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
      color: white;
      padding: 2rem;
      text-align: center;
    }

    nav ul {
      list-style: none;
      padding: 0;
      display: flex;
      justify-content: center;
      gap: 2rem;
    }

    nav a {
      text-decoration: none;
      color: #dbe9f4;
      font-weight: bold;
    }

    .hero {
      margin-top: 1rem;
    }

    .pic {
      max-width: 200px;
      border-radius: 50%;
      border: 3px solid #4a90e2;
    }

    .section {
      padding: 4rem 2rem;
      background-color: #e6ebf1;
    }

    .tag-list .tag {
      display: inline-block;
      margin: 0.4rem;
      padding: 0.5rem 1rem;
      background-color: #cbd6e2;
      border-radius: 20px;
      font-size: 0.85rem;
    }

    .cv-download a,
    .hire-me {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      background-color: #4a90e2;
      color: white;
      border-radius: 30px;
      text-decoration: none;
      margin-top: 1rem;
    }

    #projects {
      background-color: #f8fafd;
    }

    .project-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
      width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
    }

    .project-cards img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

    .card {
      background-color: white;
      border: 1px solid #d1dbe4;
      border-radius: 10px;
      padding: 1rem;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .card img {
      max-width: 100%;
      border-radius: 5px;
      height:120px ;
      width: 100%;
    }

    .web-link {
      text-decoration: none;
      color: #4a90e2;
      font-weight: bold;
    }

    #changing-text {
      font-weight: bold;
      font-size: 1.2rem;
      margin-top: 1rem;
    }

    .form-container {
      padding: 2rem;
      background-color: #dee7f0;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 0.75rem;
      margin: 0.5rem 0;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    .contact-form button {
      background-color: #4a90e2;
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 5px;
      cursor: pointer;
    }

    .footer {
      background-color: #2c3e50;
      color: white;
      padding: 2rem;
      text-align: center;
    }

    .footer a {
      margin: 0 0.5rem;
      color: #9bb7d4;
    }
    .tag-list {
  overflow: hidden;
  white-space: nowrap;
}

.tag-list .inner {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.form-container {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #dde6f1, #eef2f7);
  text-align: center;
  border-top: 2px solid #4a90e2;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin: 0.75rem 0;
  border-radius: 10px;
  border: 1px solid #aaa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #326fa8;
}
.education-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.edu-item {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 6px solid #4a90e2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.edu-item h3 {
  margin: 0;
  color: #203a43;
}

.edu-item p {
  margin: 0.5rem 0;
  color: #444;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f8;
  color: #333;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}
button,
.hire-me,
.cv-download a {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover,
.hire-me:hover,
.cv-download a:hover {
  transform: scale(1.05);
  background-color: #326fa8;
}
.pic {
  max-width: 200px;
  border-radius: 50%;
  border: 3px solid #4a90e2;
  animation: pulse 4s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.6);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(74, 144, 226, 0);
  }
}