html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(10,102,194,0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(245,158,11,0.12), transparent 55%),
    #f5f3ef; /* warm light base */
  color:#111827;
  line-height: 1.7;
}

header {
  position: relative;
  padding:64px 20px 56px;
  text-align:center;
  color:#0f172a;
  overflow: hidden;
  background: linear-gradient(135deg,#eff6ff,#fef3c7);
  border-bottom: 1px solid #e5e7eb;
}

header::before,
header::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.75;
  z-index: -1;
}

header::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(10,102,194,0.38), transparent 60%);
}

header::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(245,158,11,0.35), transparent 60%);
}

header h1 {
  margin-bottom: 6px;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
}

header p {
  margin-top: 4px;
  font-size: 1.05rem;
  opacity: 0.9;
}

.tagline {
  font-size: 1.15rem;
  font-weight: 600;
}

.subtagline {
  margin-top: 8px;
  font-size: 0.98rem;
  opacity: 0.8;
}

nav {
  text-align:center;
  padding:14px 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e5e7eb;
}

nav a {
  margin:0 12px;
  color:#374151;
  text-decoration:none;
  font-weight:600;
  position: relative;
  padding-bottom: 3px;
  font-size: 0.95rem;
}

section {
  padding:32px 24px 30px;
  margin: 32px 0;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background:#ffffff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,102,194,0.16), rgba(245,158,11,0.12));
  opacity: 0.14;
  pointer-events: none;
}

section > * {
  position: relative;
}

section h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:#0f172a;
}

section p {
  color:#4b5563;
  max-width: 56rem;
}

.card {
  background:#ffffff;
  padding:18px 18px 16px;
  margin:15px 0;
  border-radius:14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 6px;
}

ul { list-style-type:none; padding-left:0; }

main.container { max-width: 960px; margin: 0 auto; padding-bottom: 40px; }

header h1 { margin-bottom: 10px; font-size: 2.4rem; }
header p { margin-top: 0; font-size: 1.1rem; opacity: 0.9; }

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #0A66C2; /* primary accent */
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15,23,42,0.16);
  border-color: #0A66C2;
}

#work .work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

#skills .skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}

#skills .skill-card {
  min-width: 220px;
  max-width: 260px;
  padding: 18px 24px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15,23,42,0.08);
  text-align: center;
}

#skills .skill-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #111827;
}

#skills .skill-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.approach-list {
  list-style: disc;
  padding-left: 1.4rem;
}

#skills li {
  background: #eff6ff; /* light primary tint */
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid #0A66C2;
  box-shadow: 0 6px 16px rgba(148,163,184,0.4);
}

#contact a:not(.btn-linkedin) {
  color: #0A66C2;
  text-decoration: none;
  font-weight: 600;
}

#contact a:not(.btn-linkedin):hover {
  text-decoration: underline;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #0A66C2;
  background: linear-gradient(135deg,#0A66C2,#084482);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15,23,42,0.5);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.6);
  background: linear-gradient(135deg,#084482,#0A66C2);
}

main.container {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 40px;
}

footer {
  text-align: center;
  padding: 24px 20px 32px;
  font-size: 0.85rem;
  color: #6b7280;
  background: transparent;
}

footer small {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(148,163,184,0.4);
}

@media (max-width: 600px) {
  header { padding: 44px 18px 54px; }
  header h1 { font-size: 2.15rem; }
  section { padding: 26px 18px 24px; margin: 24px 0; }
}

