* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, #1e1e2f, #0f0f1a);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    line-height: 1.6;
  }

  /* Container Section */
.container {
  text-align: center;
  animation: fadeIn 1.4s ease-in-out;
  padding: 1rem;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: -1rem;
  flex: 1;
}

  header h1 {
    margin: 0 0 1.1rem 0;
    font-size: clamp(3.75rem, 6.25vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  
  .profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .profile-pic {
    width: 187.5px;
    height: 187.5px;
    border-radius: 50%;
    border: 3.75px solid #fff;
    box-shadow: 0 5px 25px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
  }
  
  .profile-pic:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
  }
 
  .typing-text {
    font-size: 1.3rem;
    color: #ffdd57;
    overflow: hidden;
    border-right: 3px solid #ffdd57;
    white-space: nowrap;
    max-width: 100%;
    margin-top: 1.5rem;
    text-align: center;
    animation:
      typing 3.5s steps(37) forwards,
      blink 0.75s step-end 4,
      hide-cursor 0.1s 3.5s forwards;
  }
  
  @media (max-width: 768px) {
    .typing-text {
      font-size: 1.1rem;
      max-width: 90%;
    }
  }
  
  @media (max-width: 480px) {
    .typing-text {
      font-size: 1rem;
      border-right-width: 2px;
    }
  }
  
  @media (max-width: 768px) {
    .typing-text {
      font-size: 1.1rem;
      max-width: 90%;
    }
  }
  
  @media (max-width: 480px) {
    .typing-text {
      font-size: 1rem;
      border-right-width: 2px;
    }
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { 
      opacity: 0; 
      transform: translateY(20px); 
    }
    to { 
      opacity: 1; 
      transform: translateY(0); 
    }
  }
  
  @keyframes typing {
    from { max-width: 0ch; }
    to { max-width: 37ch; }
  }
  
  @keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #ffdd57; }
  }
  
  @keyframes hide-cursor {
    to { border-color: transparent; }
  }
  
  @media (max-width: 768px) {
    .container {
      padding: 1.5rem;
      justify-content: flex-start;
      padding-top: 3rem;
      max-width: 90%;
    }
    
    .profile-pic {
      width: 180px;
      height: 180px;
      border-width: 4px;
    }
    
    .profile-section {
      gap: 1.5rem;
    }
    
    header h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    
    body {
      padding: 0 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding-top: 2rem;
      max-width: 95%;
    }
    
    .profile-pic {
      width: 160px;
      height: 160px;
    }
    
    header h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    
    .typing-text {
      font-size: 1.2rem;
      margin: 1rem 0;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .container {
      animation: none;
    }
    
    .profile-pic {
      transition: none;
    }
    
    .typing-text {
      animation: none;
      border-right: none;
      white-space: normal;
      overflow: visible;
    }
  }
  
  .profile-pic:focus {
    outline: 2px solid #ffdd57;
    outline-offset: 4px;
  }
  
  /* Social Links Section */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icon.linkedin-icon {
  width: 32px;
  height: 32px;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Projects Section */
.projects-section {
  margin-top: 3rem;
  text-align: center;
}

.projects-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.project {
  margin-bottom: 2rem;
}

.project h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-embed {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

/* Footer Section */
.footer {
  margin: 0 auto;
  padding: 0.5rem 1rem 1rem;
  text-align: center;
  color: #fff;
  border-top: 1px solid #333;
  background: none;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

.email-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
}

.email-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.email-link span {
  text-decoration: none;
}

.email-link:hover span {
  color: #ffdd57;
  text-decoration: underline;
}

.email-link i {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.email-link:hover i {
  color: #ffdd57;
}

/* See My Project Section */
.see-project {
  margin-top: 1.5rem;
}

.see-project-link {
  font-size: 1.2rem;
  color: #ffdd57;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, content 0.3s ease;
}

.see-project-link:hover {
  color: #ffd700;
}

.see-project-link:hover::after {
  content: " ⇾";
  font-size: 1.2rem;
  color: #ffd700;
}

@media (max-width: 768px) {
  .footer {
    margin: 0 auto;
    width: 100%;
    padding: 0.5rem 1rem 1rem;
  }
  
  .email-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

