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

:root {
  --red: #c0392b;
  --red-bright: #e74c3c;
  --red-dim: #8B0000;
  --red-glow: rgba(192, 57, 43, 0.35);
  --red-glow-soft: rgba(192, 57, 43, 0.12);
  --bg-black: #0a0303;
  --bg-deep: #0f0404;
  --bg-card: rgba(20, 5, 5, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --border-glass: rgba(192, 57, 43, 0.18);
  --text-white: #f5f0f0;
  --text-muted: rgba(220, 200, 200, 0.55);
  --text-dim: rgba(220, 200, 200, 0.35);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
  cursor: default;
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: var(--red-dim); border-radius: 99px; }

/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.container { width: 90%; max-width: 1180px; margin: 0 auto; }
.section { padding: 100px 0; position: relative; }
.accent { color: var(--red-bright); }

.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 16px;
}
.section-title.center, .section-sub.center { text-align: center; }
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}
.section-sub.center { margin: 0 auto; text-align: center; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  box-shadow: 0 0 22px var(--red-glow), 0 4px 20px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--red-glow), 0 8px 30px rgba(0,0,0,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 20px var(--red-glow-soft);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 2, 2, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  width: 90%; max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo-bracket { color: var(--red-bright); }
.nav-links { display: flex; list-style: none; gap: 8px; }
.nav-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--red-bright);
  border-radius: 99px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--red);
}
.nav-link:hover, .nav-link.active { color: var(--text-white); }
.nav-link:hover::after, .nav-link.active::after { width: 20px; }
.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-white); border-radius: 99px;
  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); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139,0,0,0.28) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 80% 70%, rgba(80,0,0,0.15) 0%, transparent 60%),
              var(--bg-black);
}
.hero-bg-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(180,0,0,0.14) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--red);
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}
.hero-inner {
  width: 90%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 60px; padding: 40px 0;
}
.hero-greeting {
  font-size: 0.95rem;
  color: var(--red-bright);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 10px;
}
.glow-name {
  color: var(--red-bright);
  text-shadow: 0 0 30px rgba(231,76,60,0.6), 0 0 60px rgba(231,76,60,0.2);
}
.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
  height: 2rem;
}
.typed-wrap { position: relative; }
.cursor {
  color: var(--red-bright);
  animation: blink 0.8s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-socials { display: flex; gap: 12px; }
.social-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.social-icon:hover {
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 18px var(--red-glow-soft);
  transform: translateY(-3px);
}

/* Avatar visual */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.avatar-ring {
  position: relative;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.avatar-glow-outer {
  position: absolute; inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.18) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}
.avatar-glow-inner {
  position: absolute; inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.25);
  box-shadow: 0 0 40px rgba(192,57,43,0.15), inset 0 0 40px rgba(192,57,43,0.05);
}
.avatar-img {
  width: 300px; height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(192,57,43,0.4);
  box-shadow: 0 0 50px rgba(192,57,43,0.25), 0 0 100px rgba(192,57,43,0.1);
  background: linear-gradient(135deg, rgba(80,0,0,0.5), rgba(20,5,5,0.8));
  display: flex; align-items: flex-end; justify-content: center;
}
.avatar-img img {
  width: 84%; height: 117%;
  object-fit: cover; object-position: top;
}

/* Orbits */
.orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(192,57,43,0.2);
  animation: spin linear infinite;
}
.orbit-1 { width: 340px; height: 340px; animation-duration: 12s; }
.orbit-2 { width: 400px; height: 400px; animation-duration: 20s; animation-direction: reverse; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orbit-dot {
  position: absolute; top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px var(--red);
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: rgba(20,5,5,0.9);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(192,57,43,0.15);
  animation: floatBadge 3s ease-in-out infinite;
}
.floating-badge i { color: var(--red-bright); font-size: 1rem; }
.badge-1 { top: 20px; right: 20px; animation-delay: 0s; }
.badge-2 { bottom: 60px; right: 0px; animation-delay: 1s; }
.badge-3 { bottom: 30px; left: 20px; animation-delay: 2s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about {
  background: linear-gradient(180deg, var(--bg-black) 0%, rgba(30,5,5,0.4) 50%, var(--bg-black) 100%);
}
.about-inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 70px; align-items: center;
  margin-top: 20px;
}
.about-img-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.about-img-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.about-img-frame {
  width: 368px; height: 567px;
  border-radius: 18px 3px 150px 61px;
  overflow: hidden;
  border: 1px solid rgba(192,57,43,0.3);
  box-shadow: 0 0 60px rgba(192,57,43,0.18), inset 0 0 30px rgba(192,57,43,0.05);
  background: linear-gradient(135deg, rgba(50,0,0,0.5), rgba(15,4,4,0.9));
}
.about-img-frame img {
  width: 101%; height: 100%;
  object-fit: cover; object-position: center;
}
/*  for making experience in near about me photo
 .about-tag {
  position: absolute; bottom: 20px; right: -10px;
  background: rgba(15,4,4,0.95);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600;
  box-shadow: 0 0 30px rgba(192,57,43,0.2);
  color: var(--red-bright);
} */
.about-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}
.skills-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 24px 0;
}
.skill-pill {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
  cursor: default;
}
.skill-pill i { color: var(--red-bright); }
.skill-pill:hover {
  border-color: var(--red);
  color: var(--text-white);
  box-shadow: 0 0 14px var(--red-glow-soft);
}
.about-stats {
  display: flex; gap: 24px;
  margin-top: 8px;
}
.stat-box {
  display: flex; flex-direction: column; gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 800;
  color: var(--red-bright);
  text-shadow: 0 0 20px rgba(231,76,60,0.4);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Skills*/
.wrap{ max-width: 1180px; margin: 0 auto; }
 
.eyebrow{
  display:flex; align-items:center; gap:10px;
  color: var(--red); font-size: 13px; font-weight:700;
  letter-spacing: 3px; margin-bottom: 22px;
}

 
h1{
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 22px;
  text-align: center;
  font-family: 'Arial Black', Arial, sans-serif;
}
h1 span{ color: var(--red); }
 
.lede{
  color: pink;
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 56px;
  line-height: 1.6;
}
 
.grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
 
@media (max-width: 1100px){ .grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .grid{ grid-template-columns: 1fr; } }
 
.card{
  position: relative;
  background: linear-gradient(180deg, var(--card) 0%, #100807 100%);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 30px 24px 28px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: rise .6s ease forwards;
}
.card:nth-child(1){ animation-delay: .02s; }
.card:nth-child(2){ animation-delay: .08s; }
.card:nth-child(3){ animation-delay: .14s; }
.card:nth-child(4){ animation-delay: .20s; }
.card:nth-child(5){ animation-delay: .26s; }
.card:nth-child(6){ animation-delay: .32s; }
.card:nth-child(7){ animation-delay: .38s; }
.card:nth-child(8){ animation-delay: .44s; }
.card:nth-child(9){ animation-delay: .50s; }
.card:nth-child(10){ animation-delay: .56s; }
 
@keyframes rise{ to{ opacity:1; transform: translateY(0); } }
 
.card::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(120px 120px at 20% 0%, var(--red-glow), transparent 70%);
  opacity:0; transition: opacity .35s ease;
  pointer-events:none;
}
 
.card:hover{
  transform: translateY(-6px);
  border-color: var(--red-dim);
  background: linear-gradient(180deg, #1d0d0b 0%, #120807 100%);
}
.card:hover::after{ opacity:1; }
 
.icon-badge{
  width: 52px; height:52px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(160deg, #2a1210, #170b0a);
  border: 1px solid var(--red-dim);
  box-shadow: 0 0 22px -4px var(--red-glow) inset, 0 0 18px -6px var(--red-glow);
  margin-bottom: 20px;
  transition: box-shadow .35s ease, transform .35s ease;
}
.card:hover .icon-badge{
  box-shadow: 0 0 28px -2px var(--red-glow) inset, 0 0 26px -4px var(--red-glow);
  transform: scale(1.06);
}
.icon-badge svg{ width:26px; height:26px; stroke:var(--red); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.icon-badge svg.filled{ fill:var(--red); stroke:none; }
 
.level{
  font-size: 10px; font-weight:700; letter-spacing: 1.5px;
  color: var(--red); text-transform: uppercase;
  background: var(--red-dim);
  padding: 3px 9px; border-radius: 20px;
  display:inline-block; margin-bottom: 12px;
}
 
h3{
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
 
p{
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
 
.bar{
  margin-top:18px;
  height:4px; width:100%;
  background:#2a1512;
  border-radius:4px;
  overflow:hidden;
}
.bar-fill{
  height:100%;
  background: linear-gradient(90deg, #ff4d4d, #ff8a4d);
  border-radius:4px;
}



/* ═══════════════════════════════════════
   PROJECTS
═══════════════════════════════════════ */
.projects { background: var(--bg-black); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192,57,43,0.4);
  box-shadow: 0 12px 50px rgba(192,57,43,0.18), 0 0 0 1px rgba(192,57,43,0.1);
}
.card-img {
  position: relative; overflow: hidden;
  height: 200px;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .card-img img { transform: scale(1.07); }
.card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,3,3,0.9) 100%);
  z-index: 1;
}
.card-hover-links {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
  background: rgba(10,3,3,0.7);
  backdrop-filter: blur(4px);
}
.project-card:hover .card-hover-links { opacity: 1; }
.card-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 0 16px var(--red-glow);
}
.card-btn:hover {
  background: var(--red-bright);
  box-shadow: 0 0 24px rgba(231,76,60,0.5);
}
.card-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-white);
  box-shadow: none;
}
.card-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  box-shadow: none;
}
.card-body { padding: 18px 20px; }
.card-tag {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 8px;
  font-weight: 600;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.services {
  background: linear-gradient(180deg, var(--bg-black), rgba(25,5,5,0.4), var(--bg-black));
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192,57,43,0.35);
  box-shadow: 0 16px 50px rgba(192,57,43,0.16), 0 0 0 1px rgba(192,57,43,0.08);
}
.service-card:hover::before { opacity: 1; }
.service-icon-wrap {
  position: relative;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.service-icon {
  font-size: 1.6rem;
  color: var(--red-bright);
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 8px rgba(231,76,60,0.5));
  transition: var(--transition);
}
.service-card:hover .service-icon {
  filter: drop-shadow(0 0 16px rgba(231,76,60,0.8));
  transform: scale(1.1);
}
.service-icon-glow {
  position: absolute; inset: -4px;
  background: radial-gradient(circle, rgba(192,57,43,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.service-title {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.service-arrow {
  margin-top: 20px;
  color: var(--red);
  font-size: 0.85rem;
  transition: var(--transition);
  opacity: 0;
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact {
  background: var(--bg-black);
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; align-items: start;
  margin-top: 48px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--red-bright);
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--red-glow-soft);
}
.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.contact-val {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 500;
}
.contact-socials {
  display: flex; gap: 12px;
  margin-top: 8px;
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(12px);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.8rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(192,57,43,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(192,57,43,0.06);
  box-shadow: 0 0 20px rgba(192,57,43,0.12);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-glass);
  background: rgba(8,2,2,0.8);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.back-top {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.back-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 18px var(--red-glow);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
  .avatar-ring { width: 300px; height: 300px; }
  .avatar-img { width: 240px; height: 240px; }
  .orbit-1 { width: 270px; height: 270px; }
  .orbit-2 { width: 320px; height: 320px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 270px; height: 100vh;
    flex-direction: column; gap: 4px;
    background: rgba(8,2,2,0.97);
    backdrop-filter: blur(20px);
    padding: 80px 24px 40px;
    border-left: 1px solid var(--border-glass);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 12px 16px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-visual { order: -1; }
  .avatar-ring { width: 260px; height: 260px; }
  .avatar-img { width: 210px; height: 210px; }
  .orbit-1 { width: 235px; height: 235px; }
  .orbit-2 { width: 285px; height: 285px; }
  .badge-1 { top: -10px; right: -10px; }
  .badge-2 { bottom: 10px; right: -15px; }
  .badge-3 { display: none; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { order: -1; }
  .about-img-frame { width: 100%; max-width: 300px; height: 320px; margin: 0 auto; }
  .about-stats { justify-content: space-around; }

  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
}