/* ========================================
   DAVIDSON PACKIASEELAN – CAREER PORTFOLIO
   Premium Dark Theme with Glassmorphism
   ======================================== */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0a0a0f;
  --bg-dark: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;
  --accent-1: #6c63ff;
  --accent-2: #00d4aa;
  --accent-3: #ff6b6b;
  --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #00d4aa 100%);
  --gradient-hero: linear-gradient(135deg, #6c63ff 0%, #3b82f6 50%, #00d4aa 100%);
  --gradient-card: linear-gradient(135deg, rgba(108,99,255,0.1) 0%, rgba(0,212,170,0.05) 100%);
  --shadow-glow: 0 0 40px rgba(108,99,255,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-primary);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* === BACKGROUND ORBS === */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orbFloat 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px; height: 500px;
  background: var(--accent-1);
  top: -10%; left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: var(--accent-2);
  top: 40%; right: -10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 350px; height: 350px;
  background: #3b82f6;
  bottom: 10%; left: 20%;
  animation-delay: -10s;
}

.orb-4 {
  width: 300px; height: 300px;
  background: var(--accent-3);
  top: 60%; left: 50%;
  animation-delay: -15s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(-30px, 70px) scale(0.9); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-links a.nav-cta {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 120px 24px 60px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-greeting {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 6px;
  background: var(--gradient-primary);
  position: relative;
  box-shadow: var(--shadow-glow);
  animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(108,99,255,0.15); }
  50% { box-shadow: 0 0 60px rgba(108,99,255,0.3), 0 0 100px rgba(0,212,170,0.1); }
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-dark);
  border: 4px solid var(--bg-deep);
}

/* Floating cards around profile */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.float-icon { font-size: 1.1rem; }

.float-card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.float-card-2 { bottom: 15%; left: -10%; animation-delay: -2s; }
.float-card-3 { bottom: -5%; right: 10%; animation-delay: -4s; }

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

/* Scroll Indicator */
.scroll-indicator {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  justify-content: center;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 10px;
  background: var(--accent-1);
  border-radius: 4px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(255
, 255, 255, 0.01);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: var(--gradient-primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 4px;
  margin: 0 auto;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--text-primary);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Highlight Grid */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.highlight-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(108,99,255,0.3);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  color: var(--accent-1);
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 6px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--accent-1);
  position: relative;
  z-index: 2;
}

.timeline-dot.current {
  background: var(--accent-1);
  box-shadow: 0 0 0 6px rgba(108,99,255,0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(108,99,255,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(108,99,255,0.1); }
}

.timeline-content {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.timeline-content:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108,99,255,0.2);
  box-shadow: var(--shadow-glow);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 6px 0 4px;
}

.timeline-company {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.timeline-company svg {
  flex-shrink: 0;
  color: var(--accent-1);
}

.timeline-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0,212,170,0.15);
  color: var(--accent-2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.timeline-details {
  list-style: none;
  margin-top: 16px;
}

.timeline-details li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.timeline-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
}

/* === SKILLS === */
.skills-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.skill-category {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.skill-category:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108,99,255,0.2);
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.skill-cat-title svg {
  color: var(--accent-1);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 7px 16px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(108,99,255,0.18);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Languages */
.languages {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}

.lang-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lang-item { width: 100%; }

.lang-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.lang-info span:first-child { font-weight: 600; color: var(--text-primary); }
.lang-info span:last-child { color: var(--text-muted); }

.lang-bar {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
}

.lang-fill {
  height: 100%;
  width: var(--fill);
  background: var(--gradient-primary);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === EDUCATION === */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.edu-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.edu-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(108,99,255,0.3);
}

.edu-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: 50%;
  color: var(--accent-1);
}

.edu-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 10px 0 8px;
}

.edu-school {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.edu-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(108,99,255,0.1);
  border-radius: 100px;
  font-size: 0.85rem;
}

.score-label {
  color: var(--text-muted);
  font-weight: 500;
}

.score-value {
  color: var(--accent-1);
  font-weight: 700;
}

/* === CERTIFICATIONS === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(108,99,255,0.3);
}

.cert-featured {
  border-color: rgba(108,99,255,0.3);
  background: var(--gradient-card);
}

.cert-ribbon {
  position: absolute;
  top: 14px;
  right: -28px;
  padding: 4px 36px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
}

.cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
}

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cert-date {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  background: rgba(0,212,170,0.12);
  color: var(--accent-2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  cursor: default;
}

a.contact-card { cursor: pointer; }

.contact-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(108,99,255,0.3);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: 50%;
  color: var(--accent-1);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-word;
}

/* Personal details strip */
.personal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.personal-item {
  padding: 12px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: var(--transition);
}

.personal-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.personal-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.personal-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* === FOOTER === */
.footer {
  position: relative;
  z-index: 1;
  padding: 50px 0;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-divider {
  width: 40px;
  height: 2px;
  background: var(--border-glass);
  margin: 20px auto;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.highlight-grid .highlight-card:nth-child(2) { transition-delay: 0.1s; }
.highlight-grid .highlight-card:nth-child(3) { transition-delay: 0.2s; }
.highlight-grid .highlight-card:nth-child(4) { transition-delay: 0.3s; }

.cert-grid .cert-card:nth-child(2) { transition-delay: 0.08s; }
.cert-grid .cert-card:nth-child(3) { transition-delay: 0.16s; }
.cert-grid .cert-card:nth-child(4) { transition-delay: 0.24s; }
.cert-grid .cert-card:nth-child(5) { transition-delay: 0.32s; }
.cert-grid .cert-card:nth-child(6) { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-image { order: -1; }
  .profile-ring { width: 260px; height: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-glass);
  }

  .nav-links.active { right: 0; }
  .nav-toggle { display: flex; z-index: 1001; }

  .section { padding: 70px 0; }
  .hero { padding: 100px 24px 40px; }
  .profile-ring { width: 220px; height: 220px; }
  .float-card-1 { top: 0; right: 0; }
  .float-card-2 { bottom: 5%; left: -5%; }
  .float-card-3 { bottom: -10%; right: 5%; }

  .highlight-grid { grid-template-columns: 1fr; }
  .skills-categories { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .timeline-marker { left: -30px; }
  .timeline-content { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .personal-strip { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 20px 14px; }
  .hero-name { font-size: 2.2rem; }
}

/* === SELECTION === */
::selection {
  background: rgba(108,99,255,0.3);
  color: #fff;
}
