:root {
  --bg: #f7fbff;
  --glass: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.5);
  --primary: #1d4ed8;
  --primary-600: #2563eb;
  --accent: #60a5fa;
  --text: #0f172a;
  --muted: #475569;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: radial-gradient(
      1200px 600px at 100% 0%,
      #e0f2ff 0%,
      transparent 60%
    ),
    radial-gradient(900px 500px at 0% 20%, #e6f0ff 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  padding-top: 20px; /* adjust based on navbar height */
}
.nav-blur {
  backdrop-filter: saturate(180%) blur(12px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.6)
  );
  border-bottom: 1px solid #ffffff55;
}
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero-card,
.glass,
.skill-card,
.project-card,
.award-card,
.cert-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.badge-skill {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.subtle {
  color: var(--muted);
}
.progress {
  height: 10px;
  background: #eaf1ff;
}
.progress-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.icon-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #ffffff77;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}
.project-card:hover,
.skill-card:hover,
.award-card:hover,
.cert-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(230, 239, 255, 0.8)
  );
  border-top: 1px solid #ffffff66;
}
.quick-link {
  color: var(--muted);
  text-decoration: none;
}
.quick-link:hover {
  color: var(--primary);
}
.anchor-offset::before {
  display: block;
  content: "";
  height: 78px;
  margin-top: -78px;
  visibility: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  border: 0;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}
