/* =============================================
   PIXEL SYSTEMS — 3D IMMERSIVE DESIGN SYSTEM
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --clr-bg: #020a14;
  --clr-bg2: #040f1e;
  --clr-surface: rgba(8, 20, 40, 0.7);
  --clr-surface2: rgba(15, 35, 65, 0.5);
  --clr-cyan: #00d4ff;
  --clr-cyan-dim: rgba(0, 212, 255, 0.15);
  --clr-blue: #0066ff;
  --clr-purple: #7c3aed;
  --clr-red: #ff3b5c;
  --clr-red-dim: rgba(255, 59, 92, 0.15);
  --clr-text: #e8f4ff;
  --clr-text-muted: #7a9bbf;
  --clr-border: rgba(0, 212, 255, 0.12);
  --clr-border-hover: rgba(0, 212, 255, 0.45);

  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
  --shadow-red: 0 0 20px rgba(255, 59, 92, 0.4), 0 0 60px rgba(255, 59, 92, 0.15);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);

  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* html {
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
} */

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

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html { font-size: 16px; }

body {
  font-family: var(--font-primary);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  cursor: none;
}

/* Add this to force text wrapping on small screens */
h1, h2, h3, .hero-title, .section-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}


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

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

ul {
  list-style: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--clr-cyan);
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  transition: width 0.25s, height 0.25s;
  box-shadow: 0 0 10px var(--clr-cyan), 0 0 30px var(--clr-cyan);
  z-index: 10001;
  will-change: transform;
  pointer-events: none;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 212, 255, 0.6);
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  transition: width 0.35s, height 0.35s, border-color 0.35s;
  z-index: 10000;
  will-change: transform;
  pointer-events: none;
}

body:hover .cursor-dot {
  opacity: 1;
}

a:hover~.cursor-dot,
button:hover~.cursor-dot {
  width: 14px;
  height: 14px;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-cyan), var(--clr-blue), var(--clr-purple));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
  box-shadow: 0 0 10px var(--clr-cyan);
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(2, 10, 20, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--clr-border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.05);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #000;
  box-shadow: var(--shadow-neon);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2));
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, var(--clr-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-size: 0.6rem;
  color: var(--clr-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: var(--clr-text);
  background: var(--clr-cyan-dim);
}

.nav-link.active {
  color: var(--clr-cyan);
  background: var(--clr-cyan-dim);
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  border-radius: 50px;
  color: #000 !important;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-cyan);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO SECTION ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0, 102, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--clr-bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--clr-cyan);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 1;
  transform: translateY(0);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-cyan);
  box-shadow: 0 0 6px var(--clr-cyan);
  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.7);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
}

.hero-title .line1 {
  display: block;
  color: #fff;
}

.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-blue) 50%, var(--clr-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 1;
  transform: translateY(0);
  font-family: var(--font-secondary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  border-radius: 50px;
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.5);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: transparent;
  border: 1.5px solid var(--clr-border-hover);
  border-radius: 50px;
  color: var(--clr-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--clr-cyan-dim);
  border-color: var(--clr-cyan);
  color: var(--clr-cyan);
  transform: translateY(-3px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--clr-text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s 2.5s ease forwards;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--clr-cyan);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--clr-cyan);
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

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

/* ── FLOATING 3D ELEMENTS ── */
.hero-float-el {
  position: absolute;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  background: rgba(8, 25, 50, 0.7);
  border: 1px solid var(--clr-border);
  padding: 14px 18px;
  font-size: 0.8rem;
  z-index: 3;
  animation: float-card 6s ease-in-out infinite;
}

.float-el-1 {
  top: 22%;
  left: 6%;
  animation-delay: 0s;
}

.float-el-2 {
  top: 35%;
  right: 6%;
  animation-delay: -3s;
}

.float-el-3 {
  bottom: 20%;
  left: 10%;
  animation-delay: -1.5s;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }

  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

.float-el-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.float-stat-label {
  color: var(--clr-text-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.float-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

/* ── SECTION SHARED STYLES ── */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden; 
  max-width: 100vw;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--clr-cyan);
  box-shadow: 0 0 8px var(--clr-cyan);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

.section-title span {
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  line-height: 1.7;
  font-family: var(--font-secondary);
}

.section-header {
  margin-bottom: 70px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ── SERVICES SECTION ── */
#services {
  background: radial-gradient(ellipse at top, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
}

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

.service-card {
  perspective: 1000px;
  height: 320px;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color var(--transition);
}

.service-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
}

.service-card:hover .service-front,
.service-card:hover .service-back {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), inset 0 0 40px rgba(0, 212, 255, 0.03);
}

/* Holographic shimmer on hover */
.service-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0, 212, 255, 0.05) 40%, rgba(124, 58, 237, 0.05) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .service-front::after {
  opacity: 1;
}

.service-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.05));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--clr-cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent);
}

.service-card:hover .service-icon-wrap {
  box-shadow: var(--shadow-neon);
  background: rgba(0, 212, 255, 0.2);
}

.service-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.service-back-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-cyan);
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.service-feature::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--clr-cyan-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-cyan);
  font-size: 0.7rem;
  flex-shrink: 0;
  line-height: 20px;
  text-align: center;
}

.service-back-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  border-radius: 50px;
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all var(--transition);
}

.service-back-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-neon);
}

/* ── STATS SECTION ── */
#stats {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(0, 102, 255, 0.04), rgba(124, 58, 237, 0.03));
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

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

.stat-item {
  padding: 50px 24px;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--clr-border);
}

.stat-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.stat-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.stat-ring .ring-bg {
  fill: none;
  stroke: rgba(0, 212, 255, 0.08);
  stroke-width: 3;
}

.stat-ring .ring-fg {
  fill: none;
  stroke: url(#statGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-ring-number {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--clr-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1rem;
  background: linear-gradient(135deg, #fff, var(--clr-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  font-family: var(--font-secondary);
  letter-spacing: 0.5px;
}

/* ── TESTIMONIALS SECTION ── */
#testimonials {
  background: radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
  overflow: hidden;
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card {
  min-width: 380px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  /* transition: all var(--transition); */
  flex-shrink: 0;
}

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

.testimonial-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

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

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--clr-cyan);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-family: var(--font-secondary);
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #000;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.author-role {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.testimonial-stars {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.testi-btn:hover {
  background: var(--clr-cyan-dim);
  border-color: var(--clr-cyan);
  color: var(--clr-cyan);
  box-shadow: var(--shadow-neon);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  transition: all var(--transition);
  cursor: pointer;
}

.testi-dot.active {
  background: var(--clr-cyan);
  box-shadow: 0 0 8px var(--clr-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ── ABOUT SECTION ── */
#about {
  background: radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
}

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

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-3d-scene {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 50, 100, 0.8), rgba(0, 20, 50, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.about-3d-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 212, 255, 0.03) 0px, transparent 1px, transparent 40px, rgba(0, 212, 255, 0.03) 41px),
    repeating-linear-gradient(90deg, rgba(0, 212, 255, 0.03) 0px, transparent 1px, transparent 40px, rgba(0, 212, 255, 0.03) 41px);
}

.about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-floating-cards {
  position: absolute;
  inset: 0;
}

.about-mini-card {
  position: absolute;
  background: rgba(8, 20, 40, 0.85);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  animation: float-card 5s ease-in-out infinite;
}

.amc1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.amc2 {
  bottom: 15%;
  right: 5%;
  animation-delay: -2.5s;
}

.amc3 {
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  animation-delay: -1.2s;
}

.amc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-cyan);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 6px var(--clr-cyan);
}


.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.highlight-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px;
  /* transition: all var(--transition); */
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  /* backgound: linear-gradient(180deg, var(--clr-cyan), var(--clr-blue)); */
}

.highlight-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateX(4px);
}

.highlight-icon {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.highlight-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.highlight-desc {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ── CONTACT SECTION ── */
#contact {
  background: radial-gradient(ellipse at bottom, rgba(0, 102, 255, 0.06) 0%, transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}


.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--clr-cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-detail:hover .contact-icon-wrap {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-neon);
}

.contact-detail-label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

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

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: var(--clr-text-muted);
}

.social-btn:hover {
  background: var(--clr-cyan-dim);
  border-color: var(--clr-cyan);
  color: var(--clr-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

.contact-form-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-cyan), var(--clr-blue), transparent);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--clr-cyan);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
  color: rgba(122, 155, 191, 0.5);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  border: none;
  border-radius: var(--radius-md);
  color: #000;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}

/* ── NAV LOGO IMAGE ── */
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  /* Invert white bg: make white areas transparent, keep navy/blue tones */
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(0, 212, 255, 0.85));
  transform: scale(1.04);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--clr-border);
  padding: 60px 0 30px;
  background: rgba(2, 8, 18, 0.8);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin: 20px 0;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--clr-cyan);
  transform: translateX(4px);
}

.footer-link::before {
  content: '→';
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-link {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal-link:hover {
  color: var(--clr-cyan);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(0, 212, 255, 0.85));
  transform: scale(1.04);
}



.footer-copy {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

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

/* ── AMBIENT GLOW BLOBS ── */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: blob-drift 20s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -8s;
}

@keyframes blob-drift {

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

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ── GRID OVERLAY ── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── RESPONSIVE ── */
/* @media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-inner { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .float-el-1, .float-el-2, .float-el-3 { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-highlights { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .testimonial-card { min-width: 300px; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
} */


/* ── TOUCH & MOBILE USABILITY FIXES ── */
@media (hover: none) and (pointer: coarse) {

  /* Force system cursor back on touchscreens */
  body,
  * {
    cursor: auto !important;
  }

  /* Make flip cards responsive to tap instead of sticky hover */
  .service-card:active .service-card-inner {
    transform: rotateY(180deg);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-inner { padding: 0 20px; width: 100%; }
  
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  
  /* Kill the giant static blobs on mobile. They stretch the screen. */
  .ambient-blob { display: none !important; }
  
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); margin-top: 15px; }
  .float-el-1, .float-el-2, .float-el-3 { display: none; }
  
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { height: 280px; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { padding: 20px 10px; }
  .stat-ring { width: 80px; height: 80px; margin-bottom: 16px; }
  .stat-number { font-size: 1.6rem; }
  
  .about-highlights { grid-template-columns: 1fr; }
  .about-3d-scene { height: 350px; }
  
  /* Fix Testimonial Overflow */
  .testimonial-card { 
    min-width: 100%; 
    padding: 24px 20px; 
  }
  
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .contact-form-wrap { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .stat-item::after { display: none !important; }
  
  /* Ensure padding doesn't blow out the width */
  .section-inner { padding: 0 16px; }
}