/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  margin: 0;
  padding: 0;
  color: #334155;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 4rem 1rem 3rem;
  text-align: center;
}

header h1 {
  margin-bottom: 0.3rem;
  font-size: 2.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.2rem;
  opacity: 0.85;
}

/* Sections */
section {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

h2 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

/* Project Cards */
.project {
  background: #f9fafb;
  padding: 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.project:hover {
  background: #f1f5f9;
  transform: scale(1.02);
}

.project h3 {
  margin-top: 0;
  color: #2563eb;
}

.project a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Contact & Footer */
#contact p, #contact a {
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* Links */
a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  section {
    margin: 1.5rem 1rem;
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
