* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #e3f2fd, #bbdefb);
    color: #222;
    overflow-x: hidden;
  }
  
  header {
    background: #0d47a1;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
  }
  
  .container h1 {
    font-size: 2.5rem;
    animation: fadeIn 2s ease-out;
  }
  
  .tagline {
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 300;
  }
  
  .typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    width: 0;
    animation: typing 4s steps(40, end) forwards;
  }
  
  .hero {
    padding: 2rem;
    text-align: center;
  }
  
  .profile-pic {
    width: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
  }
  
  .intro {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
  
  .projects {
    background: #fff;
    padding: 2rem;
    text-align: center;
  }
  .website-container {
    width: 100%;
    height: 200px;
    margin-top: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .website-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  
  .projects h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }
  
  .card {
    background: #61faff83;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background-color 2s linear;
  }
  
  .color-shift {
    animation: colorChange 6s infinite alternate;
  }

.contact-card {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact-list li {
  margin: 15px 0;
  font-size: 1.1em;
  opacity: 0;
  animation: fadeIn 0.6s ease-in-out forwards;
  animation-delay: calc(0.2s * var(--i));
  transform: translateX(-20px);
}

.contact-list li:nth-child(1) { --i: 1; }
.contact-list li:nth-child(2) { --i: 2; }
.contact-list li:nth-child(3) { --i: 3; }
.contact-list li:nth-child(4) { --i: 4; }
.contact-list li:nth-child(5) { --i: 5; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-list i {
  margin-right: 10px;
  color: #dc3545;
  transition: transform 0.3s, color 0.3s;
}

.contact-list a:hover i {
  transform: scale(1.2);
  color: #007bff;
}


  footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #0d47a1;
    color: white;
  }
  
  /* Animations */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes colorChange {
    0% { background-color: #b2ebf2; }
    50% { background-color: #80deea; }
    100% { background-color: #4dd0e1; }
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  
  
