* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #f1f5f9;
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 23, 0.7);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #38bdf8;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #f1f5f9;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 60px;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 500px;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.2;
}

.hero-content span {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  margin-top: 15px;
  color: #94a3b8;
}

.buttons {
  margin-top: 25px;
}

.btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 10px;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.outline {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.hero-img img {
  width: 260px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  box-shadow: 0 0 20px rgba(56,189,248,0.4);
}

section {
  padding: 60px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

h2::before {
  content: "";
  width: 40px;
  height: 4px;
  background: #38bdf8;
  position: absolute;
  bottom: -8px;
}

.project-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.skill-bar {
  height: 8px;
  background: #1e293b;
  border-radius: 20px;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: white;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  background: rgba(255,255,255,0.03);
}

.dark-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #38bdf8;
  border: none;
  padding: 12px;
  border-radius: 50%;
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 40px 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #020617;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
