/* Premium White Theme CEO Portfolio - Modern Edition */
:root {
  /* Dark, vivid palette: deep background with electric blue + coral accents */
  --bg-primary: #071021; /* deep navy/charcoal */
  --bg-secondary: #0b1624; /* slightly lighter section bg */
  --bg-card: #0f2233; /* card surface */
  --bg-glass: rgba(255,255,255,0.03);
  --text-primary: #f7fbff; /* near-white for body text */
  --text-secondary: #cbd5e6; /* light cool gray */
  --text-muted: #93a3b2;
  --accent-primary: #4ea1ff; /* electric blue (slightly softer) */
  --accent-secondary: #ff7b4a; /* coral */
  --accent-highlight: #9a7bff; /* purple accent */
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(255,255,255,0.04);
  --border-subtle: rgba(255,255,255,0.03);
  --glow: rgba(78,161,255,0.12);
  --shadow: rgba(0,0,0,0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 500;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  /* responsive side padding to restore comfortable spacing after deployment */
  padding: 0 clamp(16px, 3vw, 48px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 { 
  font-size: clamp(3.5rem, 8vw, 7rem); 
  background: none;
  color: var(--text-primary);
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  font-weight: 800;
}

h2 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  margin-bottom: 1.5rem; 
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

h3 { 
  font-size: 2rem; 
  margin-bottom: 1rem; 
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  font-weight: 600;
}

p { 
  margin-bottom: 1rem; 
  font-size: 1.25rem; 
  font-weight: 600;
  line-height: 1.7;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 18px 0;
  background: rgba(10,14,18,0.48); /* translucent neutral for Apple-like feel */
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: all 0.22s ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10,14,18,0.78);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  box-shadow: none;
  align-items: center;
  justify-content: space-between;
}

/* Header: menu management layout (brand | center menu | actions) */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  /* keep header padding consistent with container */
  padding: 0 clamp(16px, 3vw, 48px);
}
.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-center {
  flex: 1;
  justify-content: center;
}
.nav-right { justify-content: flex-end; }

/* Brand: Quicksand Bold for a crisp, modern identity */
.brand {
  font-family: 'Quicksand', 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 700; /* Quicksand bold */
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}
.brand span {
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
}
.nav-item { position: relative; }
.nav-item > a {
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  transition: all .18s ease;
}
.nav-item > a:hover,
.nav-item > a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 8px 30px var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: all .18s ease;
  z-index: 1200;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.02); color: var(--text-primary); }

/* Menu toggle (hamburger) */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* No header center menu required: hide center/menu toggle and mobile menu */
.nav-center { display: none !important; }
.menu-toggle { display: none !important; }
.mobile-menu { display: none !important; }
.mobile-overlay { display: none !important; }



.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.brand:hover {
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-gradient {
  display: none; /* removed decorative radial gradients */
}

.hero-pattern { display: none; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -20px) rotate(1deg); }
  66% { transform: translate(-10px, 10px) rotate(-1deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  color: var(--text-primary);
}

.title-accent {
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.metric:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.metric-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  gap: 2rem;
}

.hero-interactive {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.interactive-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  z-index: 2;
}

.grid-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: gridFloat 6s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.grid-item:nth-child(1) { animation-delay: 0s; }
.grid-item:nth-child(2) { animation-delay: 1.5s; }
.grid-item:nth-child(3) { animation-delay: 3s; }
.grid-item:nth-child(4) { animation-delay: 4.5s; }

.grid-item:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-secondary);
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 40px rgba(0,102,255,0.12);
}

.item-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.item-text {
  font-size: 1rem;
  font-weight: 700;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.expansion-timeline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 4;
  background: var(--bg-secondary);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  max-width: 100%;
  overflow: visible;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-step:hover {
  transform: translateY(-3px);
}

.step-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.timeline-step.active .step-marker {
  background: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: 0 0 18px rgba(0,102,255,0.12);
}

.timeline-step.upcoming .step-marker {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.step-flag {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
}

.step-year {
  font-size: 0.625rem;
  color: var(--accent-primary);
  font-weight: 500;
}

.timeline-step.upcoming .step-label {
  color: var(--text-secondary);
}

.timeline-step.upcoming .step-year {
  color: var(--text-muted);
}

.expansion-arrow {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 0.5rem;
}

.arrow-line {
  width: 20px;
  height: 2px;
  background: var(--accent-secondary);
  border-radius: 1px;
  position: relative;
  animation: arrowPulse 3s ease-in-out infinite;
}

.arrow-2 .arrow-line {
  background: rgba(0,0,0,0.06);
  animation: none;
}

.arrow-head {
  width: 0;
  height: 0;
  border-left: 4px solid var(--accent-primary);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  margin-left: -1px;
}

.arrow-2 .arrow-head {
  border-left-color: rgba(255, 255, 255, 0.3);
}

@keyframes arrowPulse {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(1.2); }
}

.central-logo {
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(0,102,255,0.12);
  border-radius: 50%;
  border-top: 2px solid rgba(255,107,53,0.12);
  border-right: 2px solid rgba(138,99,255,0.10);
  animation: logoRotate 15s linear infinite;
}

.logo-content {
  background: var(--bg-card);
  border: 2px solid rgba(0,102,255,0.10);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0,102,255,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo-content:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px var(--shadow);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.625rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes gridFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes elementFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-15px) rotate(2deg); 
    opacity: 1;
  }
}

@keyframes logoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.06);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(78,161,255,0.12);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,102,255,0.18);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(0,0,0,0.03);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar {
  width: 400px;
  height: 400px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: rgba(0,0,0,0.02);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.bio {
  padding-right: 2rem;
}

.bio-intro {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bio p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.metric-card {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: left 0.5s;
}

.metric-card:hover::before {
  left: 100%;
}

.metric-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow);
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Companies */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.company-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.company-card:hover::before {
  transform: scaleX(1);
}

.company-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
}

.company-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.company-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.company-meta {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.company-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.company-link:hover {
  transform: translateX(4px);
}

/* Enhanced Company Card Styles */
.company-card.featured {
  border: 2px solid var(--accent-primary);
  background: var(--bg-card);
}

.company-card.featured::before {
  background: var(--accent-primary);
  transform: scaleX(1);
}

.company-link {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(0,0,0,0.03);
  transform: translateY(-2px);
}

.company-summary {
  margin-top: 3rem;
}

.summary-card {
  padding: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
  position: relative;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-primary);
}

.summary-card h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.summary-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.company-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.company-links .btn {
  min-width: 140px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2rem);
  position: relative;
  margin-bottom: 4.5rem;
  padding-top: 2.25rem; /* make room for the year circle */
  min-height: 160px; /* avoid tight stacking */
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: calc(50% + 2rem);
  padding-right: 0;
}

.timeline-year {
  position: absolute;
  left: 50%;
  top: 1.5rem; /* place circle slightly below the top to avoid overlapping content */
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--accent-primary);
  border-radius: 50%;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 4; /* sit above content */
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.timeline-content {
  max-width: 400px;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2; /* ensure content sits below the year circle */
    margin-top: 1.5rem; /* push content below the circle */
}

.timeline-content:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.timeline-content h3 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* Awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.award-card {
  padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: left 0.5s;
}

.award-card:hover::before {
  left: 100%;
}

.award-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-6px);
  box-shadow: 0 16px 50px var(--shadow);
}

.award-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.award-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.award-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Skills */
.skills {
  background: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow);
}

.skill-category h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow);
}

/* Education */
.education {
  background: var(--bg-primary);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.education-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-primary);
}

.education-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px var(--shadow);
}

.edu-year {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.education-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.edu-institution {
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.edu-focus {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.edu-research {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

/* Media */
.media {
  background: var(--bg-secondary);
}

.press-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.press-logo {
  padding: 1rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.press-logo:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow);
}

.press-logo img {
  height: 40px;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.press-logo:hover img {
  filter: brightness(1);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.media-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-primary);
}

.media-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow);
}

.media-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.media-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.media-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.media-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.media-link:hover {
  color: var(--accent-secondary);
  transform: translateX(4px);
}

/* Video Container */
.video-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.video-wrapper:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 25px 70px var(--shadow);
  transform: translateY(-5px);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  height: fit-content;
}

.video-info h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.talk-points {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.talk-points li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.talk-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

@media (max-width: 1024px) {
  .video-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.press-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.press-logo:hover {
  border-color: var(--accent-primary);
  transform: scale(1.05);
  box-shadow: 0 12px 32px var(--shadow);
}

.press-logo img {
  height: 50px;
  width: auto;
  filter: grayscale(70%) brightness(1.2);
  transition: filter 0.3s ease;
}

.press-logo:hover img {
  filter: none;
}

.press-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.press-article {
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.press-article:hover {
  border-color: var(--accent-primary);
  transform: translateY(-6px);
}

.press-article h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.press-article p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact {
  background: var(--bg-secondary);
}

.social-verification {
  text-align: center;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.02);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px var(--shadow);
}

.social-card:hover::before {
  opacity: 1;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 32px;
  height: 32px;
}

.linkedin .social-icon { background: rgba(0, 119, 181, 0.2); color: #0077B5; }
.twitter .social-icon { background: rgba(29, 155, 240, 0.2); color: #1DA1F2; }
.facebook .social-icon { background: rgba(24, 119, 242, 0.2); color: #1877F2; }
.instagram .social-icon { background: rgba(225, 48, 108, 0.2); color: #E1306C; }
  .github .social-icon { background: rgba(255, 255, 255, 0.04); color: var(--text-primary); }
.telegram .social-icon { background: rgba(37, 109, 133, 0.2); color: #256D85; }

.social-info {
  text-align: center;
}

.social-info h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.social-info p {
  color: var(--text-muted);
github .social-icon { background: rgba(255, 255, 255, 0.04); color: var(--text-primary); }
  margin: 0 0 0.5rem 0;
}

.social-handle {
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.verification-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 200, 0, 0.2);
  color: #00C851;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.contact-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.contact-section h3 {
  color: var(--accent-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.email-contact {
  display: flex;
  justify-content: center;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: var(--bg-card);
}

.email-link:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow);
}

.email-link svg {
  width: 20px;
  height: 20px;
}

.contact-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-list li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
  border-left: 3px solid var(--accent-primary);
}

.contact-list a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.site-footer .container {
  text-align: left;
}

.site-footer small {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bio {
    padding-right: 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    padding-right: 0;
    padding-left: 3rem;
    justify-content: flex-start;
  }

  .timeline-item:nth-child(even) {
    padding-left: 3rem;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-year {
    left: 1rem;
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
  }

  .timeline::before {
    left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  /* Hero responsive */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hero-visual {
    height: auto;
    order: -1;
    gap: 1.5rem;
  }

  .hero-interactive {
    width: 280px;
    height: 280px;
  }

  .interactive-grid {
    gap: 1rem;
  }

  .grid-item {
    padding: 1rem;
  }

  .item-icon {
    font-size: 1.5rem;
  }

  .item-text {
    font-size: 0.75rem;
  }

  .expansion-timeline {
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    width: 95%;
    flex-wrap: wrap;
  }

  .central-logo {
    width: 80px;
    height: 80px;
  }

  .logo-ring {
    width: 100px;
    height: 100px;
  }

  .logo-content {
    width: 70px;
    height: 70px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-subtitle {
    font-size: 0.5rem;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-stats,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .companies-grid,
  .awards-grid,
  .media-grid,
  .skills-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .company-links {
    flex-direction: column;
    align-items: center;
  }

  .summary-card {
    padding: 2rem;
  }

  .timeline-content {
    max-width: none;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  
  section {
    padding: 4rem 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.modal-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.modal-close {
  margin: 0 auto;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  border: none;
  border-radius: 50%;
  color: var(--bg-primary);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 20px var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow);
}

/* Scrolled header state */
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10,14,18,0.78);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  border-bottom: 1px solid var(--border-subtle);
}

/* Enhanced form states */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

/* Gradient text animation */
.gradient-text {
  color: var(--accent-primary);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  animation: none;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Social verification responsive styles */
@media (max-width: 768px) {
  .verification-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .social-card {
    padding: 1.25rem;
  }
  
  .contact-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .email-link {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}