:root {
  --primary: #b5b5ba;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #e2e8f0;
  background: #0f172a;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
}

/* Navbar */
.navbar {
  background: rgba(237, 238, 240, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
  background: rgba(227, 229, 234, 0.98);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: blueviolet;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e2937 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/background.avif') center/cover;
  opacity: 0.15;
}

.profile-image {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border: 8px solid #334155;
  transition: transform 0.5s ease;
}

.profile-image-wrapper:hover .profile-image {
  transform: scale(1.05);
}

.greeting {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 500;
}

/* Section */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

/* Project Cards */
.project-card {
  background: #1e2937;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #334155;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 40%);
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.tech-stack span {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: #334155;
  border-radius: 50px;
  margin-right: 6px;
  margin-bottom: 6px;
  display: inline-block;
}

/* Skill Cards */
.skill-card {
  background: #1e2937;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  height: 100%;
  border: 1px solid #334155;
  
}

.badge {
  background: #334155;
  color: #e0e7ff;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin: 4px;
  display: inline-block;
}



/* Footer */
.footer {
  background: #020617;
  padding: 3rem 0;
  color: #94a3b8;
  border-top: 1px solid #334155;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: #94a3b8;
}

@keyframes bounce {
  0%, 20% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(15px); }
  100% { transform: translateX(-50%) translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .profile-image {
    width: 280px;
    height: 280px;
  }
}