
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
}

canvas#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.profile-container {
  max-width: 800px;
  margin: 4rem auto;
  background: rgba(30, 41, 59, 0.9);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease;
}

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #3b82f6;
  margin-bottom: 1rem;
}

.profile-header h1 {
  font-size: 2rem;
}

.tagline {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

section {
  margin-bottom: 2rem;
}

section h2 {
  color: #3b82f6;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.about p {
  line-height: 1.6;
  font-size: 1rem;
  color: #e2e8f0;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.skills li {
  background: #1e293b;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.skills li:hover {
  transform: scale(1.05);
  background: #3b82f6;
}

.contact {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn:hover {
  background: #2563eb;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Projects Section */
.projects {
  margin-top: 3rem;
  text-align: center;
}

.projects h2 {
  color: #3b82f6;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Projects Container */
.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  animation: fadeInUp 1.2s ease;
}

/* Project Card */
.project-card {
  background: rgba(30, 41, 59, 0.9);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: all 0.6s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.project-card h3 {
  color: #f1f5f9;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.project-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.project-link {
  display: inline-block;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.project-link:hover {
  background: #2563eb;
}

/* Scroll Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
