/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
  text-align: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #111;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover {
  color: #1cc88a;
}

/* Hero */
.hero {
  padding: 140px 20px;
  background: linear-gradient(135deg, #4e73df, #1cc88a);
  color: white;
}

.hero .intro {
  font-weight: 300;
  margin-bottom: 15px;
  font-size: 18px;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: white;
  color: #4e73df;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn:hover {
  background: #f8f9fc;
  transform: translateY(-4px);
}

/* Sections */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

section h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Projects */
.project-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.project-box {
  background: white;
  padding: 30px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.project-box:hover {
  transform: translateY(-8px);
}

.project-box h3 {
  margin-bottom: 15px;
}

/* Contact */
#contact p {
  margin: 10px 0;
  font-size: 18px;
}

/* Footer */
footer {
  background: #111;
  color: white;
  padding: 25px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .project-container {
    flex-direction: column;
    align-items: center;
  }

}

.project-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}

.project-btn:hover {
  opacity: 0.8;
}
