/* General Styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #222;
  background: #f9f9f9;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: #28a745;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #28a745;
}

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

.hero {
  text-align: center;
  padding: 100px 20px;
  background: #e8f5e9;
}

.profile-img {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #28a745;
}

.hero h1 {
  font-size: 40px;
  margin: 10px 0;
}

.typewriter {
  font-size: 18px;
  color: #555;
  min-height: 24px;
  margin-bottom: 20px;
}

.btn {
  padding: 12px 25px;
  background: #28a745;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}

.btn:hover {
  background: #218838;
  transform: scale(1.05);
}

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

.skill, .project-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill:hover, .project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.skill h3, .project-card h3 {
  color: #28a745;
}

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

footer a {
  color: #28a745;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
  }
  nav {
    margin-top: 10px;
  }
  .skills-container, .projects-container {
    flex-direction: column;
    align-items: center;
  }
}