* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #e5e7eb;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 23, 0.7);
  position: sticky;
  top: 0;
}

.logo {
  font-size: 24px;
}
.logo span {
  color: #38bdf8;
}

nav a {
  margin-left: 25px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

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

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.hero span {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin: 20px 0;
  color: #94a3b8;
}

.buttons button {
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  margin-right: 15px;
  cursor: pointer;
  font-size: 15px;
}

.primary {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  color: #020617;
}

.secondary {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

/* Sections */
section {
  padding: 100px 80px;
}

.about, .contact {
  background: rgba(2, 6, 23, 0.8);
}
.about p{
  word-spacing: 7px;
  line-height: 25px;
}

/* Projects */
.project-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.project-card {
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  transition: 0.4s;
}
.project-card h3{
  padding-bottom: 20px;
}
.project-card:hover {
  cursor: pointer;
  transform: translateY(-12px) scale(1.02);
  border: 1px solid #38bdf8;
}

.contact p{
  padding: 5px;
}
/* Footer */
footer {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .navbar, section {
    padding: 40px;
  }
}
