:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-secondary: #f5f5f5;
  --accent-primary: #F97316;
  --font-family: 'Fira Mono', 'Consolas', monospace;
  --heading-font: 'Fira Mono', 'Anton', monospace;
  
}

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


/* Allow specific elements to use full viewport width and sticky elements to position correctly */
html, body, #hero, .hero-spacer, .hero-name-stack, .hero-name-front-stack,
.sticky-test, .about-hi-sticky, .about-hi-photo, .about-hi-subtitle, 
.about-description-paragraph, .about-nav-buttons,
.education-hi-sticky, .education-nav-subtitle, .education-social-links,
#about, #about .container, #about * {
  max-width: none;
}

html {
  background: var(--bg-color) !important;
  /* Enhanced floaty scrolling */
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0;
}

/* BASE */
body {
  background: var(--bg-color) !important;
  color: var(--text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


/* Two-column layout for about section */
.about-two-column {
  display: flex;
  position: relative;
  overflow: visible;
  min-height: 150vh;
  justify-content: center;
  align-items: flex-start;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 8px;
  width: min(100%, 1200px);
  margin: 0 auto;
}

/* Hide mobile hello thomas and summary by default */
.mobile-hello-thomas,
.mobile-summary-container {
  display: none;
}

/* About me elements controlled by JavaScript scroll position */
body .about-hi-sticky,
body .about-hi-photo,
body .about-hi-subtitle,
body #para-1,
body #para-2,
body .about-nav-buttons {
  opacity: 0;
  /* No transition - opacity controlled directly by scroll position */
}


/* Vertical stacking when screen is too narrow for minimum rectangle size */
@media (max-width: 964px) {
  #about {
    padding: 0 !important;
  }
  
  .about-two-column {
    flex-direction: column;
    width: 85vw !important;
    max-width: 550px !important;
    min-height: auto;
    position: relative;
    margin: 0 auto !important;
    border: none;
    border-radius: 8px;
    padding: 0;
    box-sizing: border-box;
  }
  
  .about-two-column .about-left-half {
    width: 100% !important;
    padding: 0 !important;
    min-height: 150vh !important;
    order: 1;
    position: relative;
  }
  
  /* Hide the right half entirely in vertical mode */
  .about-two-column .about-right-half {
    display: none !important;
  }
  
  /* Create independent sticky photo in vertical mode */
  .about-two-column::before {
    display: none !important;
  }
  
  /* Hide Thomas Ou title and details in mobile */
  .thomas-ou-title,
  .thomas-ou-details {
    display: none !important;
  }
  
  /* Show mobile header for education section */
  .education-mobile-header {
    display: block !important;
    text-align: center;
    padding: 2rem 1rem;
    background: transparent;
    color: white;
    z-index: 200;
    position: relative;
  }
  
  /* Show mobile hello thomas in vertical mode */
  .mobile-hello-thomas {
    display: block !important;
    position: fixed !important;
    top: 11.8vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
  }
  
  /* Show mobile summary container in vertical mode */
  .mobile-summary-container {
    display: block !important;
    position: fixed !important;
    top: 18vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: right !important;
    z-index: 9999 !important;
    padding: 0 0 0 1.5rem !important;
    width: 85vw !important;
    max-width: 550px !important;
    box-sizing: border-box !important;
  }
  
  /* Education hello duplicate - fixed position in vertical mode */
  .education-hello-duplicate {
    font-size: clamp(1.2rem, 6vw, 2.2rem) !important;
    position: relative !important;
    width: 85vw !important;
    max-width: 550px !important;
    margin: 0 !important;
    text-align: right !important;
    padding-right: 0 !important;
    padding-left: 1rem !important;
    box-sizing: border-box !important;
    font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.05;
    width: fit-content;
    transform: scaleY(1.7) !important;
  }
  
  /* Override fade-in opacity for education hello duplicate */
  body .mobile-hello-thomas .about-hi-sticky.education-hello-duplicate {
    opacity: 1 !important;
  }
  
  /* Make all text inside education hello white */
  .education-hello-duplicate * {
    color: #ffffff !important;
  }
  
  /* Hide thomas ou in mobile version but show hello i am */
  .mobile-hello-thomas .about-hi-sub {
    display: none !important;
  }
  
  /* Right align social icons in mobile summary container */
  .mobile-summary-container .education-mobile-social-links {
    justify-content: flex-end !important;
  }
  
  /* Fade animation for mobile elements */
  .mobile-hello-thomas,
  .mobile-summary-container {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .mobile-hello-thomas.fade-in,
  .mobile-summary-container.fade-in {
    opacity: 1;
  }
  
  .education-mobile-summary {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
  }
  
  .education-mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .mobile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .mobile-social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
  }
  
  .mobile-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: fill 0.3s ease;
  }
  
  /* Make education container match about me container in vertical mode */
  #education .container {
    width: 85vw !important;
    max-width: 550px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .education-layout {
    flex-direction: column !important;
    width: 100% !important;
    min-height: auto !important;
    gap: 2rem !important;
  }
  
  .education-content-right {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Move My Stack section further down in vertical mode */
  #projects {
    margin-top: 100vh !important;
  }
  
  /* Hero container mobile styles */
  .hero-container {
    width: 90vw !important;
    max-width: 800px !important;
    height: 80vh !important;
    border: none !important;
  }
  
  /* Thomas text takes full width in mobile, OU stays right-aligned */
  .hero-name-top {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: left !important;
  }
  
  .hero-name-bottom {
    right: 0 !important;
    text-align: right !important;
    width: auto !important;
  }
  
  /* Make Thomas font bigger in mobile with max size */
  .hero-name {
    font-size: clamp(8vw, 26.8vw, 12rem) !important;
  }
  
  /* Center the typing card in mobile and make it bigger */
  .hero-typing-card {
    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    width: clamp(320px, 85%, 600px) !important;
    height: clamp(180px, 35%, 320px) !important;
    transform: translate(-50%, -50%) rotate(-6deg) !important;
  }
  
  /* Bio box responsive sizes in mobile */
  .hero-intro-blurb {
    width: clamp(250px, 50vw, 400px) !important;
    height: auto !important;
  }
  
  /* Bio text responsive size in mobile */
  html body #bio-text,
  html body #bio-cursor {
    font-size: clamp(0.6rem, 2.2vw, 1rem) !important;
  }
  
  body .about-container .about-hi-sticky {
    font-size: clamp(1.2rem, 6vw, 2.2rem) !important;
    position: sticky !important;
    top: 12vh !important;
    width: 85vw !important;
    max-width: 550px !important;
    margin: 0 auto !important;
    text-align: right !important;
    padding-right: 0 !important;
    padding-left: 1rem !important;
    box-sizing: border-box !important;
    z-index: 102 !important;
    border: none !important;
  }
  
  .about-container .about-hi-sticky .about-hi-sub {
    display: block !important;
    text-align: right !important;
    margin-top: -.2rem !important;
  }
  
  body .about-container .about-hi-subtitle {
    position: sticky !important;
    top: 54vh !important;
    text-align: left !important;
    z-index: 98 !important;
  }
  
  .about-container .about-hi-photo {
    top: -3.5vh !important;
  }
  
  .about-hi-photo img {
    width: min(55vw, 350px) !important;
    height: min(55vw, 350px) !important;
  }
  
  .about-description-paragraph {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Move description paragraphs further down in vertical mode */
  body .about-container #para-1 {
    position: sticky !important;
    top: 58vh !important;
    z-index: 98 !important;
  }
  
  body .about-container #para-2 {
    position: sticky !important;
    top: 66vh !important;
    z-index: 97 !important;
  }
  
  body .about-container .about-nav-buttons {
    position: sticky !important;
    top: 78vh !important;
    z-index: 96 !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    gap: max(0.5rem, 2vw) !important;
  }
  
  .about-hi-subtitle,
  .about-nav-buttons {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Make buttons responsive in vertical mode */
  .about-nav-btn {
    width: min(90px, calc((95vw - 6vw) / 4)) !important;
    height: min(90px, calc((95vw - 6vw) / 4)) !important;
    font-size: min(0.75rem, calc(0.75rem * min(90px, calc((95vw - 6vw) / 4)) / 90px)) !important;
  }
  
  .about-two-column::after {
    display: none;
  }
  
  /* Top overlay in vertical mode */
  .top-overlay-vertical {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 8vh !important;
    background: #000000 !important;
    z-index: 999 !important;
    pointer-events: auto !important;
  }
  
  /* Move hamburger menu inside overlay in vertical mode */
  .hamburger-menu {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 2rem !important;
    transform: translateY(-50%) !important;
    z-index: 1001 !important;
  }
  
  /* Hide spacers in vertical mode */
  .about-spacer {
    display: none !important;
  }
}

/* Hide duplicate social icons and mobile elements in horizontal mode */
@media (min-width: 965px) {
  .mobile-hello-thomas,
  .mobile-summary-container,
  .mobile-social-link {
    display: none !important;
  }
  
  /* Show spacers in horizontal mode */
  .about-spacer {
    display: block !important;
  }
  
  /* Add space between about and education in horizontal mode */
  #education {
    margin-top: -60vh !important;
  }
}

/* Left half - text content */
.about-left-half {
  width: 50%;
  display: block;
  position: relative;
  overflow: visible;
  padding: 0;
  padding-right: 2rem;
  min-height: 50vh;
  flex-shrink: 0;
  box-sizing: border-box;
  max-width: 50%;
}


/* Right half - photo */
.about-right-half {
  width: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  min-height: 700vh;
  padding: 0;
}


/* Screen fade overlay */
.screen-fade-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}


/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Fira Mono', 'Montserrat', 'Inter', monospace;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-color);
}

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

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

p {
  max-width: 800px;
  text-align: center;
  margin-bottom: 1rem;
}

/* BUTTONS */
button, .btn {
  background: var(--accent-primary);
  color: var(--bg-color);
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover, .btn:hover {
  opacity: 0.85;
}


/* VANTA BACKGROUND - Fixed */
#vanta-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: transparent !important;
  pointer-events: none;
}

/* HERO CONTENT - Scrollable */
#hero {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

/* Hero container - matches about me section width */
.hero-container {
  width: min(95vw, 170vh);
  height: min(60vw, 95vh);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  box-sizing: border-box;
}


.hero-name-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
  overflow: hidden;
}

.hero-name-front-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  will-change: opacity;
  overflow: hidden;
}

.hero-name {
  display: block;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-primary);
  text-shadow: 
    2px 2px 0px #000000,
    4px 4px 0px #000000,
    6px 6px 0px #000000;
  font-size: min(18vw, 35vh);
  line-height: 1.0;
  letter-spacing: 0.01em;
  opacity: 0.98;
  user-select: none;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
}
.hero-name span {
  display: inline-block;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1);
  will-change: transform;
}
.hero-name-top {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: auto !important;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: top !important;
}
.hero-name-bottom {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: auto !important;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
}


.hero-typing-card {
  position: absolute;
  right: 5%;
  top: 25%;
  transform: rotate(-6deg);
  z-index: 2;
  width: clamp(450px, 60%, 1000px);
  height: clamp(250px, 52%, 550px);
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(30,144,255,0.13), 0 1.5px 6px rgba(0,198,251,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5%, 4rem);
  will-change: transform, scale, border-radius, z-index;
}


.hero-name-front {
  opacity: 1;
  z-index: -1;
  position: relative;
}

.hero-typing-card {
  z-index: 5 !important;
}


.typed-words {
  width: 100%;
  text-align: center;
  font-family: 'Courier New', 'Monaco', 'Lucida Console', monospace;
  font-weight: 400;
  font-size: min(6rem, 6vw);
  color: #000000;
  background: none;
  margin: 0;
  padding: 0;
  letter-spacing: 0.02em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
  text-shadow: none;
}


/* Portrait orientation - smaller sizes for vertical screens */



.hero-intro {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  text-align: left;
  margin-bottom: 0.02rem;
  color: var(--text-color);
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-30px);
}



/* SECTION STYLES */
#about, #summary, #skills, #experience, #leadership, #projects, #contact {
  padding: 4rem 2rem;
}

/* ABOUT SECTION */
#about {
  background: transparent !important;
  min-height: 100vh;
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  max-width: 1000px;
  margin-top: 5rem;
}

.about-left {
  flex: 0 0 auto;
}

.about-left h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-color);
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-right {
  flex: 1;
}

.about-right p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
  margin: 0;
  max-width: 600px;
  font-weight: 400;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: #000000;
  color: #888;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-cta {
  margin-bottom: 2rem;
}

.footer-cta h3 {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.email-link {
  color: #F97316;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.email-link:hover {
  color: #ffffff;
  border-bottom-color: #F97316;
}


/* HAMBURGER MENU */
.hamburger-menu {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger-icon {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  opacity: 0.9;
}

.hamburger-menu.open .hamburger-icon span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}
.hamburger-menu.open .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open .hamburger-icon span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.hamburger-menu:hover .hamburger-icon span {
  background: #F97316;
}


/* SLIDING NAVIGATION */
.nav-slide {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(12, 12, 12, 0.98);
  backdrop-filter: blur(25px);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.nav-slide.open {
  right: 0;
}

.nav-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-header h3 {
  color: #F97316;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin: 0;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.nav-links li {
  margin-bottom: 1rem;
}

.nav-links a {
  display: block;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}


.degree-timeline {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  position: relative;
}
.timeline-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316 60%, #00c6fb 100%);
  box-shadow: 0 2px 8px rgba(30,144,255,0.12);
  margin-top: 0.4rem;
  flex-shrink: 0;
  border: 2.5px solid #fff;
  position: relative;
}
.degree-timeline:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 22px;
  width: 0;
  height: calc(100% - 22px);
  border-left: 2px solid transparent;
  z-index: 0;
}

.timeline-vertical {
  position: relative;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  border-left: none;
  background: none;
}
.timeline-vertical .degree-timeline {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 0;
}
.timeline-vertical .timeline-node {
  position: absolute;
  left: calc(-1.5rem - 8px + 1px);
  top: 0.7em;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316 60%, #00c6fb 100%);
  box-shadow: 0 2px 8px 0 #F9731622;
  border: 2.5px solid #fff;
  transition: box-shadow 0.2s;
}
.timeline-vertical .degree-timeline:last-child {
  margin-bottom: 0;
}
.timeline-vertical .timeline-node::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: calc(100% + 2.5rem);
  background: #d0d0d0;
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-vertical .degree-timeline:last-child .timeline-node::after {
  display: none;
}

.hero-intro-blurb {
  position: absolute;
  left: 0;
  bottom: 18px;
  z-index: 1000;
  width: clamp(200px, 30vw, 480px);
  max-width: max(clamp(200px, 30vw, 480px), max-content);
  height: clamp(50px, 16vw, 200px);
  font-size: clamp(0rem, 1.2vw, 1.2rem) !important;
  color: #181818;
  background: rgba(255,255,255,0.32);
  border-radius: clamp(0.6rem, 2vw, 1.1rem);
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.13), 0 1.5px 6px rgba(0,198,251,0.09);
  padding: clamp(0.3rem, 1.5vw, 0.8rem) clamp(0.8rem, 4vw, 1.5rem);
  font-family: 'Montserrat', 'Inter', 'Arial', sans-serif;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(30,144,

, 0.13);
  margin-left: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}



/* Role typing cursor - only appears when typing */
.typed-words.typing::after {
  content: "|";
  display: inline-block;
  margin-left: 0.1em;
  color: var(--accent-primary);
  font-weight: 400;
  animation: blink 1s infinite;
  font-size: 1em;
}


.about-hi-sticky {
  position: sticky !important;
  top: 20vh !important;
  z-index: 10;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: clamp(1rem, 3.5vw, 2.7rem);
  font-weight: 900;
  color: #000000;
  line-height: 1.05;
  transform: scaleY(1.7);
  margin: 0;
  text-align: left;
  /* opacity removed - controlled by JavaScript */
  width: fit-content;
  margin-left: max(.5vw, calc(50% - 600px));
  padding-right: 0;
}

.hello-i-am {
  color: #000000;
}

.thomas-name {
  color: #000000;
  transition: color 0.8s ease;
}

.thomas-name.white-text {
  color: white;
}
.about-hi-sub {
  display: block;
  font-size: 0.95rem;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 400;
  color: var(--accent-primary);
  letter-spacing: 0;
  text-align: right;
  width: 100%;
  line-height: 1.1;
  transform: scaleY(1);
  margin-top: -0.2rem;
  position: relative;
}

.about-hi-subtitle {
  position: sticky !important;
  top: 35vh !important;
  z-index: 99;
  display: block;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 400;
  color: #000000;
  margin: 1rem 0;
  text-align: right;
  margin-left: 0;
  width: 100%;
  opacity: 0;
  transition: none;
}

.about-hi-subtitle.fade-in {
  opacity: 1;
}

/* Red divider down center of screen */
.center-divider {
  display: none;
}

.about-hi-photo {
  position: sticky !important;
  top: 10vh !important;
  z-index: 170;
  opacity: 0;
  transition: none;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.about-hi-photo.fade-in {
  opacity: 1;
}

.about-hi-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  display: block;
  max-width: none;
}

/* Section Spacer to extend length */
.section-spacer {
  height: 100vh;
}

/* Description paragraphs - separate positioning blocks */
.about-description-paragraph {
  font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-size: clamp(0rem, 1.3vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  display: block;
  text-align: justify;
  opacity: 0;
  transition: none;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.about-description-paragraph.fade-in {
  opacity: 1;
}

/* First paragraph block */
#para-1 {
  position: sticky !important;
  top: 40vh !important;
  z-index: 98;
  margin-bottom: 1.6rem;
}

#para-2 {
  position: sticky !important;
  top: 50vh !important;
  z-index: 97;
  margin-top: 0;
}

/* Navigation buttons */
.about-nav-buttons {
  position: sticky !important;
  top: min(62vw, 65vh) !important;
  z-index: 96;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  opacity: 0;
  transition: none;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.about-nav-buttons.fade-in {
  opacity: 1;
}

.about-nav-btn {
  background: transparent;
  border: 2px solid #000000;
  width: clamp(80px, calc((100% - 1.5rem) / 4), 110px);
  height: clamp(80px, calc((100% - 1.5rem) / 4), 110px);
  max-width: 110px;
  max-height: 110px;
  font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  flex-shrink: 1;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-nav-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-5px);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.experience-subsection {
  margin-bottom: 4rem;
}

.subsection-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.experience-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.experience-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
}

.experience-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.experience-header h3 {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.experience-header .company {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-primary);
}

.experience-header .duration {
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

.experience-description p {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.experience-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-description li {
  font-family: var(--font-family);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.experience-description li::before {
  content: "▶";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  top: 0;
}


.timeline-track {
  position: absolute;
  left: 1.5rem;
  top: 1.7rem; /* Align with center of first dot */
  height: 30rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary) 80%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.timeline-content {
  border-radius: 0.5rem;
  padding: 1rem;
}

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

.timeline-dot {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 0.1vh var(--accent-primary);
}

.timeline-year-badge {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Timeline Link */
.timeline-link-container {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.timeline-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.05);
}

.timeline-link:hover {
  color: #ffffff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
  transform: scaleY(1.3);
  line-height: 1.2;
}

.timeline-school {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  transform: scaleY(1.2);
}

.timeline-location {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.timeline-details {
  margin-top: 1rem;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: var(--text-color);
}

.experience-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.course-pill {
  background: rgba(249, 115, 22, 0.1);
  color: var(--text-color);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(249, 115, 22, 0.2);
}


.achievement-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-primary);
}


@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .subsection-title {
    font-size: 1.5rem;
  }
  
  .experience-content {
    padding: 0 1rem;
  }
  
  .experience-item {
    padding: 1.5rem;
  }
  
  .experience-header {
    text-align: center;
  }
}



/* Bio typing animation styles */
#bio-cursor {
  color: var(--accent-primary);
  font-weight: 300;
  animation: blink 1s infinite;
}

#bio-cursor.thinking {
  animation: blink-fast 0.3s infinite;
}

#bio-text {
  display: inline;
}

.typing-bold {
  font-weight: 700;
  color: inherit;
  position: relative;
}

.typing-emphasis {
  color: inherit;
  font-weight: 500;
}

@keyframes blink-fast {
  0%, 40% { opacity: 1; }
  41%, 100% { opacity: 0; }
}

/* Role typing cursor - only appears when typing */
.typed-words.cursor-visible::after {
  content: "|";
  display: inline-block;
  margin-left: 0.1em;
  color: var(--accent-primary);
  font-weight: 400;
  animation: blink 1s infinite;
  font-size: 1em;
}

/* Typed words always visible */
.typed-words {
  opacity: 1 !important;
}

.typed-words.show {
  opacity: 1 !important;
}
@media (orientation: portrait) {
  .about-nav-btn {
    width: 17vw;
    height: 17vw;
    font-size: 2vw;
    padding: 0;
  }
  .about-nav-btn span {
    font-size: inherit;
    line-height: 1.1;
    padding: 0;
    width: 100%;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.education-sticky-title {
  /* Default: centered, not sticky */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 10;
  margin-bottom: -2rem;
}

#education-bg-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}


#education {
  background-color: transparent; /* Remove background - now handled by overlay */
  color: #ffffff; /* White text for contrast */
  padding: 2rem 0 !important;
  position: relative;
}

#education .container {
  display: flex;
  position: relative;
  overflow: visible;
  min-height: 100vh;
  justify-content: center;
  align-items: flex-start;
  border: none;
  background: transparent;
  border-radius: 8px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 150;
  overflow-x: hidden;
}

#education .container::after {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  width: 2px;
  background: transparent;
  transform: translateX(-50%);
  z-index: 1;
}

/* New absolute container with same width as education section */
.absolute-container {
  display: none;
}

/* THOMAS OU Title - Just the name */
.thomas-ou-title {
  position: fixed !important;
  top: 20vh !important;
  left: 50% !important;
  transform: translateX(-50%) scaleY(1.7) !important;
  width: 95vw;
  max-width: 1200px;
  padding: 0;
  margin-left: 0;
  color: white;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: auto;
  z-index: 160 !important;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: clamp(1rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  box-sizing: border-box;
  border: 2px solid transparent;
}

.thomas-ou-title.fade-in {
  opacity: 1;
}

.thomas-ou-sub {
  display: block;
  font-size: 0.95rem;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-weight: 400;
  color: var(--accent-primary);
  letter-spacing: 0;
  text-align: right;
  width: 100%;
  line-height: 1.1;
  transform: scaleY(1);
  margin-top: -0.2rem;
  position: relative;
  opacity: 0;
}

/* THOMAS OU Details - Summary and navigation */
.thomas-ou-details {
  position: fixed !important;
  top: 30vh !important;
  left: 50% !important;
  transform: translateX(-100%) scaleY(1.7) !important;
  transform-origin: top left;
  width: clamp(0px, 600px, calc(50vw - 2rem));
  height: 28vh;
  padding: 0 1rem;
  margin-left: 0rem;
  color: white;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: auto;
  z-index: 159 !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid transparent;
}

.thomas-ou-details.fade-in {
  opacity: 1;
}

.thomas-ou-social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: auto;
  padding: 1rem 0 0.5rem 0;
  transform: scaleY(0.588); /* Counter the parent's scaleY(1.7): 1/1.7 = 0.588 */
  width: 100%;
  flex-shrink: 0;
}

.thomas-ou-social-links .social-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  padding: 0.5rem;
  border-radius: 4px;
}

.thomas-ou-social-links .social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.thomas-ou-social-links .social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.card-arrow {
  color: #F97316;
  font-size: 1.2em;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.experience-card:hover .card-arrow,
.research-card:hover .card-arrow {
  transform: translate(2px, -2px);
}

.experience-cards-container .experience-card-preview p,
.research-cards-container .research-card-preview p {
  font-size: 0.8rem !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  text-align: left !important;
}

/* EDUCATION TIMELINE - Fixed position bound to about section */
.education-timeline-fixed {
  position: fixed;
  top: 18vh;
  bottom: 0;
  left: 50%;
  transform: translateX(0%);
  width: clamp(0px, 600px, calc(50vw - 2rem));
  z-index: 172;
  padding: 1rem;
  opacity: 0;
  color: white;
  min-height: 60vh;
  overflow: visible;
  transition: opacity 0.8s ease;
}

.thomas-ou-section.fade-in {
  opacity: 1;
}

.education-timeline-fixed.fade-in {
  opacity: 1;
}

.education-timeline-fixed .education-section-title h3 {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  margin: 0 !important;
  color: white !important;
}

.thomas-ou-section .education-hi-sticky {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: clamp(1rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  transform: scaleY(1.7);
  margin: 0;
  text-align: left;
  position: relative;
  top: 0;
}

.education-timeline-section {
  width: 50%;
  padding: 0.5rem;
  color: white;
  order: 1;
}

/* Education section elements are always visible */
#education .education-hi-sticky,
#education .timeline-container,
#education .experience-cards-container,
#education .research-cards-container,
#education .education-section-title,
#education .experience-section-title,
#education .research-section-title {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  z-index: 50;
  color: #ffffff;
}

#education .education-section-title {
  margin: 0 0 3rem -1rem;
  text-align: left;
}

#education .education-section-title h3 {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  margin: 0 !important;
  color: white !important;
}

#education .timeline-container {
  margin-top: -3rem;
}

#experience {
  background-color: #000000; /* Black background for education section */
  color: #ffffff; /* White text for contrast */
}

/* Education elements start invisible for fade-in effect */
#about .education-hi-sticky,
#about .timeline-container,
#about .experience-cards-container,
#about .research-cards-container,
#about .education-section-title,
#about .experience-section-title,
#about .research-section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  z-index: 200;
  color: #ffffff;
}

#about .education-hi-sticky.fade-in,
#about .timeline-container.fade-in,
#about .experience-cards-container.fade-in,
#about .research-cards-container.fade-in,
#about .education-section-title.fade-in,
#about .experience-section-title.fade-in,
#about .research-section-title.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Make sure all education content is white and above overlay */
#about .education-layout {
  position: relative;
  z-index: 200;
}

#about .education-layout * {
  color: #ffffff !important;
}

#experience h2,
#experience h3 {
  color: #ffffff;
}

#experience .timeline-content {
  color: #ffffff;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

#experience .timeline-year-badge {
  color: #ffffff;
}

#experience .timeline-school {
  color: #ffffff;
}

#experience .timeline-location {
  color: #ffffff;
}

#experience .timeline-track {
  background: #ffffff;
}

#experience .timeline-dot {
  background: #ffffff;
  border-color: #ffffff;
}

#experience .course-pill {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
}

#experience .experience-list li {
  color: #ffffff;
}

#experience .experience-list li::before {
  color: #ffffff;
}

#experience .container {
  position: relative;
  z-index: 2;
}

/* Experience Section Title */
.experience-section-title {
  margin: 8rem 0 3rem 0;
  text-align: left;
}

.experience-section-title h3 {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  margin: 0 !important;
  color: white !important;
}

/* Education Section Title */
.education-section-title {
  margin: 0;
  text-align: left;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
}

.education-section-title h3 {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  margin: 0 !important;
  color: white !important;
}

/* Experience Cards Container */
.experience-cards-container {
  margin-top: 1rem;
}

.research-section-title {
  margin: 8rem 0 2rem 0;
  text-align: left;
}

.research-section-title h3 {
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  margin: 0 !important;
  color: white !important;
}

.research-cards-container {
  margin-top: 1rem;
}

/* Education Layout - Headline left, Timeline right */
.education-layout {
  display: flex;
  min-height: 450vh;
  align-items: flex-start;
  gap: 0.5rem;
}

.education-name-left {
  flex: 0 0 50%; /* Left half for headline */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 2rem;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.education-content-right {
  position: absolute;
  top: 2rem;
  left: 50%;
  height: 240vh;
  width: calc(50% - 2rem);
  z-index: 100;
  padding: 1rem;
  overflow: hidden;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.education-content-right.fade-in {
  opacity: 1;
}
}

/* Move the section title to the left column */
.education-hi-sticky {
  position: sticky;
  top: 20vh;
  z-index: 101;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: clamp(1rem, 3.5vw, 2.7rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  transform: scaleY(1.7);
  margin: 0;
  text-align: left;
  opacity: 1;
  transition: none;
  width: fit-content;
  margin-left: max(.5vw, calc(50% - 600px));
}

.education-hi-sub {
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #ffffff;
  text-transform: none;
  margin-top: 0.5rem;
  transform: scaleY(0.6);
  letter-spacing: 0.05em;
}

.education-school-photo {
  position: sticky;
  top: calc(20% + 6rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
  z-index: 98;
  transform: scaleY(0.588); /* Counter the parent's scaleY(1.7): 1/1.7 = 0.588 */
}

.education-school-photo img {
  width: 150px !important;
  height: 150px !important;
  min-width: 150px;
  min-height: 150px;
  max-width: 150px;
  max-height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: block;
  aspect-ratio: 1 / 1;
}

.education-school-photo img:hover {
  border-color: #F97316;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.education-description {
  display: block;
  font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  text-align: center;
  margin: 0;
  max-width: 400px;
  transform: scaleY(0.588); /* Counter the parent's scaleY(1.7): 1/1.7 = 0.588 */
  border: 2px solid transparent;
}

.education-nav-subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0.3rem 0;
  max-width: 400px;
  transform: scaleY(0.588); /* Counter the parent's scaleY(1.7): 1/1.7 = 0.588 */
}

.nav-item {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
  padding: 0.4rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.8rem;
  transition: all 0.3s ease;
  display: inline-block;
  width: fit-content;
}

.nav-item.active {
  color: #F97316;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
  border-left-color: transparent;
  padding-left: 1rem;
}

/* REMOVED - was disabled media query
@media (max-width: 0px) {
  .education-layout {
    flex-direction: column;
    gap: 2rem;
  }
  
  .education-name-left,
  .education-content-right {
    flex: none;
    width: 100%;
  }
  
  .education-hi-sticky {
    position: sticky !important;
    top: 2.5% !important;
    left: 0 !important;
    right: 0 !important;
    transform: scaleY(1.7) !important;
    text-align: center !important;
    font-size: clamp(2.2rem, 8vw, 4rem) !important;
    margin-bottom: 2rem !important;
  }
  
  .education-hi-sub {
    text-align: center !important;
  }
  
  .education-description {
    text-align: center !important;
    max-width: 100% !important;
    margin: 1.5rem auto 0 auto !important;
  }
  
  .education-school-photo {
    position: sticky !important;
    top: calc(2.5% + 10rem) !important;
    text-align: center !important;
    margin: 2rem auto 1.5rem auto !important;
  }
  
  .education-school-photo img {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
  }
  
  .education-nav-subtitle {
    position: sticky !important;
    top: calc(2.5% + 12rem) !important;
    align-items: center !important;
    margin: 2rem auto 0 auto !important;
  }
}



 */

#experience .container {
  position: relative;
  z-index: 2;
}

/* Section Focus Animation */
#education .timeline-container,
#education .experience-cards-container,
#education .research-cards-container,
#education .education-section-title,
#education .experience-section-title,
#education .research-section-title {
  opacity: 0.3 !important;
  transition: opacity 0.6s ease;
}

#education .timeline-container.in-focus,
#education .experience-cards-container.in-focus,
#education .research-cards-container.in-focus,
#education .education-section-title.in-focus,
#education .experience-section-title.in-focus,
#education .research-section-title.in-focus {
  opacity: 1 !important;
}

/* EXPERIENCE CARDS */
.experience-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.experience-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.experience-card-header {
  margin-bottom: 1rem;
}

.experience-year-badge {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.experience-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-family: var(--heading-font);
}

.experience-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.experience-location,
.research-location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 1rem;
}

.experience-card-preview {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.experience-card-preview p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.experience-card-click {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.experience-card:hover .experience-card-click {
  opacity: 1;
}

/* Research Card Styles - Similar to Experience Cards */
.research-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.research-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.research-card-header {
  margin-bottom: 1rem;
}

.research-year-badge {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.research-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-family: var(--heading-font);
}

.research-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.research-card-preview {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.research-card-preview p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.research-card-click {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.research-card:hover .research-card-click {
  opacity: 1;
}

/* Experience Modal Styles */
.experience-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.experience-modal.active {
  opacity: 1;
  visibility: visible;
}

.experience-modal-content {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.experience-modal.active .experience-modal-content {
  transform: scale(1);
}

.experience-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.experience-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.experience-modal-details {
  margin-top: 1.5rem;
}

.experience-modal-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-modal-details li {
  color: #ffffff;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.experience-modal-details li::before {
  content: "▶";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  top: 0;
}

/* Research Modal Styles - Similar to Experience Modal */
.research-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.research-modal.active {
  opacity: 1;
  visibility: visible;
}

.research-modal-content {
  background: #000000;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.research-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.research-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.research-modal-header {
  margin-bottom: 1.5rem;
}

.research-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.research-modal-company {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.research-modal-details {
  margin-top: 1.5rem;
}

.research-modal-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.research-modal-details li {
  color: #ffffff;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.research-modal-details li::before {
  content: "▶";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  top: 0;
}

/* Education Subtitle */
.education-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-family);
  margin-top: 1rem;
  font-style: italic;
  letter-spacing: 0.02em;
  position: sticky;
  top: calc(10rem + 4rem); /* Position below the main title */
}

/* Social Media Links */
.education-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  transform: scaleY(0.588); /* Counter the parent's scaleY(1.7) */
  position: sticky;
  top: calc(20% + 16rem);
  z-index: 97;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: fill 0.3s ease;
}


/* PROJECTS SECTION */
#projects {
  background: transparent !important;
  color: #000000;
  padding: 6rem 0 4rem 0;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#projects .container {
  width: 90vw;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* Match about me container size in vertical mode */
@media (max-width: 964px) {
  #projects .container {
    width: 85vw !important;
    max-width: 550px !important;
  }
}

#projects .section-title {
  text-align: center;
  margin-bottom: 4rem;
}

#projects .section-title h2 {
  color: #000000;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
}

#projects .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), #e67e22);
  border-radius: 2px;
}

/* Stack Section Layout */
.stack-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* Horizontal layout for desktop - My Stack title on top */
@media (min-width: 965px) {
  .stack-side {
    display: flex;
    flex-direction: column;
    gap:  -3rem;
  }
  
  .stack-side h2 {
    writing-mode: initial;
    text-orientation: initial;
    transform: none;
    margin: 0 0 -3rem 0;
    text-align: left;
  }
  
  .stack-section {
    flex-direction: column;
    gap: 5rem;
    flex: 1;
  }
  
  .stack-category {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }
  
  .stack-category:first-child {
    margin-top: 1vh;
  }
  
  .stack-category h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .stack-category h3::after {
    left: 0;
    transform: none;
  }
  
  .stack-category .stack-grid {
    justify-content: flex-start;
    width: 100%;
  }
}

/* Stack Category Styling */
.stack-category {
  width: 100%;
  max-width: 800px;
}

.stack-category h3 {
  color: var(--accent-primary);
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  margin-bottom: 1.5rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.stack-category h3::after {
  display: none;
}

.stack-heading {
  color: var(--text-color);
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Creative Hexagonal Stack Layout */
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem 0;
  gap: 1rem;
  position: relative;
}

.stack-category .stack-grid {
  max-width: 100%;
}

/* Staggered layout with different sizes */
.stack-grid .tech:nth-child(1),
.stack-grid .tech:nth-child(5),
.stack-grid .tech:nth-child(9) {
  transform: scale(1.1);
  z-index: 2;
}

.stack-grid .tech:nth-child(3),
.stack-grid .tech:nth-child(7),
.stack-grid .tech:nth-child(11) {
  transform: scale(0.9) rotate(2deg);
}

.stack-grid .tech:nth-child(2),
.stack-grid .tech:nth-child(6),
.stack-grid .tech:nth-child(10) {
  transform: rotate(-2deg);
}

.stack-grid .tech:nth-child(4),
.stack-grid .tech:nth-child(8),
.stack-grid .tech:nth-child(12) {
  transform: rotate(1deg);
}

@media (max-width: 768px) {
  .stack-grid {
    gap: 0.8rem;
    padding: 1.5rem 0;
  }
  
  /* Reset transforms on mobile for better readability */
  .stack-grid .tech {
    transform: none !important;
  }
}

#projects .tech,
#my-stack .tech {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: #000000;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 120px;
  white-space: nowrap;
}

/* Add subtle gradient overlay */
#projects .tech::before,
#my-stack .tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
  transition: left 0.6s;
}

#projects .tech:hover::before,
#my-stack .tech:hover::before {
  left: 100%;
}

#projects .tech:hover,
#my-stack .tech:hover {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #e67e22 100%);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 
    0 12px 40px rgba(249, 115, 22, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-6px) scale(1.05) rotate(0deg) !important;
  backdrop-filter: blur(20px);
}

/* Add pulse animation for featured items */
.stack-grid .tech:nth-child(1),
.stack-grid .tech:nth-child(5),
.stack-grid .tech:nth-child(9) {
  animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
  0%, 100% { 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% { 
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* Black section box and screen-width black box */
.black-section-box {
  position: relative;
  width: 100%;
  z-index: 1;
}

.screen-width-black-box {
  width: 100vw;
  height: 100vh;
  background: #000000;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.screen-width-black-box.fade-in {
  opacity: 1;
}

/* Timeline positioning - remove spacing and touch center margin */
.education-timeline-fixed .timeline-container {  
  margin-top: 5.3rem !important;
  padding: 0 !important;
  max-width: none !important;
}



/* Left align education timeline content descriptions */
#education .timeline-content {
  text-align: left !important;
}

#education .timeline-school,
#education .timeline-location,
#education .timeline-content h3 {
  text-align: left !important;
}

/* Right align the summary navigation items */
.education-nav-subtitle {
  text-align: center !important;
}

.education-nav-subtitle .nav-item {
  text-align: center !important;
}

/* Overall Projects Title */
.overall-title {
  text-align: center;
  margin-bottom: 2rem;
}

.overall-title h2 {
  color: #000000;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

/* Main Content Layout - Side by Side */
.main-content-layout {
  display: flex;
  gap: 3rem;
  width: 100%;
}

.stack-side {
  flex: 1;
  position: sticky;
  top: 8rem;
  align-self: flex-start;
}

.projects-side {
  flex: 1;
  margin-top: -5rem;
}

.stack-side h2 {
  color: #000000;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transform: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.25rem 0;
  text-align: left;
  position: relative;
}


.projects-side h2 {
  color: #000000;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 2rem 0;
  text-align: center;
}

/* Mobile layout - stack vertically */
@media (max-width: 964px) {
  .main-content-layout {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Projects Section */
.projects-section {
  margin-top: 4rem;
  width: 100%;
}

.projects-section h2 {
  color: #000000;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif !important;
  font-size: clamp(1rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  transform: scaleY(1.7) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 2rem 0;
  text-align: center;
}

.project-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.project-card:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.project-header h3 {
  color: #000000;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.project-period {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-family);
}

.project-description {
  color: #000000;
  font-family: var(--font-family);
  line-height: 1.6;
}

.project-description p {
  margin: 0;
  font-size: 0.95rem;
}

.project-description ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
}

.project-description li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #000000;
}

.project-description li:last-child {
  margin-bottom: 0;
}

/* CUSTOM CURSOR */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: opacity 0.3s ease;
}

body {
  cursor: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body * {
  cursor: none !important;
}

@media (max-width: 768px) {
  #custom-cursor {
    display: none;
  }
  
  body, body * {
    cursor: auto !important;
  }
}

/* SCROLL PROGRESS INDICATOR */
.scroll-progress {
  position: fixed;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  width: 6px;
  height: 100px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 100;
}

.scroll-progress-bar {
  width: 100%;
  height: 100%;
  background: #F97316;
  border-radius: 3px;
  transform: translateY(-100%);
  transition: transform 0.1s ease-out;
}

/* HIDE NATIVE SCROLLBAR */
html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
  display: none !important;
}

body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
  display: none !important;
}

* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
  display: none !important;
}

/* STARTUP PRELOADER */
.startup-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  background: #000000;
  overflow: hidden;
}

.preloader-bar {
  width: 10%;
  height: 100%;
  background: #000000;
  transform: translateY(0);
  will-change: transform;
  position: relative;
}

.startup-name-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  font-family: 'Anton', 'Montserrat', 'Inter', Arial, sans-serif;
  font-size: clamp(8rem, 20vw, 12rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  overflow: hidden;
  letter-spacing: 0.1em;
}

.startup-name-text span {
  display: inline-block;
  transform: translateY(100%);
}

