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

:root {
  --bg: #e0e5ec;
  --light: #ffffff;
  --dark: #a3b1c6;
  --shadow-out: 6px 6px 14px #a3b1c6, -6px -6px 14px #ffffff;
  --shadow-in:  inset 4px 4px 10px #a3b1c6, inset -4px -4px 10px #ffffff;
  --shadow-out-lg: 10px 10px 24px #a3b1c6, -10px -10px 24px #ffffff;
  --radius: 18px;
  --text-primary: #2d3748;
  --text-secondary: #5a6a85;
  --accent: #667eea;
  --accent2: #764ba2;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 4px;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(224, 229, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(163, 177, 198, 0.4);
  padding: 0 2rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 0.3rem; list-style: none; }

.nav-links a {
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.45rem 0.9rem; border-radius: 10px;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); background: rgba(102,126,234,0.08); }
.nav-links a.active { color: var(--accent); background: rgba(102,126,234,0.1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}

.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--text-secondary); border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(224, 229, 236, 0.97);
  backdrop-filter: blur(12px);
  padding: 1rem; z-index: 999;
  box-shadow: 0 8px 20px rgba(163, 177, 198, 0.4);
  flex-direction: column; gap: 0.3rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none; color: var(--text-secondary);
  font-weight: 500; padding: 0.7rem 1rem;
  border-radius: 12px; transition: var(--transition);
}

.mobile-menu a:hover { color: var(--accent); background: rgba(102,126,234,0.08); }

/* ── SECTIONS ── */
section { padding: 100px 2rem 60px; max-width: 1200px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  text-align: center; margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center; color: var(--text-secondary);
  font-size: 0.95rem; margin-bottom: 3rem;
}

.title-line {
  width: 60px; height: 4px; margin: 0.6rem auto 0.4rem;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* ── NEUMORPHIC BASE ── */
.neu { background: var(--bg); box-shadow: var(--shadow-out); border-radius: var(--radius); }
.neu-inset { background: var(--bg); box-shadow: var(--shadow-in); border-radius: var(--radius); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px; padding-bottom: 40px;
}

.hero-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; width: 100%;
}

.hero-text { flex: 1; }

.hero-greeting {
  font-size: 1rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
}

.hero-name {
  font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 900;
  line-height: 1.1; color: var(--text-primary);
  margin-bottom: 1rem; letter-spacing: -1px;
}

.hero-role-wrapper {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary); margin-bottom: 2rem; min-height: 2rem;
}

.typed-cursor {
  display: inline-block; width: 2px; height: 1.2em;
  background: var(--accent); margin-left: 3px;
  vertical-align: middle; animation: blink 0.75s step-end infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 0.975rem; color: var(--text-secondary);
  max-width: 440px; line-height: 1.8; margin-bottom: 2.2rem;
}

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

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 4px 4px 12px rgba(102,126,234,0.35), -2px -2px 8px rgba(255,255,255,0.7);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 18px rgba(102,126,234,0.4), -3px -3px 10px rgba(255,255,255,0.8);
}

.btn-primary:active { transform: translateY(0) scale(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: 50px;
  background: var(--bg); color: var(--text-secondary);
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: var(--shadow-out); transition: var(--transition);
}

.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-out-lg); color: var(--accent); }
.btn-secondary:active { transform: translateY(0) scale(0.97); }

/* Hero image */
.hero-img-wrap {
  flex: 0 0 auto; position: relative;
  display: flex; align-items: center; justify-content: center;
}

.hero-img-ring {
  width: 280px; height: 280px; border-radius: 50%;
  box-shadow: var(--shadow-out-lg);
  padding: 8px; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}

.hero-img-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: inset 3px 3px 10px rgba(0,0,0,0.15);
}

.hero-img-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.hero-initials {
  font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.9);
  letter-spacing: -3px; user-select: none;
}

.hero-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--bg); border-radius: 50px; padding: 0.5rem 1rem;
  box-shadow: var(--shadow-out); font-size: 0.78rem; font-weight: 600;
  color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem;
}

.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #48bb78; animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.4);opacity:0.7}
}

/* ════════════════════════════════════════
   SKILLS — REDESIGNED
════════════════════════════════════════ */
#skills .skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-category {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill-cat-header {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.5rem 1.1rem;
  background: var(--bg);
  box-shadow: var(--shadow-out);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.skill-cat-header i {
  font-size: 0.9rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.skill-card {
  background: var(--bg);
  box-shadow: var(--shadow-out);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  min-width: 140px;
  flex: 0 0 calc(20% - 1rem);
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-out-lg);
}

.skill-card:hover::before { opacity: 1; }

.skill-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-in);
  transition: transform 0.35s cubic-bezier(0.34, 1.36, 0.64, 1);
}

.skill-card:hover .skill-icon-wrap {
  transform: scale(1.12) rotate(-4deg);
}

.skill-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.skill-level-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ════════════════════════════════════════
   APPLE-STYLE 3D DEPTH CAROUSEL
════════════════════════════════════════ */
.apple-carousel-section {
  width: 100%;
  overflow: visible;
  position: relative;
}

/* Full-bleed wrapper so side cards can peek outside section padding */
.apple-carousel-outer {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding: 60px 0 80px;
}

.apple-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 420px;
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.apple-card {
  position: absolute;
  width: 300px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
  /* Default: side card state */
  box-shadow: 6px 6px 20px #a3b1c6, -6px -6px 20px #ffffff;
  transition:
    transform 0.65s cubic-bezier(0.34, 1.10, 0.64, 1),
    opacity   0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.5s ease,
    filter 0.5s ease;
  transform-style: preserve-3d;
  user-select: none;
  will-change: transform, opacity;
}

/* ── POSITION STATES ── */
/* far-left (index -2 or beyond) */
.apple-card.pos--2 {
  transform: translateX(-600px) translateZ(-280px) rotateY(40deg) scale(0.6);
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

/* left side */
.apple-card.pos--1 {
  transform: translateX(-310px) translateZ(-160px) rotateY(28deg) scale(0.75);
  opacity: 0.6;
  filter: blur(0.5px);
  z-index: 1;
}

/* CENTER — hero card */
.apple-card.pos-0 {
  transform: translateX(0px) translateZ(0px) rotateY(0deg) scale(1);
  opacity: 1;
  filter: none;
  z-index: 10;
  box-shadow: 14px 14px 36px #a3b1c6, -14px -14px 36px #ffffff;
}

/* right side */
.apple-card.pos-1 {
  transform: translateX(310px) translateZ(-160px) rotateY(-28deg) scale(0.75);
  opacity: 0.6;
  filter: blur(0.5px);
  z-index: 1;
}

/* far-right */
.apple-card.pos-2 {
  transform: translateX(600px) translateZ(-280px) rotateY(-40deg) scale(0.6);
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

/* hover on side cards */
.apple-card.pos--1:hover,
.apple-card.pos-1:hover {
  opacity: 0.85;
  filter: blur(0);
}

/* ── CARD INNER ── */
.p-card-top {
  height: 200px; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.7rem;
}

.p-card-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px; padding: 0.25rem 0.75rem;
  font-size: 0.7rem; font-weight: 700; color: #fff;
  letter-spacing: 1.5px; text-transform: uppercase;
}

.p-card-label {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.18);
  border-radius: 50px; padding: 0.25rem 0.75rem;
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.9);
  letter-spacing: 1px; text-transform: uppercase;
}

.p-card-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.p-card-bottom {
  padding: 1.3rem 1.4rem 1.4rem;
  background: var(--bg);
}

.p-card-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.35rem; line-height: 1.3;
}

.p-card-desc {
  font-size: 0.8rem; color: var(--text-secondary);
  line-height: 1.55; margin-bottom: 1rem;
}

.p-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.card-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.9rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-decoration: none;
  background: var(--bg); color: var(--text-secondary);
  box-shadow: 3px 3px 8px #a3b1c6, -3px -3px 8px #ffffff;
  border: none; cursor: pointer; transition: var(--transition);
}

.card-btn:hover {
  color: var(--accent);
  box-shadow: 4px 4px 12px #a3b1c6, -4px -4px 12px #ffffff;
  transform: translateY(-1px);
}

.card-btn:active {
  transform: scale(0.96);
  box-shadow: inset 2px 2px 6px #a3b1c6, inset -2px -2px 6px #ffffff;
}

.card-btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2); color: #fff;
  box-shadow: 3px 3px 10px rgba(102,126,234,0.3), -2px -2px 6px rgba(255,255,255,0.6);
}

.card-btn-primary:hover {
  color: #fff;
  box-shadow: 4px 4px 14px rgba(102,126,234,0.4), -3px -3px 8px rgba(255,255,255,0.7);
}

/* ── CAROUSEL CONTROLS ── */
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; margin-top: 0;
}

.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); border: none; cursor: pointer;
  box-shadow: var(--shadow-out);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-secondary);
  transition: var(--transition);
}

.carousel-btn:hover { box-shadow: var(--shadow-out-lg); color: var(--accent); transform: scale(1.07); }
.carousel-btn:active { transform: scale(0.95); box-shadow: var(--shadow-in); }

.carousel-dots { display: flex; gap: 8px; align-items: center; }

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dark); opacity: 0.35; transition: var(--transition); cursor: pointer;
}

.dot.active {
  width: 26px; border-radius: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2); opacity: 1;
}

/* ════════════════════════════════════════
   CONTACT — REDESIGNED
════════════════════════════════════════ */
#contact {
  max-width: 1200px;
}

.contact-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 560px;
  margin: -1.6rem auto 2.8rem;
}

.contact-panel {
  background: var(--bg);
  box-shadow: var(--shadow-out-lg);
  border-radius: 28px;
  padding: 3rem 3rem;
  display: flex;
  gap: 3rem;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Left column — info */
.contact-info {
  flex: 1; min-width: 240px;
  display: flex; flex-direction: column; gap: 1.4rem;
}

.contact-info-heading {
  font-size: 1.35rem; font-weight: 800; color: var(--text-primary);
  line-height: 1.3;
}

.contact-info-heading span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-text {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8;
}

/* availability chip */
.avail-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.1rem; border-radius: 50px;
  background: var(--bg); box-shadow: var(--shadow-in);
  font-size: 0.8rem; font-weight: 600; color: #38a169;
  width: fit-content;
}

.avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #48bb78; animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Direct contact rows */
.contact-rows { display: flex; flex-direction: column; gap: 0.9rem; }

.contact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg);
  box-shadow: var(--shadow-out);
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.contact-row:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-out-lg);
}

.contact-row-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff; flex-shrink: 0;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
}

.contact-row-info { display: flex; flex-direction: column; }

.contact-row-label {
  font-size: 0.7rem; font-weight: 600;
  color: var(--dark); text-transform: uppercase; letter-spacing: 1px;
}

.contact-row-value {
  font-size: 0.875rem; font-weight: 600; color: var(--text-primary);
}

/* Divider */
.contact-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, #a3b1c6 20%, #a3b1c6 80%, transparent);
  opacity: 0.4;
  align-self: stretch;
}

/* Right column — social grid */
.contact-socials {
  flex: 1; min-width: 240px;
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
}

.contact-socials-heading {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--dark);
}

.social-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-tile {
  background: var(--bg);
  box-shadow: var(--shadow-out);
  border-radius: 18px;
  padding: 1rem 1.2rem;

  display: flex;
  flex-direction: row;   
  align-items: center;
  gap: 1rem;

  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.social-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-out-lg);
}

.social-tile:active {
  transform: scale(0.96);
  box-shadow: var(--shadow-in);
}

.social-tile-icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.12);
}

.social-tile-name {
  font-size: 0.8rem; font-weight: 700; color: var(--text-secondary);
}

.social-tile-handle {
display: none;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-box {
  position: relative; max-width: 800px; width: 100%;
  border-radius: 22px; overflow: hidden;
  transform: scale(0.86);
  transition: transform 0.38s cubic-bezier(0.34, 1.36, 0.64, 1);
  background: var(--bg);
  box-shadow: 16px 16px 48px rgba(0,0,0,0.4), -8px -8px 24px rgba(255,255,255,0.12);
}

.modal-overlay.active .modal-box { transform: scale(1); }

.modal-img { width: 100%; display: block; border-radius: 22px; }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.45); border: none; cursor: pointer;
  color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: rgba(0,0,0,0.65); transform: scale(1.1); }

/* ── FOOTER ── */
footer {
  text-align: center; padding: 2.5rem 1rem;
  color: var(--text-secondary); font-size: 0.82rem;
}

footer span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 700;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ── ABOUT STRIP ── */
.about-strip {
  display: flex; align-items: center; gap: 3rem;
  background: var(--bg); box-shadow: var(--shadow-out);
  border-radius: var(--radius); padding: 2.5rem; flex-wrap: wrap;
}

.about-text { flex: 1; min-width: 220px; }
.about-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-primary); }
.about-text p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }

.about-stats { display: flex; gap: 2rem; flex-wrap: wrap; }

.stat { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }

.stat-num {
  font-size: 2rem; font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-align: center; }

/* ── HIDE SCROLLBAR ON MOBILE & TABLET ── */
@media (max-width: 991px) {
  html { scrollbar-width: none; }
  body::-webkit-scrollbar { display: none; }
  body { scrollbar-width: none; -ms-overflow-style: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .hero-img-ring { width: 220px; height: 220px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .apple-stage { height: 380px; perspective: 900px; }

  .apple-card.pos--1 {
    transform: translateX(-220px) translateZ(-130px) rotateY(26deg) scale(0.72);
    opacity: 0.5;
  }

  .apple-card.pos-1 {
    transform: translateX(220px) translateZ(-130px) rotateY(-26deg) scale(0.72);
    opacity: 0.5;
  }

  .apple-card.pos--2, .apple-card.pos-2 {
    transform: translateX(-440px) translateZ(-280px) rotateY(40deg) scale(0.5);
    opacity: 0;
  }

  .contact-divider { display: none; }
  .contact-panel { padding: 2rem 1.5rem; }

  .skill-card {
    flex: 0 0 calc(25% - 0.9rem);
    min-width: 110px;
  }
}

@media (max-width: 640px) {
  section { padding: 80px 1rem 40px; }
  .hero-img-ring { width: 180px; height: 180px; }
  .hero-initials { font-size: 3.5rem; }

  .skill-card {
    flex: 0 0 calc(33.333% - 0.8rem);
    min-width: 100px;
    padding: 1.2rem 0.9rem 0.9rem;
  }

  .skill-icon-wrap {
    width: 52px; height: 52px;
    font-size: 1.5rem;
  }

  .apple-stage { height: 360px; perspective: 700px; }

  .apple-card { width: 260px; }

  .apple-card.pos--1 {
    transform: translateX(-170px) translateZ(-100px) rotateY(22deg) scale(0.68);
    opacity: 0.38;
  }

  .apple-card.pos-1 {
    transform: translateX(170px) translateZ(-100px) rotateY(-22deg) scale(0.68);
    opacity: 0.38;
  }

  .apple-card.pos--2, .apple-card.pos-2 {
    opacity: 0; pointer-events: none;
  }

  .social-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-panel { flex-direction: column; gap: 2rem; }
}

/* ── NAV ACTIVE ── */
.nav-links a.active {
  color: var(--accent); background: rgba(102,126,234,0.1);
}