/* ================================================================
   style.css — Portfolio Main Styles
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Poppins:wght@300;400;600;700;800&display=swap');

/* ── Variables (Dark — default) ─────────────────────────────── */
:root {
  --primary:    #0d0f1a;
  --surface:    #111827;
  --surface2:   #1a2236;
  --accent:     #6c63ff;
  --accent2:    #00d4ff;
  --gold:       #f59e0b;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --border:     rgba(255,255,255,.08);
  --card-bg:    rgba(255,255,255,.04);
  --radius:     14px;
  --shadow:     0 4px 24px rgba(0,0,0,.35);
  --glow:       0 0 40px rgba(108,99,255,.25);
  --transition: all .3s ease;
  --gradient:   linear-gradient(135deg, #6c63ff 0%, #00d4ff 100%);
}

/* ── Light Mode ─────────────────────────────────────────────── */
[data-theme="light"] {
  --primary:    #f0f2ff;
  --surface:    #ffffff;
  --surface2:   #f5f7ff;
  --text:       #1a1a2e;
  --text-muted: #5a6072;
  --border:     rgba(0,0,0,.09);
  --card-bg:    rgba(255,255,255,.85);
  --shadow:     0 4px 24px rgba(108,99,255,.12);
  --glow:       0 0 40px rgba(108,99,255,.15);
}
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(108,99,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,.05) 1px, transparent 1px);
}
[data-theme="light"] .bg-blob { opacity: .08; }
[data-theme="light"] #navbar {
  background: rgba(240,242,255,.9);
  border-bottom-color: rgba(0,0,0,.08);
}
[data-theme="light"] .hero-name {
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Cairo', sans-serif;
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
  transition: var(--transition);
}

html[dir="rtl"] body { font-family: 'Cairo', 'Poppins', sans-serif; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Preloader ──────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 60px; height: 60px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Animated Background ────────────────────────────────────── */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(108,99,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-blob {
  position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(80px); opacity: .15;
}
.bg-blob-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -150px; right: -150px;
}
.bg-blob-2 {
  width: 400px; height: 400px;
  background: var(--accent2);
  bottom: -100px; left: -100px;
}

/* ── SPA Pages ──────────────────────────────────────────────── */
.spa-page { display: none; position: relative; z-index: 1; }
.spa-page.active { display: block; }

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem;
  background: rgba(13,15,26,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center;
  border: 2px solid var(--accent) !important;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none;
}
.nav-links a {
  display: block; padding: .5rem .9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem; font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(108,99,255,.15);
}
.nav-links a.active {
  color: var(--accent);
}
.nav-controls {
  display: flex; align-items: center; gap: .5rem;
}
.nav-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  border-radius: 10px;
  cursor: pointer; font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Page Wrapper ───────────────────────────────────────────── */
.page-content { padding-top: 70px; min-height: 100vh; }

/* ── Section Helpers ────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  padding: .3rem 1rem;
  border: 1px solid rgba(108,99,255,.4);
  border-radius: 20px;
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: .75rem;
}
.section-title .accent { color: var(--accent); }
.section-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: .95rem;
}
.divider {
  width: 60px; height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── AOS Animations ─────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"]  { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }
[data-aos="zoom-in"]    { transform: scale(.9); }
[data-aos="zoom-in"].aos-animate    { transform: scale(1); }

/* ── Cards ──────────────────────────────────────────────────── */
.card-glass {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.card-glass:hover {
  border-color: rgba(108,99,255,.4);
  box-shadow: var(--glow);
  transform: translateY(-6px);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-grad {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem;
  background: var(--gradient);
  color: #fff;
  border: none; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; text-decoration: none;
  transition: var(--transition);
}
.btn-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(108,99,255,.4);
  color: #fff;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.btn-cv {
  display: inline-flex; align-items: center; justify-content: center;
  width: 65px; height: 65px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 700; font-size: .95rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-cv:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px) rotate(5deg);
}

/* ── Back to Top ────────────────────────────────────────────── */
#backTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 46px; height: 46px;
  background: var(--gradient);
  color: #fff; border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
#backTop.visible { opacity: 1; pointer-events: all; }
#backTop:hover { transform: translateY(-4px); }
html[dir="rtl"] #backTop { right: auto; left: 2rem; }

/* ── Toast ──────────────────────────────────────────────────── */
.toast-msg {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  padding: .8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
  z-index: 9998;
  animation: toastIn .3s ease;
  box-shadow: var(--shadow);
}
.toast-msg.success { background: rgba(34,197,94,.15); border: 1px solid #22c55e; color: #22c55e; }
.toast-msg.error   { background: rgba(239,68,68,.15);  border: 1px solid #ef4444; color: #ef4444; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   PAGE: HOME
   ════════════════════════════════════════════════════════════ */
#page-home { min-height: 100vh; }

.hero {
  padding: 120px 0 80px;
  text-align: center;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 3px var(--accent), 0 0 0 6px rgba(108,99,255,.2);
  margin: 0 auto 2rem;
  display: block;
  animation: avatarPulse 3s ease-in-out infinite;
}
@keyframes avatarPulse {
  0%,100% { box-shadow: 0 0 0 3px var(--accent), 0 0 0 6px rgba(108,99,255,.2); }
  50%      { box-shadow: 0 0 0 3px var(--accent2), 0 0 0 12px rgba(0,212,255,.15); }
}
.hero-greeting {
  font-size: .95rem; color: var(--accent);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: .5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-title .typed-text { color: var(--accent2); font-weight: 600; }
.hero-title .cursor {
  display: inline-block;
  width: 2px; height: 1.2em;
  background: var(--accent2);
  vertical-align: middle;
  animation: blink .7s steps(1) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-bio {
  max-width: 620px; margin: 0 auto 2.5rem;
  color: var(--text-muted); line-height: 1.8;
  font-size: .95rem;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2.5rem;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 2rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: .8rem; color: var(--text-muted); }

/* ── Scroll indicator ───────────────────────────────────────── */
.scroll-down {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: .3rem; color: var(--text-muted); font-size: .75rem;
  cursor: pointer; animation: bounce 2s infinite;
}
.scroll-down i { font-size: .9rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════════════════════════════════
   PAGE: ABOUT
   ════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 1;
  border: 1px solid var(--border);
}
.about-img-accent {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 16px;
  background: var(--gradient);
  opacity: .15;
  top: -20px; right: -20px;
  z-index: -1;
}
.about-tag {
  display: inline-block;
  padding: .25rem .75rem;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 6px;
  font-size: .8rem; color: var(--accent);
  margin-bottom: 1rem;
}
.about-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; line-height: 1.3;
  margin-bottom: 1rem;
}
.about-text {
  color: var(--text-muted);
  line-height: 1.9; font-size: .95rem;
  margin-bottom: 1.5rem;
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
  margin-bottom: 2rem;
}
.about-info-item { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.about-info-item i { color: var(--accent); width: 18px; }
.about-info-item span { color: var(--text-muted); }
.about-info-item strong { color: var(--text); }

.education-card {
  padding: 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 3rem;
}
.edu-icon {
  flex-shrink: 0;
  width: 70px; height: 70px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.edu-icon i { font-size: 1.8rem; color: #fff; }
.edu-degree { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.edu-uni { color: var(--text-muted); font-size: .9rem; margin-bottom: .25rem; }
.edu-year {
  display: inline-block;
  padding: .15rem .75rem;
  background: rgba(108,99,255,.12);
  border-radius: 20px;
  font-size: .8rem; color: var(--accent);
}

/* ════════════════════════════════════════════════════════════
   PAGE: SKILLS
   ════════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}
.skill-card {
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: default;
}
.skill-icon {
  width: 64px; height: 64px;
  background: rgba(108,99,255,.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}
.skill-card:hover .skill-icon {
  background: var(--gradient);
  color: #fff;
}
.skill-name { font-weight: 600; font-size: .9rem; }

.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.skills-cat-card { padding: 2rem; }
.skills-cat-title {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .5rem;
}
.skills-cat-title i { color: var(--accent); }
.skill-bar-item { margin-bottom: 1rem; }
.skill-bar-label {
  display: flex; justify-content: space-between;
  font-size: .85rem; margin-bottom: .4rem;
}
.skill-bar-label span:last-child { color: var(--accent); }
.skill-bar {
  height: 6px; background: var(--border);
  border-radius: 3px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease;
}

/* ════════════════════════════════════════════════════════════
   PAGE: PROJECTS
   ════════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-card {
  padding: 2rem;
  display: flex; flex-direction: column;
}
.project-icon {
  width: 56px; height: 56px;
  background: rgba(108,99,255,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.project-card:hover .project-icon {
  background: var(--gradient); color: #fff;
}
.project-title {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
}
.project-desc {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.tag {
  padding: .25rem .65rem;
  background: rgba(108,99,255,.12);
  border: 1px solid rgba(108,99,255,.25);
  color: var(--accent);
  border-radius: 20px;
  font-size: .75rem; font-weight: 500;
}
.project-links { display: flex !important; gap: .75rem; margin-top: auto; flex-wrap: wrap; }
.project-link {
  display: inline-flex !important; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition);
  cursor: pointer;
}
.project-link.live {
  background: var(--gradient) !important;
  color: #fff !important;
  border: none;
}
.project-link.live:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108,99,255,.4); color: #fff !important; }
.project-link.gh {
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  background: var(--card-bg) !important;
}
.project-link.gh:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.project-link.disabled {
  background: rgba(108,99,255,.2) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed;
  opacity: .6;
}

.project-featured {
  position: relative;
  overflow: hidden;
}
.project-featured::before {
  content: '★ Featured';
  position: absolute; top: 1rem; right: 1rem;
  padding: .2rem .6rem;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--gold);
  border-radius: 6px;
  font-size: .7rem; font-weight: 700;
}
html[dir="rtl"] .project-featured::before { right: auto; left: 1rem; content: '★ مميز'; }

/* ════════════════════════════════════════════════════════════
   PAGE: CONTACT
   ════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card { padding: 2.5rem; }
.contact-info-title {
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: .5rem;
}
.contact-info-sub {
  color: var(--text-muted); font-size: .9rem;
  margin-bottom: 2rem; line-height: 1.7;
}
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(108,99,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1rem;
}
.contact-item-label { font-size: .75rem; color: var(--text-muted); }
.contact-item-val { font-size: .9rem; font-weight: 600; }
.social-row {
  display: flex; gap: .75rem;
  margin-top: 2rem;
}
.social-link {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.contact-form-card { padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.form-control {
  width: 100%; padding: .8rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text); font-size: .9rem;
  transition: var(--transition);
  font-family: inherit;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(108,99,255,.06);
  box-shadow: 0 0 0 3px rgba(108,99,255,.12);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
}
footer a { color: var(--accent); text-decoration: none; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 300px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(13,15,26,.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  .nav-hamburger { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .about-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .section { padding: 70px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-name { font-size: 2.2rem; }
}
