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

:root {
  --primary: #6c63ff;
  --primary-dark: #5a52d5;
  --accent: #ff6584;
  --bg: #080810;
  --bg2: #0f0f18;
  --bg3: #16161f;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --border: rgba(108,99,255,0.15);
  --card: rgba(255,255,255,0.03);
  --glow: rgba(108,99,255,0.3);
}

body.light {
  --bg: #f4f4f8;
  --bg2: #ffffff;
  --bg3: #eeeef5;
  --text: #0a0a0f;
  --text-muted: #555570;
  --border: rgba(108,99,255,0.2);
  --card: rgba(108,99,255,0.04);
  --glow: rgba(108,99,255,0.2);
}

html { scroll-behavior: smooth; width: 100%; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* FLOATING SOCIALS */
.floating-socials {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  background: rgba(15,15,25,0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px 0 0 16px;
  padding: 0.6rem 0.5rem;
  gap: 0.3rem;
  z-index: 400;
  border: 1px solid var(--border);
  border-right: none;
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
body.light .floating-socials {
  background: rgba(255,255,255,0.95);
  border-color: rgba(108,99,255,0.2);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.fsoc-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
}
body.light .fsoc-btn { background: rgba(108,99,255,0.08); color: #555570; }
.fsoc-btn:hover { background: var(--primary); color: #fff; transform: scale(1.15); }

/* CHATBOT */
#chatToggle {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px var(--glow);
  z-index: 500; transition: all 0.3s;
  animation: chatPulse 2s infinite;
}
#chatToggle:hover { transform: scale(1.1); }
@keyframes chatPulse {
  0%,100%{ box-shadow: 0 8px 25px var(--glow); }
  50%{ box-shadow: 0 8px 40px rgba(108,99,255,0.6); }
}
#chatbot {
  position: fixed; bottom: 6rem; left: 2rem;
  width: 340px; height: 480px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex; flex-direction: column;
  z-index: 500;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: scale(0.8) translateY(20px);
  opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
#chatbot.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
#chatHeader {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 20px 20px 0 0;
  background: rgba(108,99,255,0.08);
}
.chat-header-info { display: flex; align-items: center; gap: 0.8rem; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.chat-name { font-size: 0.9rem; font-weight: 700; }
.chat-status { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; }
#chatClose { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; transition: color 0.3s; }
#chatClose:hover { color: var(--text); }
#chatMessages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
#chatMessages::-webkit-scrollbar { width: 3px; }
#chatMessages::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.msg {
  max-width: 80%; padding: 0.7rem 1rem;
  border-radius: 16px; font-size: 0.85rem; line-height: 1.5;
  animation: msgPop 0.3s ease;
}
@keyframes msgPop { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.msg.bot {
  background: rgba(108,99,255,0.12);
  border: 1px solid var(--border);
  color: var(--text); align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.user {
  background: var(--primary); color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg.typing { opacity: 0.6; font-style: italic; }
#chatInput {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border);
  display: flex; gap: 0.5rem;
  border-radius: 0 0 20px 20px;
}
#chatText {
  flex: 1; background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text); padding: 0.6rem 1rem;
  border-radius: 30px; font-size: 0.85rem;
  outline: none; font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
}
#chatText:focus { border-color: var(--primary); }
#chatText::placeholder { color: var(--text-muted); }
#chatSend {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; flex-shrink: 0;
}
#chatSend:hover { background: var(--primary-dark); transform: scale(1.1); }

/* SCROLL PROGRESS */
#scrollProgress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--primary);
  z-index: 9999; transition: width 0.1s;
}

/* BACK TO TOP */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px var(--glow);
  opacity: 0; transform: translateY(20px);
  transition: all 0.3s; z-index: 500;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* TYPEWRITER */
.typewriter-tag { font-size: 0.95rem; padding: 0.4rem 1.2rem; }
#typewriter { color: var(--primary); font-weight: 700; }
.cursor-blink { color: var(--primary); animation: blink 0.7s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* TILT */
.hero-visual { transition: transform 0.1s ease; }

/* AVAILABLE BADGE */
.available-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e; padding: 0.35rem 1rem;
  border-radius: 30px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.6s 0.6s forwards;
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: availPulse 1.5s infinite;
}
@keyframes availPulse { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.4)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,0)} }

/* TESTIMONIALS */
.testimonials { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testi-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.8rem;
  transition: all 0.3s; position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 4rem; color: var(--primary);
  opacity: 0.2; font-family: Georgia, serif; line-height: 1;
}
.testi-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.testi-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; }
.testi-author span { font-size: 0.75rem; color: var(--text-muted); }

/* PROJECT HOVER OVERLAY */
.project-img { position: relative; overflow: hidden; }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(108,99,255,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  font-size: 0.9rem; font-weight: 600; color: #fff;
  gap: 0.5rem; pointer-events: none;
}
.project-img:hover .project-overlay { opacity: 1; }

/* PAGE TRANSITION */
#pageTransition {
  position: fixed; inset: 0;
  background: var(--primary);
  z-index: 9998;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  pointer-events: none;
}
#pageTransition.active { transform: scaleY(1); }
#pageTransition.exit { transform: scaleY(0); transform-origin: top; }

/* PARTICLES */
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* WHY HIRE ME */
.why-section { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.why-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem 1.5rem;
  text-align: center; transition: all 0.3s;
}
.why-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(108,99,255,0.15); }
.why-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(108,99,255,0.1); border: 1px solid rgba(108,99,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
  margin: 0 auto 1.2rem;
  transition: all 0.3s;
}
.why-card:hover .why-icon { background: var(--primary); color: #fff; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* SKILL PROGRESS */
.progress-section { background: var(--bg); }
.progress-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.progress-item { }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 0.6rem; font-size: 0.85rem; font-weight: 600; }
.progress-pct { color: var(--primary); }
.progress-bar { height: 8px; background: var(--bg3); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), #a78bfa);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* LOADER */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-text {
  font-size: 3rem; font-weight: 900; color: var(--text);
  animation: pulse 1s infinite;
}
.loader-text span { color: var(--primary); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* NAV */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  z-index: 100;
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 5%;
}
.logo { font-size: 1.6rem; font-weight: 900; color: var(--text); }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
body.light .nav-links a { color: var(--text-muted); }
body.light .nav-links a:hover { color: var(--text); background: none; padding: 0; border-radius: 0; }
body.light #navbar.scrolled { background: rgba(244,244,248,0.95); }
body.light #navbar { background: rgba(244,244,248,0.5); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 1rem;
  cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
body.light .theme-toggle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 1.5rem 0; }
.mobile-menu ul li a { font-size: 2rem; font-weight: 700; color: var(--text); text-decoration: none; transition: color 0.3s; }
.mobile-menu ul li a:hover { color: var(--primary); }
.close-btn { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: var(--text); font-size: 1.8rem; cursor: pointer; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8rem 5% 4rem;
  position: relative; overflow: hidden;
  gap: 2rem;
  width: 100%;
  max-width: 100vw;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { flex: 1; max-width: 600px; z-index: 1; }
.hero-greeting { color: var(--primary); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; opacity: 0; animation: fadeUp 0.6s 0.5s forwards; }
.hero-name {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.6s 0.7s forwards;
}
.hero-name span { color: var(--primary); }
.hero-roles {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.9s forwards;
}
.role-tag {
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem; font-weight: 500;
}
.hero-desc {
  color: var(--text-muted); font-size: 1rem; line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.6s 1.1s forwards;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 0.6s 1.3s forwards;
}
.btn-primary {
  background: var(--primary);
  color: #fff; padding: 0.8rem 2rem;
  border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 30px var(--glow); }
.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  padding: 0.8rem 2rem; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  opacity: 0; animation: fadeUp 0.6s 1.5s forwards;
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--primary); }
.stat p { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* HERO VISUAL */
.hero-visual {
  flex: 0 0 auto;
  position: relative; width: 500px; height: 500px;
  z-index: 1;
  opacity: 0; animation: fadeIn 1s 1s forwards;
  display: flex; align-items: center; justify-content: center;
}
.avatar-ring {
  width: 380px; height: 380px;
  border-radius: 50%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.avatar-ring::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--primary), rgba(108,99,255,0.1), var(--primary));
  animation: spin 4s linear infinite;
  z-index: 0;
}
.avatar-ring::after {
  content: '';
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(108,99,255,0.15);
  z-index: 0;
}
.avatar-placeholder {
  width: 372px; height: 372px;
  border-radius: 50%;
  background: var(--bg2);
  overflow: hidden;
  position: relative; z-index: 1;
}
.avatar-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
}
.floating-badge {
  position: absolute;
  background: rgba(15,15,25,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108,99,255,0.25);
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.badge1 { top: 40px; left: 0; color: #e34c26; animation: floatBadge 3s ease-in-out infinite; }
.badge2 { top: 40px; right: 0; color: #f7df1e; animation: floatBadge 3s ease-in-out infinite 1s; }
.badge3 { bottom: 60px; left: 0; color: #a259ff; animation: floatBadge 3s ease-in-out infinite 0.5s; }
.badge4 { bottom: 60px; right: 0; color: #8892be; animation: floatBadge 3s ease-in-out infinite 1.5s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* SECTION COMMONS */
.section { padding: 6rem 0; width: 100%; max-width: 100vw; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%; box-sizing: border-box; }
.section-label {
  display: inline-block;
  color: var(--primary); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 0.8rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin-bottom: 3rem; }

/* ABOUT */
.about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-box {
  width: 100%; aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3px;
  max-width: 350px;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  border-radius: 18px;
  overflow: hidden;
}
.about-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.about-exp-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--primary);
  color: #fff; padding: 1rem 1.5rem;
  border-radius: 15px; font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 10px 30px var(--glow);
}
.about-exp-badge span { font-size: 1.5rem; font-weight: 900; display: block; }
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1.5rem; line-height: 1.3; }
.about-text h2 span { color: var(--primary); }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1.5rem 0 2rem; }
.highlight {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-muted);
}
.highlight i { color: var(--primary); }

/* SKILLS */
.skills-categories { display: flex; flex-direction: column; gap: 3rem; }
.skill-category h3 {
  font-size: 1rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.skill-category h3 i { color: var(--primary); }
.skills-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.85rem; font-weight: 500;
  transition: all 0.3s; cursor: default;
}
.skill-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 25px var(--glow); }
.skill-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.html { background: rgba(227,76,38,0.15); color: #e34c26; }
.css { background: rgba(38,77,228,0.15); color: #264de4; }
.js { background: rgba(247,223,30,0.15); color: #f7df1e; }
.php { background: rgba(136,146,190,0.15); color: #8892be; }
.cs { background: rgba(104,33,122,0.15); color: #9b4dca; }
.py { background: rgba(55,118,171,0.15); color: #3776ab; }
.flutter { background: rgba(84,182,246,0.15); color: #54b6f6; }
.android { background: rgba(61,220,132,0.15); color: #3ddc84; }
.figma { background: rgba(162,89,255,0.15); color: #a259ff; }
.ps { background: rgba(49,168,255,0.15); color: #31a8ff; }
.xd { background: rgba(255,38,109,0.15); color: #ff266d; }
.canva { background: rgba(0,196,204,0.15); color: #00c4cc; }
.wp { background: rgba(33,117,155,0.15); color: #21759b; }
.wix { background: rgba(250,200,0,0.15); color: #fac800; }
.pr { background: rgba(154,103,255,0.15); color: #9a67ff; }
.capcut { background: rgba(255,255,255,0.1); color: #fff; }
.nextjs { background: rgba(255,255,255,0.1); color: #fff; }
.ts { background: rgba(49,120,198,0.15); color: #3178c6; }
.tailwind { background: rgba(6,182,212,0.15); color: #06b6d4; }
.supabase { background: rgba(62,207,142,0.15); color: #3ecf8e; }
.stripe { background: rgba(99,91,255,0.15); color: #635bff; }
.twilio { background: rgba(242,47,70,0.15); color: #f22f46; }
.mysql { background: rgba(0,117,143,0.15); color: #00758f; }
.chartjs { background: rgba(255,99,132,0.15); color: #ff6384; }
.react { background: rgba(97,218,251,0.15); color: #61dafb; }
.nodejs { background: rgba(104,160,99,0.15); color: #68a063; }
.postgres { background: rgba(51,103,145,0.15); color: #336791; }
.vercel { background: rgba(255,255,255,0.1); color: #fff; }
.netlify { background: rgba(0,173,181,0.15); color: #00adb5; }
.railway { background: rgba(131,82,255,0.15); color: #8352ff; }
.github { background: rgba(255,255,255,0.1); color: #fff; }
.laravel { background: rgba(255,45,32,0.15); color: #ff2d20; }
.render { background: rgba(70,149,74,0.15); color: #46954a; }
.groq { background: rgba(249,115,22,0.15); color: #f97316; }

/* PROJECTS */
.projects { background: var(--bg2); }
.filter-tabs { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  background: var(--card); border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.5rem 1.2rem;
  border-radius: 30px; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.project-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: all 0.3s;
}
.project-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.project-card.hidden { display: none; }
.project-img { height: 200px; overflow: hidden; }
.project-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(255,101,132,0.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--primary);
}
.design-bg { background: linear-gradient(135deg, rgba(162,89,255,0.2), rgba(255,38,109,0.2)); color: #a259ff; }
.mobile-bg { background: linear-gradient(135deg, rgba(84,182,246,0.2), rgba(61,220,132,0.2)); color: #54b6f6; }
.video-bg { background: linear-gradient(135deg, rgba(154,103,255,0.2), rgba(255,101,132,0.2)); color: #9a67ff; }
.social-bg { background: linear-gradient(135deg, rgba(0,196,204,0.2), rgba(108,99,255,0.2)); color: #00c4cc; }
.cms-bg { background: linear-gradient(135deg, rgba(33,117,155,0.2), rgba(250,200,0,0.2)); color: #21759b; }
.project-info { padding: 1.5rem; }
.project-tag {
  background: rgba(108,99,255,0.15); color: var(--primary);
  padding: 0.25rem 0.7rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.design-tag { background: rgba(162,89,255,0.15); color: #a259ff; }
.mobile-tag { background: rgba(84,182,246,0.15); color: #54b6f6; }
.video-tag { background: rgba(154,103,255,0.15); color: #9a67ff; }
.social-tag { background: rgba(0,196,204,0.15); color: #00c4cc; }
.cms-tag { background: rgba(33,117,155,0.15); color: #21759b; }
.gov-tag { background: rgba(220,38,38,0.15); color: #dc2626; }
.youth-tag { background: rgba(180,130,30,0.15); color: #b4821e; }
.project-info h3 { font-size: 1.1rem; font-weight: 700; margin: 0.8rem 0 0.5rem; }
.project-info p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-tech span {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  padding: 0.2rem 0.6rem; border-radius: 10px;
  font-size: 0.75rem; color: var(--text-muted);
}
.btn-visit {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.8rem;
  color: var(--primary); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: gap 0.3s;
}
.btn-visit:hover { gap: 0.7rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(108,99,255,0.1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.contact-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-item a, .contact-item p { color: var(--text); font-size: 0.9rem; text-decoration: none; }
.contact-item a:hover { color: var(--primary); }
.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  transition: all 0.3s;
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 0.9rem 1.2rem;
  border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; transition: border-color 0.3s;
  outline: none; resize: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }

/* FOOTER */
footer {
  text-align: center; padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem;
}
footer span { color: var(--primary); font-weight: 600; }

/* ANIMATIONS */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 7rem; }
  .hero-roles { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .available-badge { margin: 0 auto 1rem; }
  .hero-visual { width: 340px; height: 340px; }
  .avatar-ring { width: 280px; height: 280px; }
  .avatar-placeholder { width: 272px; height: 272px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-box { max-width: 250px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .testi-grid { grid-template-columns: 1fr; }
  #chatbot { width: calc(100vw - 2rem); left: 1rem; }
  .floating-socials { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 6rem 4% 3rem; gap: 1.5rem; }
  .hero-name { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-desc { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .hero-visual { width: 220px; height: 220px; }
  .avatar-ring { width: 180px; height: 180px; }
  .avatar-placeholder { width: 172px; height: 172px; }
  .floating-badge { font-size: 0.65rem; padding: 0.3rem 0.6rem; }
  .badge1 { top: 15px; left: -5px; }
  .badge2 { top: 15px; right: -5px; }
  .badge3 { bottom: 30px; left: -5px; }
  .badge4 { bottom: 30px; right: -5px; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .container { padding: 0 4%; }
  .about-exp-badge { right: 0; }
  #chatbot { width: calc(100vw - 1rem); left: 0.5rem; bottom: 5rem; }
  #chatToggle { bottom: 1rem; left: 1rem; width: 48px; height: 48px; font-size: 1.2rem; }
  #backToTop { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
  .progress-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
