/* Reset some styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  body {
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
  }
  
  header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header .logo h1 {
    font-size: 2rem;
  }
  
  header .nav-links {
    list-style: none;
    display: flex;
  }
  
  header .nav-links li {
    margin-left: 20px;
  }
  
  header .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  
  header .nav-links a:hover {
    color: #00bcd4;
  }
  
  #hero {
    background: #1D1F21;
    color: white;
    padding: 100px 0;
    text-align: center;
  }
  
  #hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .highlight {
    color: #007BFF;
  }
  
  button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
  }
  
  button:hover {
    background-color: #0062cc;
    transition: background-color 0.3s;
  }
  
  #about {
    background-color: white;
    padding: 60px 0;
  }
  
  #about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  
  .profile-img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
  }
  
  #projects {
    background-color: #f9f9f9;
    padding: 60px 0;
  }
  
  #projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .project-card {
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
  }
  
  .project-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .project-card h3 {
    font-size: 1.5rem;
    margin: 15px 0;
  }
  
  .project-card a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
  }
  
  #contact {
    background-color: #333;
    color: white;
    padding: 60px 0;
    text-align: center;
  }
  
  #contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  form input,
  form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  form button {
    width: 100%;
    padding: 12px;
    background-color: #ff4081;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
  }
  
  footer {
    background-color: #222;
    color: white;
    padding: 30px 0;
    text-align: center;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .about-content {
      flex-direction: column;
      align-items: center;
    }
  
    .profile-img {
      margin-bottom: 20px;
    }
  
    .project-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.fade-in.appear {
  animation: fadeIn 1s ease-out forwards;
}

/* Delay classes */
.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }

/* Justify text in About section */
#about .about-content p {
  text-align: justify;
}

/* Make resume image responsive */
#projects img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #projects img {
    width: 100%;
  }
}
