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

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

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #FAFAFA;
  background-color: #0D0D0F;
  overflow-x: hidden;
  font-weight: 400;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Clash Display', serif;
  line-height: 1.2;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(250, 250, 250, 0.1);
  transition: all 0.3s ease;
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Clash Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #FAFAFA;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(250, 250, 250, 0.7);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #FAFAFA;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0066FF;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 0 2rem;
  background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0066FF;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  color: rgba(250, 250, 250, 0.6);
  font-weight: 400;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat {
  text-align: left;
}

.stat-number {
  display: block;
  font-family: 'Clash Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0066FF;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(250, 250, 250, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-container {
  position: relative;
  width: 320px;
  height: 320px;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 102, 255, 0.3);
  transition: transform 0.4s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

.profile-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(250, 250, 250, 0.5);
  font-size: 0.85rem;
  font-weight: 500;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(250, 250, 250, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0066FF;
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-story {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(250, 250, 250, 0.8);
}

.about-story p {
  margin-bottom: 1.5rem;
}

.about-cta {
  color: #0066FF !important;
  font-weight: 500;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.detail-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FAFAFA;
  font-weight: 600;
}

.detail-block ul {
  list-style: none;
}

.detail-block li {
  color: rgba(250, 250, 250, 0.7);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.detail-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #0066FF;
  font-weight: 600;
}

/* ===== WORK SECTION ===== */
.work {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.work-header {
  margin-bottom: 6rem;
}

.work-subtitle {
  font-size: 1.2rem;
  color: rgba(250, 250, 250, 0.6);
  margin-top: 1rem;
}

.project {
  margin-bottom: 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  min-height: auto;
}

.project.reverse {
  direction: rtl;
}

.project.reverse > * {
  direction: ltr;
}

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

.project-year {
  color: rgba(250, 250, 250, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-award,
.project-type {
  background: rgba(0, 102, 255, 0.1);
  color: #0066FF;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FAFAFA;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.8);
  margin-bottom: 2rem;
}

.project-story {
  margin-bottom: 2rem;
}

.project-problem,
.project-solution,
.project-impact {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.85);
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  position: relative;
}

.project-problem::before {
  content: '🔍';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.project-solution::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.project-impact::before {
  content: '📈';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.project-problem strong,
.project-solution strong,
.project-impact strong {
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background: rgba(250, 250, 250, 0.05);
  color: rgba(250, 250, 250, 0.7);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(250, 250, 250, 0.1);
}


.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  color: #0066FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: rgba(0, 102, 255, 0.05);
}

.project-link:hover {
  background: rgba(0, 102, 255, 0.1);
  border-color: #0066FF;
  transform: translateY(-2px);
}

.project-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center;
  border-radius: 1rem;
  transition: transform 0.4s ease, opacity 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 1;
  visibility: visible;
}

.project:hover .project-img {
  transform: scale(1.02);
}

/* ===== SUPPORTING PROJECTS ===== */
.supporting-projects {
  margin-top: 8rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.supporting-title {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: rgba(250, 250, 250, 0.8);
}

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

.supporting-project {
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.supporting-project:hover {
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
}

.supporting-project h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #FAFAFA;
}

.supporting-project p {
  color: rgba(250, 250, 250, 0.7);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.supporting-project a {
  color: #0066FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.supporting-project a:hover {
  text-decoration: underline;
}

/* ===== EDUCATION SECTION ===== */
.education {
  padding: var(--spacing-xxl) 0 0 0;
  margin-top: var(--spacing-xl);
  margin-bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 102, 255, 0.02) 100%);
  position: relative;
}

.education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(0, 102, 255, 0.3) 50%, 
    transparent 100%);
}

.education::after {
  display: none;
}

.education-header {
  text-align: center;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.education-subtitle {
  font-size: 1.2rem;
  color: rgba(250, 250, 250, 0.7);
  margin-top: 1rem;
  margin-bottom: 4rem;
  font-style: italic;
}

.education-content {
  max-width: 1000px;
  margin: 2rem auto 0 auto;
  padding-bottom: 3rem;
}

.education-main {
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.education-main:hover {
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-2px);
}

.education-degree {
  margin-bottom: 2rem;
}

.degree-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.degree-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.degree-minor {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.1rem;
}

.degree-university {
  color: rgba(250, 250, 250, 0.8);
  font-size: 1rem;
  font-weight: 500;
}

.degree-graduation {
  color: rgba(250, 250, 250, 0.6);
  font-size: 0.95rem;
  font-family: 'JetBrains Mono', monospace;
}

.education-achievements {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.achievement-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.achievement-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.achievement-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.achievement-text strong {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.achievement-text span {
  color: rgba(250, 250, 250, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.coursework-section {
  margin-top: 3rem;
}

.coursework-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.coursework-note {
  color: rgba(250, 250, 250, 0.6);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 2rem;
  text-align: center;
}

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

.coursework-category {
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.coursework-category:hover {
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(0, 102, 255, 0.2);
}

.coursework-category h5 {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

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

.course-list li {
  color: rgba(250, 250, 250, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(250, 250, 250, 0.05);
  transition: color 0.2s ease;
}

.course-list li:hover {
  color: rgba(250, 250, 250, 1);
}

.course-list li:last-child {
  border-bottom: none;
}

/* ===== SYSTEM DESIGN CASE STUDY ===== */
.case-study {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 102, 255, 0.02) 50%, transparent 100%);
}

.case-study-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-study-header {
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
  flex-shrink: 0;
}

.case-study-header .section-title {
  margin-bottom: 1rem;
}

.case-study-subtitle {
  color: rgba(250, 250, 250, 0.7);
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: italic;
}

.case-study-project {
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 1rem;
  padding: 3rem;
  margin-top: 10rem !important;
  margin-bottom: 0;
  flex-shrink: 0;
}

.case-study-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
}

.case-study-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
  margin: 0;
}

.case-study-tag {
  background: rgba(0, 102, 255, 0.15);
  color: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 102, 255, 0.3);
}

.case-study-section {
  margin-bottom: 3rem;
}

.case-study-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.case-study-architecture {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(0, 102, 255, 0.05);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 0.75rem;
  overflow-x: auto;
}

.case-study-architecture .mermaid {
  background: rgba(13, 13, 15, 0.8);
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
}

.case-study-architecture .mermaid svg {
  max-width: 100%;
  height: auto;
}

.case-study-text {
  color: rgba(250, 250, 250, 0.85);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.case-study-decisions,
.case-study-tradeoffs {
  display: grid;
  gap: 2rem;
}

.decision-item,
.tradeoff-item {
  background: rgba(0, 102, 255, 0.05);
  border-left: 3px solid var(--color-accent);
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.decision-item:hover,
.tradeoff-item:hover {
  background: rgba(0, 102, 255, 0.1);
  transform: translateX(5px);
}

.decision-item {
  padding: 1rem 1.5rem;
  color: rgba(250, 250, 250, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

.decision-item strong {
  color: var(--color-accent);
  font-weight: 600;
  margin-right: 0.5rem;
}

.tradeoff-item strong {
  color: var(--color-accent);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.decision-item p,
.tradeoff-item p {
  color: rgba(250, 250, 250, 0.8);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.case-study-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 102, 255, 0.2);
}

@media (max-width: 768px) {
  .case-study-project {
    padding: 2rem 1.5rem;
    margin-top: 6rem !important;
  }

  .case-study-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .case-study-title {
    font-size: 1.5rem;
  }

  .case-study-links {
    flex-direction: column;
  }
}

/* ===== EXPERIENCE TIMELINE ===== */
.experience {
  padding: 0 0 var(--spacing-xxl) 0;
  margin-top: 0;
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, transparent 50%);
  position: relative;
}

.experience::before {
  display: none;
}

.experience-header {
  text-align: center;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.experience-subtitle {
  font-size: 1.2rem;
  color: rgba(250, 250, 250, 0.7);
  margin-top: 1rem;
  margin-bottom: 4rem;
  font-style: italic;
}

.timeline {
  max-width: 900px;
  margin: 2rem auto 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

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

.timeline-marker {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 2rem;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.3);
  border: 3px solid var(--color-background);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-dot.current-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { 
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
  }
  50% { 
    box-shadow: 0 0 0 8px rgba(0, 102, 255, 0.1);
  }
}

.timeline-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(to bottom, 
    rgba(250, 250, 250, 0.2) 0%, 
    rgba(250, 250, 250, 0.1) 50%, 
    rgba(250, 250, 250, 0.05) 100%);
  margin-top: 1rem;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content {
  flex-grow: 1;
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 24px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 8px 0;
  border-color: transparent rgba(250, 250, 250, 0.1) transparent transparent;
}

.timeline-item:hover .timeline-content {
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateX(4px);
}

.timeline-item.current .timeline-content {
  background: rgba(0, 102, 255, 0.05);
  border-color: rgba(0, 102, 255, 0.2);
}

.timeline-header {
  margin-bottom: 1.5rem;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-date {
  color: rgba(250, 250, 250, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

.timeline-status {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.current-status {
  background: rgba(0, 102, 255, 0.2);
  color: var(--color-accent);
  animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.timeline-status:not(.current-status) {
  background: rgba(250, 250, 250, 0.1);
  color: rgba(250, 250, 250, 0.6);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0.5rem 0;
  font-family: var(--font-display);
}

.timeline-company {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.company-name {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
}

.company-location {
  color: rgba(250, 250, 250, 0.5);
  font-size: 0.9rem;
}

.timeline-description p {
  color: rgba(250, 250, 250, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.timeline-highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.timeline-highlights li {
  color: rgba(250, 250, 250, 0.7);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.timeline-learnings {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 102, 255, 0.05);
  border-left: 3px solid var(--color-accent);
  border-radius: 0.5rem;
  color: rgba(250, 250, 250, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
}

.timeline-learnings strong {
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.skill-tag {
  background: rgba(0, 102, 255, 0.1);
  color: var(--color-accent);
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 102, 255, 0.2);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: rgba(0, 102, 255, 0.2);
  transform: translateY(-1px);
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.skill-category h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FAFAFA;
  font-weight: 600;
}

.skill-category p {
  color: rgba(250, 250, 250, 0.7);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: rgba(250, 250, 250, 0.6);
  margin-bottom: 4rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateX(8px);
}

.contact-method.primary {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.3);
}

.contact-method.primary:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: #0066FF;
}

.contact-label {
  color: rgba(250, 250, 250, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-value {
  color: #FAFAFA;
  font-weight: 600;
}

.contact-method.primary .contact-value {
  color: #0066FF;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-note {
  margin-top: 0.5rem;
  color: rgba(250, 250, 250, 0.4);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .project {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-content {
    padding: 0 1rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .hero,
  .about,
  .work,
  .education,
  .experience,
  .skills,
  .contact {
    padding: 4rem 1rem;
  }
  
  .education-main {
    padding: 2rem 1.5rem;
  }
  
  .degree-title {
    font-size: 1.6rem;
  }
  
  .degree-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .coursework-grid {
    grid-template-columns: 1fr;
  }
  
  .achievement-badge {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-item {
    flex-direction: column;
    margin-bottom: 3rem;
  }
  
  .timeline-marker {
    flex-direction: row;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
    justify-content: flex-start;
  }
  
  .timeline-line {
    width: 100%;
    height: 2px;
    margin-top: 0;
    margin-left: 1rem;
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .timeline-company {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .profile-container {
    width: 250px;
    height: 250px;
  }
  
  .project-title {
    font-size: 1.8rem;
  }
  
  .supporting-grid {
    grid-template-columns: 1fr;
  }
  
  .exp-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .project-links {
    flex-direction: column;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ===== UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}