/* =====================================================
   SAJID ABBASI PORTFOLIO — PREMIUM v2 STYLESHEET
   ===================================================== */

/* ─── CUSTOM PROPERTIES ──────────────────────────── */
:root {
  --bg-0: #050c18;
  --bg-1: #080f1e;
  --bg-2: #0c1628;
  --bg-3: #111e35;
  --glass: rgba(255, 255, 255, .035);
  --glass-hv: rgba(255, 255, 255, .065);
  --border: rgba(255, 255, 255, .075);
  --border-hl: rgba(99, 102, 241, .45);
  --blur: 24px;
  --indigo: #6366f1;
  --indigo-lt: #818cf8;
  --cyan: #22d3ee;
  --green: #22c55e;
  --rose: #f43f5e;
  --amber: #fbbf24;
  --grad: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --grad-w: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  --grad-card: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(34, 211, 238, .04));
  --grad-hero: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(99, 102, 241, .14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 20% 70%, rgba(34, 211, 238, .08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(34, 197, 94, .05) 0%, transparent 60%);
  --t-hi: #f0f6ff;
  --t-mid: #94a3b8;
  --t-lo: #475569;
  --t-mute: #2a3a50;
  --sh-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --sh-md: 0 8px 32px rgba(0, 0, 0, .45);
  --sh-lg: 0 20px 60px rgba(0, 0, 0, .55);
  --sh-glow: 0 8px 40px rgba(99, 102, 241, .3);
  --ff-d: 'Syne', sans-serif;
  --ff-b: 'DM Sans', sans-serif;
  --ff-m: 'JetBrains Mono', monospace;
  --nav-h: 70px;
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --tf: .18s;
  --tm: .32s;
  --ts: .65s;
}

[data-theme="light"] {
  --bg-0: #f0f4fc;
  --bg-1: #f5f8ff;
  --bg-2: #eef2fb;
  --bg-3: #e8eefa;
  --glass: rgba(255, 255, 255, .7);
  --glass-hv: rgba(255, 255, 255, .92);
  --border: rgba(99, 102, 241, .12);
  --t-hi: #0a1628;
  --t-mid: #3d5070;
  --t-lo: #8094b4;
  --t-mute: #b0c0d8;
  --grad-hero: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(99, 102, 241, .08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 20% 70%, rgba(34, 211, 238, .05) 0%, transparent 60%);
  --sh-sm: 0 2px 10px rgba(99, 102, 241, .08);
  --sh-md: 0 8px 32px rgba(99, 102, 241, .12);
  --sh-lg: 0 20px 60px rgba(99, 102, 241, .15);
  --sh-glow: 0 8px 40px rgba(99, 102, 241, .18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--ff-b);
  background: var(--bg-0);
  color: var(--t-hi);
  overflow-x: hidden;
  line-height: 1.7;
  transition: background .4s var(--ease), color .4s var(--ease);
}

body.no-scroll {
  overflow: hidden
}

[data-theme="light"] .nav-logo {
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  text-decoration: none;
  color: inherit
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

ul {
  list-style: none
}

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--bg-1)
}

::-webkit-scrollbar-thumb {
  background: var(--indigo);
  border-radius: 999px
}

/* Noise grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* ─── CUSTOM CURSOR ────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--indigo);
  box-shadow: 0 0 8px var(--indigo);
  transition: width .15s, height .15s
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(99, 102, 241, .6);
  transition: width .35s var(--ease), height .35s var(--ease), opacity .3s, border-color .3s
}

body.cur-grow .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(99, 102, 241, .3)
}

@media(hover:none) {

  .cursor-dot,
  .cursor-ring {
    display: none
  }
}

/* ─── LOADER ───────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .7s var(--ease), visibility .7s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden
}

.loader-text {
  font-family: var(--ff-d);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 1.75rem;
  animation: ldPulse 1.4s ease-in-out infinite;
}

@keyframes ldPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .65;
    transform: scale(.95)
  }
}

.loader-bar {
  width: 180px;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto
}

.loader-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 999px;
  animation: ldFill 1.5s var(--ease) forwards
}

@keyframes ldFill {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

/* ─── SCROLL PROGRESS ──────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width .1s linear
}

/* ─── GLASS CARD ───────────────────── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  transition: border-color var(--tm) var(--ease), box-shadow var(--tm) var(--ease), transform var(--tm) var(--ease), background var(--tm) var(--ease);
}

.glass-card:hover {
  border-color: var(--border-hl);
  box-shadow: var(--sh-glow);
  background: var(--glass-hv)
}

/* ─── TYPOGRAPHY TOKENS ────────────── */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding {
  padding: 7rem 0;
}

.mb-section {
  margin-bottom: 4rem;
}



.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-m);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--grad);
  display: inline-block;
  border-radius: 999px
}

.eyebrow::after {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--indigo);
  border-radius: 50%;
  display: inline-block;
  margin-left: -2px
}

.sec-title {
  /* font-family: var(--ff-d);
  font-size: clamp(1.9rem, 3.8vw, 3.15rem); */
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--t-hi);
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}

.sec-sub {
  font-size: 1rem;
  color: var(--t-mid);
  max-width: 490px;
  margin: 0 auto;
  line-height: 1.8
}

.grad-txt {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.sp {
  padding: 4.5rem 0
}


.mb-s {
  margin-bottom: 4.5rem
}

/* ─── BUTTONS ──────────────────────── */
.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .875rem 1.875rem;
  background: var(--grad);
  color: #fff;
  font-family: var(--ff-b);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform var(--tf) var(--spring), box-shadow var(--tm) var(--ease);
  box-shadow: var(--sh-glow);
}

.btn-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent);
  opacity: 0;
  transition: opacity var(--tf)
}

.btn-fill:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 48px rgba(99, 102, 241, .45);
  color: #fff
}

.btn-fill:hover::before {
  opacity: 1
}

.btn-fill:active {
  transform: translateY(-1px) scale(.99)
}

.btn-fill i {
  transition: transform var(--tf) var(--spring)
}

.btn-fill:hover i {
  transform: translateX(3px)
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 4px;
  padding: 10px 10px;
  background: var(--glass);
  color: var(--t-hi);
  font-family: var(--ff-b);
  font-weight: 500;
  font-size: .8rem;
  border-radius: var(--r-s);
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--tm) var(--ease);
}

.btn-ghost:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(99, 102, 241, .08);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, .15)
}

/* ─── NAVBAR ───────────────────────── */
#mainNav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: .875rem 0;
  transition: all var(--tm) var(--ease)
}

#mainNav.scrolled {
  background: rgba(5, 12, 24, .84);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, .28);
}

[data-theme="light"] #mainNav.scrolled {
  background: rgba(240, 244, 252, .9)
}

.nav-logo {
  font-family: var(--ff-d);
  color: white;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em
}

.nav-logo:hover {
  color: #22d3ee;
}

.nav-dot {
  color: var(--indigo)
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--t-mid) !important;
  padding: .5rem .75rem !important;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: color var(--tf) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 65%;
  height: 1.5px;
  background: var(--grad);
  border-radius: 999px;
  transition: transform var(--tm) var(--ease);
  transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--t-hi) !important
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1)
}

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  padding: .45rem 1.125rem !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, .35);
  border-radius: 6px;
}

.nav-cta::after {
  display: none !important
}

.nav-cta:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff !important
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--t-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tf);
  position: relative;
  overflow: hidden;
}

.theme-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: rotate(15deg)
}

.sun-icon,
.moon-icon {
  position: absolute;
  font-size: .8rem;
  transition: all var(--tm) var(--ease)
}

[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1)
}

[data-theme="dark"] .moon-icon {
  opacity: 0;
  transform: rotate(90deg) scale(.5)
}

[data-theme="light"] .sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(.5)
}

[data-theme="light"] .moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1)
}

.hamburger {
  width: 38px;
  height: 38px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--tf);
  z-index: 1002;
  position: relative;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--t-hi);
  border-radius: 999px;
  transition: all var(--tm) var(--ease);
  transform-origin: center
}

.hamburger.open {
  border-color: var(--indigo)
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg)
}

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 24, .97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tm) var(--ease), visibility var(--tm);
}

[data-theme="light"] .mobile-menu {
  background: rgba(240, 244, 252, .97)
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible
}

.mobile-menu ul {
  text-align: center
}

.mobile-menu ul li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease)
}

.mobile-menu.open ul li:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: .07s
}

.mobile-menu.open ul li:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: .13s
}

.mobile-menu.open ul li:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: .19s
}

.mobile-menu.open ul li:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: .25s
}

.mobile-menu.open ul li:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: .31s
}

.mobile-menu.open ul li:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: .37s
}

.mobile-menu.open ul li:nth-child(7) {
  opacity: 1;
  transform: none;
  transition-delay: .43s
}

.mobile-link {
  display: block;
  padding: .6rem 0;
  font-family: var(--ff-d);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--t-mid);
  letter-spacing: -.02em;
  line-height: 1.2;
  transition: color var(--tf), transform var(--tf);
}

.mobile-link:hover {
  color: var(--t-hi);
  transform: translateX(8px)
}

.mob-socials {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  gap: 1rem;
}

.mob-soc {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-mid);
  font-size: .85rem;
  transition: all var(--tf);
}

.mob-soc:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px)
}

@media(max-width:991px) {
  .hamburger {
    display: flex
  }

  .navbar-collapse {
    display: none !important
  }
}

/* ─── HERO ─────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--grad-hero)
}

.geo {
  position: absolute;
  border-radius: 3px;
  animation: gfloat 10s ease-in-out infinite;
}

.geo-1 {
  width: 260px;
  height: 260px;
  top: -50px;
  right: 8%;
  background: linear-gradient(135deg, rgba(99, 102, 241, .18), rgba(34, 211, 238, .09));
  border: 1px solid rgba(99, 102, 241, .18);
  border-radius: 24px;
  transform: rotate(-20deg);
  --r: -20deg;
  animation-duration: 13s
}

.geo-2 {
  width: 150px;
  height: 150px;
  bottom: 18%;
  right: 24%;
  background: linear-gradient(135deg, rgba(34, 197, 94, .1), rgba(34, 211, 238, .07));
  border: 1px solid rgba(34, 211, 238, .13);
  border-radius: 50%;
  animation-duration: 9s;
  animation-delay: -3s
}

.geo-3 {
  width: 75px;
  height: 75px;
  top: 28%;
  left: 5%;
  background: transparent;
  border: 2px solid rgba(99, 102, 241, .2);
  border-radius: 50%;
  animation-duration: 7s;
  animation-delay: -5s
}

.geo-4 {
  width: 50px;
  height: 50px;
  bottom: 32%;
  left: 13%;
  background: rgba(99, 102, 241, .14);
  border-radius: 8px;
  transform: rotate(30deg);
  --r: 30deg;
  animation-duration: 8s;
  animation-delay: -2s
}

.geo-5 {
  width: 190px;
  height: 190px;
  top: 55%;
  right: 4%;
  background: transparent;
  border: 1px solid rgba(34, 211, 238, .09);
  border-radius: 30px;
  transform: rotate(15deg);
  --r: 15deg;
  animation-duration: 11s;
  animation-delay: -7s
}

@keyframes gfloat {

  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg))
  }

  33% {
    transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 4deg))
  }

  66% {
    transform: translateY(10px) rotate(calc(var(--r, 0deg) - 3deg))
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  animation: orbDrift 10s ease-in-out infinite
}

.orb-a {
  width: 480px;
  height: 480px;
  top: -110px;
  right: -70px;
  background: rgba(99, 102, 241, .12);
  animation-delay: 0s
}

.orb-b {
  width: 320px;
  height: 320px;
  bottom: -60px;
  left: -50px;
  background: rgba(34, 211, 238, .07);
  animation-delay: -4s
}

.orb-c {
  width: 200px;
  height: 200px;
  top: 44%;
  left: 36%;
  background: rgba(34, 197, 94, .06);
  animation-delay: -7s
}

@keyframes orbDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  40% {
    transform: translate(22px, -22px) scale(1.06)
  }

  70% {
    transform: translate(-14px, 14px) scale(.96)
  }
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .35
}

.hero-inner {
  position: relative;
  z-index: 1
}

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .22);
  color: var(--green);
  font-family: var(--ff-m);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: .35rem .875rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: dotPl 2s ease-in-out infinite
}

@keyframes dotPl {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .4)
  }

  50% {
    opacity: .6;
    box-shadow: 0 0 0 4px transparent
  }
}

.hero-title {
  /* font-family: var(--ff-d); */
  /* font-size: clamp(2.9rem, 5.5vw, 5.25rem); */
  font-size: 4rem !important;
  font-weight: 800;
  line-height: 1.04;
  color: var(--t-hi);
  margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}

.hero-name {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.hero-name::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 999px;
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

.hero-typed-row {
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--t-mid);
  margin-bottom: 1rem;
  min-height: 2.1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

#typedText {
  color: var(--indigo-lt)
}

.type-cur {
  color: var(--indigo);
  animation: blink 1s step-end infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-desc {
  font-size: 1.01rem;
  color: var(--t-mid);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 1rem
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 1rem
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.375rem 0rem;
  /* background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-m); */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: fit-content;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem
}

.hstat-n {
  font-family: var(--ff-d);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hstat-sfx {
  font-weight: 700;
  color: var(--indigo);
  font-size: 1rem
}

.hstat-l {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t-lo);
  margin-top: .1rem
}

.hstat-div {
  width: 1px;
  height: 34px;
  background: var(--border)
}

/* Code window visual */
.hero-visual-wrap {
  position: relative
}

.hero-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(99, 102, 241, .18), transparent 70%);
  animation: glwPulse 3s ease-in-out infinite;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes glwPulse {

  0%,
  100% {
    opacity: .8;
    transform: scale(1)
  }

  50% {
    opacity: 1.2;
    transform: scale(1.08)
  }
}

.code-titlebar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.125rem;
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--border);
}

.cdot {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.cdot.r {
  background: #ff5f57
}

.cdot.y {
  background: #febc2e
}

.cdot.g {
  background: #28c840
}

.code-fname {
  margin-left: .5rem;
  font-family: var(--ff-m);
  font-size: .7rem;
  color: var(--t-lo)
}

.code-body {
  padding: 1.5rem 1.625rem;
  font-family: var(--ff-m);
  font-size: .78rem;
  line-height: 1.9;
  color: var(--t-mid);
  margin: 0
}

.ck {
  color: #c792ea
}

.cv {
  color: #82aaff
}

.cp {
  color: #f07178
}

.cs {
  color: var(--green)
}

.fbadge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .875rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--t-hi);
  box-shadow: var(--sh-md);
  white-space: nowrap;
  animation: fbDrift 4s ease-in-out infinite;
}

.fbadge i {
  color: var(--indigo)
}

.fb-1 {
  top: -22px;
  right: 0;
  animation-delay: 0s
}

.fb-2 {
  bottom: 48px;
  right: -28px;
  animation-delay: -1.6s
}

.fb-3 {
  bottom: -20px;
  left: -16px;
  animation-delay: -3.2s
}

@keyframes fbDrift {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--t-lo);
  font-family: var(--ff-m);
  font-size: .63rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--indigo), transparent);
  animation: scLn 2s ease-in-out infinite
}

@keyframes scLn {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1)
  }

  50% {
    opacity: .3;
    transform: scaleY(.5)
  }
}

/* ─── REVEAL ANIMS ─────────────────── */
.rv,
.rv-l,
.rv-r,
.rv-z {
  opacity: 0;
  transition: opacity .75s var(--ease), transform .75s var(--ease)
}

.rv {
  transform: translateY(36px)
}

.rv-l {
  transform: translateX(-36px)
}

.rv-r {
  transform: translateX(36px)
}

.rv-z {
  transform: scale(.93)
}

.rv.in,
.rv-l.in,
.rv-r.in,
.rv-z.in {
  opacity: 1;
  transform: none
}

.d1 {
  transition-delay: .08s
}

.d2 {
  transition-delay: .16s
}

.d3 {
  transition-delay: .24s
}

.d4 {
  transition-delay: .32s
}

.d5 {
  transition-delay: .4s
}

.d6 {
  transition-delay: .48s
}

/* ─── ABOUT ────────────────────────── */
.about-section {
  background: var(--bg-1)
}

.about-img-wrap {
  position: relative;
  padding: 1.5rem
}

.about-img-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl)
}

.about-img-card {
  position: relative;
  z-index: 1;
  /* padding: 1.5rem; */
  text-align: center;
  transition: transform var(--tm) var(--ease)
}

.about-img-card:hover {
  transform: translateY(-6px)
}

.about-dev-img {
  max-width: 400px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 50px rgba(99, 102, 241, .25));
  transition: filter var(--tm)
}

.about-img-card:hover .about-dev-img {
  filter: drop-shadow(0 30px 60px rgba(99, 102, 241, .4))
}

.exp-pill {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  z-index: 2;
  padding: .875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem
}

.exp-n {
  font-family: var(--ff-d);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.exp-t {
  font-size: .7rem;
  font-weight: 600;
  color: var(--t-mid);
  line-height: 1.4
}

.deco-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(circle, rgba(99, 102, 241, .35) 1px, transparent 1px);
  background-size: 10px 10px;
  border-radius: 4px;
  pointer-events: none
}

.deco-ring {
  position: absolute;
  bottom: 0;
  left: -.5rem;
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(34, 211, 238, .25);
  border-radius: 50%;
  animation: spin 22s linear infinite;
  pointer-events: none
}

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

.about-list {
  /* margin: 1.75rem 0 2rem; */
  padding: 0px;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 0.675rem 0px !important;
  border-bottom: 1px solid var(--border);
  transition: all var(--tf);
}

.about-list-item:last-child {
  border: none
}

.about-list-item:hover {
  padding-left: .5rem
}

.ali-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .18);
  border-radius: var(--r-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: .85rem;
  transition: all var(--tf);
  margin-top: 2px;
}

.about-list-item:hover .ali-icon {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08)
}

.ali-t {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  color: var(--t-hi);
  margin-bottom: .1rem
}

.ali-s {
  font-size: .775rem;
  color: var(--t-mid)
}

.about-cntrs {
  display: flex;
  /* background: var(--glass); */
  /* border: 1px solid var(--border);
  border-radius: var(--r-m); */
  overflow: hidden
}

.cnt-cell {
  flex: 1;
  /* text-align: center; */
  padding: 0.375rem 0rem;
  position: relative
}

.cnt-n {
  font-family: var(--ff-d);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.cnt-sfx {
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.25rem
}

.cnt-lbl {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-lo);
  margin-top: .3rem;
  display: block
}

/* ─── SERVICES ─────────────────────── */
.services-section {
  background: var(--bg-2);
  position: relative
}

.sec-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(99, 102, 241, .07) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none
}

.svc-card {
  padding: 1.55rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--tm) var(--ease), box-shadow var(--tm) var(--ease), border-color var(--tm);
}

/* animated gradient border via pseudo */
.svc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--tm);
}

.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-glow)
}

.svc-card:hover::before {
  opacity: .7
}

.svc-card>* {
  position: relative;
  z-index: 1
}

.svc-featured {
  border-color: rgba(99, 102, 241, .3);
  background: rgba(99, 102, 241, .04)
}

.svc-pop {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  background: var(--grad);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .25rem .625rem;
  border-radius: 999px;
  z-index: 2;
}

.svc-icon-wrap {
  margin-bottom: 1.625rem
}

.svc-icon {
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--indigo);
  transition: all var(--tm) var(--spring);
}

.svc-card:hover .svc-icon {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: scale(1.12) rotate(-5deg)
}

.svc-title {
  font-family: var(--ff-d);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--t-hi);
  margin-bottom: .625rem
}

.svc-desc {
  font-size: .852rem;
  color: var(--t-mid);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1rem
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem
}

.svc-tags span {
  font-size: .67rem;
  font-weight: 600;
  padding: .2rem .575rem;
  background: rgb(234 235 245 / 35%);
  border: 1px solid rgba(99, 102, 241, .14);
  color: #020214;
  border-radius: 999px;
  letter-spacing: .03em;
}

.svc-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  transition: gap var(--tf), color var(--tf)
}

.svc-link i {
  font-size: .7rem;
  transition: transform var(--tf) var(--spring)
}

.svc-link:hover {
  gap: .625rem;
  color: var(--indigo-lt)
}

.svc-link:hover i {
  transform: translate(3px, -2px)
}

/* ─── SKILLS ───────────────────────── */
.skills-section {
  background: var(--bg-1)
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .875rem
}

.tech-card {
  aspect-ratio: 1;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  cursor: default;
  transition: all var(--tm) var(--spring);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--tm);
  border-radius: inherit
}

.tech-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--indigo);
  box-shadow: var(--sh-glow)
}

.tech-card:hover::before {
  opacity: .07
}

.tech-card i {
  font-size: 1.75rem;
  color: var(--indigo);
  position: relative;
  z-index: 1;
  transition: transform var(--tm) var(--spring)
}

.tech-card:hover i {
  transform: scale(1.2) translateY(-2px)
}

.tech-card span {
  font-size: .68rem;
  font-weight: 600;
  color: var(--t-mid);
  position: relative;
  z-index: 1;
  transition: color var(--tf)
}

.tech-card:hover span {
  color: var(--t-hi)
}

/* tooltip */
[data-tip] {
  position: relative
}

[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--t-hi);
  font-family: var(--ff-m);
  font-size: .67rem;
  padding: .3rem .625rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tf), transform var(--tf);
  z-index: 100;
}

[data-tip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0)
}

.bars-col {
  display: flex;
  flex-direction: column;
  gap: 1.625rem
}

.bar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: .5rem
}

.bar-name {
  font-weight: 600;
  font-size: .88rem;
  color: var(--t-hi)
}

.bar-pct {
  font-family: var(--ff-m);
  font-size: .75rem;
  color: var(--indigo);
  font-weight: 600
}

.bar-track {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  position: relative
}

.bar-fill {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(.4, 0, .2, 1);
  position: relative
}

.bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--indigo)
}

/* ─── PROJECTS ─────────────────────── */
.projects-section {
  background: var(--bg-2);
  position: relative
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 3rem
}

.filter-pill {
  padding: .4rem 1.125rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--t-mid);
  background: var(--glass);
  border: 1px solid var(--border);
  transition: all var(--tf);
}

.filter-pill:hover,
.filter-pill.on {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99, 102, 241, .28)
}

.proj-card {
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--tm) var(--ease);
}

.proj-card:hover {
  transform: translateY(-9px);
  border-color: var(--border-hl);
  box-shadow: var(--sh-glow)
}

.proj-thumb {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: var(--grad-card)
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: inherit !important;
}

.proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease)
}

.proj-card:hover .proj-thumb img {
  transform: scale(1.07)
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 12, 24, .92) 0%, rgba(5, 12, 24, .25) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tm);
}

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

.proj-ovl-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-s);
  font-size: .82rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: all var(--tm) var(--spring);
}

.proj-card:hover .proj-ovl-btn {
  transform: translateY(0)
}

.proj-ovl-btn:hover {
  transform: scale(1.06) !important;
  color: #fff
}

.proj-cat {
  position: absolute;
  top: .875rem;
  left: .875rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .625rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}

.proj-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--indigo);
  opacity: .3
}

.proj-body {
  padding: 1.375rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

.proj-title {
  font-family: var(--ff-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--t-hi);
  margin-bottom: .4rem
}

.proj-desc {
  font-size: .82rem;
  color: var(--t-mid);
  line-height: 1.65;
  flex: 1
}

.spin-ld {
  width: 36px;
  height: 36px;
  border: 2.5px solid var(--border);
  border-top-color: var(--indigo);
  border-radius: 50%;
  animation: spin .75s linear infinite;
  margin: 0 auto 1rem
}

/* ─── TESTIMONIALS ─────────────────── */
.testimonials-section {
  background: var(--bg-1)
}

.tc-wrap {
  padding: 2rem;
  position: relative;
  overflow: hidden
}

.tc-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  user-select: none
}

.tc-card {
  flex-shrink: 1;
  min-width: calc(33.333% - 1rem);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--tm), box-shadow var(--tm);
}

.tc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-glow)
}

.tc-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--indigo);
  opacity: .4;
  font-family: Georgia, serif
}

.tc-text {
  font-size: .875rem;
  color: var(--t-mid);
  line-height: 1.8;
  font-style: italic;
  flex: 1
}

.tc-foot {
  display: flex;
  align-items: center;
  gap: 1rem
}

.tc-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: border-color var(--tf), box-shadow var(--tf)
}

.tc-card:hover .tc-av {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .14)
}

.tc-av-ph {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: box-shadow var(--tf)
}

.tc-card:hover .tc-av-ph {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .2)
}

.tc-name {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--t-hi)
}

.tc-co {
  font-size: .74rem;
  color: var(--t-lo)
}

.tc-stars {
  color: var(--amber);
  font-size: .72rem;
  letter-spacing: .05em;
  margin-top: .1rem
}

.car-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem
}

.car-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--t-mid);
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tf)
}

.car-btn:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: scale(1.08)
}

.car-dots {
  display: flex;
  gap: .5rem;
  align-items: center
}

.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: all var(--tm) var(--ease)
}

.car-dot.on {
  width: 22px;
  background: var(--grad)
}

@media(max-width:991px) {
  .tc-card {
    min-width: calc(50% - .75rem)
  }
}

@media(max-width:575px) {
  .tc-card {
    min-width: 100%
  }
  .about-dev-img {
  max-width: 320px;
}
}

/* ─── CONTACT ──────────────────────── */
.contact-section {
  background: var(--bg-2);
  position: relative
}

.ci-cards {
  display: flex;
  flex-direction: column;
  gap: .875rem
}

.ci-card {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.125rem;
  transition: transform var(--tf), box-shadow var(--tf)
}

.ci-card:hover {
  transform: translateX(4px);
  box-shadow: var(--sh-glow)
}

.ci-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .16);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: .85rem;
  transition: all var(--tf);
}

.ci-card:hover .ci-ico {
  background: var(--grad);
  color: #fff;
  border-color: transparent
}

.ci-lbl {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--t-lo);
  margin-bottom: .2rem
}

.ci-val {
  font-size: .88rem;
  color: var(--t-hi)
}

.ci-val a {
  transition: color var(--tf)
}

.ci-val a:hover {
  color: var(--indigo)
}

.avail-live {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem !important;
  font-weight: 600 !important;
  color: var(--green) !important
}

.avail-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: dotPl 2s infinite
}

.socials {
  display: flex;
  gap: .625rem
}

.soc-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--t-mid);
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tm) var(--spring)
}

.soc-btn:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px) scale(1.08)
}

.form-wrap {
  padding: 2.5rem;
  position: relative
}

.fg {
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.fg label {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--t-lo)
}

.fi {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--t-hi);
  padding: .875rem 1rem;
  font-family: var(--ff-b);
  font-size: .875rem;
  outline: none;
  resize: none;
  transition: border-color var(--tf), box-shadow var(--tf), background var(--tf);
}

.fi::placeholder {
  color: rgba(255, 255, 255, .18)
}

[data-theme="light"] .fi::placeholder {
  color: rgba(0, 0, 0, .25)
}

[data-theme="light"] .fi {
  background: rgba(255, 255, 255, .6);
  color: var(--t-hi)
}

.fi:focus {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, .04);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .16)
}

.fi.err {
  border-color: var(--rose)
}

.ferr {
  font-size: .7rem;
  color: var(--rose);
  display: none
}

.fg.has-err .ferr {
  display: block
}

.fg.has-err .fi {
  border-color: var(--rose)
}

.btn-fill.w100 {
  width: 100%;
  justify-content: center
}

.form-ok,
.form-fail {
  display: none;
  text-align: center;
  padding: 2rem;
  border-radius: var(--r-m);
  margin-top: 1rem
}

.form-ok {
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .2);
  color: var(--green)
}

.form-fail {
  background: rgba(244, 63, 94, .08);
  border: 1px solid rgba(244, 63, 94, .2);
  color: var(--rose)
}

.form-ok i,
.form-fail i {
  font-size: 2.25rem;
  display: block;
  margin-bottom: .75rem
}

.form-ok.show,
.form-fail.show {
  display: block;
  animation: fdIn .4s var(--ease)
}

@keyframes fdIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ─── FOOTER ───────────────────────── */
.footer-sec {
  background: var(--bg-1);
  border-top: 1px solid var(--border)
}

.footer-top {
  padding: 5.5rem 0 3.5rem
}

.footer-logo {
  font-family: var(--ff-d);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  color: var(--t-hi)
}

.footer-bio {
  font-size: .852rem;
  color: var(--t-mid);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 1.5rem
}

.footer-hd {
  font-family: var(--ff-d);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t-hi);
  margin-bottom: 1.25rem
}

.footer-lnks {
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.footer-lnks a {
  font-size: .852rem;
  color: var(--t-mid);
  transition: color var(--tf), padding-left var(--tf)
}

.footer-lnks a:hover {
  color: var(--indigo);
  padding-left: .375rem
}

.footer-ct p {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .852rem;
  color: var(--t-mid);
  margin-bottom: .625rem
}

.footer-ct i {
  color: var(--indigo);
  width: 14px
}

.footer-bot {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border)
}

.footer-bot p {
  font-size: .76rem;
  color: var(--t-lo);
  margin: 0
}

.footer-bot .acc {
  color: var(--indigo)
}

/* ─── BACK TO TOP ──────────────────── */
.btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-glow);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.85);
  transition: all var(--tm) var(--spring);
}

.btt.on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1)
}

.btt:hover {
  transform: translateY(-4px) scale(1.1) !important
}

/* ─── RESPONSIVE ───────────────────── */
@media(min-width:1400px) {
  .hero-title {
    font-size: 2.75rem
  }
}

@media(max-width:1199px) {
  .sp {
    padding: 6.5rem 0
  }
}

@media(max-width:991px) {
  .sp {
    padding: 5.5rem 0
  }

  .hero-visual-wrap {
    margin-top: 3.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto
  }

  .fbadge {
    display: none
  }

  .hero-stats {
    gap: 1.5rem
  }
}

@media(max-width:767px) {
  .sp {
    padding: 4.5rem 0
  }

  .hero-stats {
    gap: 1rem;
    padding: 1.125rem 1.25rem
  }

  .hstat-n {
    font-size: 1.65rem
  }

  .form-wrap {
    padding: 1.625rem
  }

  .about-cntrs {
    flex-direction: column
  }

  .cnt-cell+.cnt-cell::before {
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px
  }
}

@media(max-width:575px) {
  .hero-title {
    font-size: 2.6rem
  }

  .hero-ctas {
    flex-direction: column
  }

  .hero-ctas .btn-fill,
  .hero-ctas .btn-ghost {
    width: 100%;
    justify-content: center
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem
  }

  .tech-card i {
    font-size: 1.4rem
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: .875rem
  }

  .hstat-div {
    display: none
  }

  .whatsapp-button {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  .whatsapp-button img {
    width: 35px;
    height: 35px;
  }
}


/* Auto-Slide */

[data-theme="light"] .sa-logo-slider {
  overflow: hidden;
  width: 100%;
  background: var(--bg-3);
  padding: 20px 0;
}

.sa-logo-track {
  display: flex;
  padding: 2rem;
  gap: 80px;
  width: max-content;
  animation: sa-scroll 20s linear infinite;
}

.sa-logo-track img {
  height: 40px;
  opacity: 0.7;
}

@keyframes sa-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}



.accordion-item {
  background: var(--bg-0);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.accordion-button {
  background: var(--bg-0);
  color: var(--t-hi);
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  color: #fff;
}

.accordion-body {
  color: #a0a9c0;
}

.accordion-button:focus {
  box-shadow: none;
}




.float-animate {
  animation: floatY 6s ease-in-out infinite;
}

.float-delay-1 {
  animation-delay: 1s;
}

.float-delay-2 {
  animation-delay: 2s;
}

.float-delay-3 {
  animation-delay: 3s;
}

@keyframes floatY {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}



.whatsapp-button {
  position: fixed;
  bottom: 6rem;
  right: 26px;
  z-index: 100;
  background-color: #25D366;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.15);
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
}
.whatsapp-button {
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37,211,102,0);
  }

  100% {
    transform: scale(1);
  }

}

/* =====================================================
   CAROUSEL ADDITIONS — Static v3
   Inner image carousel + Swiper overrides
   ===================================================== */

/* ─── PROJECTS SWIPER OUTER CAROUSEL ──────────────── */
.projects-swiper {
  padding-bottom: 3.5rem !important; /* space for pagination dots */
  padding-left:   2px !important;
  padding-right:  2px !important;
  overflow: visible !important;
  /* clip so overflowing cards don't bleed */
  -webkit-mask: linear-gradient(to right, transparent 0, #000 1%, #000 99%, transparent 100%);
          mask: linear-gradient(to right, transparent 0, #000 1%, #000 99%, transparent 100%);
}

/* ── Swiper navigation arrows — match site style ── */
.proj-swiper-prev,
.proj-swiper-next {
  width:  44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--glass) !important;
  border: 1px solid var(--border) !important;
  color: var(--t-mid) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all var(--tf) !important;
  top: auto !important;
  bottom: 0 !important;
  transform: none !important;
  margin-top: 0 !important;
}

.proj-swiper-prev { left: calc(50% - 64px) !important; }
.proj-swiper-next { right: calc(50% - 64px) !important; left: auto !important; }

.proj-swiper-prev::after,
.proj-swiper-next::after {
  font-size: .8rem !important;
  color: var(--t-mid) !important;
  transition: color var(--tf) !important;
}

.proj-swiper-prev:hover,
.proj-swiper-next:hover {
  background: var(--grad) !important;
  border-color: transparent !important;
  box-shadow: var(--sh-glow) !important;
}

.proj-swiper-prev:hover::after,
.proj-swiper-next:hover::after {
  color: #fff !important;
}

/* Swiper disabled state */
.proj-swiper-prev.swiper-button-disabled,
.proj-swiper-next.swiper-button-disabled {
  opacity: .35 !important;
  pointer-events: none !important;
}

/* ── Swiper pagination — match .car-dot style ── */
.projects-swiper-pagination {
  bottom: 6px !important;
}

.projects-swiper-pagination .swiper-pagination-bullet {
  width:  8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: var(--border) !important;
  opacity: 1 !important;
  margin: 0 4px !important;
  transition: all var(--tm) var(--ease) !important;
}

.projects-swiper-pagination .swiper-pagination-bullet-active {
  width:  22px !important;
  background: var(--grad) !important;
}


/* ─── INNER IMAGE CAROUSEL ─────────────────────────── */
.proj-inner-carousel {
  position: relative;
  width:  100%;
  height: 100%;   /* fills .proj-thumb (215 px) */
  overflow: hidden;
}

/* All images stacked on top of each other */
.proj-inner-img {
  position: absolute;
  inset: 0;
  width:  100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .65s ease;
  /* Kill the default thumb img hover-scale from parent */
  transform: none !important;
}

.proj-inner-img.active {
  opacity: 1;
}

/* Hover scale moves the whole .proj-inner-carousel instead */
.proj-card:hover .proj-inner-carousel {
  transform: scale(1.07);
  transition: transform .65s var(--ease);
}

/* ── Dot nav inside the inner carousel ── */
.proj-inner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap:   5px;
  z-index: 10;
}

.proj-inner-dot {
  width:  6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--tm), transform var(--tm), width var(--tm);
}

.proj-inner-dot.active {
  background: #fff;
  width: 16px;
  border-radius: 999px;
  transform: none;
}

.proj-inner-dot:hover {
  background: rgba(255, 255, 255, .8);
}


/* ─── RESPONSIVE TWEAKS FOR SWIPER ─────────────────── */
@media (max-width: 767px) {
  .proj-swiper-prev { left: calc(50% - 52px) !important; }
  .proj-swiper-next { right: calc(50% - 52px) !important; }
}

@media (max-width: 575px) {
  .projects-swiper {
    padding-bottom: 3rem !important;
  }
}
