/* ================================================================
   THE UNIMARK — PREMIUM CSS
   Brand: The UniMark | Version: 2.0
   Primary: #7AD100 | Background: #090909
   Fonts: Poppins (display/body) + Custom TUM font
================================================================ */

/* ── FONT FACES ─────────────────────────────────────────────── */
@font-face {
  font-family: 'TUM';
  src: url('./Font/tum.otf') format('opentype');
  font-weight: normal;
  font-display: swap;
  letter-spacing: 10px !important;
}

@font-face {
  font-family: 'Poppins';
  src: url('./Font/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('./Font/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('./Font/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('./Font/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('./Font/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('./Font/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('./Font/Geist-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('./Font/Geist-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

/* ── CSS VARIABLES ───────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --clr-primary: #7AD100;
  --clr-primary-dim: rgba(122, 209, 0, 0.15);
  --clr-primary-glow: rgba(122, 209, 0, 0.3);
  --clr-primary-dark: #5ca000;

  /* Background Scale */
  --clr-bg: #090909;
  --clr-bg-2: #111111;
  --clr-bg-3: #161616;
  --clr-bg-4: #1c1c1c;

  /* Text Scale */
  --clr-text: #f4f4f4;
  --clr-text-muted: #9ca3af;
  --clr-text-dim: #6b7280;

  /* Borders */
  --clr-border: rgba(255, 255, 255, 0.07);
  --clr-border-light: rgba(255, 255, 255, 0.12);

  /* Typography */
  --ff-display: 'TUM', 'Poppins', sans-serif;
  --ff-heading: 'Poppins', sans-serif;
  --ff-body: 'Poppins', sans-serif;
  --ff-mono: 'Geist', monospace;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container-max: 1320px;
  --container-pad: clamp(20px, 5vw, 80px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: var(--ff-body);
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

/* ── CUSTOM CURSOR ───────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-primary);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--clr-primary);
  opacity: 0.5;
  transition: transform 0.15s var(--ease), opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease);
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  opacity: 0.25;
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── SCROLL REVEAL ANIMATIONS ───────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ── LAYOUT UTILITIES ────────────────────────────────────────── */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-py) var(--container-pad);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-dim);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(122, 209, 0, 0.2);
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--ff-heading);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--clr-text);
}

.section-heading em {
  font-style: italic;
  color: var(--clr-primary);
  font-family: var(--ff-display);
  letter-spacing: 2px;
}

.section-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.section-body {
  font-size: 16px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-primary);
  color: #000;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 24px var(--clr-primary-glow), 0 0 0 0 var(--clr-primary-dim);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--clr-primary-glow), 0 0 60px var(--clr-primary-dim);
}

.btn-primary:hover::before { opacity: 1; }

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

.btn-primary i {
  transition: transform 0.3s var(--ease);
  font-size: 13px;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--clr-text);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border-light);
  transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: var(--clr-primary-dim);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border-light);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.btn-outline:hover {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-outline i { transition: transform 0.3s var(--ease); }
.btn-outline:hover i { transform: translateX(3px); }

/* ── NAVBAR ──────────────────────────────────────────────────── */
/* ── Variables ─────────────────────────────────── */
:root {
  --tm-green:       #7AD100;
  --tm-green-dim:   rgba(122,209,0,0.12);
  --tm-green-glow:  rgba(122,209,0,0.28);
  --tm-bg-nav:      rgba(10,10,10,0.55);
  --tm-bg-card:     #1a1a1a;
  --tm-border:      rgba(255,255,255,0.10);
  --tm-text:        #f4f4f4;
  --tm-text-muted:  #9ca3af;
  --tm-ease:        cubic-bezier(0.25,0.46,0.45,0.94);
  --tm-spring:      cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Header wrapper ────────────────────────────── */
#mainHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px clamp(14px,4vw,52px) 0;
}

/* ================================================================
   HEADER — Pure CSS (Desktop + Mobile) — No JavaScript
================================================================ */

/* ── Hidden checkbox ─────────────────────────────────────────── */
.nav-toggle-check { display: none; }

/* ── Header wrapper ──────────────────────────────────────────── */
#mainHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px clamp(14px, 4vw, 52px) 0;
}

/* ── Navbar pill ─────────────────────────────────────────────── */
.tm-navbar {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  transition: background 0.4s ease, box-shadow 0.4s;
}
.tm-navbar.scrolled {
  background: rgba(9, 9, 9, 0.96);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Inner row ───────────────────────────────────────────────── */
.tm-nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Logo ────────────────────────────────────────────────────── */
.tm-logo { display: flex; align-items: center; text-decoration: none; }
.tm-logo img { width: 148px; height: auto; display: block; }

/* ── Desktop nav links ───────────────────────────────────────── */
.tm-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.tm-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(156, 163, 175, 1);
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  font-family: var(--ff-body);
}
.tm-link:hover { color: #f4f4f4; background: rgba(255, 255, 255, 0.07); }
.tm-link.active { color: #7AD100; background: rgba(122, 209, 0, 0.12); }
.tm-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7AD100;
  transition: transform 0.2s ease;
}
.tm-link:hover::after { transform: translateX(-50%) scale(1); }
.tm-link.active::after { display: none; }

/* ── Services dropdown ───────────────────────────────────────── */
.tm-has-drop { position: relative; }
.tm-chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.tm-has-drop:hover .tm-chevron { transform: rotate(180deg); }

.tm-dropdown {
  position: absolute;
  top: calc(100% + 1px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 8px;
  min-width: 220px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 200;
}
.tm-has-drop:hover .tm-dropdown,
.tm-has-drop:focus-within .tm-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.tm-drop-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(156, 163, 175, 1);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.tm-drop-link:hover { background: rgba(122, 209, 0, 0.12); color: #7AD100; }
.tm-drop-icon { font-size: 9px; color: #7AD100; opacity: 0.7; flex-shrink: 0; }

/* ── CTA button ──────────────────────────────────────────────── */
.tm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #7AD100;
  color: #000 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--ff-body);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(122, 209, 0, 0.28);
}
.tm-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(122, 209, 0, 0.35);
  color: #000 !important;
}
.tm-cta-btn svg { transition: transform 0.25s ease; }
.tm-cta-btn:hover svg { transform: translateX(3px); }

/* ── Hamburger label ─────────────────────────────────────────── */
.tm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.tm-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #f4f4f4;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
  pointer-events: none;
}

/* Hamburger → X when nav-toggle is checked */
.nav-toggle-check:checked ~ .tm-navbar .tm-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-check:checked ~ .tm-navbar .tm-hamburger span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle-check:checked ~ .tm-navbar .tm-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Backdrop ────────────────────────────────────────────────── */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.nav-toggle-check:checked ~ .nav-backdrop {
  opacity: 1;
  pointer-events: all;
}

/* ── Mobile drawer ───────────────────────────────────────────── */
.mob-drawer {
  position: fixed;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94) translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.nav-toggle-check:checked ~ .mob-drawer {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0);
}

/* Drawer top bar */
.mob-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: #1c1c1c;
}
.mob-drawer-top .tm-logo img { width: 120px; }

/* Close button */
.mob-close-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mob-close-btn:hover { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.mob-close-btn svg { pointer-events: none; }

/* Nav links container */
.mob-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  flex: 1;
  overflow-y: auto;
  gap: 2px;
  background: #1c1c1c;
}

/* Each mobile link */
.mob-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 15px 16px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: rgba(200, 200, 200, 0.9) !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  font-family: var(--ff-body) !important;
  transition: background 0.15s, color 0.15s !important;
  width: 100% !important;
  text-align: left !important;
  -webkit-tap-highlight-color: transparent !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
}
.mob-link:hover { background: rgba(255, 255, 255, 0.06) !important; color: #ffffff !important; }
.mob-link:active { background: rgba(122, 209, 0, 0.10) !important; color: #7AD100 !important; }

/* Services accordion */
.mob-acc-wrap { width: 100%; }
.mob-acc-check { display: none; }
.mob-acc-label { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.mob-acc-arrow {
  flex-shrink: 0;
  color: rgba(200, 200, 200, 0.6);
  pointer-events: none;
  transition: transform 0.28s ease;
}
.mob-acc-check:checked ~ .mob-acc-label .mob-acc-arrow {
  transform: rotate(180deg);
}
.mob-acc-check:checked ~ .mob-acc-label {
  color: #7AD100 !important;
  background: rgba(122, 209, 0, 0.10) !important;
}

/* Sub links container */
.mob-sub-wrap {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 12px;
  gap: 2px;
}
.mob-acc-check:checked ~ .mob-sub-wrap { max-height: 280px; }

/* Sub link */
.mob-sub-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(180, 180, 180, 0.8) !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  transition: background 0.15s, color 0.15s !important;
  -webkit-tap-highlight-color: transparent !important;
}
.mob-sub-link::before {
  content: '›';
  font-size: 18px;
  color: #7AD100;
  line-height: 1;
  flex-shrink: 0;
}
.mob-sub-link:hover { background: rgba(122, 209, 0, 0.10) !important; color: #7AD100 !important; }

/* Bottom CTA */
.mob-cta-wrap {
  padding: 14px 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: #1c1c1c;
}
.mob-cta-full {
  width: 100% !important;
  justify-content: center !important;
  padding: 16px !important;
  font-size: 15px !important;
  border-radius: 14px !important;
}

/* Desktop: show CTA, hide hamburger and drawer */
.tm-cta-desktop { display: inline-flex; }

/* Mobile breakpoints */
@media (max-width: 1024px) {
  .tm-nav-links { display: none; }
  .tm-cta-desktop { display: none; }
  .tm-hamburger { display: flex; }
}
@media (max-width: 768px) {
  #mainHeader { padding: 12px 14px 0; }
  .tm-nav-inner { padding: 10px 14px; }
  .tm-logo img { width: 130px; }
}

/* Notch / safe-area phones */
@supports (padding: max(0px)) {
  .mob-drawer {
    top:    max(14px, env(safe-area-inset-top));
    bottom: max(14px, env(safe-area-inset-bottom));
    left:   max(14px, env(safe-area-inset-left));
    right:  max(14px, env(safe-area-inset-right));
  }
  .whatsapp-float {
    bottom: max(24px, env(safe-area-inset-bottom));
    right:  max(20px, env(safe-area-inset-right));
  }
}

/* ── HERO SECTION ────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Background orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 209, 0, 0.12), transparent 70%);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122, 209, 0, 0.06), transparent 70%);
  bottom: 100px;
  left: -100px;
}

/* Grid pattern */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--container-pad) 60px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  /* gap: 60px; */
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
/* 🔥 Top Right Green Glow */
#home::before {
    content: "";
    position: absolute;
    top: -50%;
    right: 25%;
    width: 600px;
    height: 600px;
    z-index: -10;
   background: radial-gradient(circle,
    rgba(121, 209, 0, 0.55) 0%,
    rgba(121, 209, 0, 0.28) 35%,
    rgba(121, 209, 0, 0.12) 55%,
    rgba(121, 209, 0, 0.04) 70%,
    transparent 85%
);

filter: blur(20px);
    animation: floatGlow 25s ease-in-out infinite;
    pointer-events: none;
    /* z-index: 1; */
}

/* 🔥 Bottom Left Green Glow */
#home::after {
    content: "";
    position: absolute;
    bottom: -70%;
    left: 25%;  
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            rgba(136, 0, 209, 0.5) 0%,
            rgba(139, 0, 209, 0.211) 30%,
            rgba(202, 0, 209, 0.078) 50%,
            transparent 70%);
    animation: floatGlow 15s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -10;
}
@media (max-width: 1200px) {
    #home::before,
    #home::after {
        width: 40px;
        height: 400px;
    }
}@media (max-width: 991px) {
    #home::before,
    #home::after {
        width: 350px;
        height: 350px;
    }
}
@media (max-width: 768px) {
    #home::before {
        width: 300px;
        height: 300px;
        top: -20% !important;
        right: -25%;
    }

    #home::after {
        width: 400px;
        height: 400px;
        bottom: -65%;
        left: -10%;
    }

    @keyframes floatGlow {
        0% {
            transform: translate(100px, -60px) scale(1.5);
        }

        25% {
            transform: translate(50px, -30px) scale(2);
        }

        50% {
            transform: translate(-50px, -30px) scale(2.5);
        }

        75% {
            transform: translate(-100px, -60px) scale(2);
        }

        100% {
            transform: translate(100px, -60px) scale(1.5);
        }
    }
}
@media (max-width: 576px) {
    #home::before {
        width: 350px;
        height: 350px;
        top: -12%;
        right: -30%;
    }

    #home::after {
        width: 350px;
        height: 350px;
        bottom: -20%;
        left: -20%;
    }
}

/* Green Glow Animation */
@keyframes floatGlow {
    0% {
        transform: translate(300px, -60px) scale(1.2);
    }

    25% {
        transform: translate(150px, -30px) scale(1.4);
    }

    50% {
        transform: translate(-150px, -30px) scale(1.5);
    }

    75% {
        transform: translate(-300px, -60px) scale(1.4);
    }

    100% {
        transform: translate(300px, -60px) scale(1.2);
    }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--clr-primary);
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--ff-heading);
  font-size: clamp(44px, 6vw, 65px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--clr-text);
  z-index: 999 !important;
}

.headline-highlight {
  color: var(--clr-primary);
  position: relative;
  display: inline-block;
}

.headline-italic {
  font-style: italic;
  font-family: var(--ff-display);
  color: var(--clr-primary);
  letter-spacing: 2px;
}

/* Rotating word animation */
.rotating-word {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.rotating-word.fade-exit {
  opacity: 0;
  transform: translateY(-12px);
}

.rotating-word.fade-enter {
  opacity: 0;
  transform: translateY(12px);
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-stat strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1;
}

.trust-stat span {
  font-size: 12px;
  color: var(--clr-text-dim);
  font-weight: 400;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--clr-border-light);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 360px;
}

.hero-card {
  position: absolute;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-xl);
  transition: transform 0.6s var(--ease);
}

.card-back {
  width: 260px;
  height: 200px;
  top: 0;
  left: 60px;
  transform: rotate(-8deg) translateY(-10px);
  background: linear-gradient(135deg, var(--clr-bg-3), var(--clr-bg-4));
  opacity: 0.5;
  animation: float-back 6s ease-in-out infinite;
}

.card-mid {
  width: 280px;
  height: 200px;
  top: 40px;
  left: 30px;
  transform: rotate(-3deg);
  background: linear-gradient(135deg, var(--clr-bg-3), var(--clr-bg-4));
  opacity: 0.7;
  animation: float-mid 5s ease-in-out infinite 0.5s;
}

.card-front {
  width: 300px;
  height: 240px;
  top: 80px;
  left: 20px;
  transform: rotate(2deg);
  background: linear-gradient(135deg, #1a1a1a, #141414);
  border-color: rgba(122, 209, 0, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--clr-primary-dim);
  animation: float-front 7s ease-in-out infinite 1s;
}

@keyframes float-back {
  0%, 100% { transform: rotate(-8deg) translateY(-10px); }
  50% { transform: rotate(-8deg) translateY(-20px); }
}

@keyframes float-mid {
  0%, 100% { transform: rotate(-3deg) translateY(0px); }
  50% { transform: rotate(-3deg) translateY(-12px); }
}

@keyframes float-front {
  0%, 100% { transform: rotate(2deg) translateY(0px); }
  50% { transform: rotate(2deg) translateY(-8px); }
}

.hero-card-inner {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  font-family: var(--ff-mono);
}

.card-icon-wrap {
  font-size: 32px;
  color: var(--clr-text-muted);
  opacity: 0.6;
}

.hero-card-logo {
  width: 140px;
  filter: brightness(10);
}

.card-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.card-services-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-services-mini span {
  font-size: 10px;
  font-weight: 600;
  background: var(--clr-primary-dim);
  color: var(--clr-primary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-mono);
}

/* ── HERO MARQUEE ────────────────────────────────────────────── */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 16px 0;
  background: var(--clr-bg-2);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
  font-family: var(--ff-mono);
  letter-spacing: 0.05em;
}

.marquee-dot {
  color: var(--clr-primary) !important;
  font-size: 10px !important;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 20px;
  }

  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  .hero-visual {
    order: 1;
  }

  .hero-card-stack {
    width: 280px;
    height: 300px;
    margin: 0 auto;
  }

  .card-front { width: 260px; height: 210px; }
  .card-mid { width: 240px; }
  .card-back { width: 220px; left: 40px; }
}

@media (max-width: 640px) {
  /* .hero-visual { display: none; } */
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-left .section-eyebrow { margin-bottom: 20px; }
.about-left .section-heading { text-align: left; margin-bottom: 20px; }

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border-light);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}

.pill-badge i { color: var(--clr-primary); font-size: 12px; }

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-card {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-border-light);
}

.about-stat-card.accent-card {
  background: var(--clr-primary-dim);
  border-color: rgba(122, 209, 0, 0.2);
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--clr-text);
  font-family: var(--ff-heading);
}

.about-stat-card.accent-card .stat-number { color: var(--clr-primary); }

.stat-number span {
  font-size: 30px;
  color: var(--clr-primary);
}

.about-stat-card.accent-card .stat-number span { color: var(--clr-primary); }

.stat-label {
  font-size: 13px;
  color: var(--clr-text-muted);
  font-weight: 400;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-left .section-heading { text-align: center; }
  .about-left .section-eyebrow { display: block; text-align: center; }
  .about-badges { justify-content: center; }
  .about-left .btn-primary { display: flex; justify-content: center; }
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card-featured {
  border-color: rgba(122, 209, 0, 0.25);
  background: linear-gradient(160deg, #161f0a, #111111);
}

.service-card-featured:hover {
  box-shadow: 0 20px 60px rgba(122, 209, 0, 0.1);
}

.service-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--clr-primary);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-mono);
}

.service-card-inner {
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--clr-primary);
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(122, 209, 0, 0.2);
}

.service-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-text-dim);
  font-family: var(--ff-mono);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--clr-text);
  font-family: var(--ff-heading);
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-bg-4);
  border: 1px solid var(--clr-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-mono);
  letter-spacing: 0.03em;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary);
  transition: gap 0.2s var(--ease);
  margin-top: auto;
}

.service-cta:hover { gap: 14px; }

.service-card-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 80px;
  background: var(--clr-primary-dim);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover .service-card-glow { opacity: 1; }
.featured-glow { background: rgba(122, 209, 0, 0.15); }

@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── PROCESS SECTION ─────────────────────────────────────────── */
.process-section {
  background: var(--clr-bg);
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 0 32px;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border-light), transparent);
}

.step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  font-family: var(--ff-mono);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--clr-bg);
  padding-right: 12px;
}

.step-line {
  height: 1px;
  background: var(--clr-border-light);
  position: absolute;
  top: 32px;
  left: 50px;
  right: -20px;
  display: none; /* Using CSS grid layout instead */
}

.step-content {
  padding: 32px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}

.process-step:hover .step-content {
  border-color: var(--clr-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--clr-primary-dim);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-spring);
}

.process-step:hover .step-icon { transform: rotate(10deg) scale(1.1); }

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
  font-family: var(--ff-heading);
}

.step-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-step { padding: 0; }
}

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ── PORTFOLIO SECTION ───────────────────────────────────────── */
.portfolio-section { background: var(--clr-bg-2); }

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.portfolio-header .section-heading {
  text-align: left;
  margin-bottom: 0;
}

.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  transition: all 0.25s var(--ease);
  font-family: var(--ff-body);
  background: transparent;
}

.filter-tab:hover {
  color: var(--clr-text);
  border-color: var(--clr-border-light);
}

.filter-tab.active {
  background: var(--clr-primary);
  color: #000;
  border-color: var(--clr-primary);
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 48px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  aspect-ratio: 4/3;
  transition: all 0.4s var(--ease);
}

.portfolio-item.item-large {
  grid-column: span 2;
  grid-row: span 1;
}

.portfolio-item.item-wide {
  grid-column: span 2;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 10px;
  font-family: var(--ff-mono);
}

.portfolio-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--ff-heading);
}

.portfolio-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-weight: 300;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary);
  transition: gap 0.2s;
}

.portfolio-link:hover { gap: 10px; }

.portfolio-item.hidden {
  display: none;
}

.portfolio-cta { text-align: center; }

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.item-large { grid-column: span 2; }
  .portfolio-item.item-wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.item-large,
  .portfolio-item.item-wide { grid-column: span 1; }
  .portfolio-overlay { opacity: 1; }
}

/* ── WHY US SECTION ──────────────────────────────────────────── */
.why-section { background: var(--clr-bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-border-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--clr-primary);
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-spring);
}

.why-card:hover .why-icon { transform: rotate(8deg) scale(1.1); }

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
  font-family: var(--ff-heading);
}

.why-card p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

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

.testimonials-track-wrapper {
  overflow: hidden;
  margin-bottom: 32px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
}

.testimonial-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: border-color 0.3s;
}

.testimonial-card:hover { border-color: var(--clr-border-light); }

.testimonial-stars {
  color: var(--clr-primary);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 36px;
  color: var(--clr-primary);
  font-family: serif;
  line-height: 1;
  opacity: 0.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--clr-primary-dim);
  border: 2px solid rgba(122, 209, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-primary);
  flex-shrink: 0;
  font-family: var(--ff-heading);
}

.author-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 13px;
  color: var(--clr-text-dim);
  font-weight: 400;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border-light);
  transition: all 0.3s var(--ease);
}

.t-dot.active {
  background: var(--clr-primary);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .testimonial-card { flex: 0 0 100%; }
}

/* ── FAQ SECTION ─────────────────────────────────────────────── */
.faq-section { background: var(--clr-bg); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.faq-left .section-heading { text-align: left; margin-bottom: 16px; }
.faq-left .section-eyebrow { margin-bottom: 16px; }
.faq-left .section-body { margin-bottom: 28px; }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-text);
  transition: color 0.25s;
  text-align: left;
  font-family: var(--ff-body);
  background: none;
}

.faq-question:hover { color: var(--clr-primary); }

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--clr-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  font-size: 12px;
  color: var(--clr-text-muted);
}

.faq-item.open .faq-toggle {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #000;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer-inner {
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-left .section-heading { text-align: center; }
  .faq-left .section-eyebrow { display: block; text-align: center; }
  .faq-left .section-body { text-align: center; }
  .faq-left .btn-primary { display: flex; justify-content: center; }
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-heading { text-align: left; margin-bottom: 14px; }
.contact-info .section-eyebrow { margin-bottom: 16px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.contact-detail-item:hover {
  border-color: var(--clr-primary);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  font-family: var(--ff-mono);
  margin-bottom: 2px;
}

.contact-detail-item span {
  font-size: 14px;
  color: var(--clr-text-muted);
  font-weight: 400;
}

.contact-social {
  display: flex;
  gap: 12px;
}

.social-icon-link {
  width: 42px;
  height: 42px;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 15px;
  transition: all 0.25s var(--ease);
}

.social-icon-link:hover {
  background: var(--clr-primary-dim);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
#formSuccess {
    min-height: 800px;
    margin-top: auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
  font-family: var(--ff-mono);
  letter-spacing: 0.05em;
}

.form-field label span { color: var(--clr-primary); }

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--clr-bg-4);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-weight: 400;
  transition: all 0.25s var(--ease);
  outline: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--clr-text-dim);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--clr-primary);
  background: var(--clr-bg-3);
  box-shadow: 0 0 0 3px var(--clr-primary-dim);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-field select option {
  background: var(--clr-bg-3);
  color: var(--clr-text);
}

.form-field textarea { resize: vertical; min-height: 120px; }

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--clr-border-light);
  border-radius: 4px;
  background: var(--clr-bg-4);
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
  position: relative;
}

.checkbox-item input:checked + .checkbox-custom {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.checkbox-item input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #000;
  font-weight: 700;
}

.checkbox-item span:last-child {
  font-size: 14px;
  color: var(--clr-text-muted);
  font-weight: 400;
}

.field-error {
  font-size: 12px;
  color: #ef4444;
  font-weight: 500;
  min-height: 16px;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--clr-primary);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  padding: 17px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--ff-body);
  box-shadow: 0 4px 24px var(--clr-primary-glow);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--clr-primary-glow);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Form status messages */
.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-success i { font-size: 20px; }
.form-success strong { display: block; font-size: 15px; margin-bottom: 2px; color: #22c55e; }
.form-success span { font-size: 13px; color: rgba(34, 197, 94, 0.8); }

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-info .section-heading { text-align: center; }
  .contact-info .section-eyebrow { display: block; text-align: center; }
  .contact-info .section-body { text-align: center; }
}

@media (max-width: 640px) {
  .contact-form-wrapper { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

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

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px var(--container-pad) 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 32px;
}

.footer-logo { width: 140px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 14px;
  transition: all 0.25s var(--ease);
}

.footer-social-link:hover {
  background: var(--clr-primary-dim);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text);
  font-family: var(--ff-mono);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--clr-text-muted);
  font-weight: 300;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--clr-primary); }

.footer-newsletter-text {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 300;
}

.newsletter-input-wrap {
  display: flex;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-pill);
  background: var(--clr-bg-2);
}

.newsletter-input-wrap input {
  flex: 1;
  padding: 12px 18px;
  background: transparent;
  border: none;
  color: var(--clr-text);
  font-size: 14px;
  font-family: var(--ff-body);
  outline: none;
}

.newsletter-input-wrap input::placeholder { color: var(--clr-text-dim); }

.newsletter-input-wrap button {
  padding: 12px 18px;
  background: var(--clr-primary);
  color: #000;
  font-size: 14px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  transition: background 0.2s;
  cursor: pointer;
}

.newsletter-input-wrap button:hover { background: var(--clr-primary-dark); }

.newsletter-success {
  font-size: 13px;
  color: var(--clr-primary);
  margin-top: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--clr-text-dim);
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--clr-text-dim);
  font-weight: 300;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--clr-text); }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── POPUP MODAL ─────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup-modal {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease-spring);
}

.popup-overlay.active .popup-modal {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--clr-bg-4);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}

.popup-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.popup-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-primary);
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122, 209, 0, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-mono);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.popup-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: 8px;
  font-family: var(--ff-heading);
  letter-spacing: -0.02em;
}

.popup-title strong { color: var(--clr-primary); }

.popup-sub {
  font-size: 14px;
  color: var(--clr-text-muted);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.6;
}

.popup-form { display: flex; flex-direction: column; gap: 14px; }

.popup-field {
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}

.popup-field:focus-within { border-color: var(--clr-primary); }

.popup-field input {
  width: 100%;
  padding: 14px 16px;
  background: var(--clr-bg-4);
  border: none;
  color: var(--clr-text);
  font-size: 15px;
  font-family: var(--ff-body);
  outline: none;
}

.popup-field input::placeholder { color: var(--clr-text-dim); }

.popup-phone {
  display: flex;
  align-items: stretch;
}

.phone-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--clr-bg-4);
  border-right: 1px solid var(--clr-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-muted);
  flex-shrink: 0;
}

.popup-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--clr-primary);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--ff-body);
  box-shadow: 0 4px 20px var(--clr-primary-glow);
}

.popup-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--clr-primary-glow);
}

.popup-privacy {
  font-size: 11px;
  color: var(--clr-text-dim);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 400;
  margin-top: 4px;
}

/* Popup states */
.popup-success,
.popup-sad {
  text-align: center;
  padding: 20px 0;
}

.popup-reaction { text-align: center; }

.reaction-emoji {
  font-size: 52px;
  margin-bottom: 16px;
}

.popup-success h3,
.popup-sad h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
  font-family: var(--ff-heading);
}

.popup-success p,
.popup-sad p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.popup-sad a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease-spring);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.5s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--ff-body);
  border: 1px solid var(--clr-border-light);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 24px;
  }
}

/* ── MOBILE NAV OVERLAY ──────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── MISC UTILITIES ──────────────────────────────────────────── */
.text-primary { color: var(--clr-primary); }

/* Scroll lock */
body.menu-open { overflow: hidden; }

/* Selection */
::selection {
  background: var(--clr-primary);
  color: #000;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-text-dim); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
}

/* Print */
@media print {
  .whatsapp-float,
  .popup-overlay,
  #mainHeader { display: none !important; }
}

/* ================================================================
   MOBILE RESPONSIVENESS — FULL FIX (appended)
================================================================ */

/* ── GENERAL MOBILE BASE ─────────────────────────────────────── */
@media (max-width: 768px) {
  /* Prevent any element from causing horizontal scroll */
  section, .section-container, .hero, .hero-container,
  .about-section, .services-section, .process-section,
  .portfolio-section, .why-section, .testimonials-section,
  .faq-section, .contact-section, footer { overflow-x: hidden; }

  /* Section spacing tighter on mobile */
  :root { --section-py: clamp(56px, 10vw, 80px); }

  /* Section headings scale down */
  .section-heading { font-size: clamp(28px, 7vw, 40px); }
  .page-hero-title { font-size: clamp(30px, 8vw, 48px); }

  /* Eyebrow tags smaller */
  .section-eyebrow { font-size: 10px; }

  /* Section sub text */
  .section-sub { font-size: 14px; }
  .section-body { font-size: 14px; text-align: center;}
}

/* ── HERO MOBILE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { min-height: 100svh; padding-top: 90px; }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 24px 20px 0;
    gap: 32px;
    text-align: center;
    /* height: 100vh; */
  }

  .hero-headline { font-size: clamp(25px, 9vw, 54px); }
  .hero-sub { font-size: 15px; max-width: 100%; margin-bottom: 28px; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .hero-trust {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .trust-stat strong { font-size: 20px; }
  .trust-stat span { font-size: 11px; }
  .trust-divider { height: 28px; }

  .hero-visual { display: block; } /* Hide card stack on small mobile */

  /* Marquee smaller text on mobile */
  .marquee-track span { font-size: 11px; }
  .marquee-wrapper { padding: 12px 0; }
}

/* ── ABOUT SECTION MOBILE ────────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-left .section-heading,
  .about-left .section-eyebrow { text-align: center; }

  .about-badges { justify-content: center; }

  .about-left .btn-primary {
    display: flex;
    justify-content: center;
  }

  .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .about-stat-card { padding: 20px 16px; }
  .stat-number { font-size: 36px; }
  .stat-number span { font-size: 22px; }
}

/* ── SERVICES MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card-inner { padding: 24px 20px; }
  .service-featured-badge { font-size: 9px; padding: 3px 10px; }
}

/* ── PROCESS MOBILE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-step { padding: 0; }
  .step-content { padding: 24px 20px; }
  .step-number { margin-bottom: 0; padding-bottom: 12px; }
}

/* ── PORTFOLIO MOBILE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .portfolio-header .section-heading { font-size: clamp(28px, 7vw, 40px); }

  .portfolio-filters {
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }

  .portfolio-filters::-webkit-scrollbar { display: none; }

  .filter-tab {
    flex-shrink: 0;
    padding: 7px 16px;
    font-size: 12px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-item.item-large,
  .portfolio-item.item-wide { grid-column: span 1; }

  .portfolio-overlay { opacity: 1; }
  .portfolio-name { font-size: 16px; }
}

/* ── WHY US MOBILE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 24px 20px; }
}

/* ── TESTIMONIALS MOBILE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
    padding: 28px 20px;
  }

  .testimonial-text { font-size: 14px; padding-left: 16px; }
  .testimonial-text::before { font-size: 28px; }
}

/* ── FAQ MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-left .section-heading,
  .faq-left .section-eyebrow,
  .faq-left .section-body { text-align: center; }

  .faq-left .btn-primary { display: flex; justify-content: center; }

  .faq-question { font-size: 14px; padding: 18px 0; gap: 14px; }
  .faq-toggle { width: 28px; height: 28px; flex-shrink: 0; }
}

/* ── CONTACT MOBILE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info .section-heading,
  .contact-info .section-eyebrow,
  .contact-info .section-body { text-align: center; }

  .contact-details { gap: 10px; }
  .contact-detail-item { padding: 12px; gap: 12px; }
  .contact-social { justify-content: center; }

  .contact-form-wrapper { padding: 20px 16px; }

  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .checkbox-grid { grid-template-columns: 1fr; gap: 8px; }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 13px 14px;
  }
}

/* ── FOOTER MOBILE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-col { text-align: center; }
  .footer-social { justify-content: center; }

  .footer-col-title { margin-bottom: 14px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

/* ── POPUP MOBILE ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .popup-modal {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    margin: 12px;
    max-width: calc(100vw - 24px);
  }

  .popup-title { font-size: 24px; }
  .popup-sub { font-size: 13px; }
}

/* ── PAGE HERO MOBILE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 120px 20px 56px; }

  .page-hero-inner { max-width: 100%; }

  .page-hero-stats {
    gap: 20px;
    padding-top: 24px;
  }

  .page-hero-stat strong { font-size: 26px; }
  .page-hero-stat span { font-size: 12px; }

  .cta-banner { padding: 36px 20px; }
  .cta-banner h2 { font-size: clamp(22px, 6vw, 32px); }
  .cta-banner-btns { flex-direction: column; }
  .cta-banner-btns .btn-primary,
  .cta-banner-btns .btn-ghost { width: 100%; justify-content: center; }
}

/* ── SERVICE PAGES MOBILE ────────────────────────────────────── */
@media (max-width: 768px) {
  .service-features-grid { grid-template-columns: 1fr; gap: 14px; }
  .sf-card { padding: 22px 18px; }

  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card { padding: 28px 20px; }
  .plan-price .amount { font-size: 36px; }
}

/* ── BLOG PAGE MOBILE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-grid-layout { grid-template-columns: 1fr; gap: 16px; }
  .blog-card-featured { grid-column: span 1; flex-direction: column; }
  .blog-card-featured .blog-card-img { width: 100%; }
  .blog-card-featured .blog-card-img img { height: 200px; }
  .blog-card-img img { height: 180px; }
  .blog-card-body { padding: 18px; }
  .blog-card-featured h3 { font-size: 18px; }
}

/* ── PORTFOLIO PAGE GRID MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
  .portfolio-page-grid { grid-template-columns: 1fr; gap: 14px; }
  .portfolio-page-item.item-wide { grid-column: span 1; }
  .portfolio-page-item.item-tall { grid-row: span 1; }
  .portfolio-page-overlay { opacity: 1; }
}

/* ── SMALL MOBILE (≤ 375px) ──────────────────────────────────── */
@media (max-width: 375px) {
  .hero-headline { font-size: 32px; }
  .section-heading { font-size: 26px; }
  .btn-primary, .btn-ghost { padding: 13px 20px; font-size: 14px; }
  .nav-container { padding: 10px 12px; }
}

/* ── SAFE AREA (notch phones) ────────────────────────────────── */
@supports (padding: max(0px)) {
  .nav-links { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
  .whatsapp-float {
    bottom: max(24px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
  }
}

/* ── NO HOVER DEVICES — show overlays always ─────────────────── */
@media (hover: none) {
  .portfolio-overlay,
  .portfolio-page-overlay { opacity: 1; }
}

/* ── SINGLE BLOG / CASE STUDY PAGE ──────────────────────────── */
.article-layout {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 80px;
}

.article-header { margin-bottom: 40px; }

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-cat {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--clr-primary); background: var(--clr-primary-dim);
  border: 1px solid rgba(122,209,0,0.2);
  padding: 4px 12px; border-radius: var(--radius-pill); font-family: var(--ff-mono);
}

.article-meta-info {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--clr-text-dim); font-family: var(--ff-mono);
}

.article-meta-info span { display: flex; align-items: center; gap: 5px; }
.article-meta-info i { color: var(--clr-primary); }

.article-title {
  font-family: var(--ff-heading);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.article-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--clr-text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 28px;
}

.article-author {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border);
}

.author-av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--clr-primary-dim); border: 2px solid rgba(122,209,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--clr-primary); flex-shrink: 0;
}

.author-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.article-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--clr-text); }
.article-author span { font-size: 12px; color: var(--clr-text-dim); }

/* Hero Image */
.article-hero-img {
  width: 100%; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 40px;
  border: 1px solid var(--clr-border);
}

.article-hero-img img { width: 100%; height: 400px; object-fit: cover; display: block; }

/* Article Body */
.article-body {
  font-size: 16px;
  color: var(--clr-text-muted);
  line-height: 1.85;
  font-weight: 300;
}

.article-body h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; color: var(--clr-text);
  margin: 48px 0 16px;
  font-family: var(--ff-heading);
  letter-spacing: -0.01em;
  padding-top: 8px;
  border-top: 1px solid var(--clr-border);
}

.article-body h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700; color: var(--clr-text);
  margin: 32px 0 12px;
  font-family: var(--ff-heading);
}

.article-body p { margin-bottom: 20px; }

.article-body strong { color: var(--clr-text); font-weight: 600; }

.article-body em { color: var(--clr-primary); font-style: italic; }

.article-body a { color: var(--clr-primary); text-decoration: none; text-underline-offset: 3px; }

.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
}

.article-body ul li, .article-body ol li {
  margin-bottom: 10px;
  padding-left: 8px;
  list-style: initial;
}

.article-body ol li { list-style: decimal; }

/* Callout / pull quote */
.article-callout {
  background: var(--clr-primary-dim);
  border-left: 3px solid var(--clr-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.6;
  font-style: italic;
}

/* Stat highlight box */
.article-stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat-box-item {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}

.stat-box-item strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--clr-primary);
  font-family: var(--ff-heading);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-box-item span { font-size: 13px; color: var(--clr-text-muted); }

/* Image in article */
.article-img {
  margin: 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.article-img img { width: 100%; height: auto; display: block; }
.article-img figcaption { font-size: 12px; color: var(--clr-text-dim); text-align: center; padding: 10px; font-style: italic; }

/* Tags footer */
.article-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 32px; margin-top: 40px;
  border-top: 1px solid var(--clr-border);
}

.article-tag {
  font-size: 12px; font-weight: 600; color: var(--clr-text-muted);
  background: var(--clr-bg-3); border: 1px solid var(--clr-border);
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-family: var(--ff-mono); transition: all 0.2s;
}

.article-tag:hover { border-color: var(--clr-primary); color: var(--clr-primary); }

/* Share row */
.article-share {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; flex-wrap: wrap;
}

.article-share span { font-size: 13px; font-weight: 600; color: var(--clr-text-muted); }

.share-btn {
  width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-muted); font-size: 14px;
  transition: all 0.2s; background: var(--clr-bg-3);
}

.share-btn:hover { background: var(--clr-primary-dim); border-color: var(--clr-primary); color: var(--clr-primary); }

/* Sidebar */
.article-sidebar { position: sticky; top: 120px; }

.sidebar-widget {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clr-text); font-family: var(--ff-mono); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--clr-border);
}

/* TOC */
.toc-list { display: flex; flex-direction: column; gap: 8px; }

.toc-link {
  font-size: 13px; color: var(--clr-text-muted); font-weight: 400;
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 8px; border-radius: var(--radius-sm);
  transition: all 0.2s; line-height: 1.4;
}

.toc-link:hover, .toc-link.active {
  color: var(--clr-primary); background: var(--clr-primary-dim);
}

.toc-link::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--clr-primary-dim);
  border: 1.5px solid var(--clr-primary); flex-shrink: 0; margin-top: 4px;
}

.toc-link.active::before { background: var(--clr-primary); }

/* Related posts */
.related-post {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--clr-border);
}

.related-post:last-child { border-bottom: none; padding-bottom: 0; }

.related-post-img {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
}

.related-post-img img { width: 100%; height: 100%; object-fit: cover; }

.related-post h4 { font-size: 13px; font-weight: 600; color: var(--clr-text); line-height: 1.4; margin-bottom: 4px; transition: color 0.2s; }
.related-post:hover h4 { color: var(--clr-primary); }
.related-post span { font-size: 11px; color: var(--clr-text-dim); font-family: var(--ff-mono); }

/* CTA Widget */
.sidebar-cta {
  background: var(--clr-primary-dim);
  border: 1px solid rgba(122,209,0,0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.sidebar-cta h3 { font-size: 17px; font-weight: 700; color: var(--clr-text); margin-bottom: 10px; line-height: 1.3; }
.sidebar-cta p { font-size: 13px; color: var(--clr-text-muted); margin-bottom: 16px; line-height: 1.6; font-weight: 300; }
.sidebar-cta .btn-primary { width: 100%; justify-content: center; }

/* Article layout responsive */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .article-layout { padding-top: 32px; padding-bottom: 48px; }
  .article-title { font-size: clamp(24px, 7vw, 36px); }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: clamp(20px, 5vw, 26px); margin: 36px 0 14px; }
  .article-body h3 { font-size: clamp(17px, 4vw, 20px); }
  .article-hero-img img { height: 220px; }
  .article-stat-box { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .article-stat-box { grid-template-columns: 1fr; }
  .article-callout { padding: 16px 18px; font-size: 15px; }
}

/* ── CASE STUDY SPECIFIC ─────────────────────────────────────── */
.cs-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  margin-bottom: 40px;
}

.cs-metric {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--clr-border);
}

.cs-metric:last-child { border-right: none; }

.cs-metric-val {
  display: block;
  font-size: 40px; font-weight: 800;
  color: var(--clr-primary); font-family: var(--ff-heading);
  line-height: 1; margin-bottom: 6px;
}

.cs-metric-label {
  font-size: 13px; color: var(--clr-text-muted); font-weight: 400;
}

.cs-challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.cs-card {
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.cs-card h4 { font-size: 14px; font-weight: 700; color: var(--clr-text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.cs-card h4 i { color: var(--clr-primary); }
.cs-card p { font-size: 14px; color: var(--clr-text-muted); line-height: 1.7; font-weight: 300; }

.cs-result-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--clr-border);
}

.cs-result-item:last-child { border-bottom: none; }

.cs-result-num {
  font-size: 36px; font-weight: 800; color: var(--clr-primary);
  font-family: var(--ff-heading); line-height: 1; flex-shrink: 0; min-width: 90px;
}

.cs-result-text strong { display: block; font-size: 15px; color: var(--clr-text); margin-bottom: 4px; }
.cs-result-text p { font-size: 13px; color: var(--clr-text-muted); margin: 0; font-weight: 300; line-height: 1.6; }

@media (max-width: 768px) {
  .cs-metrics-bar { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 16px; }
  .cs-metric { border-right: none; border-bottom: 1px solid var(--clr-border); padding: 0 0 16px; }
  .cs-metric:nth-child(2n) { border-right: none; }
  .cs-metric:nth-last-child(-n+2) { border-bottom: none; }
  .cs-metric-val { font-size: 32px; }
  .cs-challenge-grid { grid-template-columns: 1fr; }
  .cs-result-num { font-size: 28px; min-width: 70px; }
}
