/* ═══════════════════════════════════════════════════════
   MD RANA MIA — style.css
   Dark Tech Theme | Cyan + Green accent
   ═══════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:      #080c14;
  --bg2:     #0d1320;
  --bg3:     #111827;
  --card:    rgba(17,24,39,0.95);
  --cyan:    #00d4ff;
  --cyan2:   #00b4e6;
  --green:   #00ff88;
  --purple:  #7c3aed;
  --text:    #e8eaf0;
  --muted:   #6b7a99;
  --border:  rgba(0,212,255,0.15);
  --glow:    rgba(0,212,255,0.3);
  --glow2:   rgba(0,255,136,0.25);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  cursor: none;
}
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; }
::selection { background: rgba(0,212,255,0.2); color: #fff; }

/* ── BG GRID + BLOBS ────────────────────────────────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.blob { position: fixed; border-radius: 50%; filter: blur(100px); opacity: 0.12; pointer-events: none; z-index: 0; }
.blob1 { width: 700px; height: 700px; background: #00d4ff; top: -300px; left: -200px; animation: bm1 20s ease-in-out infinite alternate; }
.blob2 { width: 550px; height: 550px; background: #7c3aed; bottom: -200px; right: -200px; animation: bm2 25s ease-in-out infinite alternate; }
.blob3 { width: 400px; height: 400px; background: #00ff88; top: 50%; left: 50%; animation: bm3 18s ease-in-out infinite alternate; }
@keyframes bm1 { to { transform: translate(100px,150px) scale(1.1); } }
@keyframes bm2 { to { transform: translate(-80px,-120px) scale(0.9); } }
@keyframes bm3 { to { transform: translate(-120px,80px) scale(1.2); } }

/* ── CURSOR ─────────────────────────────────────────────── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.3s, height 0.3s;
  mix-blend-mode: screen;
}
.cursor-trail {
  position: fixed; width: 32px; height: 32px;
  border: 1.5px solid rgba(0,212,255,0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.35s ease, opacity 0.3s;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  background: rgba(8,12,20,0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s;
}
nav.scrolled { background: rgba(8,12,20,0.98); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img  { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; border: 1px solid var(--border); }
.logo-text {
  font-family: 'Space Mono', monospace; font-size: 1rem; font-weight: 700; color: var(--cyan);
  background: rgba(0,212,255,0.1); border: 1px solid var(--border);
  border-radius: 8px; width: 38px; height: 38px;
  display: none; align-items: center; justify-content: center;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--cyan); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 22px; text-decoration: none;
  border: 1.5px solid var(--cyan); color: var(--cyan);
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; transition: all 0.3s;
  font-family: 'Space Mono', monospace;
}
.nav-cta:hover { background: var(--cyan); color: var(--bg); box-shadow: 0 0 20px var(--glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 101; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--cyan);
  color: var(--bg); border: none; border-radius: 8px;
  font-size: 0.9rem; font-weight: 700; text-decoration: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s; box-shadow: 0 0 25px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--glow); background: #22e0ff; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: transparent;
  color: var(--text); border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.06); }
.btn-sm { padding: 10px 22px !important; font-size: 0.85rem !important; }

/* ── SECTION BASE ───────────────────────────────────────── */
section { padding: 100px 60px; position: relative; z-index: 1; }
.alt-bg  { background: var(--bg2); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label  {
  font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--cyan);
  letter-spacing: 0.12em; margin-bottom: 12px; display: block;
}
.section-title  { font-family: 'Outfit', sans-serif; font-size: clamp(2rem,4vw,3rem); font-weight: 800; letter-spacing: -0.02em; }
.section-title span { background: linear-gradient(90deg,var(--cyan),var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ── HERO ───────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 120px 60px 60px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1200px; margin: auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,255,136,0.3); background: rgba(0,255,136,0.07);
  color: var(--green); font-size: 0.8rem; font-weight: 500;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 24px;
  font-family: 'Space Mono', monospace;
}
.dot-pulse {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  animation: pulse-anim 1.5s ease-in-out infinite;
}
@keyframes pulse-anim {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}
.hero-title { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.title-greeting { font-size: 1rem; color: var(--muted); font-weight: 400; font-family: 'Space Mono', monospace; }
.title-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  background: linear-gradient(135deg,#fff 0%,var(--cyan) 60%,var(--green) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.title-role { font-size: clamp(1.1rem,2.5vw,1.5rem); color: var(--cyan); font-family: 'Space Mono', monospace; font-weight: 400; }
.typed-cursor { animation: blink-cur 0.75s step-end infinite; color: var(--cyan); }
@keyframes blink-cur { 50% { opacity: 0; } }
.hero-desc { font-size: 1rem; color: var(--muted); line-height: 1.75; max-width: 480px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { text-align: center; }
.stat-n { font-family: 'Space Mono', monospace; font-size: 1.8rem; font-weight: 700; color: var(--cyan); }
.stat-l { font-size: 0.72rem; color: var(--muted); margin-top: 2px; display: block; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Photo */
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-photo-wrap { position: relative; width: 380px; height: 380px; }
.photo-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(0,212,255,0.3); animation: spin-slow 20s linear infinite; }
.inner-ring { inset: 20px; animation-direction: reverse; animation-duration: 15s; border-color: rgba(0,255,136,0.2); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.photo-circle {
  position: absolute; inset: 40px; border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg2),var(--bg2)) padding-box,
              linear-gradient(135deg,var(--cyan),var(--green),var(--purple)) border-box;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px var(--glow);
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; }
.photo-circle.photo-fallback .photo-initials { display: flex !important; }
.photo-initials {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 4rem; font-weight: 800;
  background: linear-gradient(135deg,var(--cyan),var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.orbit-icon {
  position: absolute; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--cyan); box-shadow: 0 0 15px var(--glow);
}
.orbit-1 { top: 10px; right: 10px; animation: floatOrbit 3s ease-in-out infinite alternate; }
.orbit-2 { bottom: 10px; right: 20px; animation: floatOrbit 4s ease-in-out infinite alternate-reverse; }
.orbit-3 { bottom: 20px; left: 10px; animation: floatOrbit 3.5s ease-in-out infinite alternate; }
.orbit-4 { top: 20px; left: 0; animation: floatOrbit 5s ease-in-out infinite alternate-reverse; }
@keyframes floatOrbit { to { transform: translateY(-10px); } }

.scroll-hint { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 40px; font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; }
.scroll-line { width: 60px; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.scroll-dot { width: 20px; height: 100%; background: var(--cyan); animation: scrollMove 2s ease-in-out infinite; }
@keyframes scrollMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  max-width: 1100px; margin: auto;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: center;
}
.about-photo-col { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ════════════════════════════════════════
   PHOTO SLIDER
   ════════════════════════════════════════ */
.photo-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #0d1320, #111827);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.08);
}

/* Slides container */
.photo-slider { width: 100%; height: 100%; position: relative; overflow: hidden; }

/* Each slide — hidden below by default */
.slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), opacity 0.7s ease;
  z-index: 1;
}
/* Active — visible center */
.slide.active { transform: translateY(0); opacity: 1; z-index: 2; }
/* Leaving — slides up and out */
.slide.leaving { transform: translateY(-100%); opacity: 0; z-index: 1; }

.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Initials fallback */
.slide-initials {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 5rem; font-weight: 800;
  background: linear-gradient(135deg,var(--cyan),var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.slide-fallback .slide-initials { display: flex !important; }

/* Gradient overlay at bottom of slider */
.photo-slider-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(8,12,20,0.6), transparent);
  pointer-events: none; z-index: 5;
}

/* Dot indicators */
.slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.15);
}
.dot.active {
  background: var(--cyan); width: 26px; border-radius: 4px;
  border-color: var(--cyan); box-shadow: 0 0 8px var(--glow);
}

/* Arrow buttons */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(8,12,20,0.7);
  border: 1.5px solid rgba(0,212,255,0.35);
  color: var(--cyan); font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: all 0.3s; backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
}
.photo-slider-wrap:hover .slider-arrow { opacity: 1; pointer-events: all; }
.slider-arrow:hover { background: var(--cyan); color: var(--bg); box-shadow: 0 0 15px var(--glow); }
.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

/* Counter badge */
.photo-counter {
  position: absolute; top: 12px; right: 12px;
  background: rgba(8,12,20,0.75);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50px; padding: 3px 12px;
  font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--cyan);
  z-index: 10; backdrop-filter: blur(8px);
}

/* Decorations inside slider wrap */
.photo-deco {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.deco1 { width: 180px; height: 180px; background: var(--cyan); bottom: -80px; right: -80px; filter: blur(40px); opacity: 0.1; }
.deco2 { width: 140px; height: 140px; background: var(--green); top: -50px; left: -50px; filter: blur(30px); opacity: 0.08; }

/* Location card */
.about-location-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 20px;
  width: 100%; max-width: 380px;
}
.about-location-card i { color: var(--cyan); font-size: 1.1rem; }
.loc-city    { font-size: 0.9rem; font-weight: 600; }
.loc-country { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* About content */
.about-tagline { font-family: 'Space Mono', monospace; font-size: 0.88rem; color: var(--cyan); border-left: 3px solid var(--cyan); padding-left: 14px; margin-bottom: 20px; font-style: italic; }
.about-para    { color: var(--muted); line-height: 1.8; font-size: 0.96rem; margin-bottom: 18px; }
.about-para strong { color: var(--text); }

.about-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 28px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.info-row { display: flex; flex-direction: column; gap: 3px; }
.info-key { font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; gap: 6px; font-family: 'Space Mono', monospace; }
.info-key i { color: var(--cyan); }
.info-val   { font-size: 0.88rem; font-weight: 500; }
.status-open { color: var(--green); }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* ── EDUCATION ──────────────────────────────────────────── */
.edu-grid { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.edu-col-title { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 8px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.edu-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; display: flex; gap: 20px;
  margin-bottom: 18px; transition: all 0.3s;
}
.edu-card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.edu-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: rgba(0,212,255,0.1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--cyan); }
.cert-icon { background: rgba(0,255,136,0.1); color: var(--green); }
.edu-degree { font-weight: 700; font-size: 0.96rem; margin-bottom: 5px; }
.edu-school { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.edu-year   { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--cyan); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.edu-desc   { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.cert-badge { display: inline-block; margin-top: 10px; background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3); color: var(--green); font-size: 0.72rem; padding: 3px 12px; border-radius: 50px; font-family: 'Space Mono', monospace; }

/* ── SKILLS ─────────────────────────────────────────────── */
.skills-container { max-width: 1100px; margin: auto; display: flex; flex-direction: column; gap: 44px; }
.skill-group-title { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--cyan); font-family: 'Space Mono', monospace; letter-spacing: 0.05em; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 14px; }
.skill-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; transition: all 0.3s; }
.skill-card:hover { border-color: rgba(0,212,255,0.5); transform: translateY(-2px); box-shadow: 0 0 20px rgba(0,0,0,0.3); }
.sk-icon { font-size: 1.6rem; }
.sk-name { font-size: 0.88rem; font-weight: 600; }
.sk-bar  { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.sk-fill { height: 100%; background: linear-gradient(90deg,var(--cyan),var(--green)); width: 0; border-radius: 2px; transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }
.sk-fill.sk-green  { background: linear-gradient(90deg,var(--green),#00d4ff); }
.sk-fill.sk-orange { background: linear-gradient(90deg,var(--green),#00d4ff); }
.skill-card.animated .sk-fill { width: var(--w); }

/* ── EXPERIENCE ─────────────────────────────────────────── */
.timeline { max-width: 800px; margin: auto; position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 38px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom,var(--cyan),transparent); }
.tl-item { display: flex; gap: 28px; margin-bottom: 44px; }
.tl-dot  { width: 56px; min-width: 56px; height: 56px; border-radius: 14px; background: var(--card); border: 2px solid rgba(0,212,255,0.5); display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 1.1rem; z-index: 1; box-shadow: 0 0 20px var(--glow); }
.tl-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px 30px; flex: 1; transition: border-color 0.3s; }
.tl-card:hover { border-color: rgba(0,212,255,0.4); }
.tl-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tl-date { font-family: 'Space Mono', monospace; font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.active-status { font-size: 0.7rem; background: rgba(0,255,136,0.12); border: 1px solid rgba(0,255,136,0.3); color: var(--green); padding: 2px 10px; border-radius: 50px; font-family: 'Space Mono', monospace; }
.tl-role { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.tl-org  { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.tl-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tl-tags span { font-size: 0.72rem; padding: 3px 12px; border-radius: 50px; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2); color: var(--cyan); font-family: 'Space Mono', monospace; }

/* ── PROJECTS ───────────────────────────────────────────── */
.projects-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(auto-fill,minmax(340px,1fr)); gap: 24px; }
.proj-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: all 0.35s; }
.proj-card:hover { transform: translateY(-8px); border-color: rgba(0,212,255,0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px var(--glow); }
.proj-thumb { height: 190px; position: relative; display: flex; align-items: center; justify-content: center; }
.thumb-icon { font-size: 3.5rem; z-index: 1; position: relative; }
.thumb-1 { background: linear-gradient(135deg,#0ea5e9,#0284c7); }
.thumb-2 { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.thumb-3 { background: linear-gradient(135deg,#059669,#10b981); }
.thumb-4 { background: linear-gradient(135deg,#dc2626,#f97316); }
.thumb-5 { background: linear-gradient(135deg,#d97706,#f59e0b); }
.thumb-6 { background: linear-gradient(135deg,#0891b2,#06b6d4); }
.proj-overlay { position: absolute; inset: 0; background: rgba(8,12,20,0.7); display: flex; align-items: center; justify-content: center; gap: 16px; opacity: 0; transition: opacity 0.3s; }
.proj-card:hover .proj-overlay { opacity: 1; }
.overlay-link { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; text-decoration: none; transition: background 0.2s; }
.overlay-link:hover { background: var(--cyan); color: var(--bg); }
.proj-body { padding: 22px; }
.proj-type  { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.proj-name  { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.proj-desc  { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.proj-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-stack span { font-size: 0.7rem; padding: 3px 10px; border-radius: 50px; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2); color: var(--cyan); font-family: 'Space Mono', monospace; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-layout { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-heading { font-family: 'Outfit', sans-serif; font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.contact-heading span { background: linear-gradient(90deg,var(--cyan),var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.contact-sub  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.contact-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: inherit; transition: all 0.3s; }
.contact-card:hover { border-color: rgba(0,212,255,0.4); transform: translateX(4px); }
.contact-card.no-link { cursor: default; }
.contact-card.no-link:hover { transform: none; border-color: var(--border); }
.cc-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.phone-icon { background: rgba(0,212,255,0.12); color: var(--cyan); }
.email-icon { background: rgba(0,255,136,0.12); color: var(--green); }
.loc-icon   { background: rgba(124,58,237,0.12); color: var(--purple); }
.cc-label  { font-size: 0.72rem; color: var(--muted); margin-bottom: 2px; }
.cc-val    { font-size: 0.88rem; font-weight: 600; }
.cc-arrow  { color: var(--muted); margin-left: auto; font-size: 0.8rem; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.soc-link { width: 40px; height: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.95rem; text-decoration: none; transition: all 0.3s; }
.soc-link:hover { background: var(--cyan); color: var(--bg); border-color: var(--cyan); box-shadow: 0 0 15px var(--glow); }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 18px; }
.form-field label { font-size: 0.78rem; color: var(--muted); display: block; margin-bottom: 7px; font-family: 'Space Mono', monospace; }
.form-field input,
.form-field textarea { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.3s, background 0.3s; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--cyan); background: rgba(0,212,255,0.04); }
.form-field textarea { resize: vertical; min-height: 130px; }
.btn-send { width: 100%; padding: 14px; background: linear-gradient(90deg,var(--cyan),var(--green)); color: var(--bg); border: none; border-radius: 8px; font-size: 0.92rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Outfit', sans-serif; transition: all 0.3s; box-shadow: 0 0 25px var(--glow); }
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 0 45px var(--glow); }
.btn-send.sent { background: linear-gradient(90deg,#059669,#10b981); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--bg); border-top: 1px solid var(--border); position: relative; z-index: 1; padding: 60px 60px 0; }
.footer-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; }
.footer-logo img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }
.footer-col-title { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col ul li { font-size: 0.83rem; color: var(--muted); }
.footer-links-col ul li a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links-col ul li a:hover { color: var(--cyan); }
.footer-contact-col { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-col a { font-size: 0.83rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-contact-col a:hover { color: var(--cyan); }
.footer-socials { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.footer-socials a { width: 34px; height: 34px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.85rem; text-decoration: none; transition: all 0.3s; }
.footer-socials a:hover { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.8rem; color: var(--muted); }
.heart { color: #ff4d6d; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--cyan); color: var(--bg); border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.3s; box-shadow: 0 0 20px var(--glow); z-index: 90; }
.back-top.show { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); }

/* ── REVEAL ANIMATION ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 0; right: 0; bottom: 0; width: 270px;
    background: rgba(13,19,32,0.98); padding: 80px 28px 28px; gap: 22px;
    border-left: 1px solid var(--border); backdrop-filter: blur(24px); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta   { display: none; }
  section { padding: 70px 24px; }
  #hero   { padding: 110px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc  { margin: 0 auto 36px; }
  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-col { align-items: center; }
  .photo-slider-wrap { max-width: 320px; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-bottom: 36px; }
  footer { padding: 40px 24px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 0; }
  .tl-dot { width: 42px; min-width: 42px; height: 42px; }
  .timeline::before { left: 21px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .about-info-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
}
