/* Apple-Inspired Academic Portfolio - Geometric Precision */
/* Using system fonts for perfect Apple-style rendering */

/* CodePen Portfolio Design Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Apple-Inspired Academic Portfolio - Clean Reset */
* {
  box-sizing: border-box;
}

*:focus {
  outline: 2px solid var(--foreground);
  outline-offset: var(--grid-1);
}

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

/* Apple-Inspired Design System - 8px Grid Foundation */
:root {
  /* Minimal Color Palette - Apple Inspired */
  --pure-black: #000000;
  --pure-white: #ffffff;
  --subtle-gray: #f5f5f5;
  
  /* CodePen Portfolio Design Colors */
  --primary-color: #5361ff;
  --white-color: #fafaff;
  --dark-color: #2a3b47;
  --text-color: #697477;
  
  /* Base colors derived from minimal palette */
  --background: var(--pure-white);
  --foreground: var(--pure-black);
  --surface: var(--subtle-gray);
  --border: rgba(0, 0, 0, 0.1);
  --border-subtle: rgba(0, 0, 0, 0.05);
  
  /* Apple-style Typography System */
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  --font-montserrat: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* CodePen Typography Sizes */
  --h2-font-size: 1.25rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  
  /* CodePen Spacing */
  --mb1: 0.5rem;
  --mb2: 1rem;
  --mb3: 1.5rem;
  --mb4: 2rem;
}

/* CodePen Responsive Typography */
@media screen and (min-width: 768px) {
  :root {
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
  }
}

:root {
  /* 8px Base Grid System */
  --grid-base: 8px;
  --grid-1: calc(var(--grid-base) * 1);  /* 8px */
  --grid-2: calc(var(--grid-base) * 2);  /* 16px */
  --grid-3: calc(var(--grid-base) * 3);  /* 24px */
  --grid-4: calc(var(--grid-base) * 4);  /* 32px */
  --grid-6: calc(var(--grid-base) * 6);  /* 48px */
  --grid-8: calc(var(--grid-base) * 8);  /* 64px */
  --grid-10: calc(var(--grid-base) * 10); /* 80px */
  --grid-12: calc(var(--grid-base) * 12); /* 96px */
  --grid-16: calc(var(--grid-base) * 16); /* 128px */
  --grid-20: calc(var(--grid-base) * 20); /* 160px */
  --grid-24: calc(var(--grid-base) * 24); /* 192px */
  
  /* Precise Typography Scale */
  --text-xs: 14px;
  --text-sm: 16px;
  --text-base: 20px;
  --text-lg: 24px;
  --text-xl: 32px;
  --text-2xl: 48px;
  --text-3xl: 64px;
  
  /* Perfect Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.4;
  --leading-relaxed: 1.6;
  
  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  
  /* Container Constraints */
  --container-max: 1920px;
  --content-max: 1200px;
  --text-max: 600px;
  
  /* 12-Column Grid */
  --grid-columns: 12;
  --grid-gutter: var(--grid-3); /* 24px gutters */
  --grid-margin: var(--grid-4); /* 32px margins */
  
  /* Geometric Elements */
  --line-width: 1px;
  --border-radius: var(--grid-1); /* 8px */
  --border-radius-lg: var(--grid-2); /* 16px */
  
  /* MISSING ACADEMIC COLORS - Add these */
  --academic-blue: #71a9eb;
  --academic-blue-light: #9bc3f0;
  --academic-success: #10b981;
  
  /* MISSING UI VARIABLES - Add these */
  --muted-foreground: rgba(0, 0, 0, 0.6);
  --text-subtle: rgba(0, 0, 0, 0.6);
  --card: var(--surface);
  --muted: var(--surface);
  --accent: rgba(113, 169, 235, 0.1);
  --primary: var(--academic-blue);
  --primary-foreground: var(--pure-white);
  --radius: var(--border-radius);
  --ring: var(--academic-blue);
  
  /* MISSING SHADOW SYSTEM - Add these */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* MISSING SPACING SYSTEM - Add these */
  --spacing-sm: var(--grid-2);   /* 16px */
  --spacing-md: var(--grid-4);   /* 32px */
  --spacing-lg: var(--grid-6);   /* 48px */
  --spacing-xl: var(--grid-8);   /* 64px */
  --spacing-2xl: var(--grid-12); /* 96px */
  --spacing-3xl: var(--grid-16); /* 128px */
}

/* Apple-Style Geometric Grid System */
.grid-container {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: var(--grid-gutter);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

/* Grid Visual Guides - Subtle overlay lines */
.grid-guides {
  position: relative;
}

.grid-guides::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, var(--border-subtle) var(--line-width), transparent var(--line-width)),
    linear-gradient(to bottom, var(--border-subtle) var(--line-width), transparent var(--line-width));
  background-size: var(--grid-8) var(--grid-8);
  pointer-events: none;
  opacity: 0.3;
  z-index: -1;
}

/* Column Spans */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* 8px Grid Spacing Utilities */
.space-1 { margin: var(--grid-1); }
.space-2 { margin: var(--grid-2); }
.space-3 { margin: var(--grid-3); }
.space-4 { margin: var(--grid-4); }
.space-6 { margin: var(--grid-6); }
.space-8 { margin: var(--grid-8); }

.space-y-1 > * + * { margin-top: var(--grid-1); }
.space-y-2 > * + * { margin-top: var(--grid-2); }
.space-y-3 > * + * { margin-top: var(--grid-3); }
.space-y-4 > * + * { margin-top: var(--grid-4); }
.space-y-6 > * + * { margin-top: var(--grid-6); }
.space-y-8 > * + * { margin-top: var(--grid-8); }

.pad-1 { padding: var(--grid-1); }
.pad-2 { padding: var(--grid-2); }
.pad-3 { padding: var(--grid-3); }
.pad-4 { padding: var(--grid-4); }
.pad-6 { padding: var(--grid-6); }
.pad-8 { padding: var(--grid-8); }

/* Geometric Helper Elements */
.geo-line {
  height: var(--line-width);
  background: var(--border);
  width: 100%;
}

.geo-line-vertical {
  width: var(--line-width);
  background: var(--border);
  height: 100%;
}

.geo-dot {
  width: var(--grid-1);
  height: var(--grid-1);
  background: var(--foreground);
  border-radius: 50%;
}

.geo-dot-subtle {
  width: var(--grid-1);
  height: var(--grid-1);
  background: var(--border);
  border-radius: 50%;
}

/* Geometric Content Flow Connectors */
.content-flow-connector {
  position: relative;
  padding: var(--grid-4) 0;
}

.content-flow-connector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--line-width);
  height: 100%;
  background: var(--border-subtle);
  z-index: 0;
}

.content-flow-connector .flow-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--grid-1);
  height: var(--grid-1);
  background: var(--foreground);
  border-radius: 50%;
  z-index: 1;
}

/* Geometric Breadcrumb System */
.geometric-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--grid-2);
  margin-bottom: var(--grid-4);
}

.breadcrumb-item {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  position: relative;
}

.breadcrumb-item.active {
  color: var(--foreground);
}

.breadcrumb-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--grid-2) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: var(--grid-1);
  height: var(--line-width);
  background: var(--border);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: var(--grid-4);
  right: var(--grid-4);
  width: var(--grid-6);
  height: var(--grid-6);
  background: var(--foreground);
  color: var(--background);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Grid Breakpoints with Mobile Geometric Adjustments */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(6, 1fr);
    padding: 0 var(--grid-2);
  }
  
  .col-sm-1 { grid-column: span 1; }
  .col-sm-2 { grid-column: span 2; }
  .col-sm-3 { grid-column: span 3; }
  .col-sm-4 { grid-column: span 4; }
  .col-sm-5 { grid-column: span 5; }
  .col-sm-6 { grid-column: span 6; }
  
  .scroll-to-top {
    bottom: var(--grid-3);
    right: var(--grid-3);
    width: var(--grid-5);
    height: var(--grid-5);
  }
  
  /* Hide complex geometric elements on mobile */
  .grid-guides::before,
  .achievements-static-grid::before {
    display: none;
  }
  
  .section-progress {
    display: none;
  }
  
  .story-timeline-line {
    display: none;
  }
  
  /* Simplify geometric elements on mobile */
  .hero-geometric-frame::before,
  .hero-geometric-frame::after {
    display: none;
  }
  
  .achievement-card-static:not(:last-child)::after {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(8, 1fr);
    padding: 0 var(--grid-3);
  }
  
  .col-md-1 { grid-column: span 1; }
  .col-md-2 { grid-column: span 2; }
  .col-md-3 { grid-column: span 3; }
  .col-md-4 { grid-column: span 4; }
  .col-md-5 { grid-column: span 5; }
  .col-md-6 { grid-column: span 6; }
  .col-md-7 { grid-column: span 7; }
  .col-md-8 { grid-column: span 8; }
}

/* Apple-Style Card System */
.card {
  background: var(--surface);
  border: var(--line-width) solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--grid-4);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 var(--grid-1) var(--grid-3) rgba(0, 0, 0, 0.1);
}

.card-clean {
  background: var(--pure-white);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: var(--grid-6);
  box-shadow: 0 var(--grid-1) var(--grid-2) rgba(0, 0, 0, 0.05);
}

/* Apple-Style Section Layouts with Geometric Dividers */
.section {
  padding: var(--grid-12) 0;
  position: relative;
}

.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--grid-8);
  height: var(--line-width);
  background: var(--border-subtle);
}

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--grid-16) 0;
  position: relative;
}

/* Geometric Frame for Hero Content */
.hero-geometric-frame {
  position: relative;
  padding: var(--grid-6);
  border: var(--line-width) solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  background: var(--pure-white);
}

.hero-geometric-frame::before,
.hero-geometric-frame::after {
  content: '';
  position: absolute;
  width: var(--grid-3);
  height: var(--grid-3);
  border: var(--line-width) solid var(--border);
}

.hero-geometric-frame::before {
  top: -var(--grid-1);
  left: -var(--grid-1);
  border-bottom: none;
  border-right: none;
}

.hero-geometric-frame::after {
  bottom: -var(--grid-1);
  right: -var(--grid-1);
  border-top: none;
  border-left: none;
}

/* Utility Classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.text-center { text-align: center; }

/* Spacing */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-16 > * + * { margin-top: 4rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* Additional utility classes */
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.tracking-wide { letter-spacing: 0.025em; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.italic { font-style: italic; }
.leading-relaxed { line-height: 1.625; }
.w-32 { width: 8rem; }
.h-1 { height: 0.25rem; }
.justify-center { justify-content: center; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }

/* Text sizes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

/* Spacing */
.w-24 { width: 6rem; }
.h-half { height: 0.125rem; }

/* Letter spacing */
.tracking-widest { letter-spacing: 0.1em; }

/* Elegant Hero Section Styles */
.hero-elegant {
  min-height: 100vh;
  padding: 6rem 0 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-elegant-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Compact Hero Section */
.hero-professional {
    background: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
}

.hero-professional::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #000000 50%, transparent);
}

.hero-professional-container {
    max-width: none;
    margin: 0;
    padding: 0;
    /* Full width container - no clipping of scrolling text */
    overflow: visible;
    width: 100%;
}

/* Container styling complete */

/* Compact Typography */
.hero-quotes {
  text-align: center;
    margin: 0 auto 4rem auto;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-quote-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #000000;
    margin: 0 0 3rem 0;
    letter-spacing: -0.01em;
    font-style: normal;
}

.hero-quote-secondary {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
    color: #666666;
  margin: 0;
    font-style: normal;
    max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Back-and-Forth Auto-Scroll Container */
.achievement-matrix {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    padding: 2rem 0;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    /* Performance */
    will-change: scroll-position;
    /* Ensure visibility */
    opacity: 1;
    visibility: visible;
}

/* Hide scrollbar for Webkit browsers */
.achievement-matrix::-webkit-scrollbar {
    display: none;
}

/* No CSS animations needed - using JavaScript scrollLeft */

/* Accessibility - Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .achievement-matrix {
        animation-play-state: paused;
    }
    
    .achievement-item {
        transform: none !important;
    }
    
    .achievement-item:hover {
        transform: none !important;
    }
}

/* No scrollbar needed for auto-scroll */

.achievement-item {
    background: transparent;
    padding: 0;
  text-align: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 150px;
    width: 150px;
    flex-shrink: 0;
    white-space: nowrap;
}

.achievement-item:hover {
    /* No hover effects - plain text only */
}

.achievement-item:focus-within {
    /* No focus effects - plain text only */
}

.achievement-metric {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    color: #000000;
    line-height: 1;
  margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.achievement-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Responsive Ultra-Wide Auto-Scroll - No Cut-offs */
@media (max-width: 768px) {
  .hero-professional {
        padding: 3rem 0 2rem;
  }
  
  .hero-quotes {
        margin-bottom: 3rem;
    }
    
    .achievement-matrix {
        gap: 2rem;
        max-width: 100%;
    }
    
    .achievement-item {
        min-width: 120px;
        width: 120px;
        padding: 0;
    }
    
    .achievement-metric {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 480px) {
    .hero-professional {
        padding: 2rem 0 1.5rem;
    }
    
    .hero-quotes {
        margin-bottom: 2rem;
    }
    
    .achievement-matrix {
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .achievement-item {
        min-width: 100px;
        width: 100px;
        padding: 0;
    }
    
    .achievement-metric {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }
    
    .achievement-label {
        font-size: 0.6rem;
    }
}

/* Mobile animation keyframes */
/* Removed old complex keyframes - using simple scroll now */

/* Elegant Subtitle */
.hero-elegant-subtitle {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--grid-4);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

/* Elegant Title Section */
.hero-elegant-title-section {
  margin-bottom: 3rem;
}

.hero-elegant-name {
  font-family: var(--font-system);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--foreground);
  margin: 0 0 var(--grid-3) 0;
}

.hero-elegant-underline {
  width: var(--grid-8);
  height: var(--line-width);
  background: var(--border);
  margin: 0 auto;
}

/* Elegant Quotes */
.hero-elegant-quotes {
  max-width: 700px;
  margin: 0 auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.hero-elegant-quotes > * + * {
  margin-top: 2rem;
}

.hero-elegant-quote-main {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0 0 2rem 0;
  padding: 0;
  quotes: none;
}

.hero-elegant-quote-secondary {
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0 0 1.5rem 0;
  padding: 0;
  quotes: none;
}

.hero-elegant-attribution {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--foreground);
  font-style: normal;
  margin-top: var(--grid-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Inline Achievement Cards - Auto Scroll Container - Bottom Positioned */
.achievements-grid-inline {
  display: flex;
  overflow: hidden;
  width: 100vw;
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  padding: 2rem;
  margin: 0;
}

/* Subtle fade edges for visual indication */
.achievements-grid-inline::before,
.achievements-grid-inline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.achievements-grid-inline::before {
  left: 0;
  background: linear-gradient(to right, var(--background) 0%, transparent 100%);
}

.achievements-grid-inline::after {
  right: 0;
  background: linear-gradient(to left, var(--background) 0%, transparent 100%);
}

.achievements-scroll-container {
  display: flex;
  animation: autoScroll 56s linear infinite;
  width: calc(200% + 4rem);
}

.achievements-grid-inline .achievement-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.5rem 0.5rem;
  text-align: center;
  margin: 0 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 0 0 calc(100% / 7);
  min-width: calc(100% / 7 - 4px);
}

/* Hover to pause animation */
.achievements-grid-inline:hover .achievements-scroll-container {
  animation-play-state: paused;
}

/* Add a subtle cursor hint */
.achievements-grid-inline {
  cursor: pointer;
}

/* Smooth transition for pause state */
.achievements-scroll-container {
  transition: transform 0.3s ease-out;
}

/* Auto-scroll keyframe animation - ONLY animation allowed */
@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.achievements-grid-inline .achievement-number {
  font-family: var(--font-system);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-subtle);
  line-height: var(--leading-tight);
  margin-bottom: var(--grid-2);
  letter-spacing: var(--tracking-tight);
}

.achievements-grid-inline .achievement-title {
  font-family: var(--font-system);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: var(--grid-1);
  line-height: var(--leading-normal);
}

.achievements-grid-inline .achievement-subtitle {
  font-family: var(--font-system);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-subtle);
  line-height: var(--leading-normal);
}


/* Hero Achievements Section */
.hero-achievements {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.achievements-header {
  text-align: center;
  margin-bottom: 3rem;
}

.achievements-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--grid-2);
}

.achievements-title {
  font-family: var(--font-system);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(113, 169, 235, 0.3);
  transform: translateY(-4px);
}

.achievement-number {
  font-family: var(--font-system);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--foreground);
  line-height: var(--leading-tight);
  margin-bottom: var(--grid-2);
  letter-spacing: var(--tracking-tight);
}

.achievement-title {
  font-family: var(--font-system);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: var(--grid-1);
  line-height: var(--leading-normal);
}

.achievement-subtitle {
  font-family: var(--font-system);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-subtle);
  line-height: var(--leading-normal);
}

/* Elegant Hero Responsive Design */
@media (max-width: 1024px) {
  .hero-elegant {
    min-height: 100vh;
    padding: 5rem 0 0;
  }
  
  .hero-elegant-content {
    min-height: 80vh;
    justify-content: flex-end;
    padding-bottom: 5rem;
  }
  
  .hero-elegant-name {
    font-size: 3.5rem;
  }
  
  .hero-ghost-text {
    position: fixed;
    font-size: clamp(3rem, 10vw, 8rem);
    color: rgba(255, 255, 255, 0.25);
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    text-align: center;
  }
  
  .hero-elegant-quote-main {
    font-size: 1rem;
  }
  
  .hero-elegant-quote-secondary {
    font-size: 0.95rem;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .achievement-number {
    font-size: 2.5rem;
  }
  
  .achievements-title {
    font-size: 1.75rem;
  }
  
  .achievements-grid-inline {
    width: 100vw;
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    padding: 1.5rem;
    margin: 0;
  }
  
  .achievements-scroll-container {
    animation: autoScroll 32s linear infinite;
    width: calc(200% + 2rem);
  }
  
  .achievements-grid-inline .achievement-card {
    padding: 1.25rem 0.4rem;
    margin: 0 1px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    flex: 0 0 calc(100% / 4);
    min-width: calc(100% / 4 - 2px);
  }
  
  .achievements-grid-inline .achievement-number {
    font-size: var(--text-lg);
    color: var(--text-subtle);
  }
  
  .achievements-grid-inline .achievement-title {
    font-size: 0.8rem;
  }
  
  .achievements-grid-inline .achievement-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
  }
}

@media (max-width: 768px) {
  .hero-elegant {
    padding: 4rem 0 0;
    min-height: 100vh;
  }
  
  .hero-elegant-container {
    padding: 0 1rem;
  }
  
  .hero-elegant-content {
    min-height: 85vh;
    justify-content: flex-end;
    padding-bottom: 4rem;
  }
  
  .hero-ghost-text {
    position: fixed;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.02em;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    text-align: center;
  }
  
  .hero-elegant-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-elegant-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-elegant-title-section {
    margin-bottom: 2rem;
  }
  
  .hero-elegant-quote-main {
    font-size: 0.95rem;
  }
  
  .hero-elegant-quote-secondary {
    font-size: 0.85rem;
  }
  
  .hero-elegant-quotes {
    margin-bottom: 2rem;
  }
  
  .hero-elegant-quotes > * + * {
    margin-top: 1.5rem;
  }
  
  .hero-elegant-underline {
    width: 70px;
  }
  
  
  .hero-achievements {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .achievements-header {
    margin-bottom: 2rem;
  }
  
  .achievements-title {
    font-size: 1.5rem;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .achievement-card {
    padding: 1.5rem 1rem;
  }
  
  .achievement-number {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .achievement-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  
  .achievement-subtitle {
    font-size: 0.8rem;
  }
  
  .achievements-grid-inline {
    width: 100vw;
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    margin: 0;
  }
  
  .achievements-scroll-container {
    animation: autoScroll 16s linear infinite;
    width: calc(200% + 1rem);
  }
  
  .achievements-grid-inline .achievement-card {
    padding: 1.25rem 0.4rem;
    margin: 0 1px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    flex: 0 0 calc(100% / 2);
    min-width: calc(100% / 2 - 2px);
  }
  
  .achievements-grid-inline .achievement-number {
    font-size: var(--text-sm);
    margin-bottom: var(--grid-1);
    color: var(--text-subtle);
  }
  
  .achievements-grid-inline .achievement-title {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }
  
  .achievements-grid-inline .achievement-subtitle {
    font-size: 0.65rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.6);
  }
}

.tag-minimal {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2rem;
  transition: all 0.2s ease;
}

.tag-minimal:hover {
  border-color: var(--academic-blue);
  color: var(--academic-blue);
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-quote {
    font-size: 1rem;
  }
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

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

body {
  font-family: var(--font-system);
  background-color: var(--background);
  color: var(--foreground);
  line-height: var(--leading-normal);
  font-size: var(--text-sm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Apple-Style Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-system);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0;
  color: var(--foreground);
}

h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--grid-6);
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--grid-4);
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--grid-3);
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--grid-2);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--foreground);
  margin: 0 0 var(--grid-3) 0;
}

.text-subtle {
  color: rgba(0, 0, 0, 0.6);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }


/* Apple-Style Layout System */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--grid-4);
}

/* Section Progress Dots */
.section-progress {
  position: fixed;
  right: var(--grid-4);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: var(--grid-2);
}

.section-progress-dot {
  width: var(--grid-1);
  height: var(--grid-1);
  background: var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.section-progress-dot.active {
  background: var(--foreground);
  transform: scale(1.2);
}

.section-progress-dot::before {
  content: '';
  position: absolute;
  right: var(--grid-3);
  top: 50%;
  transform: translateY(-50%);
  width: var(--grid-2);
  height: var(--line-width);
  background: var(--border-subtle);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.section-progress-dot.active::before {
  opacity: 1;
  background: var(--foreground);
}

.container-wide {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--grid-6);
}

.container-text {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 0 var(--grid-3);
}

.font-mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-8 { grid-column: span 8 / span 8; }

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: var(--spacing-md); }
.gap-6 { gap: var(--spacing-lg); }
.gap-8 { gap: var(--spacing-xl); }
.gap-12 { gap: var(--spacing-2xl); }
.gap-16 { gap: var(--spacing-3xl); }

/* Spacing */
.space-y-2 > * + * { margin-top: var(--spacing-sm); }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: var(--spacing-md); }
.space-y-6 > * + * { margin-top: var(--spacing-lg); }
.space-y-8 > * + * { margin-top: var(--spacing-xl); }
.space-y-12 > * + * { margin-top: var(--spacing-2xl); }
.space-y-16 > * + * { margin-top: var(--spacing-3xl); }

.py-6 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-8 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.py-12 { padding-top: var(--spacing-2xl); padding-bottom: var(--spacing-2xl); }
.py-16 { padding-top: var(--spacing-3xl); padding-bottom: var(--spacing-3xl); }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-6 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-8 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }

.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: 0.75rem; }
.p-4 { padding: var(--spacing-md); }
.p-6 { padding: var(--spacing-lg); }
.p-8 { padding: var(--spacing-xl); }

.mt-8 { margin-top: var(--spacing-xl); }
.mt-0 { margin-top: 0; }

/* Apple-Style Navigation with Geometric Guides */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: var(--line-width) solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Geometric Navigation Progress Line */
.navbar::after {
  content: '';
  position: absolute;
  bottom: -var(--line-width);
  left: 0;
  height: var(--line-width);
  background: var(--foreground);
  transition: width 0.3s ease;
  width: 0;
}

.navbar.progress-25::after { width: 25%; }
.navbar.progress-50::after { width: 50%; }
.navbar.progress-75::after { width: 75%; }
.navbar.progress-100::after { width: 100%; }

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  height: 4rem; /* Fixed height to prevent layout shift */
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center; /* Ensure consistent vertical alignment */
  height: 2.5rem; /* Fixed height to prevent layout shift */
}

.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
  line-height: 1.2; /* Consistent line height */
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--foreground);
}

/* Geometric Navigation Dots */
/* Brand/Logo Consistent Styling */
.nav-brand {
  flex-shrink: 0; /* Prevent shrinking */
}

.nav-brand a {
  color: var(--foreground);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.nav-brand a:hover {
  opacity: 0.8;
}

/* Positioning navigation links */
.nav-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 0.3rem; /* Reduced space for closer dot positioning */
}

/* Navigation dots positioned below text */
.nav-links a::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.05rem; /* Very minimal space - almost touching */
  width: var(--grid-1);
  height: var(--grid-1);
  background: var(--border-subtle);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.2s ease;
}

.nav-links a:hover::before {
  opacity: 0.5;
  background: var(--foreground);
}

.nav-links a.active::before {
  opacity: 1;
  background: var(--foreground);
}

/* Apple-Inspired Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff; /* Solid white background - no transparency */
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-top: 0.75rem;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px) scale(0.95);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  color: #1a1a1a; /* Force dark text on light background */
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-section {
  display: flex;
  flex-direction: column;
}

.dropdown-title {
  font-family: var(--font-system);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a; /* Dark text for light dropdown */
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 0.5rem;
}

.dropdown-submenu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-submenu li a {
  display: block;
  color: #666666; /* Muted dark text */
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.dropdown-submenu li a:hover {
  color: #1a1a1a; /* Darker on hover */
  background: rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.dropdown-submenu li a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 12px;
  background: #1a1a1a; /* Dark accent line */
  border-radius: 1px;
  opacity: 1;
}

/* Responsive dropdown adjustments */
@media (max-width: 1023px) {
  .dropdown-menu {
    min-width: 500px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-dropdown {
    display: none; /* Hide desktop dropdown on mobile */
  }
  
  .dropdown-menu {
    display: none !important;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .dropdown-menu {
    min-width: 450px;
    padding: 1.25rem;
    gap: 1.5rem;
  }
  
  .dropdown-submenu li a {
    font-size: 0.75rem;
    padding: 0.3125rem 0.625rem;
  }
  
  .dropdown-title {
    font-size: 0.8125rem;
    margin-bottom: 0.625rem;
  }
}

/* Force light theme for dropdown - always white/light regardless of system preference */
.dropdown-menu {
  background: #ffffff !important; /* Solid white - no transparency */
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  color: #1a1a1a !important;
}

.dropdown-title {
  color: #1a1a1a !important;
  border-bottom-color: rgba(0, 0, 0, 0.15) !important;
}

.dropdown-submenu li a {
  color: #666666 !important;
}

.dropdown-submenu li a:hover {
  color: #1a1a1a !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

/* LinkedIn Header Icon */
.linkedin-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 6px;
  margin-right: 1rem;
}

.linkedin-header:hover {
  color: var(--academic-blue);
  background: rgba(113, 169, 235, 0.1);
  transform: translateY(-1px);
}

.linkedin-header svg {
  width: 20px;
  height: 20px;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background);
  z-index: 100;
  padding: 2rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  list-style: none;
  margin-top: 4rem;
}

.mobile-nav-links a {
  font-size: 1.5rem;
  color: var(--foreground);
  text-decoration: none;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5rem;
  color: var(--foreground);
  text-decoration: none;
  width: 100%;
}

.mobile-dropdown-arrow {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  background: #ffffff; /* Solid white background - no transparency */
  border-radius: 0.75rem;
  margin: 1rem 0 0 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 800px;
  padding: 1.5rem;
}

.mobile-dropdown-section {
  margin-bottom: 1.5rem;
}

.mobile-dropdown-section:last-child {
  margin-bottom: 0;
}

.mobile-dropdown-title {
  font-family: var(--font-system);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.mobile-dropdown-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-dropdown-section ul li a {
  display: block;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-left: 0.5rem;
}

.mobile-dropdown-section ul li a:hover {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.mobile-dropdown-section ul li a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 16px;
  background: var(--foreground);
  border-radius: 1px;
  opacity: 1;
}

/* Side Navigation Dots - Hidden for cleaner look */
.side-nav {
  display: none;
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  flex-direction: column;
  gap: 1rem;
}

.side-nav-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--muted-foreground);
  opacity: 0.2;
  cursor: pointer;
  transition: all 0.5s ease;
}

.side-nav-dot.active {
  background: var(--foreground);
  opacity: 0.6;
}

.side-nav-dot:hover {
  opacity: 0.4;
}

/* Sections */
.section {
  padding: var(--grid-12) 0;
  position: relative;
  display: block;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-title {
  margin-bottom: var(--spacing-xl);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  line-height: 1.7;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--academic-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--muted-foreground);
  box-shadow: var(--shadow-lg);
}

/* Modern Publication Gallery - Apple Inspired Design */
.publication-gallery {
  padding: 8rem 0;
  background: var(--background);
  position: relative;
}

.publication-gallery-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Gallery Header */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.gallery-title-section {
  flex: 1;
  min-width: 300px;
}

.gallery-title {
  font-family: var(--font-system);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.gallery-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 32rem;
}

/* Category Filters */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--foreground);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

/* Publications Grid - Compact Layout */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Publication Cards - Compact Clean White Design */
.publication-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.publication-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 
    0 20px 40px -8px rgba(0, 0, 0, 0.15),
    0 12px 24px -4px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.08);
}

/* Featured Publication Card - Compact */
.publication-card.featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #ffffff;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

.publication-card.featured:hover {
  transform: translateY(-12px) scale(1.01);
}

/* Visual elements removed - cards are now icon-free and compact */

.publication-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 1rem;
  align-self: flex-start;
}

/* Publication Content - Compact */
.publication-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.publication-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.publication-year {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.publication-type {
  font-size: 0.75rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.publication-title {
  font-family: var(--font-system);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.publication-card.featured .publication-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.publication-description {
  color: #666666;
  line-height: 1.5;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

.publication-venue {
  font-size: 0.75rem;
  color: #4a90e2;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.publication-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.publication-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  position: relative;
}

.publication-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.publication-link:hover {
  color: #4a90e2;
}

.publication-link:hover::after {
  transform: translateX(4px);
}

.publication-impact {
  font-size: 0.75rem;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-weight: 500;
}

/* Gallery Footer */
.gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 2rem;
}

.gallery-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-system);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-view-all {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.gallery-view-all:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-view-all svg {
  transition: transform 0.2s ease;
}

.gallery-view-all:hover svg {
  transform: translateX(4px);
}

/* Publication Gallery Responsive Design */
@media (max-width: 1024px) {
  .publication-gallery {
    padding: 6rem 0;
  }
  
  .publication-gallery-container {
    padding: 0 1.5rem;
  }
  
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .gallery-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  
  .publications-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .publication-card.featured {
    display: flex;
    flex-direction: column;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .publication-gallery {
    padding: 4rem 0;
  }
  
  .publication-gallery-container {
    padding: 0 1rem;
  }
  
  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .publications-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .publication-card {
    padding: 1rem;
    border-radius: 0.75rem;
  }
  
  .publication-card.featured {
    padding: 1.25rem;
  }
  
  .gallery-footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .gallery-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-btn {
    text-align: center;
    padding: 0.625rem 1rem;
  }
  
  .publication-card {
    padding: 0.75rem;
    border-radius: 0.5rem;
  }
  
  .publication-card.featured {
    padding: 1rem;
  }
  
  .publication-title {
    font-size: 1rem;
  }
  
  .publication-card.featured .publication-title {
    font-size: 1.25rem;
  }
  
  .publication-description {
    font-size: 0.8125rem;
  }
}

/* Publication Gallery Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Initial state for animations */
.publication-card {
  opacity: 0;
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.publication-card:nth-child(1) { animation-delay: 0.1s; }
.publication-card:nth-child(2) { animation-delay: 0.2s; }
.publication-card:nth-child(3) { animation-delay: 0.3s; }
.publication-card:nth-child(4) { animation-delay: 0.4s; }
.publication-card:nth-child(5) { animation-delay: 0.5s; }
.publication-card:nth-child(6) { animation-delay: 0.6s; }

/* Filter animation enhancement */
.publication-card.filtering {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.publication-card.hidden {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  pointer-events: none;
}

/* Hover state refinements */
.publication-card:hover .publication-link::after {
  transform: translateX(6px);
  opacity: 1;
}

/* Enhanced focus states for accessibility */
.filter-btn:focus {
  outline: 2px solid var(--foreground);
  outline-offset: 2px;
}

.publication-card:focus-within {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.3);
}

.work-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid transparent;
  transition: all 0.5s ease;
}

.work-item:hover {
  border-bottom-color: var(--border);
}

/* Tags & Pills */
.tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
  min-width: auto; /* Cross-browser fallback */
}

.tag:hover {
  border-color: var(--muted-foreground);
  color: var(--foreground);
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  border-color: var(--muted-foreground);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Links */
.link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--muted-foreground);
}

.link-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.link-with-arrow:hover {
  transform: translateX(0.25rem);
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--muted-foreground);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--spacing-2xl) 0;
  margin-top: var(--spacing-3xl);
}

.footer-gradient {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--background) 0%, transparent 100%);
  pointer-events: none;
}

/* ALL OTHER ANIMATIONS REMOVED - Only autoScroll allowed for achievement cards */

/* Responsive Grid Classes */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

/* Column Span Classes */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-12 { grid-column: span 12 / span 12; }

@media (min-width: 640px) {
  .sm-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
  .lg-grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
  
  .lg-col-span-1 { grid-column: span 1 / span 1; }
  .lg-col-span-2 { grid-column: span 2 / span 2; }
  .lg-col-span-3 { grid-column: span 3 / span 3; }
  .lg-col-span-4 { grid-column: span 4 / span 4; }
  .lg-col-span-5 { grid-column: span 5 / span 5; }
  .lg-col-span-8 { grid-column: span 8 / span 8; }
  .lg-col-span-12 { grid-column: span 12 / span 12; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }
  
  .linkedin-header {
    display: none;
  }

  .side-nav {
    display: none;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .hero {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-lg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-lg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-lg-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-lg-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  
  .lg-col-span-2 { grid-column: span 2 / span 2; }
  .lg-col-span-3 { grid-column: span 3 / span 3; }
  .lg-col-span-6 { grid-column: span 6 / span 6; }
}

/* Modern Interactive Excellence Section - New Design */
.excellence-modern {
  background: light-dark(#fff, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 4rem 0 6rem 0;
}

/* Fluid Typography for Title */
.excellence-fluid-title {
  --font-size-min: 22;
  --font-level: 4.25;
  --fluid-min: calc(var(--font-size-min) * pow(1.2, var(--font-level, 0)));
  --fluid-max: calc(20 * pow(1.33, var(--font-level, 0)));
  --fluid-preferred: calc((var(--fluid-max) - var(--fluid-min)) / (1500 - 375));
  --fluid-type: clamp(
    (var(--fluid-min) / 16) * 1rem,
    ((var(--fluid-min) / 16) * 1rem) - 
    (((var(--fluid-preferred) * 375) / 16) * 1rem) + 
    (var(--fluid-preferred) * 100vi),
    (var(--fluid-max) / 16) * 1rem
  );
  font-size: var(--fluid-type);
  margin: 0;
  font-weight: 600;
  color: var(--foreground);
  text-align: center;
}

.excellence-modern .excellence-description {
  width: 74ch;
  max-width: calc(100% - 4rem);
  text-wrap: balance;
  font-family: var(--font-system);
  margin-bottom: 4rem;
  line-height: 1.5;
  opacity: 0.8;
  font-weight: 400;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: var(--foreground);
}

/* Interactive Grid System */
.excellence-interactive-grid {
  --gap: 8px;
  --base: clamp(2rem, 8cqi, 80px);
  --easing: linear(
    0 0%,
    0.1538 4.09%,
    0.2926 8.29%,
    0.4173 12.63%,
    0.5282 17.12%,
    0.6255 21.77%,
    0.7099 26.61%,
    0.782 31.67%,
    0.8425 37%,
    0.8887 42.23%,
    0.9257 47.79%,
    0.9543 53.78%,
    0.9752 60.32%,
    0.9883 67.11%,
    0.9961 75%,
    1 100%
  );
  --speed: 0.6s;
  
  display: grid;
  container-type: inline-size;
  grid-template-columns: 10fr 1fr 1fr 1fr 1fr 1fr;
  gap: var(--gap);
  list-style-type: none;
  justify-content: center;
  padding: 0;
  height: clamp(300px, 40dvh, 474px);
  margin: 0;
  width: 80vw;
  max-width: calc(100% - 4rem);
  transition: grid-template-columns var(--speed) var(--easing);
}

.excellence-interactive-grid li {
  background: light-dark(#fff, #000);
  position: relative;
  overflow: hidden;
  min-width: var(--base);
  border-radius: 8px;
  border: 1px solid color-mix(in hsl, canvas, canvasText 50%);
}

/* Article Content Styling */
.excellence-interactive-grid article {
  width: 100%;
  height: 100%;
  position: absolute;
  font-family: var(--font-system);
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding-inline: calc(var(--base) * 0.5 - 9px);
  padding-bottom: 1rem;
  overflow: hidden;
}

/* Default state: Vertical title */
.excellence-interactive-grid h3 {
  position: absolute;
  top: 1rem;
  left: calc(var(--base) * 0.5);
  transform-origin: 0 50%;
  rotate: 90deg;
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  font-family: var(--font-system);
  white-space: nowrap;
  margin: 0;
  color: var(--foreground);
  transition: all var(--speed) var(--easing);
}

/* Active state: Horizontal title with Apple typography */
.excellence-interactive-grid [data-active='true'] h3 {
  position: static;
  rotate: 0deg;
  font-size: 2rem;
  font-weight: 600;
  text-transform: none;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  white-space: normal;
}

/* Improved active card layout */
.excellence-interactive-grid [data-active='true'] article {
  padding: 2rem;
  gap: 0.75rem;
  justify-content: flex-start;
  padding-top: 2rem;
}

/* Subtitle styling - Apple inspired */
.excellence-interactive-grid h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  opacity: 0.7;
  margin: 0 0 1rem 0;
  line-height: 1.3;
  font-family: var(--font-system);
}


.excellence-interactive-grid p {
  font-size: 13px;
  text-wrap: balance;
  line-height: 1.25;
  opacity: 0.8;
  margin: 0;
  color: var(--foreground);
}

/* Active state: Enhanced paragraph readability */
.excellence-interactive-grid [data-active='true'] p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.8;
  max-width: none;
  text-wrap: balance;
}


/* Images removed - cards are now text-only */

/* Interactive States */
.excellence-interactive-grid li h3 {
  opacity: 0.6;
  transition: opacity calc(var(--speed) * 1.2) var(--easing);
}

.excellence-interactive-grid li :is(p, h4) {
  opacity: 0;
  transition: opacity calc(var(--speed) * 1.2) var(--easing);
  width: fit-content;
}

.excellence-interactive-grid [data-active='true'] :is(p, h3, h4) {
  opacity: 1;
}

.excellence-interactive-grid [data-active='true'] :is(p, h4) {
  transition-delay: calc(var(--speed) * 0.25);
}

/* Image active states removed */

/* Apple Keynote Story Section */
.story-keynote {
  padding: 8rem 0 10rem 0;
  background: var(--background);
  position: relative;
}

.keynote-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Keynote Header - Apple Style */
.keynote-header {
  text-align: center;
  margin-bottom: 8rem;
}

.keynote-title {
  font-family: var(--font-system);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--foreground);
  margin: 0 0 2rem 0;
  letter-spacing: -0.04em;
}

.keynote-subtitle {
  font-family: var(--font-system);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--foreground);
  opacity: 0.7;
  margin: 0 0 3rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.keynote-intro {
  font-family: var(--font-system);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--foreground);
  margin: 0;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Keynote Chapters - Minimal & Dramatic */
.keynote-chapter {
  margin-bottom: 6rem;
  position: relative;
  border-left: 2px solid color-mix(in hsl, canvas, canvasText 25%);
  padding-left: 5rem;
  margin-left: 2rem;
  background: linear-gradient(90deg, 
    color-mix(in hsl, canvas, canvasText 3%) 0%, 
    transparent 15%);
  border-radius: 0 0.5rem 0.5rem 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.keynote-year {
  position: absolute;
  left: -5rem;
  top: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: color-mix(in hsl, var(--foreground), transparent 25%);
  opacity: 0.85;
  text-transform: none;
  letter-spacing: 0.1em;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: center;
  width: 12rem;
  white-space: nowrap;
  line-height: 1.2;
  z-index: 2;
}

/* Visual connector between year and card */
.keynote-year::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: 50%;
  width: 1.5rem;
  height: 2px;
  background: color-mix(in hsl, var(--foreground), transparent 50%);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.keynote-content {
  max-width: none;
}

.keynote-chapter-title {
  font-family: var(--font-system);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0 0 2rem 0;
  letter-spacing: -0.02em;
}

.keynote-chapter-story {
  font-family: var(--font-system);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
  opacity: 0.85;
}

/* Keynote Finale - Today Section */
.keynote-finale {
  margin-top: 8rem;
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, 
    color-mix(in hsl, canvas, canvasText 3%) 0%, 
    color-mix(in hsl, canvas, canvasText 1%) 100%);
  border-radius: 1.5rem;
  border: 1px solid color-mix(in hsl, canvas, canvasText 10%);
}

.keynote-finale-title {
  font-family: var(--font-system);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--foreground);
  margin: 0 0 2rem 0;
  letter-spacing: -0.03em;
}

.keynote-finale-story {
  font-family: var(--font-system);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--foreground);
  margin: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

/* Responsive Design for Keynote */
@media (max-width: 768px) {
  .story-keynote {
    padding: 4rem 0 6rem 0;
  }
  
  .keynote-header {
    margin-bottom: 4rem;
  }
  
  .keynote-chapter {
    margin-bottom: 4rem;
    border-left: none;
    padding-left: 0;
  }
  
  .keynote-year {
    position: static;
    transform: none;
    margin-bottom: 1.5rem;
    width: auto;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.25rem;
    opacity: 0.9;
    color: color-mix(in hsl, var(--foreground), transparent 15%);
    text-transform: none;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.25rem;
    background: color-mix(in hsl, canvas, canvasText 5%);
    border-radius: 0.375rem;
    border-left: 4px solid color-mix(in hsl, var(--foreground), transparent 65%);
  }

  .keynote-year::after {
    display: none;
  }
  
  .keynote-finale {
    margin-top: 4rem;
    padding: 3rem 2rem;
  }
}

/* Compact Academic Collaboration Section */
.collaboration-map {
  padding: 4rem 0 2rem 0;
  background: var(--background);
  position: relative;
}

.collaboration-map-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Collaboration Header */
.collaboration-header {
  text-align: center;
    margin-bottom: 2rem;
}

.collaboration-title {
  font-family: var(--font-system);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
  margin: 0 0 1rem 0;
  letter-spacing: -0.03em;
}

.collaboration-subtitle {
  font-family: var(--font-system);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--foreground);
  opacity: 0.7;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Compact Contact Section */
.contact-compact {
  padding: 2rem 0;
}

.contact-compact-info {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.contact-compact-title {
  font-family: var(--font-system);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 2rem 0;
  letter-spacing: -0.02em;
}

.contact-compact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.contact-compact-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.contact-compact-link:hover {
  transform: translateY(-2px);
}

.contact-compact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-compact-value {
  font-family: var(--font-system);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.contact-compact-link:hover .contact-compact-value {
  color: #FF0000;
}

.contact-compact-note {
  font-family: var(--font-system);
    font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--foreground);
  opacity: 0.7;
  margin: 0;
}

/* Responsive Design for Compact Contact */
@media (max-width: 768px) {
  .collaboration-map {
    padding: 3rem 0;
  }
  
  .collaboration-header {
    margin-bottom: 1.5rem;
  }
  
  .contact-compact {
    padding: 1.5rem 0;
  }
  
  .contact-compact-methods {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-compact-info {
    padding: 0 1.5rem;
  }
}

/* Professional Achievement Cards */
.achievement-card-professional {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1rem 0;
  transition: all 0.2s ease;
}

.achievement-card-professional:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--academic-blue);
}

/* Professional Card Content Styling */
.achievement-card-professional .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.achievement-card-professional .card-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.achievement-card-professional .card-highlight {
  display: inline-block;
  background: var(--academic-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Clean Professional Grid Layout */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}


/* Pillar Content Styling */
.pillar-content {
  max-width: 600px;
  margin: 0 auto;
  overflow: visible;
  position: relative;
  z-index: 15;
  padding-top: 2rem;
}

.pillar-title {
  font-family: var(--font-system);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--grid-4);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  text-align: center;
  max-width: var(--text-max);
  white-space: normal;
  overflow: visible;
  position: relative;
  z-index: 20;
  left: auto;
  top: auto;
  transform: none;
  margin: 0 auto var(--grid-4) auto;
}

.pillar-divider {
  display: none;
}

.pillar-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  font-weight: 300;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 18;
}

/* Responsive Design for Cinematic Scenes */
@media (max-width: 1024px) {
  .cinematic-scene {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  .scene-ghost-text {
    font-size: clamp(3rem, 10vw, 12rem);
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    width: 200vw;
    max-width: none;
    overflow: visible;
    margin-left: -50vw;
  }
  
  .geometric-lines .line-diagonal-1,
  .geometric-lines .line-diagonal-2 {
    width: 60px;
  }
  
  .geometric-lines .line-horizontal {
    width: 90px;
  }
  
  .cinematic-main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  .pillar-title {
    font-size: var(--text-xl);
    color: var(--foreground);
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: var(--text-max);
    margin: 0 auto var(--grid-4) auto;
  }
  
  .pillar-content {
    padding-top: 2rem;
  }
}

@media (max-width: 768px) {
  .cinematic-header {
    min-height: 40vh;
    padding: 1.5rem 0;
  }
  
  .cinematic-scene {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  .cinematic-ghost-text {
    font-size: clamp(3rem, 10vw, 8rem);
    color: rgba(255, 255, 255, 0.25);
    width: 200vw;
    max-width: none;
    overflow: visible;
    margin-left: -50vw;
  }
  
  .scene-ghost-text {
    font-size: clamp(3rem, 8vw, 8rem);
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    width: 200vw;
    max-width: none;
    overflow: visible;
    margin-left: -50vw;
  }
  
  .cinematic-content {
    margin-left: 5%;
  }
  
  .geometric-lines .line-diagonal-1,
  .geometric-lines .line-diagonal-2 {
    width: 40px;
    right: 5%;
  }
  
  .geometric-lines .line-horizontal {
    width: 60px;
    right: 3%;
  }
  
  .cinematic-content {
    padding: 0 1rem;
  }
  
  .pillar-description {
    font-size: 1.1rem;
  }
  
  .pillar-title {
    font-size: var(--text-lg);
    line-height: var(--leading-tight);
    color: var(--foreground);
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: 100%;
    margin: 0 auto var(--grid-3) auto;
  }
  
  .pillar-content {
    padding-top: 1.5rem;
  }
}

/* Additional Cinematic Polish */
.cinematic-scene::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(113, 169, 235, 0.02) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
  z-index: 1;
}

.cinematic-scene.spotlight-active::before {
  opacity: 1;
}

/* Scroll Indicator for Cinematic Section */
.cinematic-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInPulse 2s ease-in-out infinite;
}

.cinematic-scroll-hint::after {
  content: '';
  width: 1px;
  height: 20px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeInPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.6; }
}

@keyframes scrollPulse {
  0% { transform: translateY(-5px); opacity: 0; }
  50% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(5px); opacity: 0; }
}

/* Scene Navigation Indicators */
.cinematic-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cinematic-pillars-container:hover .cinematic-nav,
.cinematic-nav:hover {
  opacity: 1;
}

.scene-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.scene-indicator.active {
  background: var(--academic-blue);
  box-shadow: 0 0 20px rgba(113, 169, 235, 0.4);
  transform: scale(1.2);
}

.scene-indicator:hover {
  background: rgba(113, 169, 235, 0.6);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .cinematic-nav {
    display: none;
  }
  
  .cinematic-scroll-hint {
    bottom: 1rem;
    font-size: 0.65rem;
  }
}

/* Scroll Behavior Enhancement */
.cinematic-pillars-container {
  scroll-behavior: smooth;
}

/* Performance optimizations */
.cinematic-scene {
  will-change: opacity, transform;
}

.scene-ghost-text {
  will-change: opacity;
}




/* Academic-specific styles */
.academic-header {
  background: linear-gradient(135deg, var(--academic-blue) 0%, var(--academic-blue-light) 100%);
  color: var(--foreground);
}

/* Old publication styles removed - using new gallery styles */

.publication-venue {
  color: var(--academic-blue);
  font-weight: 500;
}

/* Professional Academic Portfolio - Minimal Animations */
/* Base transitions for professional interactions */
a, button, .card, .btn {
  transition: all 0.2s ease;
}

/* Hover effects for interactive elements */
a:hover, button:hover, .card:hover {
  transform: translateY(-1px);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Achievement cards - very subtle auto-scroll */
.achievements-scroll-container {
  animation: autoScroll 60s linear infinite;
  transition: transform 0.3s ease-out;
}

.achievements-grid-inline:hover .achievements-scroll-container {
  animation-play-state: paused;
}

/* Option to disable auto-scroll entirely for more professional look */
.achievements-static .achievements-scroll-container {
  animation: none;
}

/* Apple-Style Story Timeline Container */
.story-timeline-container {
  position: relative;
  padding: var(--grid-8) 0;
}

.story-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--line-width);
  background: var(--border-subtle);
  transform: translateX(-50%);
  z-index: 1;
}

/* Story Chapter Cards with Geometric Connection */
.story-chapter-card {
  position: relative;
  display: grid;
  grid-template-columns: var(--grid-24) 1fr;
  gap: var(--grid-4);
  padding: var(--grid-6);
  background: var(--surface);
  border: var(--line-width) solid var(--border);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--grid-6);
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  z-index: 2;
  transition: all 0.2s ease;
}

.story-chapter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--academic-blue), rgba(113, 169, 235, 0.5));
}

.story-chapter-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Apple-Style Chapter Timeline with Progress Dots */
.chapter-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: var(--grid-12);
  justify-content: center;
}

.chapter-timeline > * + * {
  margin-top: var(--grid-2);
}

.chapter-years {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-xs);
  color: var(--foreground);
  text-align: center;
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Geometric Progress Indicator */
.chapter-indicator {
  width: var(--grid-2);
  height: var(--grid-2);
  background: var(--foreground);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 var(--grid-1) var(--border);
}

/* Timeline Connection Point */
.chapter-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--grid-1);
  height: var(--grid-1);
  background: var(--pure-white);
  border-radius: 50%;
}

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

.chapter-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.chapter-subtitle {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chapter-story p {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1rem;
}

.chapter-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(113, 169, 235, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(113, 169, 235, 0.1);
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.highlight-item strong {
  display: block;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.95rem;
}

.highlight-item .text-muted-foreground {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Current Status Card */
.current-status-card {
  background: linear-gradient(135deg, rgba(113, 169, 235, 0.1) 0%, rgba(113, 169, 235, 0.05) 100%);
  border: 2px solid var(--academic-blue);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.current-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--academic-blue), rgba(113, 169, 235, 0.7));
}

.status-header {
  text-align: center;
  margin-bottom: 2rem;
}

.status-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--academic-blue);
  margin: 0;
}

.status-subtitle {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.status-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  text-align: center;
}

.status-achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.status-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(113, 169, 235, 0.2);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.status-item:hover {
  transform: translateY(-2px);
  border-color: var(--academic-blue);
  box-shadow: 0 8px 25px rgba(113, 169, 235, 0.1);
}

.status-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--academic-blue);
  margin-bottom: 0.5rem;
}

.status-item span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Responsiveness for Story Cards */
@media (max-width: 768px) {
  .story-chapter-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  .chapter-timeline {
    flex-direction: row;
    justify-content: center;
    min-height: auto;
  }
  
  .chapter-years {
    font-size: 1rem;
  }
  
  .chapter-title {
    font-size: 1.25rem;
  }
  
  .chapter-highlights {
    gap: 0.75rem;
  }
  
  .highlight-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .current-status-card {
    padding: 1.5rem;
  }
  
  .status-header h3 {
    font-size: 1.5rem;
  }
  
  .status-achievements {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .status-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .story-chapter-card {
    padding: 1rem;
  }
  
  .chapter-title {
    font-size: 1.1rem;
  }
  
  .chapter-story p {
    font-size: 0.9rem;
  }
  
  .highlight-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
  
  .current-status-card {
    padding: 1rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .side-nav,
  .theme-toggle,
  .mobile-nav-toggle {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .story-chapter-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Apple-Style Micro-Interactions */
.achievement-card-static,
.excellence-card,
.story-chapter-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-card-static:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.excellence-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.story-chapter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Navigation Micro-Interactions */
.nav-links a {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Section Progress Dot Interactions */
.section-progress-dot {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-progress-dot:hover {
  transform: scale(1.3);
  background: var(--academic-blue);
}

/* Button Interactions */
.btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: var(--line-width) solid var(--border);
  border-radius: var(--border-radius);
  padding: var(--grid-1);
  cursor: pointer;
  color: var(--foreground);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--grid-5);
  height: var(--grid-5);
}

.theme-toggle:hover {
  border-color: var(--academic-blue);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Performance Optimizations */
.section-progress-dot,
.achievement-card-static,
.excellence-card,
.story-chapter-card,
.btn {
  will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .achievements-scroll-container {
    animation: none !important;
  }
}

/* EMERGENCY CONTENT VISIBILITY FIX */
.hero-professional-container,
.hero-quotes,
.achievements-static-grid,
.excellence-grid,
.story-timeline-container {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.section-hero {
  min-height: 100vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-professional {
  display: block !important;
  opacity: 1 !important;
}

/* ============================================
   APPLE KEYNOTE STYLE - EXPERTISE PAGE
   ============================================ */

/* Main Keynote Container */
.keynote-main {
    width: 100%;
    overflow-x: hidden;
}

/* Keynote Sections - Full Screen */
.keynote-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px; /* Add space for header */
    background: #ffffff;
    color: #000000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* First section needs extra spacing from header */
.keynote-section:first-child {
    padding-top: 140px;
    min-height: calc(100vh - 60px); /* Account for header height */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Enhanced section styling */
.keynote-section:nth-child(even) {
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.keynote-section:nth-child(even) .keynote-content {
    background: rgba(248, 249, 250, 0.8);
}

/* Base Keynote Content Container */
.keynote-content {
    width: 100%;
    max-width: 1400px;
    padding: 64px 64px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    margin: 32px auto;
}

/* Labels */
.keynote-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0.6;
    color: #8E8E93;
}

/* Hero Section */
.keynote-hero .keynote-headline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
    margin: 0 0 40px 0;
    letter-spacing: -0.03em;
}

.keynote-highlight {
    color: #000000;
}

.keynote-section:nth-child(even) .keynote-highlight {
    color: #007AFF; /* Apple blue accent */
}

.keynote-subheadline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    opacity: 0.8;
}

/* Main Titles */
.keynote-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    margin: 0 0 40px 0;
    letter-spacing: -0.03em;
}

/* Descriptions */
.keynote-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 60px 0;
    opacity: 0.8;
}

/* Year Indicators - Removed duplicate definition to avoid conflicts */

/* Feature Lists */
.keynote-feature-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.keynote-feature {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 20px 30px;
    border: 2px solid currentColor;
    border-radius: 50px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.keynote-feature:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Statistics */
.keynote-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
    margin-top: 80px;
}

.keynote-stat {
    text-align: center;
}

.keynote-stat-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
}

.keynote-stat-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.8;
}

/* Role Timeline */
.keynote-role-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.keynote-role {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid currentColor;
    opacity: 0.3;
}

.keynote-role-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.keynote-role-year {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
}

/* Achievement */
.keynote-achievement {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.keynote-achievement-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.8;
}

.keynote-achievement-year {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.6;
}

/* Mentor */
.keynote-mentor {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 60px;
}

.keynote-mentor-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.8;
}

.keynote-mentor-years {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.6;
}

/* Global Stats */
.keynote-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.keynote-global-stat {
    text-align: center;
}

.keynote-global-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
}

.keynote-global-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.8;
}

/* Publications */
.keynote-publication-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.keynote-publication {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid currentColor;
    opacity: 0.3;
    gap: 40px;
}

.keynote-pub-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    text-align: left;
    flex: 1;
}

.keynote-pub-year {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Universities */
.keynote-universities {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.keynote-uni {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 15px 25px;
    border: 1px solid currentColor;
    border-radius: 25px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.keynote-uni:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Quote */
.keynote-quote {
    margin: 60px 0;
}

.keynote-quote-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 40px 0;
    font-style: normal;
    opacity: 0.9;
}

.keynote-quote-highlight {
    font-weight: 600;
}

.keynote-quote-author {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.7;
    font-style: normal;
}

/* Final Section */
.keynote-final-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
    margin: 0 0 60px 0;
    letter-spacing: -0.03em;
}

.keynote-final-highlight {
    color: #000000;
}

.keynote-section:nth-child(even) .keynote-final-highlight {
    color: #007AFF; /* Apple blue accent */
}

.keynote-final-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .keynote-content {
        padding: 60px 20px;
    }
    
    .keynote-feature-list {
        gap: 30px;
    }
    
    .keynote-stat-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .keynote-role-timeline {
        gap: 30px;
    }
    
    .keynote-role {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .keynote-publication {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .keynote-universities {
        gap: 20px;
    }
    
    .keynote-stat-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .keynote-content {
        padding: 40px 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove default margins for keynote sections */
.keynote-main * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Positioning Variants */

/* Header Left */
.header-left .keynote-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 80px;
}

.header-left .keynote-header {
    flex: 0 0 45%;
    margin-right: 0;
}

.header-left .keynote-body {
    flex: 1;
    padding-left: 0;
}

/* Header Right */
.header-right .keynote-content {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 80px;
}

.header-right .keynote-header {
    flex: 0 0 45%;
    margin-left: 0;
    text-align: right;
}

.header-right .keynote-body {
    flex: 1;
    padding-right: 0;
    text-align: left;
}

/* Header Bottom Left */
.header-bottom-left .keynote-content {
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding-top: 40px;
    padding-bottom: 100px;
}

.header-bottom-left .keynote-body {
    margin-bottom: 60px;
}

.header-bottom-left .keynote-header {
    margin-top: auto;
}

/* Header Bottom Right */
.header-bottom-right .keynote-content {
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
    padding-top: 40px;
    padding-bottom: 100px;
}

.header-bottom-right .keynote-body {
    margin-bottom: 60px;
    text-align: right;
}

.header-bottom-right .keynote-header {
    margin-top: auto;
}

/* Header Center */
.header-center .keynote-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Header and Body Styling */
.keynote-header {
    margin-bottom: 0;
}

.keynote-body {
    margin-top: 0;
}

.keynote-body .keynote-description {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    max-width: none;
    transition: opacity 0.3s ease;
}

/* Subtle hover interactions */
.keynote-content:hover .keynote-description {
    opacity: 1;
}

.keynote-content:hover .keynote-label {
    opacity: 0.8;
}

/* Smooth transitions for all elements */
.keynote-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.keynote-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Updated Title Sizes for Headers */
.keynote-header .keynote-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.keynote-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    opacity: 0.75;
    color: #6D6D70;
}

/* Responsive Design for Header Positions */
@media (max-width: 1200px) {
    .keynote-content {
        max-width: 1000px;
        padding: 48px 48px; /* 8pt grid: 6 * 8px */
        margin: 24px auto; /* 8pt grid: 3 * 8px */
    }
    
    .header-left .keynote-content,
    .header-right .keynote-content {
        gap: 64px; /* 8pt grid: 8 * 8px */
    }
    
    .header-left .keynote-header,
    .header-right .keynote-header {
        flex: 0 0 50%;
    }
}

@media (max-width: 1024px) {
    .keynote-content {
        padding: 40px 32px; /* 8pt grid: 5 * 8px, 4 * 8px */
        margin: 16px auto; /* 8pt grid: 2 * 8px */
    }
    
    .header-left .keynote-content,
    .header-right .keynote-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .header-left .keynote-header,
    .header-right .keynote-header {
        flex: none;
        margin: 0;
        text-align: center;
    }
    
    .header-left .keynote-body,
    .header-right .keynote-body {
        flex: none;
        padding: 0;
        text-align: center;
    }
    
    .header-bottom-left .keynote-content,
    .header-bottom-right .keynote-content {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .header-bottom-left .keynote-body,
    .header-bottom-right .keynote-body {
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .keynote-section {
        padding-top: 64px; /* 8pt grid: 8 * 8px */
    }
    
    .keynote-section:first-child {
        padding-top: 96px; /* 8pt grid: 12 * 8px */
    }
    
    .keynote-content {
        padding: 32px 24px; /* 8pt grid: 4 * 8px, 3 * 8px */
        min-height: calc(100vh - 128px); /* 8pt grid: 16 * 8px */
        margin: 8px auto; /* 8pt grid: 1 * 8px */
    }
    
    .header-bottom-left .keynote-content,
    .header-bottom-right .keynote-content {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 30px;
        padding-bottom: 40px;
    }
    
    .header-bottom-left .keynote-header,
    .header-bottom-right .keynote-header {
        margin-top: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .header-bottom-left .keynote-body,
    .header-bottom-right .keynote-body {
        margin-bottom: 20px;
    }
}

/* ========================================
   GIANT TYPOGRAPHY KEYNOTE DESIGN
   ======================================== */

/* Override existing keynote sections with giant typography design */
.keynote-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px 0;
    background: #ffffff;
    border: none;
    position: relative;
}

.keynote-container {
    max-width: 1200px;
    padding: 0 2rem;
    margin: 0 auto;
    text-align: center;
}

.keynote-giant-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 100;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0 0 3rem 0;
}

.keynote-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.4;
    color: #666666;
    margin: 0 0 2rem 0;
}

.keynote-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: #999999;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Behavior for Giant Typography */
@media (max-width: 1199px) {
    .keynote-giant-title {
        font-size: clamp(3.2rem, 10vw, 9.6rem); /* Reduce by 20% */
    }
    .keynote-subtitle {
        font-size: clamp(1rem, 2.4vw, 1.6rem); /* Reduce by 20% */
    }
    .keynote-description {
        font-size: clamp(0.9rem, 1.6vw, 1.1rem); /* Reduce by 20% */
    }
}

@media (max-width: 767px) {
    .keynote-section {
        padding: 100px 0 60px 0;
    }
    
    .keynote-giant-title {
        font-size: clamp(2.4rem, 8vw, 7.2rem); /* Reduce by 40% */
        line-height: 0.9;
    }
    
    .keynote-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.2rem); /* Reduce by 40% */
        margin-bottom: 1.5rem;
    }
    
    .keynote-description {
        font-size: clamp(0.8rem, 1.5vw, 1rem); /* Reduce by 40% */
    }
    
    .keynote-container {
        padding: 0 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Progress Indicators */
.progress-indicators {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #000000;
    transform: scale(1.5);
}

.progress-dot:hover {
    background: #000000;
    transform: scale(1.2);
}
