html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f1115;
  color: #e2e8f0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

.bg-dark-card {
  background-color: #1a1d24 !important;
}

.card {
  background-color: #1a1d24 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.progress {
  background-color: #2a2e37 !important;
  height: 8px !important;
  border-radius: 10px !important;
  overflow: visible !important;
}

.progress-bar {
  border-radius: 10px !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  width: 0; /* JS will animate this */
  transition: width 1s ease-out;
}

.bg-gradient-emerald {
  background: linear-gradient(90deg, #047857, #10b981) !important;
}

.bg-emerald {
  background-color: #10b981 !important;
}

.text-emerald { color: #10b981 !important; }
.border-emerald { border-color: #10b981 !important; }

.btn-emerald {
  background-color: #10b981 !important;
  color: #0f1115 !important;
  border: none !important;
  transition: all 0.3s ease;
}

.btn-emerald:hover {
  background-color: #059669 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-outline-emerald {
  color: #10b981 !important;
  border: 1px solid #10b981 !important;
  background-color: transparent !important;
  transition: all 0.3s ease;
}

.btn-outline-emerald:hover {
  background-color: #10b981 !important;
  color: #0f1115 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.social-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
}

.letter-spacing-1 { letter-spacing: 1.5px; }

.custom-hover-card { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.custom-hover-card:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.custom-hover { transition: color 0.2s ease; }
.custom-hover:hover { color: #10b981 !important; }

.custom-hover-group:hover .icon-wrapper { background-color: rgba(16, 185, 129, 0.1) !important; }
.custom-hover-group:hover .text-emerald { transform: scale(1.1); }
.icon-wrapper { transition: all 0.3s ease; }

.avatar-glow {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
}

.border-secondary { border-color: rgba(255, 255, 255, 0.1) !important; }

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skills Hover Effect */
.skill-item {
  padding: 0.75rem 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.skill-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.skill-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.7);
  transition: all 0.3s ease;
  margin-top: 0;
}

.skill-item:hover .skill-desc {
  max-height: 40px;
  opacity: 1;
  margin-top: 0.75rem;
}
