/* ===========================
   ROOT & RESET
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080c14;
  --bg-alt: #0d1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 179, 237, 0.4);
  --accent: #63b3ed;
  --accent-2: #a78bfa;
  --accent-3: #34d399;
  --text: #e2e8f0;
  --text-muted: #718096;
  --text-dim: #4a5568;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(99, 179, 237, 0.25);
  color: #fff;
}

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

strong {
  color: var(--accent);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   NAV
=========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover {
  color: var(--text);
}

.nav-links a:not(.btn-nav):hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.5rem 1.2rem !important;
  border: 1px solid var(--accent) !important;
  border-radius: 8px !important;
  color: var(--accent) !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
}

.btn-nav:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

/* CV Download */
.btn-cv {
  padding: 0.45rem 1rem !important;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(52, 211, 153, 0.05)) !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  border-radius: 8px !important;
  color: var(--accent-3) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
}

.btn-cv:hover {
  background: rgba(52, 211, 153, 0.2) !important;
  border-color: var(--accent-3) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.25) !important;
}

/* Language Toggle */
.btn-lang {
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}

.btn-lang:hover,
.btn-lang.active {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(167, 139, 250, 0.1);
}

/* Nav actions (lang toggle + hamburger) — always visible */
.nav-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .btn-lang {
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
  }
}

/* Mobile CV */
.btn-cv-mobile {
  color: var(--accent-3) !important;
  font-weight: 600 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(8, 12, 20, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu li:last-child {
  border: none;
}

.mobile-menu a {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

/* ===========================
   HERO
=========================== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 179, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 179, 237, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(99, 179, 237, 0.18), transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent 70%);
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1), transparent 70%);
  animation: orbFloat 6s ease-in-out infinite 2s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-name {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.hero-typewriter {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  border-right: 2px solid var(--accent);
  padding-right: 4px;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--accent), #4299e1);
  color: var(--bg);
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(99, 179, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 179, 237, 0.5);
}

.btn-secondary {
  padding: 0.85rem 2rem;
  border: 1px solid var(--border-hover);
  color: var(--text);
  font-weight: 500;
  border-radius: 10px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99, 179, 237, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.3;
  }
}

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 6rem 2rem;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  font-size: 1rem;
}

/* ===========================
   ABOUT
=========================== */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.avatar-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 3px;
  box-shadow: 0 0 40px rgba(99, 179, 237, 0.3);
  animation: avatarPulse 4s ease-in-out infinite;
}

@keyframes avatarPulse {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(99, 179, 237, 0.3);
  }

  50% {
    box-shadow: 0 0 70px rgba(99, 179, 237, 0.5);
  }
}

.avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.avatar-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent-3);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   SKILLS
=========================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  cursor: default;
}

.skill-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 179, 237, 0.1);
}

.skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 179, 237, 0.15), rgba(167, 139, 250, 0.15));
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.skill-icon svg {
  width: 24px;
  height: 24px;
}

.skill-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ===========================
   TAGS
=========================== */
.skill-tags,
.project-tech,
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.75rem;
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  transition: var(--transition);
}

.tag:hover {
  background: rgba(99, 179, 237, 0.2);
  border-color: var(--accent);
}

.tag-sm {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
}

/* ===========================
   TIMELINE (Experience)
=========================== */
.timeline {
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2px solid var(--bg);
  box-shadow: 0 0 12px rgba(99, 179, 237, 0.4);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-role {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.timeline-company {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.timeline-meta {
  text-align: right;
}

.timeline-year {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-2);
  margin-bottom: 0.25rem;
}

.timeline-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-list {
  list-style: none;
  margin-bottom: 1rem;
}

.timeline-list li {
  padding: 0.3rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}

.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===========================
   PROJECTS
=========================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card[data-index="1"]::before {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
}

.project-card[data-index="2"]::before {
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-icon {
  font-size: 2.2rem;
}

.project-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  transition: var(--transition);
}

.project-link svg {
  width: 18px;
  height: 18px;
}

.project-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.project-subtitle {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.project-year {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: var(--surface-hover);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ===========================
   EDUCATION
=========================== */
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  transition: var(--transition);
}

.edu-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.edu-icon {
  font-size: 3rem;
}

.edu-info {
  flex: 1;
}

.edu-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.edu-school {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.edu-location {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.edu-right {
  text-align: right;
}

.edu-year {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--accent-2);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.lang-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.lang-badge {
  padding: 0.3rem 0.8rem;
  background: rgba(99, 179, 237, 0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   CONTACT
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  cursor: pointer;
  color: var(--text);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(99, 179, 237, 0.1);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 179, 237, 0.15), rgba(167, 139, 250, 0.15));
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-all;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

footer p {
  font-size: 0.9rem;
}

footer .footer-sub {
  font-size: 0.78rem;
  margin-top: 0.4rem;
  opacity: 0.6;
}

/* ===========================
   REVEAL ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.skills-grid .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.skills-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.skills-grid .reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.skills-grid .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.skills-grid .reveal:nth-child(5) {
  transition-delay: 0.25s;
}

.skills-grid .reveal:nth-child(6) {
  transition-delay: 0.3s;
}

.projects-grid .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.projects-grid .reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.projects-grid .reveal:nth-child(3) {
  transition-delay: 0.25s;
}

.contact-grid .reveal:nth-child(1) {
  transition-delay: 0.0s;
}

.contact-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.contact-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.contact-grid .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-avatar {
    flex-direction: row;
    justify-content: center;
  }

  .about-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .edu-card {
    flex-direction: column;
    text-align: center;
  }

  .edu-right {
    text-align: center;
  }

  .lang-badges {
    align-items: center;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-dot {
    left: 4px;
  }

  .timeline-header {
    flex-direction: column;
  }

  .timeline-meta {
    text-align: left;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .about-avatar {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    gap: 1rem;
  }
}