* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #fbfcff, #f5faff);
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  text-align: center;
  font-weight: 600;
  color: #0f172a;
}

h1 {
  font-size: 2.5rem;
  margin-top: 2rem;
}

h2 {
  color: #2563eb;
  font-size: 1.75rem;
  margin: 1rem 0;
}

h3 {
  font-size: 1.25rem;
  color: #334155;
  font-weight: 500;
  max-width: 700px;
  margin: 2rem auto;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1e40af;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
  padding: 2rem;
  color: #374151;
}

.hero img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.hero img:hover {
  transform: scale(1.05);
}

.hero-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-links a {
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.hero-links a:hover {
  background: #2563eb;
  color: white;
}

.portfolio-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

.portfolio-item {
  background: rgba(208, 223, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

.portfolio-item h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: #000000;
}

.portfolio-item p {
  padding: 0 1rem 1rem;
  color: #374151;
  font-size: 0.95rem;
}

.portfolio-item a {
  display: inline-block;
  background: #afc9ff;
  color: rgb(0, 0, 0);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-bottom: 1rem;
}



.about-btn {
  background: #f0f4ff;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}



.about-text {
  margin: 1rem auto;
  max-width: 700px;
  text-align: left;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }
  .hero img {
    width: 140px;
    height: 140px;
  }
  .portfolio-items {
    padding: 2rem 1rem;
  }
}
