* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

header {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h2 {
  font-size: 24px;
  color: #38bdf8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #38bdf8;
}

#home {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #1e293b, #020617);
  text-align: center;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

.hero-role {
  font-size: 22px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 10px;
}

.hero-role::after {
  content: none;
}

#home h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.btn {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 30px;
  color: #38bdf8;
  position: relative;
}

section h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #38bdf8;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

#about p {
  text-align: center;
  color: #cbd5f5;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.skill {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
}

.project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  margin: 20px 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project:hover {
  transform: translateY(-5px);
}

.project-btn {
  padding: 10px 20px;
}

#qa .project {
  border-left: 4px solid #6366f1;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  padding: 12px 25px;
  border-radius: 25px;
  color: white;
  text-decoration: none;
}

.contact-btn:hover {
  transform: scale(1.08);
}

footer {
  text-align: center;
  padding: 25px;
  background: #020617;
  color: #94a3b8;
}

.footer-name {
  color: #38bdf8;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    padding: 20px;
    border-radius: 10px;
    width: 200px;
  }

  .nav-links.active {
    display: flex;
  }

  .project {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  #home {
    height: auto;
    padding: 60px 20px;
  }

  #home h1 {
    font-size: 30px;
  }
}