/* Highlighted recruiter terms */
.highlight {
  color: var(--accent-2);
  background: rgba(53, 232, 192, 0.13);
  font-weight: 700;
  padding: 0.08em 0.28em;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(53, 232, 192, 0.08);
  transition: background 0.2s;
}
:root {
  --bg: #050915;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --card: rgba(255, 255, 255, 0.03);
  --text: #e7ecff;
  --muted: #9eb1d8;
  --accent: #8c7bff;
  --accent-2: #35e8c0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --gradient: linear-gradient(120deg, #8c7bff 0%, #35e8c0 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(140, 123, 255, 0.08), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(53, 232, 192, 0.08), transparent 30%),
              var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1100px, 92vw);
  margin: 0 auto 4rem;
  padding-top: 1.5rem;
  position: relative;
}

.navbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(53, 232, 192, 0.5);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: #fff;
}

.btn.primary {
  background-image: var(--gradient);
  box-shadow: 0 10px 30px rgba(53, 232, 192, 0.25);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
  position: relative;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 20%, rgba(53, 232, 192, 0.1), transparent 35%);
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.eyebrow {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.25;
}

.lede {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.meta {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.meta-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}

.label {
  display: inline-block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.avatar {
  position: relative;
  width: min(320px, 90%);
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(140, 123, 255, 0.35), rgba(53, 232, 192, 0.2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: none;
  display: block;
  border-radius: 24px;
  position: relative;
  z-index: 2;
}

.avatar .ring {
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.avatar .glow {
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(53, 232, 192, 0.22), transparent 50%);
  filter: blur(14px);
  z-index: 0;
}

.floating-card {
  position: absolute;
  max-width: 240px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  color: var(--text);
  animation: float 6s ease-in-out infinite;
}

.floating-card .pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.floating-card.one {
  top: 8%;
  right: -10%;
}

.floating-card.two {
  bottom: 10%;
  left: -4%;
  animation-delay: 1.6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.panel {
  margin-top: 3.5rem;
  padding-top: 0.5rem;
  position: relative;
}

.logo-marquee {
  margin-top: 2.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  overflow: hidden;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 175%;
  animation: scroll-logos 30s linear infinite;
}


.logo-tile {
  min-width: 350px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(140, 123, 255, 0.12), rgba(53, 232, 192, 0.08));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.logo-tile img {
  max-height: 75px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

@keyframes scroll-logos {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.panel-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
  display: grid;
  gap: 1.4rem;
}

.timeline-entry {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -0.7rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(53, 232, 192, 0.12);
}

.timeline-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.timeline-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  display: grid;
  gap: 0.6rem;
}

.experience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.experience-header h3 {
  margin: 0;
}

.experience-logo {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.experience-summary {
  color: var(--muted);
  line-height: 1.6;
}

.experience-summary strong {
  color: #fff;
  font-weight: 700;
}

.experience-points {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
}

.experience-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
}

.experience-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 8px rgba(53, 232, 192, 0.08);
}

.impact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(53, 232, 192, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(53, 232, 192, 0.3);
  margin-right: 0.4rem;
}

.timeline-card h3 {
  margin-bottom: 0.35rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.project-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-media {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 30%, rgba(140, 123, 255, 0.12), rgba(53, 232, 192, 0.08));
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-updated {
  font-size: 0.85rem;
  color: var(--muted);
}

.project-desc {
  color: var(--muted);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  color: #fff;
}

.project-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.project-card .btn {
  width: fit-content;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.skills-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.skill-group {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  display: grid;
  gap: 0.75rem;
}

.skill-label {
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 0.85rem;
  color: var(--muted);
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: #fff;
  font-weight: 600;
}

.contact-panel {
  padding-bottom: 3rem;
}

.contact-card {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.contact-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton .line {
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}

.skeleton .line.title {
  width: 70%;
  height: 12px;
}

.skeleton .line.short {
  width: 40%;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.error-card {
  border-color: rgba(255, 99, 99, 0.4);
  background: rgba(255, 99, 99, 0.08);
}

.muted {
  color: var(--muted);
}

@media (max-width: 860px) {
  .navbar {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
  .hero-section {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-visual {
    order: -1;
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .navbar {
    position: static;
  }
  .nav-links {
    justify-content: flex-start;
    gap: 0.7rem;
  }
  .hero-section {
    padding-top: 2rem;
  }
  .floating-card {
    display: none;
  }
  .timeline-scroll {
    max-height: 420px; /* shows ~3 entries */
    overflow-y: auto;
    padding-right: 0.5rem;
  }

  /* Smooth scrolling */
  .timeline-scroll {
    scroll-behavior: smooth;
  }

  /* Optional: nicer scrollbar (Chrome / Edge) */
  .timeline-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .timeline-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }

  .timeline-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
}
