* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

header {
  background: #f6f7f8;
  text-align: center;
  padding: 6rem 1rem;
}

header h1 {
  font-size: 2.5rem;
  color: #333;
}

.subtitle {
  color: #777;
  margin: 0.5rem 0;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.contact-btn {
  background: #6c757d;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #5a6268;
}

.section {
  padding: 4rem 1rem;
}

.light-bg {
  background: #f9f9f9;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #444;
}

p {
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.skills-list {
  list-style: none;
  max-width: 700px;
  margin: auto;
}

.skills-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.9);
  opacity: 0;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.overlay h4 {
  margin-bottom: 1rem;
  color: #333;
}

.overlay a {
  background: #6c757d;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #f6f7f8;
  color: #666;
}

footer a {
  color: #444;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
