/* ================================
   Index page specific styles
   ================================ */

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-kicker-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

[data-theme="dark"] .hero-kicker-pill {
  background: #020617;
}

.hero-title {
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 24px;
}

/* ---------- HERO CARD ---------- */
.hero-card {
  background: var(--card-bg);
  border-radius: 26px;
  padding: 20px 20px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  text-align: center;
}

.hero-glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

[data-theme="dark"] .hero-glass {
  background: rgba(2, 6, 23, 0.6);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow:
    0 18px 45px rgba(0,0,0,.55),
    0 0 0 1px rgba(129,140,248,.25),
    0 0 24px rgba(129,140,248,.22);
}

/* ---------- PROFILE ---------- */
.profile-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

@media (max-width: 480px) {
  .profile-avatar {
    width: 480px;
    height: 480px;
  }
}

/* ---------- SECTIONS ---------- */
section {
  margin-bottom: 56px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- SPLIT ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 24px;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- PROJECTS ---------- */
.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.project-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: .92rem;
}

.project-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.project-links {
  margin-top: 6px;
  font-size: .8rem;
}
/* ---------- GLASS HOVER + ANIMATION ---------- */

/* Smooth lift on hover */
@media (hover: hover) {
  .hero-glass {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .hero-glass:hover {
    transform: translateY(-4px);
    box-shadow:
      0 20px 45px rgba(15, 23, 42, 0.25);
  }
}

/* Dark mode glow on hover */
@media (hover: hover) {
  [data-theme="dark"] .hero-glass:hover {
    box-shadow:
      0 22px 55px rgba(0, 0, 0, 0.65),
      0 0 0 1px rgba(129, 140, 248, 0.45),
      0 0 34px rgba(129, 140, 248, 0.35);
  }
}

/* Optional subtle entrance animation */
.hero-glass {
  animation: heroFadeUp 0.6s ease-out both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================================
   Awards page specific styles
   ================================ */

/* Page header */
.page-title {
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.subtitle {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 24px;
  max-width: 40rem;
}

/* Timeline container */
.award-grid {
  position: relative;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.award-grid::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(148,163,184,.4),
    rgba(79,70,229,.7)
  );
  border-radius: 999px;
}

.award-card {
  position: relative;
  margin-left: 4px;

  /* restore card visuals */
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}


.award-card::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
  box-shadow: 0 0 0 4px rgba(79,70,229,.25);
}

/* Award content */
.award-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.award-meta {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.award-badge {
  display: inline-block;
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background-image: linear-gradient(
    120deg,
    rgba(148,163,184,.18),
    var(--accent-soft),
    rgba(148,163,184,.18)
  );
  background-size: 200% 200%;
  animation: badgeShimmer 7s linear infinite;
  margin-bottom: 10px;
}

@keyframes badgeShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Award images */
.award-images {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.award-images img {
  width: 210px;
  border-radius: 10px;
  border: 1px solid var(--border);
  object-fit: cover;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .award-grid {
    padding-left: 20px;
  }
  .award-grid::before {
    left: 8px;
  }
  .award-card::before {
    left: -12px;
  }
}
/* ================================
   Credentials page specific styles
   ================================ */

.page-header {
  margin-bottom: 28px;
}

.page-kicker {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 12px;
}

/* Grid for cert cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

/* Cert content */
.cert-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: .9rem;
}

.cert-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cert-tagline {
  font-size: .8rem;
  color: var(--text-muted);
}

.tag-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .75rem;
}

/* ================================
   Contact page specific styles
   ================================ */

.layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Profile card */
.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent-soft);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.profile-headline {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
  font-size: .75rem;
}

.badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
}

/* Social links */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
  font-size: .8rem;
}

.social-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Direct contact */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-siz


