/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500&display=swap');

/* CSS variables */
:root {
  --bg: #040d1a;
  --bg2: #060f20;
  --card: #0b1628;
  --card2: #0f1d35;
  --border: rgba(0, 195, 255, 0.1);
  --border2: rgba(0, 195, 255, 0.22);
  --border3: rgba(0, 195, 255, 0.4);

  --cyan: #00c3ff;
  --cyan-dim: rgba(0, 195, 255, 0.15);
  --cyan-glow: rgba(0, 195, 255, 0.35);
  --cyan-soft: rgba(0, 195, 255, 0.08);
  --mint: #00ffc3;
  --violet: #8b5cf6;
  --pink: #f472b6;

  --text: #e2ecff;
  --text2: #a8bdd4;
  --muted: #6b85a8;
  --white: #ffffff;

  --font: 'Plus Jakarta Sans', sans-serif;
  --font-code: 'Fira Code', monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --glow: 0 0 40px rgba(0, 195, 255, 0.18);
  --trans: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Animated grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 195, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 195, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

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

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.15;
}

::-webkit-scrollbar {
  width: 5px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(0, 195, 255, 0.3);
  border-radius: 3px;
}

::selection {
  background: var(--cyan-dim);
  color: var(--cyan);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(4, 13, 26, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: rgba(4, 13, 26, 0.97);
  border-bottom-color: var(--border2);
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}

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

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

.nav-links a {
  display: block;
  padding: 0.42rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--cyan-soft);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 18%;
  right: 18%;
}

.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-hire-btn {
  background: var(--cyan);
  color: #000;
  padding: 0.42rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: box-shadow 0.2s, transform 0.2s;
}

.nav-hire-btn:hover {
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-1px);
}

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

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

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Layout */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 6rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.section-tag::before {
  content: '//';
  opacity: 0.45;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--text2);
  max-width: 580px;
  line-height: 1.8;
}

.grad {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad2 {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #009fd4);
  color: #000;
  box-shadow: 0 0 24px var(--cyan-dim);
}

.btn-cyan:hover {
  box-shadow: 0 0 40px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--border2);
}

.btn-outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* ================================================
   PAGE SYSTEM
================================================ */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageIn 0.45s ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.left {
  transform: translateX(-30px);
}

.reveal.right {
  transform: translateX(30px);
}

.reveal.scale {
  transform: scale(0.92);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}

.d5 {
  transition-delay: 0.5s;
}

.d6 {
  transition-delay: 0.6s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite;
}

.orb-a {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.14), transparent 70%);
  top: -120px;
  right: -120px;
}

.orb-b {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.13), transparent 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: -6s;
}

.orb-c {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 255, 195, 0.07), transparent 70%);
  top: 45%;
  left: 45%;
  animation-delay: -10s;
}

@keyframes orbFloat {

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

  33% {
    transform: translate(18px, -22px) scale(1.04);
  }

  66% {
    transform: translate(-14px, 16px) scale(0.97);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 195, 255, 0.07);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 0.38rem 1.1rem;
  font-family: var(--font-code);
  font-size: 0.76rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  animation: badgePop 0.6s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 255, 195, 0.5)
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 7px rgba(0, 255, 195, 0)
  }
}

@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.8)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.hero-sub-line {
  font-size: 0.52em;
  font-weight: 500;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.3rem;
}

.hero-sub-accent {
  color: var(--cyan);
  font-weight: 700;
}

/* Typing text */
.typed-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-code);
  font-size: 0.92rem;
  color: var(--text2);
  margin-bottom: 1.4rem;
}

.typed-label {
  color: var(--cyan);
}

.typed-text {
  color: var(--mint);
  font-weight: 500;
}

.typed-cursor {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

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

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

/* Social row */
.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-social-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-icons {
  display: flex;
  gap: 0.6rem;
}

.s-icon {
  width: 40px;
  height: 40px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--trans);
}

.s-icon:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.s-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Hero Right ---- */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Avatar glow ring */
.avatar-ring {
  position: relative;
  display: inline-block;
  animation: avatarFloat 5s ease-in-out infinite;
}

@keyframes avatarFloat {

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

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

.avatar-ring::before,
.avatar-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  inset: -6px;
  border: 2px solid transparent;
  animation: ringRotate 4s linear infinite;
}

.avatar-ring::before {
  border-top-color: var(--cyan);
  border-right-color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
}

.avatar-ring::after {
  border-bottom-color: var(--mint);
  border-left-color: var(--mint);
  animation-direction: reverse;
  animation-duration: 6s;
  inset: -12px;
}

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

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(0, 195, 255, 0.5);
  box-shadow: 0 0 50px rgba(0, 195, 255, 0.25), 0 0 120px rgba(0, 195, 255, 0.08);
  display: block;
  position: relative;
  z-index: 1;
}

/* ── Bridge Card Enhanced ── */
.bridge-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 1.5rem;
  position: relative;
  width: 100%;
  box-shadow: var(--shadow);
}

.q-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.3;
  font-family: serif;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}

.bc-quote {
  font-size: 0.9rem;
  color: var(--text2);
  font-style: italic;
  line-height: 1.75;
  padding-left: 0.5rem;
  margin-top: 0.75rem;
}

.bc-divider {
  height: 1px;
  background: var(--border);
  margin: 1.1rem 0;
}

/* Identity row */
.bc-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bc-avatar-wrap {
  flex-shrink: 0;
}

.bc-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(0, 195, 255, 0.3);
}

.bc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bc-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.bc-role {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-code);
}

.bc-role-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: dotPulse 2s infinite;
  flex-shrink: 0;
}

/* Psychology hooks */
.bc-hooks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bc-hook {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.55;
}

.bc-hook-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.bc-hook strong {
  color: var(--cyan);
  font-weight: 700;
}


/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.h-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.1rem 0.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.h-stat:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--cyan-dim);
}

.h-stat-num {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}

.h-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* Ticker scroll Bar */
.ticker-section {
  overflow: hidden;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card2);
}

.ticker-track {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color 0.3s;
}

.ticker-item:hover {
  color: var(--cyan);
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.4;
}

/* Mini Services */
.home-services {
  background: var(--bg2);
}

.home-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.home-svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.home-svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, var(--cyan-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.home-svc-card:hover::before {
  opacity: 1;
}

.home-svc-card:hover {
  transform: translateY(-8px);
  border-color: var(--border3);
  box-shadow: 0 0 45px rgba(0, 195, 255, 0.12), 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hsvc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--cyan-soft);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
  transition: transform 0.35s, box-shadow 0.35s;
}

.home-svc-card:hover .hsvc-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 24px var(--cyan-glow);
}

/* Animated code lines on card 1 */
.code-anim {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.1;
}

.ca-line {
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  animation: caAnim 2.8s ease-in-out infinite;
}

.ca-line:nth-child(1) {
  width: 38px;
  animation-delay: 0s
}

.ca-line:nth-child(2) {
  width: 58px;
  animation-delay: 0.25s
}

.ca-line:nth-child(3) {
  width: 28px;
  animation-delay: 0.5s
}

.ca-line:nth-child(4) {
  width: 48px;
  animation-delay: 0.75s
}

@keyframes caAnim {

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

  50% {
    transform: scaleX(0.55);
    opacity: 0.4
  }
}

.home-svc-card h3 {
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.home-svc-card p {
  font-size: 0.87rem;
  color: var(--text2);
  line-height: 1.78;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.svc-tag {
  background: var(--cyan-soft);
  border: 1px solid rgba(0, 195, 255, 0.22);
  color: var(--cyan);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-family: var(--font-code);
}

/* Quote Banner  */
.quote-banner {
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.05), rgba(139, 92, 246, 0.07));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
}

.quote-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.quote-inner blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  max-width: 580px;
  line-height: 1.85;
  border-left: 3px solid var(--cyan);
  padding-left: 1.25rem;
}
/* Testinomials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.testi-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.star {
  color: #f59e0b;
  font-size: 0.9rem;
}

.testi-text {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.78;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.testi-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0, 195, 255, 0.07) 0%, transparent 70%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaRing 4s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(0, 195, 255, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaRing 6s ease-in-out infinite reverse;
}

@keyframes ctaRing {

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

  50% {
    transform: translate(-50%, -50%) scale(1.06)
  }
}

.cta-label {
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-sub {
  color: var(--text2);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Service Page */
.svc-cards-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  cursor: default;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--cyan-dim), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.svc-card:hover {
  transform: translateY(-8px);
  border-color: var(--border3);
  box-shadow: var(--glow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.svc-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--cyan-soft);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.35s, box-shadow 0.35s;
}

.svc-card:hover .svc-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 24px var(--cyan-glow);
}

.svc-card h3 {
  font-size: 1.12rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.svc-card .svc-vibe {
  font-size: 0.8rem;
  color: var(--cyan);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.svc-card p {
  font-size: 0.87rem;
  color: var(--text2);
  line-height: 1.78;
}

/* Bridge section in services */
.bridge-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  margin: 4rem 0;
}

.bridge-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bridge-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 40px rgba(0, 195, 255, 0.25);
}

.bridge-name {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-code);
  text-align: center;
}

.bridge-quote-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.85;
  border-left: 3px solid var(--cyan);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.bridge-body {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.8;
}

/* Process */
.process-wrap {
  margin-top: 5rem;
}

.process-head {
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.p-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.p-step:hover {
  border-color: var(--border3);
  transform: translateY(-4px);
}

.p-num {
  font-family: var(--font-code);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.p-step h3 {
  font-size: 0.97rem;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.p-step p {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.65;
}

/* Project Page */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.proj-card:hover {
  transform: translateY(-7px);
  border-color: var(--border3);
  box-shadow: var(--glow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.proj-thumb {
  height: 185px;
  position: relative;
  overflow: hidden;
}

.proj-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform 0.5s;
}

.proj-card:hover .proj-bg {
  transform: scale(1.08);
}

.proj-over {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 26, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.proj-link {
  background: var(--cyan);
  color: #000;
  padding: 0.5rem 1.3rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.proj-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.proj-body {
  padding: 1.35rem;
}

.proj-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.proj-tag {
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
}

.proj-body h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.proj-body p {
  font-size: 0.84rem;
  color: var(--text2);
  line-height: 1.62;
}

.proj-cta {
  text-align: center;
  margin-top: 3.5rem;
}

.proj-cta p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Skill Page */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.sk-cat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  transition: border-color 0.3s;
}

.sk-cat:hover {
  border-color: var(--border2);
}

.sk-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sk-ico {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--cyan-soft);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.sk-head h3 {
  font-size: 1.02rem;
  color: var(--white);
}

.sk-head p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.sk-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sk-row {}

.sk-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.38rem;
}

.sk-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.sk-pct {
  font-size: 0.75rem;
  font-family: var(--font-code);
  color: var(--cyan);
}

.sk-track {
  height: 5px;
  background: var(--card2);
  border-radius: 3px;
  overflow: hidden;
}

.sk-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.4);
}

/* Tools */
.tools-wrap {
  margin-top: 5rem;
}

.tools-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tool-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text2);
  transition: border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.tool-badge:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(0, 195, 255, 0.15);
}

.tb-ico {
  font-size: 1.1rem;
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}

.ci-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.ci-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.c-detail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}

.c-detail:hover {
  border-color: var(--border3);
  transform: translateX(4px);
}

.c-ico {
  width: 40px;
  height: 40px;
  background: var(--cyan-soft);
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-ico svg {
  width: 18px;
  height: 18px;
  fill: var(--cyan);
}

.c-text span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.c-text strong {
  font-size: 0.88rem;
  color: var(--text);
}

/* Social icons in contact */
.social-section {
  margin-top: 1.75rem;
}

.social-section p {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.social-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.soc-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s;
}

.soc-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.soc-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-soft);
  transform: translateY(-2px);
}

/* Form */
.c-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
}

.c-form h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.12);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 125px;
}

.form-group select option {
  background: var(--card);
  color: var(--text);
}

.field-error {
  color: #ff6b6b;
  font-size: 0.74rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #ff6b6b;
}

.form-group.error .field-error {
  display: block;
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: var(--mint);
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), #009fd4);
  color: #000;
  border: none;
  padding: 0.9rem;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 0 24px var(--cyan-dim);
}

.form-submit:hover {
  box-shadow: 0 0 40px var(--cyan-glow);
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 270px;
  max-width: 90vw;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(0, 255, 195, 0.4);
}

.toast.error {
  border-color: rgba(255, 107, 107, 0.4);
}

.toast-icon {
  font-size: 1.1rem;
}

.toast-msg {
  font-size: 0.87rem;
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Subtle glow top-left */
footer::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.05), transparent 70%);
  top: -100px;
  left: -100px;
  pointer-events: none;
}

/* ── TOP SECTION ── */
.footer-top {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3.5rem;
}

/* Brand col */
.footer-brand {}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.footer-logo span {
  color: var(--cyan);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.fs-icon {
  width: 38px;
  height: 38px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

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

.fs-icon:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-soft);
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(0, 195, 255, 0.2);
}

/* Services col */
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-list a {
  font-size: 0.86rem;
  color: var(--text2);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.footer-list a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

/* Contact col */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.fci {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text2);
}

.fci svg {
  flex-shrink: 0;
  color: var(--cyan);
  fill: var(--cyan);
}

/* Availability badge */
.footer-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 195, 0.08);
  border: 1px solid rgba(0, 255, 195, 0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 1.25rem;
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: dotPulse 2s infinite;
}

/* CTA button */
.footer-cta-btn {
  background: linear-gradient(135deg, var(--cyan), #009fd4);
  color: #000;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 0 20px var(--cyan-dim);
}

.footer-cta-btn:hover {
  box-shadow: 0 0 35px var(--cyan-glow);
  transform: translateY(-2px);
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-tech-stack {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.fts-badge {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  font-family: var(--font-code);
}

.footer-quote-small {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-code);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ================================================
   RESPONSIVE — TABLET ≤ 960px
================================================ */
@media (max-width:960px) {
  section {
    padding: 4.5rem 0;
  }

  nav {
    padding: 0 1.5rem;
  }

  .nav-hire-btn {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
  }

  .hero-desc {
    max-width: 100%;
  }

  .orb {
    display: none;
  }

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

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

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

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

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

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bridge-section {
    grid-template-columns: 1fr;
  }

  .bridge-photo-wrap {
    flex-direction: row;
    justify-content: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Mobile Responsiveness */
@media (max-width:640px) {
  nav {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(4, 13, 26, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0.2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-inner {
    text-align: left;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-btns {
    flex-direction: column;
  }

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

  .hero-photo {
    width: 170px;
    height: 170px;
  }

  .hero-stats {
    gap: 0.5rem;
  }

  .h-stat-num {
    font-size: 1.3rem;
  }

  .home-svc-grid {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .svc-cards-full {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .proj-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .c-form {
    padding: 1.5rem 1.25rem;
  }

  .quote-inner {
    flex-direction: column;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    min-width: unset;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

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

/* ================================================
   THEME TOGGLE BUTTON
================================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: var(--card);
  transition: border-color 0.3s, background 0.3s;
}

.theme-toggle:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim);
}

.tt-track {
  width: 42px;
  height: 22px;
  background: var(--card2);
  border-radius: 100px;
  border: 1px solid var(--border2);
  position: relative;
  transition: background 0.3s;
}

.tt-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
  box-shadow: 0 0 8px var(--cyan-glow);
  font-size: 0.6rem;
}

.tt-icon-light { display: none; }
.tt-icon-dark  { display: block; }

.tt-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  min-width: 28px;
  transition: color 0.3s;
}

/* When light mode active — thumb slides right */
body.light-mode .tt-thumb {
  transform: translateX(20px);
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

body.light-mode .tt-icon-dark  { display: none; }
body.light-mode .tt-icon-light { display: block; }

body.light-mode .tt-track {
  background: #fef3c7;
  border-color: #f59e0b;
}

body.light-mode .theme-toggle {
  border-color: #f59e0b;
  background: #fff;
}

/* ================================================
   LIGHT MODE — FULL COLOR OVERRIDES
================================================ */
body.light-mode {
  --bg:        #f0f4ff;
  --bg2:       #e8edf8;
  --card:      #ffffff;
  --card2:     #f1f5ff;
  --border:    rgba(79, 120, 220, 0.15);
  --border2:   rgba(79, 120, 220, 0.3);
  --border3:   rgba(79, 120, 220, 0.5);

  --cyan:      #2563eb;
  --cyan-dim:  rgba(37, 99, 235, 0.12);
  --cyan-glow: rgba(37, 99, 235, 0.3);
  --cyan-soft: rgba(37, 99, 235, 0.06);
  --mint:      #059669;
  --violet:    #7c3aed;

  --text:      #0f172a;
  --text2:     #334155;
  --muted:     #64748b;
  --white:     #0f172a;
}

/* Light mode specific fixes */
body.light-mode nav {
  background: rgba(240, 244, 255, 0.92);
  border-bottom-color: rgba(79, 120, 220, 0.2);
}

body.light-mode nav.scrolled {
  background: rgba(240, 244, 255, 0.98);
}

body.light-mode body::before {
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
}

body.light-mode .nav-logo { color: #0f172a; }
body.light-mode .nav-hire-btn { background: #2563eb; color: #fff; }

body.light-mode .hero-badge {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.3);
}

body.light-mode .hero-title { color: #0f172a; }

body.light-mode .h-stat {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body.light-mode .bridge-card {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body.light-mode .home-svc-card,
body.light-mode .svc-card,
body.light-mode .proj-card,
body.light-mode .sk-cat,
body.light-mode .testi-card,
body.light-mode .p-step,
body.light-mode .c-detail,
body.light-mode .c-form {
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

body.light-mode .home-svc-card:hover,
body.light-mode .svc-card:hover,
body.light-mode .proj-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.15);
}

body.light-mode .ticker-section { background: #e8edf8; }
body.light-mode .quote-banner   { background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06)); }

body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select {
  background: #f8faff;
  color: #0f172a;
  border-color: rgba(79,120,220,0.25);
}

body.light-mode .footer-top,
body.light-mode footer { background: #e2e8f8; }
body.light-mode .footer-bottom { background: #d8e0f5; border-color: rgba(79,120,220,0.2); }

body.light-mode .tool-badge,
body.light-mode .fs-icon,
body.light-mode .soc-link { background: #fff; }

body.light-mode ::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.3); }
body.light-mode ::selection { background: rgba(37,99,235,0.15); color: #2563eb; }

/* Smooth theme transition on everything */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}