/* =====================================================
   RORIRI SOFTWARE SOLUTIONS — styles.css v3
   Theme: Dark + Light Dual Mode | Rich Multi-Color Palette
   ===================================================== */

/* ── Variables ───────────────────────────────────────── */
:root {
  /* Brand palette — vivid multi-color */
  --v1: #7c5cfc;        /* violet */
  --v2: #5b3de8;        /* indigo */
  --v3: #9c3af7;        /* purple */
  --c1: #00d4ff;        /* cyan */
  --c2: #0ea5e9;        /* sky */
  --am: #ffb830;        /* amber */
  --em: #00e5a0;        /* emerald */
  --rose: #ff4d8d;      /* rose */
  --orange: #ff6b35;    /* orange */

  --grad-main:    linear-gradient(135deg, #7c5cfc 0%, #00d4ff 100%);
  --grad-vivid:   linear-gradient(135deg, #ff4d8d 0%, #7c5cfc 50%, #00d4ff 100%);
  --grad-text:    linear-gradient(135deg, #7c5cfc 0%, #00d4ff 100%);
  --grad-amber:   linear-gradient(135deg, #ffb830, #ff6b35);
  --grad-emerald: linear-gradient(135deg, #00e5a0, #0ea5e9);
  --grad-rose:    linear-gradient(135deg, #ff4d8d, #ff6b35);
  --grad-erp:     linear-gradient(135deg, #7c5cfc, #9c3af7);
  --grad-web:     linear-gradient(135deg, #00d4ff, #0ea5e9);

  /* Layout */
  --nav-h:    74px;
  --max-w:    1500px;
  --radius:   16px;
  --radius-s: 10px;
  --radius-xl:28px;

  --ease:   cubic-bezier(.4,0,.2,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
  --spring: cubic-bezier(.175,.885,.32,1.275);
}

/* ── LIGHT THEME (default) ───────────────────────────── */
[data-theme="light"] {
  --bg:       #e8e6f5;
  --bg2:      #dddaf0;
  --bg3:      #f0eeff;
  --surface:  #edeaf8;
  --border:   rgba(124,92,252,.18);
  --border2:  rgba(124,92,252,.1);
  --text:     #0e0c28;
  --text2:    #2e2b4a;
  --text3:    #6a6890;
  --text4:    #9896b8;
  --nav-bg:   rgba(191, 184, 230, 0.92);
  --card-bg:  #eceaf7;
  --card-border: rgba(124,92,252,.15);
  --sh-sm:    0 2px 12px rgba(124,92,252,.12);
  --sh-md:    0 8px 32px rgba(124,92,252,.18);
  --sh-lg:    0 20px 60px rgba(124,92,252,.22);
  --sh-xl:    0 32px 80px rgba(124,92,252,.28);
  --cg-color: rgba(124,92,252,.08);
  --marquee-bg: linear-gradient(135deg, rgba(124,92,252,.1), rgba(0,212,255,.08));
  --loader-bg:#e8e6f5;
  --grid-color: rgba(124,92,252,.07);
  --section-alt: #dfdcef;
  --footer-bg: #0a0818;
  --cta-bg: #0d0b2e;
}

/* ── DARK THEME ──────────────────────────────────────── */
[data-theme="dark"] {
  --bg:       #07061a;
  --bg2:      #0d0c22;
  --bg3:      #12102e;
  --surface:  #12102e;
  --border:   rgba(124,92,252,.2);
  --border2:  rgba(124,92,252,.1);
  --text:     #f0eeff;
  --text2:    #c4c0f0;
  --text3:    #7b789e;
  --text4:    #4a4770;
  --nav-bg:   rgba(10,8,24,.9);
  --card-bg:  #100f28;
  --card-border: rgba(124,92,252,.18);
  --sh-sm:    0 2px 16px rgba(0,0,0,.4);
  --sh-md:    0 8px 40px rgba(0,0,0,.5);
  --sh-lg:    0 20px 60px rgba(0,0,0,.6);
  --sh-xl:    0 32px 80px rgba(0,0,0,.7);
  --cg-color: rgba(124,92,252,.12);
  --marquee-bg: linear-gradient(135deg, rgba(124,92,252,.1), rgba(0,212,255,.08));
  --loader-bg:#07061a;
  --grid-color: rgba(124,92,252,.06);
  --section-alt: #0d0c22;
  --footer-bg: #03020f;
  --cta-bg: #0a0818;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text2);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background .4s var(--ease), color .4s var(--ease);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Gradient Text ───────────────────────────────────── */
.gt, .gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CURSOR GLOW ─────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cg-color) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform .08s linear, opacity .3s;
  mix-blend-mode: screen;
}
[data-theme="light"] .cursor-glow { mix-blend-mode: multiply; }

/* ── THEME TOGGLE ────────────────────────────────────── */
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--border);
  border: 1.5px solid var(--border);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all .3s var(--bounce);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-left: 8px;
}
.theme-toggle:hover {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 20px rgba(124,92,252,.4);
}
.theme-toggle .t-sun,
.theme-toggle .t-moon {
  position: absolute;
  transition: all .4s var(--bounce);
}
[data-theme="light"] .t-sun  { opacity: 1; transform: scale(1); }
[data-theme="light"] .t-moon { opacity: 0; transform: scale(0) rotate(-90deg); }
[data-theme="dark"]  .t-sun  { opacity: 0; transform: scale(0) rotate(90deg); }
[data-theme="dark"]  .t-moon { opacity: 1; transform: scale(1); }

/* ── PAGE LOADER ─────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--loader-bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-icon {
  font-size: 3rem;
  background: var(--grad-vivid);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loaderSpin 1.8s ease-in-out infinite;
  display: block; margin: 0 auto 20px;
}
@keyframes loaderSpin {
  0%   { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); }
  50%  { transform: scale(1.2) rotate(180deg); filter: hue-rotate(90deg); }
  100% { transform: scale(1) rotate(360deg); filter: hue-rotate(360deg); }
}
.loader-bar {
  width: 220px; height: 3px;
  background: var(--border);
  border-radius: 10px;
  margin: 0 auto 14px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--grad-vivid);
  background-size: 200% 100%;
  border-radius: 10px;
  animation: loaderProgress 1.8s var(--ease) forwards, gradShift 1.5s linear infinite;
}
@keyframes loaderProgress { from { width: 0; } to { width: 100%; } }
@keyframes gradShift { to { background-position: 200% 0; } }
.loader-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all .4s var(--ease);
}
.navbar::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border2);
  transition: box-shadow .4s;
}
.navbar.scrolled::before { box-shadow: 0 4px 40px rgba(124,92,252,.15); }

.nav-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-gem {
  width: 42px; height: 42px;
  background: var(--grad-vivid);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  box-shadow: 0 4px 24px rgba(124,92,252,.5);
  flex-shrink: 0;
  animation: logoGlow 4s ease-in-out infinite;
}
@keyframes logoGlow {
  0%,100% { box-shadow: 0 4px 24px rgba(124,92,252,.5); }
  33%      { box-shadow: 0 4px 24px rgba(0,212,255,.5); }
  66%      { box-shadow: 0 4px 24px rgba(255,77,141,.5); }
}
.gem-pulse {
  position: absolute; inset: -4px;
  border-radius: 16px;
  border: 2px solid rgba(124,92,252,.4);
  animation: gemPulse 2.5s ease-in-out infinite;
}
@keyframes gemPulse {
  0%,100% { transform: scale(1); opacity: .8; border-color: rgba(124,92,252,.4); }
  33%      { transform: scale(1.12); opacity: 0; border-color: rgba(0,212,255,.4); }
}
.small-gem { width: 36px; height: 36px; font-size: .95rem; border-radius: 10px; }

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.15rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; transition: color .4s; }
.logo-tagline { font-size: .68rem; font-weight: 500; color: var(--text3); letter-spacing: .06em; }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nl {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text3);
  padding: 8px 16px;
  border-radius: var(--radius-s);
  transition: all .3s var(--ease);
  overflow: hidden;
}
.nl::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nl:hover::after { left: 16px; right: 16px; }
.nl:hover { color: var(--v1); background: rgba(124,92,252,.08); }
.nl-cta {
  background: var(--grad-main) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius-s);
  display: flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  box-shadow: 0 4px 20px rgba(124,92,252,.4);
  transition: all .3s var(--bounce) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.nl-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-vivid);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.nl-cta:hover::before { opacity: 1; }
.nl-cta::after { display: none; }
.nl-cta:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(124,92,252,.5);
}

/* Burger */
.burger {
  display: none; flex-direction: column;
  gap: 5px; padding: 6px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all .3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .5;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  transition: background .4s;
}
.orb-1 { width:700px;height:700px; background:rgba(124,92,252,.15); top:-200px; right:-150px; animation:orbFloat 10s ease-in-out infinite; }
.orb-2 { width:500px;height:500px; background:rgba(0,212,255,.12);  bottom:-120px; left:-100px; animation:orbFloat 13s ease-in-out infinite reverse; }
.orb-3 { width:350px;height:350px; background:rgba(255,77,141,.1);  top:35%; right:18%; animation:orbFloat 8s ease-in-out infinite 2s; }
.orb-4 { width:300px;height:300px; background:rgba(255,184,48,.08); bottom:15%; right:3%; animation:orbFloat 11s ease-in-out infinite 4s; }
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-40px) scale(1.06); }
}

/* Hero layout */
.hero-wrap {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}
.hero-left { flex: 1; max-width: 640px; }

/* Reveal animation */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp .8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(124,92,252,.12), rgba(0,212,255,.12));
  border: 1px solid rgba(124,92,252,.25);
  color: var(--v1);
  font-size: .8rem; font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .04em;
  animation: badgeShimmer 3s ease-in-out infinite;
}
@keyframes badgeShimmer {
  0%,100% { border-color: rgba(124,92,252,.25); }
  50%      { border-color: rgba(0,212,255,.4); }
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--c1);
  border-radius: 50%;
  animation: badgePulse 1.8s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,.7); background: var(--c1); }
  50%      { box-shadow: 0 0 0 8px rgba(0,212,255,0); background: var(--em); }
}

/* Headline */
.hero-h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 4px;
  transition: color .4s;
}
.line { display: block; }
.tw-cursor {
  display: inline-block;
  color: var(--c1);
  animation: blink .8s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Description */
.hero-desc {
  font-size: 1.05rem;
  color: var(--text3);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* Buttons */
.btn-prime {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-main);
  color: #fff;
  font-size: .92rem; font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-s);
  box-shadow: 0 6px 30px rgba(124,92,252,.4);
  position: relative;
  overflow: hidden;
  transition: all .3s var(--bounce);
  z-index: 1;
}
.btn-prime::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-vivid);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.btn-prime:hover::before { opacity: 1; }
.btn-prime:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 44px rgba(124,92,252,.5); }
.btn-shine {
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}
.btn-prime:hover .btn-shine { left: 150%; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text2);
  font-size: .92rem; font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--v1);
  transition: all .3s var(--ease);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--v1); color: var(--v1); transform: translateY(-2px); box-shadow: var(--sh-sm); background: rgba(124,92,252,.06); }
.btn-ghost-light { color: var(--v1); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* Metrics */
.hero-metrics { display: flex; align-items: center; gap: 24px; }
.hm-div {
  width: 1px; height: 40px;
  background: var(--border);
}
.hm-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hm-num {
  font-size: 2rem; font-weight: 800;
  background: var(--grad-vivid);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hm-sup { font-size: 1rem; font-weight: 700; color: var(--v1); line-height: 1; margin-top: -20px; align-self: flex-start; }
.hm-label { font-size: .72rem; font-weight: 600; color: var(--text4); text-transform: uppercase; letter-spacing: .08em; }

/* ── Tech Sphere ─────────────────────────────────────── */
.hero-right {
  flex: 0 0 460px;
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.tech-sphere {
  position: relative;
  width: 290px; height: 290px;
  display: flex; align-items: center; justify-content: center;
}
.ts-core {
  width: 96px; height: 96px;
  background: var(--grad-vivid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  box-shadow: 0 0 60px rgba(124,92,252,.6), 0 0 100px rgba(0,212,255,.2);
  animation: corePulse 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes corePulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 40px rgba(124,92,252,.5); filter: hue-rotate(0deg); }
  50%      { transform: scale(1.07); box-shadow: 0 0 90px rgba(124,92,252,.8); filter: hue-rotate(60deg); }
}
.ts-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  animation: ringRotate linear infinite;
}
.r1 { width:165px; height:165px; border-color:rgba(124,92,252,.4);  animation-duration:8s; }
.r2 { width:240px; height:240px; border-color:rgba(0,212,255,.25);  animation-duration:14s; animation-direction:reverse; }
.r3 { width:315px; height:315px; border-color:rgba(255,77,141,.2);  animation-duration:20s; }
@keyframes ringRotate { to { transform: rotate(360deg); } }

/* Orbit icons */
.oi {
  position: absolute;
  width: 42px; height: 42px;
  background: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  box-shadow: var(--sh-md);
  border: 1px solid var(--border);
  transition: background .4s;
}
.oi-1 { top: 0; left: 50%; transform: translateX(-50%); animation: oi1float 5s ease-in-out infinite; color: var(--v1); }
.oi-2 { top: 20%; right: 0; animation: oi2float 6s ease-in-out infinite 1s; color: var(--c1); }
.oi-3 { bottom: 5%; right: 10%; animation: oi3float 5.5s ease-in-out infinite .5s; color: var(--em); }
.oi-4 { bottom: 0; left: 50%; transform: translateX(-50%); animation: oi1float 7s ease-in-out infinite 2s; color: var(--rose); }
.oi-5 { bottom: 20%; left: 0; animation: oi2float 6s ease-in-out infinite 1.5s; color: var(--am); }
.oi-6 { top: 20%; left: 5%; animation: oi3float 5s ease-in-out infinite .8s; color: var(--orange); }
@keyframes oi1float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-10px)} }
@keyframes oi2float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes oi3float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }

/* Skill tags */
.sk-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--text2);
  display: flex; align-items: center; gap: 6px;
  box-shadow: var(--sh-md);
  white-space: nowrap;
  transition: background .4s, border-color .4s;
}
.sk-tag i { font-size: .7rem; }
.sk-1 { top: 10px; right: -10px; animation: tagBob 5s ease-in-out infinite; }
.sk-2 { top: 28%; left: -30px; animation: tagBob 6s ease-in-out infinite 1s; }
.sk-3 { bottom: 28%; right: -20px; animation: tagBob 5.5s ease-in-out infinite 2s; }
.sk-4 { bottom: 5px; left: 10px; animation: tagBob 7s ease-in-out infinite .5s; }
.sk-1 i { color: var(--v1); }
.sk-2 i { color: var(--c1); }
.sk-3 i { color: var(--em); }
.sk-4 i { color: var(--am); }
@keyframes tagBob {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-9px)}
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .73rem; color: var(--text4); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  animation: scFade 3s ease-in-out infinite;
}
.sc-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 5px;
}
.sc-wheel {
  width: 3px; height: 7px;
  background: var(--v1);
  border-radius: 2px;
  animation: wheelScroll 1.5s ease-in-out infinite;
}
@keyframes wheelScroll {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes scFade { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ══════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  padding: 18px 0;
  background: var(--marquee-bg);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  position: relative;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 48px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600;
  color: var(--text3);
  white-space: nowrap;
}
.marquee-track i { font-size: .55rem; }
.marquee-track span:nth-child(2n)   i { color: var(--v1); }
.marquee-track span:nth-child(3n)   i { color: var(--c1); }
.marquee-track span:nth-child(4n)   i { color: var(--em); }
.marquee-track span:nth-child(5n)   i { color: var(--am); }
.marquee-track span:nth-child(6n)   i { color: var(--rose); }
.marquee-track span:nth-child(7n)   i { color: var(--orange); }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════════════════ */
.about, .projects {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.about {
  padding-top: 56px;
  background: var(--section-alt);
}
.projects { background: var(--bg); }

.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .6;
}
.ab-blob1 { width:550px;height:550px; background:rgba(124,92,252,.09); top:-120px; right:-120px; }
.ab-blob2 { width:450px;height:450px; background:rgba(0,212,255,.07);  bottom:-80px; left:-80px; }
.pr-blob1 { width:500px;height:500px; background:rgba(255,77,141,.06); top:0; left:-100px; }
.pr-blob2 { width:380px;height:380px; background:rgba(255,184,48,.05); bottom:0; right:-80px; }

/* Section header */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(124,92,252,.12), rgba(0,212,255,.12));
  border: 1px solid rgba(124,92,252,.2);
  color: var(--v1);
  font-size: .78rem; font-weight: 700;
  padding: 7px 20px; border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: .1em; text-transform: uppercase;
}
.sec-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  transition: color .4s;
}
.sec-sub {
  max-width: 600px; margin: 0 auto;
  font-size: 1rem; color: var(--text3); line-height: 1.8;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--sd, 0s);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   ABOUT LAYOUT
══════════════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Story side */
.story-side { display: flex; flex-direction: column; gap: 40px; }

/* Story visual */
.story-visual {
  position: relative;
  height: 300px;
}
.sv-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,92,252,.1), rgba(0,212,255,.08));
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sv-card {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--sh-md);
  border: 1px solid var(--border);
  transition: background .4s;
}
.svc-icon-wrap {
  width: 44px; height: 44px;
  background: var(--grad-main);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.sv-card strong { font-weight: 700; color: var(--text); font-size: .95rem; display: block; transition: color .4s; }
.sv-card small  { font-size: .78rem; color: var(--text3); }
.sv-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--grad-amber);
  color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: 7px 15px; border-radius: 50px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 20px rgba(255,184,48,.4);
  animation: svBadge 3s ease-in-out infinite;
}
@keyframes svBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* Decorative dots and circles */
.sv-dot { position: absolute; border-radius: 50%; background: var(--grad-main); animation: dotFloat 5s ease-in-out infinite; }
.sd1 { width:12px;height:12px; top:30px; left:30px; opacity:.5; animation-delay:0s; background: var(--v1); }
.sd2 { width:8px; height:8px;  top:50%; right:60px; opacity:.4; animation-delay:1s; background: var(--c1); }
.sd3 { width:16px;height:16px; bottom:40px; right:40px; opacity:.3; animation-delay:2s; background: var(--em); }
@keyframes dotFloat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.6)} }
.sv-circle { position: absolute; border-radius: 50%; border: 1px dashed; animation: circleRotate 15s linear infinite; }
.sc1 { width:80px;height:80px;  top:50%;left:50%; transform:translate(-50%,-50%); border-color:rgba(124,92,252,.2); }
.sc2 { width:140px;height:140px; top:50%;left:50%; transform:translate(-50%,-50%); border-color:rgba(0,212,255,.15); animation-direction:reverse; }
@keyframes circleRotate { 0%{transform:translate(-50%,-50%) rotate(0)} 100%{transform:translate(-50%,-50%) rotate(360deg)} }

/* Story copy */
.sc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; color: var(--v1);
  background: rgba(124,92,252,.1);
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 16px;
}
.story-copy h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.55rem;
  color: var(--text); line-height: 1.3;
  margin-bottom: 16px; letter-spacing: -.02em;
  transition: color .4s;
}
.story-copy p { font-size: .93rem; color: var(--text3); margin-bottom: 12px; line-height: 1.8; }

.story-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.sl-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; color: var(--text2); transition: color .4s; }
.sl-check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .6rem;
}
.sl-item:nth-child(1) .sl-check { background: var(--grad-main); }
.sl-item:nth-child(2) .sl-check { background: var(--grad-main); }
.sl-item:nth-child(3) .sl-check { background: var(--grad-main); }
.sl-item:nth-child(4) .sl-check { background: var(--grad-main); }

/* Services side */
.svc-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text3);
  margin-bottom: 20px;
}
.svc-list { display: flex; flex-direction: column; gap: 16px; }
.svc-item {
  background: var(--surface);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  position: relative;
  transition: all .35s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.svc-item::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .3s;
  border-radius: var(--radius);
}
.svc-item:nth-child(1)::before { background: linear-gradient(135deg, rgba(124,92,252,.05), rgba(156,58,247,.05)); }
.svc-item:nth-child(2)::before { background: linear-gradient(135deg, rgba(0,212,255,.05), rgba(14,165,233,.05)); }
.svc-item:nth-child(3)::before { background: linear-gradient(135deg, rgba(255,184,48,.05), rgba(255,107,53,.05)); }
.svc-item:hover::before { opacity: 1; }
.svc-item:hover { border-color: rgba(124,92,252,.3); transform: translateX(8px); box-shadow: var(--sh-md); }
.svc-num { font-size: .72rem; font-weight: 800; color: var(--border); letter-spacing: .04em; flex-shrink: 0; padding-top: 4px; }
.svc-content { display: flex; align-items: flex-start; gap: 16px; flex: 1; }
.svc-icon-box {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all .3s var(--ease);
}
.erp-ib { background: rgba(124,92,252,.12); color: var(--v1); }
.web-ib { background: rgba(0,212,252,.12);  color: var(--c1); }
.cus-ib { background: rgba(255,184,48,.12); color: var(--am); }
.svc-item:hover .erp-ib { background: var(--grad-erp); color: #fff; }
.svc-item:hover .web-ib { background: var(--grad-emerald); color: #fff; }
.svc-item:hover .cus-ib { background: var(--grad-amber); color: #fff; }
.svc-info h4 { font-weight: 700; color: var(--text); font-size: .98rem; margin-bottom: 6px; transition: color .4s; }
.svc-info p  { font-size: .85rem; color: var(--text3); line-height: 1.65; margin-bottom: 10px; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-chips span {
  font-size: .72rem; font-weight: 600;
  background: var(--bg2); color: var(--text3);
  padding: 3px 10px; border-radius: 50px;
  border: 1px solid var(--border2);
  transition: background .4s, color .4s;
}
.svc-expand {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--bg2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: .8rem;
  transition: all .3s var(--ease);
  margin-top: 4px;
}
.svc-item:hover .svc-expand { background: var(--v1); color: #fff; transform: rotate(45deg); }

/* ══════════════════════════════════════════════════════
   FILTER BAR
══════════════════════════════════════════════════════ */
.filter-wrap {
  display: flex; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin-bottom: 56px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto; margin-right: auto;
  box-shadow: var(--sh-sm);
  transition: background .4s;
}
.fb {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: .88rem; font-weight: 600;
  color: var(--text3);
  transition: all .3s var(--bounce) !important;
}
.fb i { font-size: .8rem; }
.fb:hover { color: var(--v1); background: rgba(124,92,252,.08); }
.fb.active {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,92,252,.4);
}

/* ══════════════════════════════════════════════════════
   PROJECT CARDS — Multi-Color Enhanced
══════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Single card */
.pcard {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
  cursor: pointer;
}
.pcard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
/* Color variety for ERP cards */
.pcard[data-category="erp"]:nth-child(3n+1)::before   { background: var(--grad-erp); }
.pcard[data-category="erp"]:nth-child(3n+2)::before   { background: var(--grad-main); }
.pcard[data-category="erp"]:nth-child(3n)::before     { background: var(--grad-rose); }
/* Color variety for web cards */
.pcard[data-category="web"]:nth-child(odd)::before    { background: var(--grad-web); }
.pcard[data-category="web"]:nth-child(even)::before   { background: var(--grad-emerald); }
.pcard:hover::before { transform: scaleX(1); }
.pcard:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-lg);
  border-color: rgba(124,92,252,.25);
}

/* Hover glow inside card */
.pc-hover-glow {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  bottom: -60px; right: -60px;
  transition: all .5s;
  pointer-events: none;
}
.pcard[data-category="erp"]:nth-child(3n+1) .pc-hover-glow { background: radial-gradient(circle, rgba(124,92,252,.12) 0%, transparent 70%); }
.pcard[data-category="erp"]:nth-child(3n+2) .pc-hover-glow { background: radial-gradient(circle, rgba(0,212,255,.1) 0%, transparent 70%); }
.pcard[data-category="erp"]:nth-child(3n)   .pc-hover-glow { background: radial-gradient(circle, rgba(255,77,141,.1) 0%, transparent 70%); }
.web-hg { background: radial-gradient(circle, rgba(0,229,160,.1) 0%, transparent 70%); }
.pcard:hover .pc-hover-glow { transform: scale(1.6); }

/* Card parts */
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-icon-box {
  width: 52px; height: 52px;
  border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: all .4s var(--bounce), opacity .3s ease, box-shadow .3s ease;
}
.pc-icon-box i {
  opacity: 1;
  transition: transform .35s var(--bounce), color .3s ease, opacity .3s ease, filter .3s ease;
}
.erp-ic { background: rgba(124,92,252,.12); color: var(--v1); }
.web-ic { background: rgba(0,212,255,.1);   color: var(--c1); }

/* ERP icon color cycling */
.pcard[data-category="erp"]:nth-child(3n+1) .erp-ic { background: rgba(124,92,252,.12); color: var(--v1); }
.pcard[data-category="erp"]:nth-child(3n+2) .erp-ic { background: rgba(255,77,141,.1);  color: var(--rose); }
.pcard[data-category="erp"]:nth-child(3n)   .erp-ic { background: rgba(0,229,160,.1);   color: var(--em); }

.pcard:hover .erp-ic { color: #fff; transform: scale(1.15) rotate(-8deg); }
.pcard[data-category="erp"]:nth-child(3n+1):hover .erp-ic { background: var(--v1); }
.pcard[data-category="erp"]:nth-child(3n+2):hover .erp-ic { background: var(--rose); }
.pcard[data-category="erp"]:nth-child(3n):hover   .erp-ic { background: var(--em); }

/* Web icon color cycling */
.pcard[data-category="web"]:nth-child(odd) .web-ic  { background: rgba(0,212,255,.1);   color: var(--c1); }
.pcard[data-category="web"]:nth-child(even) .web-ic { background: rgba(255,184,48,.1);  color: var(--am); }
.pcard:hover .web-ic { color: #fff; transform: scale(1.15) rotate(-8deg); }
.pcard[data-category="web"]:nth-child(odd):hover  .web-ic { background: var(--c1); }
.pcard[data-category="web"]:nth-child(even):hover .web-ic { background: var(--am); }
.pcard:hover .pc-icon-box {
  opacity: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.pcard:hover .pc-icon-box i {
  opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

.pc-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}
.erp-b { background: rgba(124,92,252,.1); color: var(--v1); }
.web-b { background: rgba(0,212,255,.1);  color: var(--c1); }

.pc-idx {
  font-size: 2.5rem; font-weight: 900;
  color: var(--border2);
  line-height: 1;
  transition: color .3s;
}
.pcard:hover .pc-idx { color: rgba(124,92,252,.1); }

.pcard h3 { font-weight: 700; color: var(--text); font-size: 1.02rem; line-height: 1.3; transition: color .4s; }
.pcard p  { font-size: .85rem; color: var(--text3); line-height: 1.65; flex: 1; }
.pcard p::after {
  content: ' Built with responsive design, fast loading performance, and a conversion-focused user experience.';
}

.pc-bottom {
  display: flex; justify-content: flex-end; align-items: center;
  margin-top: auto;
}
.pc-tags { display: none; }
.pc-tags span {
  font-size: .7rem; font-weight: 600;
  background: var(--bg2); color: var(--text3);
  padding: 3px 10px; border-radius: 50px;
  border: 1px solid var(--border2);
  transition: background .4s, color .4s;
}
.pc-link {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 700;
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--grad-main);
  box-shadow: 0 8px 18px rgba(124,92,252,.28);
  transition: gap .25s, color .3s, background .3s, border-color .3s, transform .25s;
}
.pc-link::before {
  content: '\f0ac';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .78rem;
}
.pc-link:hover {
  gap: 10px;
  transform: translateY(-2px);
  border-color: transparent;
  background: var(--grad-vivid);
  box-shadow: 0 12px 26px rgba(124,92,252,.36);
}
[data-theme="light"] .pc-link { box-shadow: 0 10px 20px rgba(124,92,252,.22); }

/* Hidden state */
.pcard.hidden { display: none; }

/* ══════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════ */
.cta-band {
  padding: 80px 0;
  background: var(--cta-bg);
  position: relative;
  overflow: hidden;
}
.cta-o1,.cta-o2,.cta-o3 { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.cta-o1 { width:500px;height:500px; background:rgba(124,92,252,.25); top:-120px; left:-80px; }
.cta-o2 { width:350px;height:350px; background:rgba(0,212,255,.2);   bottom:-80px; right:-60px; }
.cta-o3 { width:250px;height:250px; background:rgba(255,77,141,.15); top:50%; left:50%; transform:translate(-50%,-50%); }
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-left h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff; letter-spacing: -.02em;
  margin-bottom: 10px;
}
.cta-left p { font-size: .95rem; color: rgba(255,255,255,.5); }
.cta-right { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: var(--footer-bg);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: relative; z-index: 1;
}
.footer-grid-slim {
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 48px;
}

/* Brand col */
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; text-decoration: none;
}
.fg-brand p { font-size: .87rem; color: rgba(255,255,255,.35); line-height: 1.8; margin-bottom: 28px; max-width: 300px; }

/* Socials */
.socials { display: flex; gap: 10px; }
.soc-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-s);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .9rem;
  transition: all .3s var(--bounce);
}
.soc-btn:nth-child(1):hover { background: #0a66c2;   color: #fff; border-color: transparent; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(10,102,194,.45); }
.soc-btn:nth-child(2):hover { background: #1877f2;   color: #fff; border-color: transparent; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(24,119,242,.45); }
.soc-btn:nth-child(3):hover { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);   color: #fff; border-color: transparent; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(221,42,123,.45); }
.soc-btn:nth-child(4):hover { background: #ff0000;color: #fff; border-color: transparent; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(255,0,0,.45); }
.soc-btn:nth-child(5):hover { background: var(--grad-amber);  color: #fff; border-color: transparent; transform: translateY(-5px); box-shadow: 0 8px 20px rgba(255,184,48,.4); }

/* Footer cols */
.fg-col h5, .fg-contact h5 {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.fg-col ul { display: flex; flex-direction: column; gap: 10px; }
.fg-col ul li a {
  font-size: .87rem; color: rgba(255,255,255,.3);
  display: flex; align-items: center; gap: 8px;
  transition: all .25s;
}
.fg-col ul li a i { font-size: .65rem; color: var(--v1); transition: color .25s; }
.fg-col ul li:nth-child(2) a i { color: var(--v1); }
.fg-col ul li:nth-child(3) a i { color: var(--v1); }
.fg-col ul li:nth-child(4) a i { color: var(--v1); }
.fg-col ul li a:hover { color: rgba(255,255,255,.8); padding-left: 4px; }

/* Contact col */
.fg-contact { display: flex; flex-direction: column; gap: 16px; padding-top: 40px; }
.fg-contact h5 { margin-bottom: 4px; }
.fc-row { display: flex; align-items: flex-start; gap: 12px; }
.fc-ic {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.fc-row:nth-child(2) .fc-ic { background: rgba(124,92,252,.15); color: var(--v1); }
.fc-row:nth-child(3) .fc-ic { background: rgba(0,212,255,.12);  color: var(--c1); }
.fc-row:nth-child(4) .fc-ic { background: rgba(0,229,160,.12);  color: var(--em); }
.fc-row span, .fc-row a {
  font-size: .85rem; color: rgba(255,255,255,.35); line-height: 1.6;
  transition: color .25s;
}
.fc-row a:hover { color: rgba(255,255,255,.8); }

/* Footer bottom bar */
.footer-bar {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  padding: 22px 0;
}
.footer-bar p { font-size: .8rem; color: rgba(255,255,255,.2); }
.footer-bar .fa-heart { color: var(--rose); animation: heartBeat 1.5s ease-in-out infinite; }
@keyframes heartBeat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }

/* ══════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════ */
.contact-section {
  padding: 96px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.ct-blob1 {
  top: -140px; left: -100px;
  background: radial-gradient(circle, rgba(124,92,252,.15) 0%, transparent 70%);
  width: 600px; height: 600px;
}
.ct-blob2 {
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(0,212,255,.1) 0%, transparent 70%);
  width: 500px; height: 500px;
}

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

/* ── Form side ─────────────────────────────────── */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: var(--sh-lg);
  position: relative;
  z-index: 1;
}
.cf-header {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border2);
}
.cf-header i {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.cf-group {
  display: flex; flex-direction: column; gap: 8px;
}
.cf-full { margin-bottom: 24px; }
.cf-group label {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text3);
}
.cf-req { color: var(--rose); margin-left: 2px; }

/* Input wrapper */
.cf-input-wrap, .cf-textarea-wrap {
  position: relative;
}
.cf-input-wrap > i,
.cf-textarea-wrap > i {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  color: var(--text4);
  pointer-events: none;
  transition: color .25s;
}
.cf-textarea-wrap > i { top: 18px; transform: none; }

.cf-input-wrap input,
.cf-textarea-wrap textarea {
  width: 100%;
  padding: 13px 16px 13px 42px;
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-s);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  resize: vertical;
}
.cf-textarea-wrap textarea { padding-top: 14px; min-height: 130px; }

.cf-input-wrap input::placeholder,
.cf-textarea-wrap textarea::placeholder { color: var(--text4); }

.cf-input-wrap input:focus,
.cf-textarea-wrap textarea:focus {
  border-color: var(--v1);
  box-shadow: 0 0 0 3px rgba(124,92,252,.12);
}
.cf-input-wrap input:focus + i,
.cf-input-wrap:focus-within i,
.cf-textarea-wrap:focus-within i { color: var(--v1); }

/* Select */
.cf-select-wrap {
  position: relative;
}
.cf-select-wrap > i:first-child {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: .85rem; color: var(--text4);
  pointer-events: none; transition: color .25s;
}
.cf-chevron {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: .7rem; color: var(--text4);
  pointer-events: none;
}
.cf-select-wrap select {
  width: 100%;
  padding: 13px 36px 13px 42px;
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-s);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.cf-select-wrap select:focus {
  border-color: var(--v1);
  box-shadow: 0 0 0 3px rgba(124,92,252,.12);
}
.cf-select-wrap:focus-within i:first-child { color: var(--v1); }

/* Error states */
.cf-error {
  font-size: .75rem; color: var(--rose);
  min-height: 16px; display: block;
  transition: opacity .2s;
}
.cf-group.has-error .cf-input-wrap input,
.cf-group.has-error .cf-textarea-wrap textarea,
.cf-group.has-error .cf-select-wrap select {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(255,77,141,.1);
}

/* Submit button */
.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 15px 32px;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: var(--radius-s);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .3s var(--bounce), box-shadow .3s;
  margin-top: 4px;
}
.cf-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(124,92,252,.45); }
.cf-submit:active { transform: translateY(0); }

.cf-success {
  display: none;
  align-items: center; gap: 12px;
  padding: 14px 20px;
  margin-top: 16px;
  background: rgba(0,229,160,.12);
  border: 1px solid rgba(0,229,160,.25);
  border-radius: var(--radius-s);
  color: var(--em);
  font-weight: 600; font-size: .9rem;
}
.cf-success.show { display: flex; }

/* ── Info side ─────────────────────────────────── */
.contact-info-wrap {
  display: flex; flex-direction: column; gap: 24px;
  position: relative; z-index: 1;
}
.ci-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 36px 36px 28px;
  box-shadow: var(--sh-lg);
}
.ci-title {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border2);
}
.ci-title i { color: var(--v1); }

.ci-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 22px;
}
.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.ci-text {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 2px;
}
.ci-text strong {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text3);
}
.ci-text span, .ci-text a {
  font-size: .9rem; color: var(--text2);
  line-height: 1.6; transition: color .25s;
}
.ci-text a:hover { color: var(--v1); }

.ci-socials {
  display: flex; gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border2);
}

/* Map */
.ci-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--sh-md);
}
.ci-map iframe { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 28px; }
  .ci-card { padding: 28px 28px 20px; }
}
@media (max-width: 600px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════
   SCROLL-TO-TOP
══════════════════════════════════════════════════════ */
.stt-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--grad-main);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  box-shadow: var(--sh-md);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: all .4s var(--bounce);
  z-index: 999;
}
.stt-btn.vis { opacity: 1; pointer-events: auto; transform: translateY(0); }
.stt-btn:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 16px 40px rgba(124,92,252,.5); background: var(--grad-vivid); }
.stt-ring {
  position: absolute; inset: -6px;
  border-radius: 18px;
  border: 2px solid rgba(124,92,252,.35);
  animation: sttRing 2.2s ease-in-out infinite;
}
@keyframes sttRing { 0%,100%{transform:scale(1);opacity:.8} 50%{transform:scale(1.25);opacity:0} }

/* ══════════════════════════════════════════════════════
   FLOATING COLOR PARTICLES
══════════════════════════════════════════════════════ */
.color-particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: particleDrift linear infinite;
  opacity: 0;
}
@keyframes particleDrift {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .4; }
  90%  { opacity: .2; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 1100px
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-wrap { flex-direction: column; text-align: center; }
  .hero-left { max-width: 100%; }
  .hero-desc  { margin: 0 auto 36px; }
  .hero-btns, .hero-metrics { justify-content: center; }
  .hero-right { flex: unset; width: 380px; height: 380px; }
  .about,.projects { padding: 88px 0; }
  .about { padding-top: 56px; }
  .about-layout { grid-template-columns: 1fr; gap: 44px; }
  .cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid-slim { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-inner    { flex-direction: column; text-align: center; }
  .cta-right    { justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Mobile ≤ 680px
══════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .container { padding: 0 20px; }

  /* Navbar */
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    border-bottom: 1px solid var(--border2);
    box-shadow: var(--sh-lg);
    transform: translateY(-20px);
    opacity: 0; pointer-events: none;
    transition: all .4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nl { width: 100%; text-align: center; padding: 13px; }
  .nl-cta { justify-content: center; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 30px) 20px 60px; }
  .hero-right { width: 280px; height: 280px; }
  .sk-tag { font-size: .68rem; padding: 5px 10px; }
  .sk-1,.sk-2,.sk-3,.sk-4 { display: none; }

  /* Sections */
  .about,.projects { padding: 64px 0; }
  .about { padding-top: 44px; }
  .sec-head { margin-bottom: 40px; }
  .story-visual { height: 220px; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .filter-wrap { border-radius: var(--radius); padding: 4px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid-slim { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar  { flex-direction: column; text-align: center; }
}

/* ── Animated gradient border on cards (dark mode) ── */
[data-theme="dark"] .pcard:hover {
  border-color: transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1.5px rgba(124,92,252,.3), var(--sh-lg);
}

/* ── Glowing section transitions ─────────────────── */
.about { transition: background .4s var(--ease); }
.projects { transition: background .4s var(--ease); }

/* ══════════════════════════════════════════════════════
   CONTACT + FOOTER LAYOUT FIXES
══════════════════════════════════════════════════════ */
.contact-layout {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.contact-form-wrap,
.ci-card,
.ci-map {
  border: 1px solid var(--card-border);
}

.cf-input-wrap > i,
.cf-select-wrap > i:first-child {
  left: 14px;
}

.cf-input-wrap input,
.cf-select-wrap select {
  padding-left: 44px;
}

.cf-textarea-wrap > i {
  top: 16px;
  left: 14px;
}

.cf-textarea-wrap textarea {
  padding-left: 44px;
}

.ci-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.footer-grid.footer-grid-3col {
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) minmax(0, 1.6fr) !important;
  gap: 40px !important;
  align-items: start;
}

.footer-grid-3col .fg-col,
.footer-grid-3col .fg-contact {
  margin-top: 6px;
}

.footer-grid-3col .fg-contact {
  padding-top: 0;
}

[data-theme="light"] .contact-form-wrap,
[data-theme="light"] .ci-card,
[data-theme="light"] .ci-map {
  border-color: rgba(124, 92, 252, .18);
}

[data-theme="light"] .cf-group label,
[data-theme="light"] .ci-title,
[data-theme="light"] .ci-text strong {
  color: var(--text2);
}

[data-theme="light"] .ci-text span,
[data-theme="light"] .ci-text a {
  color: var(--text);
}

[data-theme="light"] .cf-input-wrap input::placeholder,
[data-theme="light"] .cf-textarea-wrap textarea::placeholder,
[data-theme="light"] .cf-select-wrap select {
  color: var(--text3);
}

@media (max-width: 1100px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-section { padding: 88px 0; }
  .cta-band { padding: 72px 0; }
  .footer-grid.footer-grid-3col { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 680px) {
  .contact-section { padding: 64px 0; }
  .cta-band { padding: 60px 0; }
  .footer-grid.footer-grid-3col { grid-template-columns: 1fr !important; }
  .footer-grid-3col .fg-col,
  .footer-grid-3col .fg-contact { margin-top: 0; }
}

