body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f4f4f9;
  color: #333;
  padding-top: 150px;   /* space for fixed header */
  padding-bottom: 70px; /* space for fixed footer */
}

header {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero img {
  width: 120px;
  border-radius: 50%;
  border: 3px solid #000;
  box-shadow: 0 4px 16px #00000055;
}

.hero-text h1 {
  margin: 0;
  font-size: 2rem;
}

.github-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #3498db;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.github-link:hover {
  background: #2980b9;
}

.projects {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.project {
  margin: 2rem 0;
}

.project img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 16px #00000055;
}

.project button:hover {
  background-color: #2980b9;
}

section {
  background: white;
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.badges img {
  margin: 4px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #2c3e50;
  color: white;
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section:hover {
  box-shadow: 0 12px 32px rgba(34, 34, 34, 0.12), 0 2px 8px rgba(238, 21, 21, 0.10);
}