/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
  --clr-bg: #0d0a1e;
  --clr-bg2: #130f2a;
  --clr-card: #1a1535;
  --clr-card-hover: #211b42;
  --clr-border: rgba(139, 92, 246, 0.18);

  --clr-primary: #a855f7;
  --clr-primary-dark: #7c3aed;
  --clr-primary-light: #c084fc;
  --clr-accent: #ec4899;
  --clr-accent2: #818cf8;
  --clr-blue: #3b82f6;

  --clr-text: #e2d9f3;
  --clr-text-muted: #a89ec4;
  --clr-text-dim: #6b6383;
  --clr-white: #ffffff;

  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --gradient-bg: linear-gradient(135deg, #0d0a1e 0%, #1a0a2e 50%, #0a0d2e 100%);
  --gradient-card: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(236,72,153,0.05) 100%);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(168,85,247,0.25);
  --shadow-glow-accent: 0 0 40px rgba(236,72,153,0.2);

  --font: 'Cairo', sans-serif;
  --transition: 0.3s ease;
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  direction: inherit;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13, 10, 30, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(13, 10, 30, 0.95);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--clr-white);
  letter-spacing: -1px;
  line-height: 1;
}
.nav-logo span { color: var(--clr-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--clr-white);
  background: rgba(168,85,247,0.15);
}
.nav-link.active { color: var(--clr-primary-light); }

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(236,72,153,0.38);
  background: rgba(168,85,247,0.12);
  color: var(--clr-primary-light);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.language-toggle:hover {
  color: var(--clr-white);
  background: rgba(168,85,247,0.2);
  border-color: rgba(236,72,153,0.6);
  box-shadow: 0 6px 22px rgba(236,72,153,0.16);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================================
   HERO
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--gradient-bg);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}
.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.25) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation-delay: -3s;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  top: 50%; right: 30%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 1.5rem 2rem;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

/* Hero Text */
.hero-text { flex: 1; max-width: 600px; }

.hero-greeting {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-primary-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.divider-dot {
  color: var(--clr-primary);
  opacity: 0.7;
}
.en-title {
  color: var(--clr-accent2);
  font-size: 0.9em;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--clr-text-muted);
  line-height: 1.9;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}
.dot-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* Hero Avatar */
.hero-avatar {
  flex-shrink: 0;
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  animation: spin-ring 10s linear infinite;
}
.outer-ring {
  width: 300px; height: 300px;
  border-width: 2px;
  border-top-color: rgba(168,85,247,0.6);
  border-right-color: rgba(236,72,153,0.4);
  animation-duration: 12s;
}
.mid-ring {
  width: 260px; height: 260px;
  border-width: 1.5px;
  border-bottom-color: rgba(168,85,247,0.5);
  border-left-color: rgba(59,130,246,0.4);
  animation-direction: reverse;
  animation-duration: 8s;
}
.inner-ring {
  width: 224px; height: 224px;
  border-width: 1px;
  border-top-color: rgba(236,72,153,0.4);
  border-right-color: rgba(168,85,247,0.3);
  animation-duration: 15s;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2d1b69 0%, #1a1035 100%);
  box-shadow: 0 0 60px rgba(168,85,247,0.4), 0 0 120px rgba(168,85,247,0.15);
  z-index: 2;
  position: relative;
}
.avatar-svg {
  width: 100%; height: 100%;
}

.avatar-handle {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(168,85,247,0.9);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  z-index: 3;
  letter-spacing: 0.03em;
}

/* Hero Arrow */
.hero-arrow {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  animation: bounce 2.5s ease-in-out infinite;
  color: var(--clr-text-muted);
}
.hero-arrow a { color: var(--clr-text-muted); transition: color var(--transition); }
.hero-arrow a:hover { color: var(--clr-primary); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(168,85,247,0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(168,85,247,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-text);
  border: 2px solid rgba(168,85,247,0.5);
}
.btn-secondary:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary-light);
  background: rgba(168,85,247,0.08);
}

.btn-cv-download {
  background: rgba(168,85,247,0.12);
  color: var(--clr-primary-light);
  border: 2px solid rgba(236,72,153,0.42);
  box-shadow: 0 4px 20px rgba(236,72,153,0.12);
}
.btn-cv-download:hover {
  color: var(--clr-white);
  border-color: rgba(236,72,153,0.65);
  background: linear-gradient(135deg, rgba(124,58,237,0.22) 0%, rgba(236,72,153,0.18) 100%);
  box-shadow: 0 8px 28px rgba(236,72,153,0.22);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text-muted);
  border: 1.5px solid var(--clr-border);
}
.btn-outline:hover {
  color: var(--clr-primary-light);
  border-color: rgba(168,85,247,0.5);
  background: rgba(168,85,247,0.08);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.btn-full { width: 100%; }

/* ===================================
   SECTIONS — Shared
   =================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  color: var(--clr-primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--clr-white);
  margin-bottom: 0.6rem;
}
.section-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 0 auto 1rem;
}
.section-desc {
  color: var(--clr-text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===================================
   ABOUT
   =================================== */
.about-section { background: var(--clr-bg2); }

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

.about-text p {
  color: var(--clr-text-muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.about-text strong { color: var(--clr-primary-light); }
.about-text .btn { margin-top: 0.5rem; }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-card {
  background: var(--gradient-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(168,85,247,0.35);
}
.about-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.25rem;
}
.about-card p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ===================================
   SKILLS
   =================================== */
.skills-section { background: var(--clr-bg); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.skills-sub-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.skill-item { margin-bottom: 1.3rem; }
.skill-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
}
.skill-label span:last-child { color: var(--clr-primary-light); }

.skill-bar {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-main);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.skill-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 12px; height: 100%;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  filter: blur(4px);
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.badge {
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  color: var(--clr-primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.badge:hover {
  background: rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.5);
  transform: translateY(-2px);
}

/* ===================================
   PROJECTS
   =================================== */
.projects-section { background: var(--clr-bg2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(168,85,247,0.35);
}

.project-thumb {
  height: 150px;
  background: linear-gradient(135deg, #1a0a3e 0%, #2d1b69 50%, #1a0a3e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(168,85,247,0.2) 0%, transparent 70%);
}

.project-thumb-inner {
  position: relative;
  z-index: 1;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(168,85,247,0.15);
  border: 2px dashed rgba(168,85,247,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: rgba(168,85,247,0.7);
}

.weather-thumb::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.16) 0%, transparent 70%);
  transform: translate(36px, -24px);
}
.weather-thumb-inner {
  color: var(--clr-primary-light);
  overflow: hidden;
}
.weather-icon {
  position: absolute;
  inset: 8px;
  width: 54px;
  height: 54px;
  opacity: 0.85;
}
.weather-thumb-inner .project-number {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 2px 16px rgba(168,85,247,0.65);
}

.project-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
}
.project-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-white);
}
.project-desc {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  flex: 1;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tech-badge {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.project-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

/* ===================================
  CONTACT
   =================================== */
.contact-section { background: var(--clr-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-text);
}
.form-group input,
.form-group textarea {
  background: var(--clr-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-text-dim); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
}
.form-success.visible { display: block; }

.contact-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--gradient-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-dim);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  transition: color var(--transition);
}
a.contact-value:hover { color: var(--clr-primary-light); }

.contact-socials { margin-top: 2rem; }
.contact-socials h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  margin-bottom: 0.9rem;
}
.social-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.social-link:hover {
  background: rgba(168,85,247,0.12);
  color: var(--clr-primary-light);
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-2px);
}

/* ===================================
  CV
   =================================== */
.cv-section { background: var(--clr-bg2); }

.cv-card {
  background:
    radial-gradient(circle at 12% 20%, rgba(236,72,153,0.12) 0%, transparent 34%),
    linear-gradient(135deg, rgba(139,92,246,0.13) 0%, rgba(236,72,153,0.06) 100%);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: var(--radius);
  box-shadow: 0 0 38px rgba(168,85,247,0.16);
  padding: 1.8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.cv-icon {
  width: 78px;
  height: 78px;
  color: var(--clr-primary-light);
  border-radius: var(--radius);
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(236,72,153,0.08);
}
.cv-icon svg {
  width: 44px;
  height: 44px;
}

.cv-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 0.35rem;
}
.cv-content p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.cv-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ===================================
  FOOTER
   =================================== */
.footer {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--clr-text-dim);
}
.footer-inner strong { color: var(--clr-primary-light); }

/* ===================================
  SCROLL ANIMATIONS
   =================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
}
@keyframes fadeInUp {
  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; }
.delay-5 { animation-delay: 0.75s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ===================================
  RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-link {
    padding-inline: 0.75rem;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-text { max-width: 100%; }
  .hero-title {
    justify-content: center;
  }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .availability-badge { margin: 0 auto; display: inline-flex; }

  .about-grid,
  .skills-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cv-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .cv-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    right: 0; left: 0;
    background: rgba(13,10,30,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--clr-border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.75rem 1rem; width: 100%; }
  .language-toggle { width: 100%; }

  .burger { display: flex; }

  .projects-grid { grid-template-columns: 1fr; }
  .cv-card { padding: 1.4rem; }
  .cv-actions {
    width: 100%;
    flex-direction: column;
  }
  .cv-actions .btn { width: 100%; }
  .hero-avatar { width: 220px; height: 220px; }
  .outer-ring { width: 220px; height: 220px; }
  .mid-ring { width: 188px; height: 188px; }
  .inner-ring { width: 160px; height: 160px; }
  .avatar-circle { width: 144px; height: 144px; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 400px) {
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
}
