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

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

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #38bdf8;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #e5e7eb;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 140px 8% 80px;
  min-height: 100vh;
}

.hero-text h1 {
  font-size: 48px;
}

.hero-text span {
  color: #38bdf8;
}

.hero-text h2 {
  font-size: 22px;
  margin: 10px 0;
  color: #94a3b8;
}

.hero-text p {
  margin: 15px 0 30px;
  max-width: 500px;
}

.btn-group {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
}

.btn.outline {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: #0f172a;
}

.hero-img .circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  opacity: 0.8;
}

/* Sections */
.section {
  padding: 80px 8%;
  text-align: center;
}

.section.dark {
  background: #020617;
}

.section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #38bdf8;
}

/* About */
.about-content {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.skill-card {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.skill-card:hover {
  transform: translateY(-8px);
  background: #1e293b;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: #020617;
  padding: 25px;
  border-radius: 15px;
  text-align: left;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  background: #1e293b;
}

.project-card h3 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.project-btn {
  display: inline-block;
  margin-top: 15px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

/* Contact */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #020617;
  color: #e5e7eb;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #020617;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}
