/* =============================================
   JOHN MAVON PORTFOLIO — style.css
   ============================================= */

:root {
  --black: #0a0a0a;
  --dark: #111113;
  --dark2: #18181c;
  --white: #f5f5f0;
  --off: #e8e8e2;
  --accent: #c8ff00;       /* electric lime — the signature accent */
  --accent2: #00c8ff;
  --gray: #888880;
  --gray2: #555550;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: 0.4s 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: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 32px; height: 32px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.3s;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
}
body:has(a:hover) .cursor, body:has(button:hover) .cursor {
  transform: translate(-50%,-50%) scale(1.8);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
  padding: 0;
}
.nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo { display: flex; flex-direction: column; gap: 0; }
.logo-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: #fff; letter-spacing: 0.04em;
}
.logo-tag {
  font-size: 0.65rem; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.nav-links {
  display: flex; gap: 2.5rem;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  font-size: 0.8rem; font-weight: 600;
  background: var(--accent); color: var(--black);
  padding: 0.55rem 1.4rem; border-radius: 100px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: scale(0.97); }
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  background: rgba(10,10,10,0.98);
  padding: 1.5rem 5%;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu a { color: #fff; font-size: 1.1rem; font-family: 'Syne', sans-serif; }

/* ===== SECTION HELPERS ===== */
.section { padding: 6rem 0; }
.section-dark { background: var(--dark); }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.section-head {
  width: 100%;
  margin-bottom: 3rem;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: var(--accent); }
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
}
.section-title.light { color: var(--white); }
.section-desc {
  margin-top: 1rem;
  color: var(--gray);
  max-width: 480px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-grain {
  position: absolute; 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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 8rem 5% 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,255,0,0.1);
  border: 1px solid rgba(200,255,0,0.25);
  color: var(--accent); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800; line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.1em;
}
.accent-line { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: var(--black);
  font-weight: 700; font-size: 0.9rem;
  padding: 0.85rem 2rem; border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,255,0,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  font-size: 0.9rem; padding: 0.85rem 2rem; border-radius: 100px;
  transition: var(--transition); font-weight: 400;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 5%;
  display: flex; align-items: center; gap: 1rem;
  color: rgba(255,255,255,0.3); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; z-index: 2;
}
.scroll-line {
  width: 60px; height: 1px; background: rgba(255,255,255,0.2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 1px;
  background: var(--accent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  to { left: 100%; }
}
.hero-stats {
  position: relative; z-index: 2;
  padding: 0 5% 3rem;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.stat span:last-of-type { color: var(--accent); font-size: 1.8rem; font-weight: 700; }
.stat p { font-size: 0.78rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }
.stat-divider {
  width: 1px; height: 60px; background: var(--border);
  align-self: center;
}

/* ===== TRUSTED ===== */
.trusted {
  background: var(--dark2);
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-inner { max-width: 100%; }
.trusted-label {
  text-align: center;
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray2);
  margin-bottom: 1.5rem;
}
.logo-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-track {
  display: flex; gap: 3rem; align-items: center;
  width: max-content;
  animation: scrollTrack 20s linear infinite;
}
.logo-item {
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  padding: 0 1rem;
  height: 40px; display: flex; align-items: center;
}
.logo-item:hover { color: rgba(255,255,255,0.6); }
.logo-item svg { height: 40px; width: auto; }
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== ABOUT ===== */
.about .container {
  align-items: center;
}
.about-left {
  flex: 1; min-width: 280px; max-width: 400px;
}
.about-img-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}
.about-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e8e2 0%, #d0d0c8 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.img-initials {
  font-family: 'Syne', sans-serif;
  font-size: 5rem; font-weight: 800;
  color: rgba(0,0,0,0.08);
}
.about-badge-float {
  position: absolute; bottom: 1.2rem; right: -1rem;
  background: var(--accent); color: var(--black);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.5rem 1rem; border-radius: 100px;
  display: flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(200,255,0,0.4);
}
.cert-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--off); border: 1px solid var(--border-light);
  font-size: 0.75rem; font-weight: 500;
  padding: 0.35rem 0.8rem; border-radius: 100px;
  color: var(--dark);
}
.about-right {
  flex: 1.4; min-width: 300px;
}
.about-text {
  color: #555; font-size: 1rem; line-height: 1.75;
  margin-bottom: 1.2rem;
}
.about-text strong { color: var(--dark); }
.about-certs { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.cert-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.cert-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--dark); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; flex-shrink: 0; margin-top: 3px;
}
.cert-item span { font-size: 0.9rem; color: #444; }
.about-sig {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}
.sig-text {
  font-family: 'Syne', sans-serif; font-size: 1.6rem;
  font-weight: 700; font-style: italic;
  color: var(--dark);
}
.sig-role { font-size: 0.8rem; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }

/* ===== SERVICES ===== */
.services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  position: relative;
}
.service-card:nth-child(3), .service-card:nth-child(6) { border-right: none; }
.service-card:nth-child(4), .service-card:nth-child(5), .service-card:nth-child(6) { border-bottom: none; }
.service-card:hover { background: rgba(200,255,0,0.04); }
.svc-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: var(--gray2); letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}
.svc-icon {
  color: var(--accent); margin-bottom: 1rem;
  width: 40px; height: 40px;
}
.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.85rem; color: var(--gray);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.svc-tags span {
  font-size: 0.68rem; font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  padding: 0.2rem 0.6rem; border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ===== NUMBERS ===== */
.numbers .container { align-items: center; }
.numbers-left { flex: 1; min-width: 280px; }
.numbers-right { flex: 1; min-width: 280px; }
.numbers-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}
.n-stat {
  padding: 1.5rem;
  background: var(--off);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.n-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--dark);
}
.n-unit { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.n-stat p { font-size: 0.75rem; color: var(--gray); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Terminal */
.terminal {
  background: var(--dark2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}
.terminal-bar {
  background: rgba(255,255,255,0.04);
  padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title { font-size: 0.72rem; color: var(--gray2); margin-left: 0.5rem; font-family: monospace; }
.terminal-body {
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.t-prompt { color: var(--accent); }
.t-cmd { color: var(--white); }
.t-running { color: var(--gray2); }
.t-out {
  color: rgba(255,255,255,0.7);
  opacity: 0;
  animation: fadeIn 0.4s forwards;
}
.t-green { color: var(--accent); font-weight: 700; }
.t-cursor {
  color: var(--accent);
  animation: blink 1s infinite, fadeIn 0.4s forwards !important;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* Before After */
.ba-container { flex-direction: column; }
.ba-wrap {
  position: relative;
  width: 100%;
}
.ba-images {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem;
  align-items: center;
}
.ba-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--border-light);
}
.before-placeholder { background: #f5f0e8; }
.after-placeholder { background: #e8f5e8; }
.ba-placeholder-inner { text-align: center; padding: 2rem; }
.ba-lines { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.ba-line {
  height: 8px; border-radius: 4px;
}
.ba-line.slow { background: rgba(0,0,0,0.1); }
.ba-line.fast { background: rgba(0,128,0,0.2); }
.w80 { width: 80%; margin: 0 auto; }
.w60 { width: 60%; margin: 0 auto; }
.w90 { width: 90%; margin: 0 auto; }
.w40 { width: 40%; margin: 0 auto; }
.ba-note { font-size: 0.8rem; color: var(--gray); font-style: italic; }
.ba-divider {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--dark); border-radius: 50%;
}
.ba-arrow { font-size: 1.2rem; color: var(--accent); }
.ba-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.before-label { color: var(--gray); }
.after-label { color: #28c840; text-align: right; }
.ba-caption {
  text-align: center; margin-top: 1rem;
  font-size: 0.8rem; color: var(--gray);
  font-style: italic;
}

/* ===== PORTFOLIO ===== */
.portfolio-filters {
  width: 100%;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: -1rem;
}
.pf-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--gray); font-size: 0.78rem;
  font-weight: 500; padding: 0.4rem 1rem;
  border-radius: 100px; cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.pf-btn.active, .pf-btn:hover {
  background: var(--accent); color: var(--black);
  border-color: var(--accent); font-weight: 700;
}
.portfolio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.p-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.p-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.p-card-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
}
.p-placeholder-icon { font-size: 2.5rem; }
.p-card-placeholder p { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.p-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.p-card:hover .p-card-overlay { opacity: 1; }
.p-visit-btn {
  background: var(--accent); color: var(--black);
  font-weight: 700; font-size: 0.85rem;
  padding: 0.65rem 1.5rem; border-radius: 100px;
  display: flex; align-items: center; gap: 0.4rem;
  transform: translateY(10px);
  transition: transform var(--transition);
}
.p-card:hover .p-visit-btn { transform: translateY(0); }
.p-card-body { padding: 1.5rem; }
.p-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.p-tag {
  font-size: 0.65rem; font-weight: 700;
  padding: 0.2rem 0.65rem; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.shopify-tag { background: rgba(200,255,0,0.1); color: var(--accent); }
.cro-tag { background: rgba(0,200,255,0.1); color: var(--accent2); }
.email-tag { background: rgba(255,150,0,0.1); color: #ff9600; }
.p-result { font-size: 0.75rem; font-weight: 700; color: var(--accent); font-family: 'Syne', sans-serif; }
.p-card-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.6rem;
}
.p-card-body p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; margin-bottom: 1rem; }
.p-link {
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent); display: inline-flex;
  align-items: center; gap: 0.35rem;
  transition: gap var(--transition);
}
.p-link:hover { gap: 0.6rem; }
.p-card-add {
  border: 2px dashed var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.p-card-add-inner { text-align: center; padding: 2rem; }
.add-icon {
  font-size: 2.5rem; color: var(--gray2);
  margin-bottom: 0.5rem; line-height: 1;
}
.p-card-add h3 { font-family: 'Syne', sans-serif; font-size: 0.9rem; color: var(--gray2); }
.p-card-add p { font-size: 0.75rem; color: var(--gray2); margin-top: 0.3rem; }

/* ===== TESTIMONIALS ===== */
.testi-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.testi-video { display: flex; flex-direction: column; gap: 1rem; }
.testi-video-frame {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
}
.video-bg-grad {
  position: absolute; inset: 0; z-index: 0;
}
.play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; position: relative;
  transition: transform var(--transition);
}
.play-btn:hover { transform: scale(1.1); }
.play-btn i { color: var(--black); font-size: 1.2rem; margin-left: 4px; }
.video-overlay-text {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  z-index: 2;
}
.vt-name { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; }
.vt-brand { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.video-ph-hint {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.7rem; color: rgba(255,255,255,0.3);
  text-align: right; z-index: 2;
  max-width: 200px; line-height: 1.5;
}
.video-ph-hint code { background: rgba(255,255,255,0.08); padding: 0.1rem 0.3rem; border-radius: 3px; }
.testi-video-caption { display: flex; gap: 0.5rem; align-items: center; }
.testi-badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray);
}
.testi-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.testi-card {
  background: var(--off);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition);
}
.testi-card:hover { transform: translateY(-2px); }
.testi-stars { color: #f5a623; font-size: 0.85rem; margin-bottom: 0.75rem; }
.testi-card p { font-size: 0.88rem; color: #444; line-height: 1.65; margin-bottom: 1.2rem; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
}
.testi-author strong { display: block; font-size: 0.85rem; color: var(--dark); }
.testi-author span { font-size: 0.72rem; color: var(--gray); }

/* ===== CONTACT ===== */
.contact .container { align-items: flex-start; }
.contact-left { flex: 1; min-width: 260px; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(200,255,0,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-label { font-size: 0.68rem; color: var(--gray2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.ci-item a, .ci-item span { color: var(--white); font-size: 0.9rem; transition: color 0.2s; }
.ci-item a:hover { color: var(--accent); }
.social-row { display: flex; gap: 1rem; margin-top: 2rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); transition: var(--transition);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.contact-right { flex: 1.2; min-width: 300px; }
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form-wrap h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 1.8rem;
}
.cf-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group label { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; }
.cf-group input,
.cf-group textarea,
.cf-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white); font-size: 0.9rem;
  transition: border-color 0.2s;
  width: 100%;
}
.cf-select-wrap { position: relative; }
.cf-select-wrap::after {
  content: '▾'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); color: var(--gray); pointer-events: none;
}
.cf-group select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.cf-group input:focus, .cf-group textarea:focus, .cf-group select:focus {
  border-color: var(--accent); outline: none;
  background: rgba(200,255,0,0.04);
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: var(--gray2); }
.cf-group textarea { resize: vertical; }
.cf-submit {
  width: 100%;
  background: var(--accent); color: var(--black);
  border: none; padding: 1rem;
  font-weight: 700; font-size: 0.95rem;
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; transition: var(--transition);
}
.cf-submit:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,255,0,0.25); }

/* ===== FOOTER ===== */
.footer { background: var(--black); border-top: 1px solid var(--border); }
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 3rem; padding: 4rem 5%;
  max-width: 1200px; margin: 0 auto;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-size: 1.5rem;
  font-weight: 800; color: var(--white); margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.82rem; color: var(--gray); line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.fl-col h4 {
  font-family: 'Syne', sans-serif; font-size: 0.72rem;
  font-weight: 700; color: rgba(255,255,255,0.4);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.fl-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.fl-col a { font-size: 0.85rem; color: var(--gray); transition: color 0.2s; }
.fl-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 5%;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray2); }
.partner-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.partner-badges span {
  font-size: 0.68rem; font-weight: 600;
  color: rgba(255,255,255,0.25);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem; border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(3), .service-card:nth-child(6) { border-right: 1px solid var(--border); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .ba-images { grid-template-columns: 1fr; }
  .ba-divider { transform: rotate(90deg); margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
  .about .container { flex-direction: column; }
  .about-left { max-width: 100%; }
  .about-img-placeholder { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 1.8rem; }
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This crops the image to fill the 16/10 aspect ratio */
  display: block;
  transition: transform 0.5s ease;
}

/* Optional: Slight zoom effect when you hover over the card */
.p-card:hover .project-img {
  transform: scale(1.05);
}

.ba-images {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
}

.ba-before, .ba-after {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ba-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  z-index: 10;
  background: var(--accent, #c8ff00);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  letter-spacing: 1px;
  top: 10px;
}

.before-label { left: 30px; }
.after-label { right: 30px; }

.ba-divider {
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 10px rgba(255,255,255,1);
}

.ba-caption {
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

/* Mobile Stack */
@media (max-width: 768px) {
  .ba-images {
    flex-direction: column;
  }
  .ba-divider {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  .before-label, .after-label {
    left: 30px;
    right: auto;
  }
}

/* Style the main select box */
.cf-select {
  width: 100%;
  padding: 12px;
  background-color: #1a1a1c; /* Dark background to match your form */
  color: #ffffff; /* White text for the selected value */
  border: 1px solid var(--accent); /* Using your lime green accent */
  border-radius: 8px;
  appearance: none; /* Removes default browser styling */
  -webkit-appearance: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* Style the dropdown options specifically */
.cf-select option {
  background-color: #1a1a1c; /* Background of the list */
  color: #ffffff; /* Text color of the list */
  padding: 10px;
}

/* Optional: Add a custom arrow since 'appearance: none' removes the default one */
.cf-group {
  position: relative;
}

.cf-group::after {
  content: '▼';
  font-size: 10px;
  color: var(--accent);
  position: absolute;
  right: 15px;
  bottom: 15px;
  pointer-events: none;
}

.testi-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Keeps the frame consistent */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.play-btn {
  z-index: 11;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}