/* General Reset and Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
  }
  
  /* Hero Section */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 2rem;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .profile-pic {
    width: 160px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
  }

  @keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
  }
  
  
  .profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.9), 0 0 40px rgba(0, 128, 255, 0.8);
  }
  
  
  .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-content h1 span {
    color: #2c3e50;
  }
  
  .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .btn:hover {
    background-color: #34495e;
  }
  
  /* Responsive Styles */
  @media (max-width: 600px) {
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    .profile-pic {
      width: 120px;
      height: 120px;
    }
  }

  /* About Section */
.about {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
  }
  
  .about .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
  }
  
  .about p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
  }

  .resume {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
  }
  
  .resume h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .resume p {
    color: #555;
    margin-bottom: 20px;
  }
  
  .resume-btn {
    display: inline-block;
    margin-bottom: 30px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .resume-btn:hover {
    background-color: #0056b3;
  }
  
  .resume-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
  
  .resume-block {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
  }
  
  .resume-block h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
  }
  
  .resume-block ul {
    list-style: none;
    padding-left: 0;
  }
  
  .resume-block li {
    margin-bottom: 10px;
    color: #444;
  }
  

  /* Skills */

  .skills {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
  }
  
  .skills h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    justify-items: center;
  }
  
  .skill-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .skill-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .skill-card p {
    font-weight: 500;
    color: #333;
  }
  
  .skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  

  /* Projects Section */
.projects {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .projects .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .projects h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
  }
  
  .project-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .project-card {
    width: 300px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
  }
  
  .project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

  
  .project-card h3 {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #333;
  }
  
  .project-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
  }
  
  .project-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .project-card .btn:hover {
    background-color: #34495e;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .project-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .project-card {
      width: 90%;
      margin-bottom: 20px;
    }
  }
  
  @media (max-width: 600px) {
    .project-card h3 {
      font-size: 1.1rem;
    }
  
    .project-card p {
      font-size: 0.9rem;
    }
  }

  
  .contact {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
  }
  
  .contact h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .contact p {
    margin-bottom: 30px;
    color: #555;
  }
  
  .contact-info a {
    display: block;
    font-size: 1.1rem;
    margin: 10px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .contact-info a:hover {
    color: #007bff;
    transform: translateX(5px);
  }
  
  .contact-info i {
    margin-right: 10px;
    color: #007bff;
  }
  

  /* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .skills-grid,
  .project-cards,
  .resume-details {
    flex-direction: column;
    align-items: center;
  }

  .project-card img,
  .skill-card img {
    width: 100%;
    height: auto;
  }

  .container {
    padding: 0 20px;
  }

  .resume-btn {
    width: 90%;
  }

  .contact form {
    width: 100%;
  }
}


/* General Reset and Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* ✅ 5. Enable Smooth Scrolling */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* ✅ 4. Make Images Responsive */
img {
  max-width: 100%;
  height: auto;
}


#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  background-color: #2c3e50;
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: none;
}

#scrollTopBtn:hover {
  background-color: #007bff;
  transform: translateY(-4px);
}


.footer {
  background: linear-gradient(135deg, #1f4037, #99f2c8); /* Teal green gradient */
  color: white;
  padding: 30px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.footer-container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.footer p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.social-icons a {
  margin: 0 10px;
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1abc9c;
}


