/* Smooth scrolling for in-page links */
html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  min-height: 100vh;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 12px;
  font-size: 1.2rem;
  color: #b5b5b5;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #b5b5b5;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero p {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.hero h1 {
  animation-delay: 0.3s;
}

.hero p {
  animation-delay: 1s;
}

/* About Me Section */
.about {
  padding: 100px 60px;
  background-color: #121212;
  color: #ffffff;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #b5b5b5;
}

/* Skills & Projects Section */
.skills-projects {
  padding: 100px 60px;
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
}

.skills-projects h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

.skills-list span {
  background-color: #333333;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  color: #b5b5b5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.skills-list span:hover {
  background-color: #ffffff;
  color: #000000;
}

.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background-color: #222222;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #b5b5b5;
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 80px 60px;
  background-color: #0f0f0f;
  color: #ffffff;
  text-align: center;
}

.footer h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer p {
  font-size: 1rem;
  color: #b5b5b5;
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.contact-links a {
  text-decoration: none;
  color: #b5b5b5;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.contact-links a i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.contact-links a:hover {
  color: #ffffff;
}

.footer .copyright {
  font-size: 0.9rem;
  color: #777777;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 30px;
  }

  .nav-links {
    gap: 15px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about, .skills-projects, .footer {
    padding: 60px 30px;
  }

  .project-card {
    width: 200px;
  }

  .skills-list {
    gap: 10px;
  }
}
