/* Base Styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f2f4f7;
  color: #2e2e2e;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #336699;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: #e5e8ec;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  
}

.nav-links a {
  margin: 0 1rem;
  color: #2e2e2e;
  font-weight: 600;
}

.nav-links a:hover {
  color: #336699;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Intro Section */
.intro-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.intro-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.profile-img {
  width: 180px;
  border-radius: 50%;
  margin: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.intro-text h2 {
  font-size: 1.4rem;
  color: #336699;
  margin-bottom: 1rem;
}

/* About and Skills */
.container {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
  color: #336699;
  margin-bottom: 1rem;
}

.skills span {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ccc;
}

/* Projects */
.project {
  background-color: #ffffff;
  border: 1px solid #d1d5da;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.project h3 {
  color: #336699;
  margin-top: 0;
}

/* Contact */
#contact {
  background-color: #e5e8ec;
  padding: 3rem 2rem;
  text-align: center;
}

#contact a {
  color: #336699;
}

/* Footer */
footer {
  background-color: #d1d5da;
  color: #2e2e2e;
  text-align: center;
  padding: 1rem;
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #336699;
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}

#backToTop:hover {
  background-color: #254c75;
}

/* Responsive */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: #e5e8ec;
  padding: 1rem 0;
}

.nav-links.show {
  display: flex;
  position: relative;
}


  .nav-links a {
    margin: 0.5rem 0;
  }
}
