/* ===== CSS Variables & Reset ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: rgba(22, 22, 31, 0.55);
  --bg-card-hover: rgba(28, 28, 40, 0.65);
  --text-primary: #e8e8ed;
  --text-secondary: #9898a6;
  --text-muted: #5a5a6e;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --accent-subtle: rgba(108, 92, 231, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(255, 255, 255, 0.24);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --success: #00cec9;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg-primary);
}

body {
  font-family: var(--font-main);
  background: transparent;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at 10% -30%, rgba(108, 92, 231, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 20%, rgba(162, 155, 254, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 45% at 70% 95%, rgba(253, 121, 168, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(0, 206, 201, 0.12), transparent 45%),
    linear-gradient(180deg, #0a0a12 0%, #0a0a0f 40%, #0d0d14 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(14, 14, 22, 0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 32px;
  background: rgba(14, 14, 22, 0.62);
  border-bottom-color: var(--glass-border-hover);
}

.nav-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-link.active {
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(108, 92, 231, 0.28);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(14, 14, 22, 0.72);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  padding: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: var(--glass-highlight), 0 4px 24px rgba(108, 92, 231, 0.15);
  animation: badgeAppear 0.6s ease-out, badgeGlow 3s ease-in-out infinite;
}

.hero-name {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 14px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-name .line {
  display: block;
  animation: slideInFromLeft 1s ease-out, glowPulse 3s ease-in-out infinite;
}

.hero-name .line:first-child {
  animation-delay: 0.2s, 2s;
}

.hero-name .line:last-child {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, #fd79a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInFromRight 1s ease-out 0.4s both, gradientShift 4s ease infinite;
  background-size: 200% 200%;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
  }
  50% {
    text-shadow: 0 0 40px rgba(108, 92, 231, 0.6), 0 0 60px rgba(108, 92, 231, 0.3);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 20px 36px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  animation: fadeInUp 1s ease-out;
}

.clock-time {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 4px;
  text-shadow: 0 0 30px var(--accent-glow);
}

.clock-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease-out;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.95) 0%, rgba(90, 75, 220, 0.98) 100%);
  color: white;
  box-shadow: 0 4px 24px var(--accent-glow), var(--glass-highlight);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--accent-glow), var(--glass-highlight);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--glass-highlight);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: rgba(108, 92, 231, 0.45);
  background: rgba(108, 92, 231, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.15);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(17, 17, 24, 0.4);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ===== Project Tabs ===== */
.project-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 5px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.tab-btn {
  flex: 1;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, #5b4bd4 100%);
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow), var(--glass-highlight);
}

.tab-btn:hover:not(.active) {
  color: var(--text-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.current-events-lead {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.current-events-grid {
  margin-bottom: 28px;
}

.current-events-ongoing {
  margin-top: 8px;
}

/* ===== Project Cards ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.project-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), var(--glass-highlight), 0 0 0 1px rgba(108, 92, 231, 0.12);
}

.project-card.project-featured {
  margin-bottom: 20px;
}

.project-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid rgba(108, 92, 231, 0.25);
  box-shadow: var(--glass-highlight);
}

.project-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-image-container {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--text-muted);
  gap: 12px;
}

.image-placeholder p {
  font-size: 0.8rem;
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-description strong {
  color: var(--text-primary);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(108, 92, 231, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-light);
  border-radius: 6px;
  border: 1px solid rgba(108, 92, 231, 0.25);
  box-shadow: var(--glass-highlight);
}

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.skill-category {
  background: var(--bg-card);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.skill-category:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), var(--glass-highlight);
}

.skill-category.skill-highlight {
  border-color: rgba(108, 92, 231, 0.35);
  background: linear-gradient(135deg, rgba(22, 22, 31, 0.5) 0%, rgba(108, 92, 231, 0.14) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  grid-column: 1 / -1;
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent-light);
}

.skill-category-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-secondary);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  box-shadow: var(--glass-highlight);
}

.skill-chip:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.08);
}

.skill-chip.highlight {
  background: rgba(108, 92, 231, 0.18);
  color: var(--accent-light);
  border-color: rgba(108, 92, 231, 0.35);
}

/* ===== About ===== */
.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-intro {
  margin-bottom: 40px;
}

.about-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-intro strong {
  color: var(--text-primary);
}

.about-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.experience-timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 28px;
  padding-bottom: 32px;
  border-left: 1px solid var(--border);
  margin-left: 6px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item.current .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-dot {
  position: absolute;
  left: -6px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 2px solid var(--text-muted);
  box-shadow: var(--glass-highlight);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-role {
  font-size: 1rem;
  font-weight: 700;
}

.timeline-item.current .timeline-role {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 55%, #fd79a8 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(108, 92, 231, 0.35);
  animation: glowPulse 3s ease-in-out infinite;
}

.timeline-date {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.timeline-company {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.timeline-details {
  list-style: none;
}

.timeline-details li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.timeline-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* About sidebar */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.info-card {
  background: var(--bg-card);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.info-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.profile-card {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.profile-frame {
  position: relative;
  padding: 3px;
  background: linear-gradient(145deg, rgba(162, 155, 254, 0.9) 0%, var(--accent) 50%, rgba(253, 121, 168, 0.5) 100%);
  box-shadow: 0 8px 32px var(--accent-glow), var(--glass-highlight);
}

.profile-image-container {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-image {
  transform: scale(1.05);
}

/* About Section Animations */
#about .section-title {
  animation: slideInUp 0.8s ease-out;
}

#about .about-intro {
  animation: fadeInUp 1s ease-out 0.2s both;
}

#about .timeline-item {
  animation: slideInLeft 0.6s ease-out both;
}

#about .timeline-item:nth-child(1) { animation-delay: 0.3s; }
#about .timeline-item:nth-child(2) { animation-delay: 0.5s; }
#about .timeline-item:nth-child(3) { animation-delay: 0.7s; }

#about .info-card {
  animation: fadeInUp 0.8s ease-out both;
}

#about .info-card:nth-child(1) { animation-delay: 0.2s; }
#about .info-card:nth-child(2) { animation-delay: 0.4s; }
#about .info-card:nth-child(3) { animation-delay: 0.6s; }
#about .info-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.ai-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-tool {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(108, 92, 231, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-light);
  border-radius: 6px;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

/* ===== Other Side of NIC ===== */
.other-side-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.other-side-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.other-side-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), var(--glass-highlight), 0 0 0 1px rgba(108, 92, 231, 0.12);
}

.other-side-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.other-side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.other-side-card:hover .other-side-image {
  transform: scale(1.04);
}

.other-side-body {
  padding: 24px 28px 28px;
}

.other-side-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.other-side-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .other-side-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-side-image-wrap {
    aspect-ratio: 4 / 5;
  }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
  color: var(--text-secondary);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.contact-card:hover {
  border-color: rgba(108, 92, 231, 0.45);
  background: rgba(108, 92, 231, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(108, 92, 231, 0.2), var(--glass-highlight);
}

.contact-card:hover svg {
  color: var(--accent-light);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 10, 15, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeAppear {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: var(--glass-highlight), 0 4px 24px rgba(108, 92, 231, 0.15);
    border-color: rgba(255, 255, 255, 0.14);
  }
  50% {
    box-shadow: var(--glass-shadow), 0 10px 44px rgba(108, 92, 231, 0.28);
    border-color: rgba(108, 92, 231, 0.35);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar {
    padding: 14px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-name {
    letter-spacing: -1px;
  }

  .clock-time {
    font-size: 1.6rem;
  }

  .hero-clock {
    padding: 16px 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    position: static;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
