/* ============================================================
   FONTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg:        #080e1e;
  --bg2:       #0c1428;
  --card:      #101a30;
  --card2:     #0d1525;
  --border:    #1a2640;
  --border2:   #243050;

  --orange:    #f97316;
  --orange2:   #fb923c;
  --orange-dim:rgba(249,115,22,.15);
  --orange-glow:rgba(249,115,22,.3);

  --cyan:      #22d3ee;
  --cyan-dim:  rgba(34,211,238,.12);
  --violet:    #a78bfa;
  --green:     #4ade80;

  --text:      #e8eef8;
  --text2:     #8899bb;
  --text3:     #445577;

  --display:   'Clash Display', sans-serif;
  --body:      'Outfit', sans-serif;

  --ease:      cubic-bezier(.25,.46,.45,.94);
}

/* Light mode */
body.light {
  --bg:    #f4f6fc;
  --bg2:   #eef1f8;
  --card:  #ffffff;
  --card2: #f8faff;
  --border:#dde3f0;
  --border2:#c8d0e8;
  --text:  #0f1a35;
  --text2: #4a5a80;
  --text3: #9aa8c8;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .4s, color .4s;
}

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

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

.section { padding: 100px 0; position: relative; }

.orange { color: var(--orange); }

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
@media (hover: hover) {
  body { cursor: none; }

  .cursor {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--orange);
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform .05s;
    mix-blend-mode: difference;
  }

  .cursor-follower {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(249,115,22,.5);
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform .12s var(--ease), width .2s, height .2s;
  }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 99px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  width: calc(100% - 48px);
  max-width: 900px;
  background: rgba(8,14,30,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border2);
  border-radius: 60px;
  padding: 0 24px;
  transition: all .4s var(--ease);
}

.navbar.scrolled {
  top: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  border-color: var(--orange);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 58px;
  gap: 32px;
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  transition: color .2s;
  position: relative;
}

.nav-a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 99px;
  transition: width .25s var(--ease);
}

.nav-a:hover,
.nav-a.active { color: var(--text); }
.nav-a:hover::after,
.nav-a.active::after { width: 100%; }

.theme-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: transform .3s;
}
.theme-toggle:hover { transform: rotate(30deg) scale(1.2); }

.btn-hire {
  background: var(--orange);
  color: #fff;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: .84rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .2s;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-hire:hover {
  background: var(--orange2);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--orange-glow);
}

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

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: all .3s;
}

.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); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--card); border-radius: 20px; padding: 20px; gap: 18px; border: 1px solid var(--border2); }
  .nav-links.open { display: flex; }
  .btn-hire { display: none; }
  .navbar { top: 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(249,115,22,.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(167,139,250,.07) 0%, transparent 50%);
}

/* Background orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb1 {
  width: 320px; height: 320px;
  background: rgba(249,115,22,.12);
  top: 10%; right: 5%;
  animation-delay: 0s;
}

.orb2 {
  width: 200px; height: 200px;
  background: rgba(167,139,250,.1);
  bottom: 20%; left: 5%;
  animation-delay: -3s;
}

.orb3 {
  width: 160px; height: 160px;
  background: rgba(34,211,238,.08);
  top: 60%; right: 30%;
  animation-delay: -6s;
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Social row */
.social-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border2);
  display: grid; place-items: center;
  color: var(--text2);
  transition: all .22s var(--ease);
}

.social-icon svg { width: 16px; height: 16px; }

.social-icon:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--orange-glow);
}

/* Hero text */
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-name {
  color: var(--orange);
  position: relative;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 22px;
}

.typing-wrap {
  font-size: .95rem;
  color: var(--text2);
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.typing-text {
  color: var(--orange);
  font-weight: 700;
  min-width: 180px;
}

.typing-cursor {
  color: var(--orange);
  animation: blink .8s step-end infinite;
  font-weight: 300;
}

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

/* Hero buttons */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .22s var(--ease);
  box-shadow: 0 6px 24px var(--orange-glow);
}

.btn-primary:hover {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px var(--orange-glow);
}

.btn-primary.full-w { width: 100%; justify-content: center; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 14px 30px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
  border: 1.5px solid var(--border2);
  transition: all .22s var(--ease);
}

.btn-outline-hero:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* Hero right — avatar */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar-wrap {
  position: relative;
  width: 360px; height: 360px;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(249,115,22,.25);
  animation: spin linear infinite;
}

.ring1 {
  inset: -20px;
  animation-duration: 18s;
}

.ring2 {
  inset: -50px;
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.avatar-blob {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(249,115,22,.25), rgba(167,139,250,.15), transparent 70%);
  animation: pulsate 4s ease-in-out infinite;
}

@keyframes pulsate {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%       { transform: scale(1.05); opacity: 1; }
}

.avatar-circle {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border2);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(249,115,22,.15), inset 0 0 40px rgba(249,115,22,.05);
}

.avatar-emoji {
  font-size: 6rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(249,115,22,.4));
}

/* Floating icons */
.float-icon {
  position: absolute;
  font-size: 1.6rem;
  background: var(--card);
  border: 1px solid var(--border2);
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  animation: floatIcon 3s ease-in-out infinite;
}

.fi1 { top: 0;   left: 0;   animation-delay: 0s;    }
.fi2 { top: 10px; right: 0; animation-delay: -.5s;  }
.fi3 { bottom: 20px; left: -10px; animation-delay: -1s; }
.fi4 { bottom: 0; right: 20px;    animation-delay: -1.5s; }
.fi5 { top: 50%; left: -20px;     animation-delay: -2s; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(5deg); }
}

/* Hi bubble */
.hi-bubble {
  position: absolute;
  top: -20px; right: -10px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  padding: 10px 18px;
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 8px 24px var(--orange-glow);
  animation: bubbleBounce 2s ease-in-out infinite;
}

@keyframes bubbleBounce {
  0%, 100% { transform: scale(1) rotate(-3deg); }
  50%       { transform: scale(1.07) rotate(3deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--border2);
  border-radius: 99px;
  display: flex; justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--orange);
  border-radius: 99px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

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

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-img-wrap {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orange star shape */
.about-star {
  position: absolute;
  width: 300px; height: 300px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: starSpin 12s linear infinite;
  opacity: .9;
}

@keyframes starSpin {
  to { transform: rotate(360deg); }
}

.about-avatar {
  position: relative;
  z-index: 2;
  font-size: 7rem;
  filter: drop-shadow(0 0 30px rgba(249,115,22,.5));
  animation: avatarBob 3s ease-in-out infinite;
}

@keyframes avatarBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Skill bubbles */
.skill-bubble {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border2);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 3;
  animation: floatIcon 3s ease-in-out infinite;
}

.sb1 { top: 20px;  left: 0;    animation-delay: 0s; }
.sb2 { bottom: 30px; left: 0;  animation-delay: -.7s; }
.sb3 { top: 30%;  right: 0;    animation-delay: -1.4s; }

/* About text */
.section-heading {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.about-text {
  font-size: .95rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 36px;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
}

.astat { text-align: center; }

.astat-num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  display: inline;
}

.astat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  display: inline;
}

.astat-label {
  font-size: .75rem;
  color: var(--text3);
  margin-top: 4px;
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .88rem;
  transition: all .22s var(--ease);
}

.btn-learn:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

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

.section-header { text-align: center; margin-bottom: 56px; }

.section-title {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text2);
  font-size: .9rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  transition: all .25s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}

.skill-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(249,115,22,.12);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-emoji {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px rgba(249,115,22,.3));
}

.skill-name {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
}

.skill-prof-row {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--text3);
  margin-bottom: 8px;
  font-weight: 600;
}

.skill-pct { color: var(--orange); font-weight: 800; }

.skill-bar-bg {
  height: 5px;
  background: var(--border2);
  border-radius: 99px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 99px;
  width: 0%;
  transition: width 1.2s var(--ease);
}

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

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

.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all .25s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}

.proj-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.proj-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

.proj-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--card2), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.proj-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(249,115,22,0);
  transition: background .3s;
}

.proj-card:hover .proj-thumb::after { background: rgba(249,115,22,.08); }

.proj-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}

.proj-card:hover .proj-overlay { opacity: 1; }

.proj-overlay a {
  background: var(--orange);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  transition: background .2s;
}

.proj-overlay a:hover { background: var(--orange2); }

.proj-info { padding: 20px; }

.proj-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.proj-tag {
  background: var(--orange-dim);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
}

.proj-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.proj-desc {
  font-size: .8rem;
  color: var(--text2);
  line-height: 1.6;
}

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-info p {
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }

.cd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text2);
}

.cd-item span { color: var(--text); font-weight: 500; }

.contact-socials { display: flex; gap: 10px; }

.csoc {
  width: 40px; height: 40px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text2);
  transition: all .2s;
}

.csoc:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* Contact form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: .9rem;
  outline: none;
  resize: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }

.form-msg {
  text-align: center;
  font-size: .84rem;
  font-weight: 600;
  min-height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-logo span { color: var(--orange); }

.footer-copy { font-size: .8rem; color: var(--text3); }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .8rem; color: var(--text2); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s var(--ease);
  box-shadow: 0 6px 20px var(--orange-glow);
  z-index: 400;
}

.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 860px) {
  .hero-inner    { grid-template-columns: 1fr; text-align: center; }
  .hero-right    { display: none; }
  .social-row    { justify-content: center; }
  .hero-btns     { justify-content: center; }
  .about-inner   { grid-template-columns: 1fr; }
  .about-img-wrap{ height: 280px; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .about-stats   { justify-content: center; }
}

@media (max-width: 600px) {
  .skills-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .section       { padding: 70px 0; }
  .navbar        { width: calc(100% - 24px); }
}

@media (max-width: 400px) {
  .skills-grid   { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; text-align: center; }
}
