/* ============================================
   SITA MICROSYSTEMS — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --c-bg: #0a0e1a;
  --c-bg-alt: #0f1428;
  --c-bg-card: rgba(15, 20, 45, 0.65);
  --c-surface: rgba(255, 255, 255, 0.04);
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-hover: rgba(255, 255, 255, 0.15);
  --c-text: #e2e8f0;
  --c-text-muted: #94a3b8;
  --c-text-dim: #64748b;
  --c-white: #ffffff;
  --c-primary: #0A66C2;
  --c-primary-h: #2D8CDB;
  --c-accent: #25D366;
  --c-accent-2: #1DA855;
  --c-success: #22c55e;
  --c-error: #ef4444;
  --c-whatsapp: #25d366;

  /* Gradients */
  --g-primary: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  --g-hero: linear-gradient(160deg, #0a0e1a 0%, #0c1a2e 30%, #0a1e30 60%, #0a0e1a 100%);
  --g-card: linear-gradient(145deg, rgba(10, 102, 194, 0.08), rgba(37, 211, 102, 0.04));
  --g-glow: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 211, 102, 0.06), transparent 50%);

  /* Typography */
  --f-body: Verdana, Geneva, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.5rem;

  /* Spacing */
  --s-section: 6rem;
  --s-gap: 2rem;

  /* Radius */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.35s ease;
  --t-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(37, 211, 102, 0.15);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.4);
}



/* ── Read More Toggle ── */
.btn--read-more {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.5rem 1.4rem;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary-h);
  background: rgba(10, 102, 194, 0.08);
  border: 1px solid rgba(10, 102, 194, 0.2);
  border-radius: 2rem;
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: 0.01em;
}

.btn--read-more:hover {
  background: rgba(10, 102, 194, 0.15);
  border-color: var(--c-primary);
  transform: translateY(-1px);
}

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

html {
  /* scroll-behavior: smooth;  <-- Removed for Lenis */
  scroll-padding-top: 5rem;
  overflow-x: hidden;
  width: 100%;
}

/* Lenis Recommended Styles */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a {
  color: var(--c-primary-h);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-accent);
}

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  overflow: hidden;
}

/* --- Utility --- */
.gradient-text {
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.no-shimmer {
  animation: none !important;
}

.required {
  color: var(--c-error);
}

.optional {
  color: var(--c-text-dim);
  font-size: var(--fs-sm);
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base);
}

.navbar--scrolled {
  padding: 0.6rem 0;
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-nav);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  /* Removed background specific to previous logo */
  /* background-color: #ffffff; */
  /* padding: 2px 4px; */
}


.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--fs-lg);
  transition: opacity var(--t-fast);
}

.navbar__brand:hover {
  color: var(--c-white);
  opacity: 0.85;
}

.navbar__logo {
  font-size: 1.5rem;
  line-height: 1;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--t-fast);
}

.navbar__links a:hover {
  color: var(--c-white);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-primary);
  border-radius: 2px;
  transition: width var(--t-base);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__links a.btn::after {
  display: none;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t-base);
}

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

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

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


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 102, 194, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  color: var(--c-white);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t-fast);
}

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

.btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-h);
  background: rgba(10, 102, 194, 0.06);
}

.btn--nav {
  background: var(--c-primary);
  color: var(--c-white) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--r-sm);
}

.btn--nav:hover {
  color: var(--c-white) !important;
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: var(--fs-base);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Loading state */
.btn--loading .btn__text {
  visibility: hidden;
}

.btn--loading .btn__loader {
  display: block;
}

.btn__loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  position: absolute;
}

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


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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(10, 102, 194, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 102, 194, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 102, 194, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 25, 60, 0.75) 0%, rgba(5, 10, 24, 0.8) 50%, rgba(6, 30, 50, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 0 5rem;
}

.hero__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-primary-h);
  background: rgba(10, 102, 194, 0.1);
  border: 1px solid rgba(10, 102, 194, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, var(--fs-5xl));
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: clamp(var(--fs-base), 1.5vw, var(--fs-lg));
  color: var(--c-text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--c-border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-family: var(--f-heading);
  /* Added to match partners */
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}


/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
  padding: var(--s-section) 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-primary-h);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  line-height: 1.7;
}


/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--c-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-gap);
}

.about__card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.about__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-card);
  opacity: 0;
  transition: opacity var(--t-base);
}

.about__card:hover::before {
  opacity: 1;
}

.about__card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.about__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(10, 102, 194, 0.1);
  color: var(--c-primary-h);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.about__card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.about__card p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-gap);
}

.service-card--wide {
  grid-column: 1 / -1;
}

.service-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(10, 102, 194, 0.1);
  color: var(--c-primary-h);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}

.service-card:hover .service-card__list {
  max-height: 500px;
  opacity: 1;
  margin-top: 1.5rem;
}

/* On mobile, keep them visible or use a tap-to-expand pattern if preferred for better UX */
@media (max-width: 1024px) {
  .service-card__list {
    max-height: none;
    opacity: 1;
    margin-top: 0;
  }
}

/* Fix: Keep Mission list in About section always visible */
.about__card .service-card__list {
  max-height: none;
  opacity: 1;
  margin-top: 0;
}

.service-card__list li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}


/* ============================================
   HPC
   ============================================ */
.hpc {
  background: var(--c-bg-alt);
  overflow: hidden;
}

.hpc__inner {
  position: relative;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.hpc__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.hpc__content {
  position: relative;
  z-index: 1;
}

.hpc__desc {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hpc__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hpc__col h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-primary-h);
  margin-bottom: 1rem;
}

.hpc__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hpc__col li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.hpc__col li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: bold;
}


/* ============================================
   WHY PARTNERS — BENTO GRID
   ============================================ */
.why-partners {
  position: relative;
}

.why-partners__header {
  margin-bottom: 3rem;
}

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

.bento-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

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

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

.bento-card:hover {
  border-color: rgba(37, 211, 102, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 8px 40px rgba(37, 211, 102, 0.08),
    0 0 80px rgba(37, 211, 102, 0.03);
}

/* Bottom row: 2 cards centered */
.bento-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: auto;
  margin-right: 0;
}

.bento-card:nth-child(5) {
  grid-column: 2 / 4;
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(10, 102, 194, 0.08);
  border: 1px solid rgba(10, 102, 194, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  color: var(--c-primary-h);
  transition: all 0.4s ease;
}

.bento-card:hover .bento-card__icon {
  background: rgba(37, 211, 102, 0.15);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
  transform: scale(1.1);
}

.bento-card__title {
  font-family: var(--f-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bento-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  line-height: 1.7;
  flex-grow: 1;
}

.bento-card__stat {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-stat__number {
  display: block;
  font-family: var(--f-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.bento-stat__label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-primary-h);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-gap);
}

.testimonial-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-3px);
}

.testimonial-card__quote {
  color: var(--c-primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.testimonial-card__author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}

.testimonial-card__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-muted);
}


/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--c-bg-alt);
}

.contact__wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-field--hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

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

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  outline: none;
  transition: all var(--t-fast);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.form-field input.error,
.form-field textarea.error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

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

.form-error {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: 0.3rem;
  min-height: 1rem;
}

.form-status {
  text-align: center;
  margin-top: 1rem;
  font-size: var(--fs-sm);
  min-height: 1.5rem;
}

.form-status.success {
  color: var(--c-success);
}

.form-status.error {
  color: var(--c-error);
}

#submitBtn {
  position: relative;
  margin-top: 0.5rem;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--c-border);
  padding: 4rem 0 0;
  background: var(--c-bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer__brand .navbar__name {
  font-size: var(--fs-lg);
}

.footer__tagline {
  color: var(--c-text-dim);
  font-size: var(--fs-sm);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1.5rem;
  /* Increased spacing */
  margin-top: 1rem;
}

.footer__social a {
  color: var(--c-text-dim);
  font-size: 1.5rem;
  /* Increased size */
  transition: all 0.3s ease;
  width: 44px;
  /* Increased area */
  height: 44px;
  /* Increased area */
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social a:hover {
  color: var(--c-white);
  border-color: var(--c-primary);
  background: rgba(10, 102, 194, 0.1);
  transform: translateY(-2px);
}

.footer__links h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  transition: color var(--t-fast);
}

.footer__links a:hover {
  color: var(--c-primary-h);
}

.footer__bottom {
  border-top: 1px solid var(--c-border);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
}


/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-whatsapp);
  color: var(--c-white);
  font-size: 1.6rem;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--t-base);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: var(--c-white);
}

/* Pulse animation */
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s ease-in-out infinite;
}

@keyframes wa-pulse {

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

  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}


/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  padding: 0.9rem 1.8rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transition: all var(--t-base);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--c-success);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.toast.error {
  background: var(--c-error);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}


/* ============================================
   ANIMATIONS — Lively & Interactive
   ============================================ */

/* --- Scroll Reveal: Fade + Slide --- */
.fade-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.slide-left {
  transform: translateX(-50px);
}

.fade-in.slide-right {
  transform: translateX(-50px);
}

.fade-in.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children delay */
.fade-in.visible.stagger-1 {
  transition-delay: 0.1s;
}

.fade-in.visible.stagger-2 {
  transition-delay: 0.2s;
}

.fade-in.visible.stagger-3 {
  transition-delay: 0.3s;
}

.fade-in.visible.stagger-4 {
  transition-delay: 0.4s;
}

.fade-in.visible.stagger-5 {
  transition-delay: 0.5s;
}

.fade-in.visible.stagger-6 {
  transition-delay: 0.6s;
}

.fade-in.visible.stagger-7 {
  transition-delay: 0.7s;
}

/* --- Icon Glow Pulse on Hover --- */
.service-card__icon,
.about__card-icon {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-card:hover .service-card__icon,
.about__card:hover .about__card-icon {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.35), 0 0 48px rgba(37, 211, 102, 0.15);
  background: rgba(37, 211, 102, 0.2);
}

.service-card__icon i,
.about__card-icon i {
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__icon i,
.about__card:hover .about__card-icon i {
  transform: scale(1.1);
}

/* --- Enhanced Card Hover --- */
.service-card,
.about__card,
.testimonial-card {
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover,
.about__card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(37, 211, 102, 0.12),
    0 0 60px rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.25);
}

/* --- Gradient Text Shimmer --- */
@keyframes shimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

.hero__title .gradient-text {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* --- Floating Particles --- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 1;
  }
}

@keyframes floatReverse {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translateY(15px) rotate(-5deg);
    opacity: 0.8;
  }
}

@keyframes pulse-dot {

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

  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Above video/overlay */
  pointer-events: auto;
  /* Allow interactivity */
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: 0.3;
}

.hero__particle:nth-child(1) {
  top: 15%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero__particle:nth-child(2) {
  top: 25%;
  left: 85%;
  animation: floatReverse 8s ease-in-out infinite 1s;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
}

.hero__particle:nth-child(3) {
  top: 60%;
  left: 20%;
  animation: float 7s ease-in-out infinite 0.5s;
  width: 3px;
  height: 3px;
  background: var(--c-accent-2);
}

.hero__particle:nth-child(4) {
  top: 70%;
  left: 75%;
  animation: floatReverse 5s ease-in-out infinite 2s;
}

.hero__particle:nth-child(5) {
  top: 40%;
  left: 50%;
  animation: float 9s ease-in-out infinite 1.5s;
  width: 5px;
  height: 5px;
  background: var(--c-accent);
}

.hero__particle:nth-child(6) {
  top: 80%;
  left: 40%;
  animation: pulse-dot 4s ease-in-out infinite;
  width: 3px;
  height: 3px;
  background: var(--c-accent-2);
}

/* --- Counter Pop --- */
@keyframes countPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  60% {
    transform: scale(1.1);
  }

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

.hero__stat-number.animated {
  animation: countPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Section Ambient Glow --- */
.services::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Button Liquid Fill --- */
.btn--primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn--primary:hover::before {
  width: 300px;
  height: 300px;
}

/* --- HPC inner glow --- */
.hpc__inner {
  transition: box-shadow 0.5s ease;
}

.hpc__inner:hover {
  box-shadow:
    0 0 60px rgba(139, 92, 246, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- Testimonial card subtle float --- */
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* --- Active nav link indicator --- */
.navbar__links a.active {
  color: var(--c-white);
}

.navbar__links a.active::after {
  width: 100%;
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --s-section: 4.5rem;
  }

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile Nav */
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--c-border);
    transition: right var(--t-slow);
    z-index: 999;
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__links a {
    font-size: var(--fs-base);
    color: var(--c-text);
  }

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

  .services__grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: auto;
    margin-left: 0;
  }

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

  .hpc__inner {
    padding: 2.5rem 1.5rem;
  }

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

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

  .contact-form {
    padding: 1.5rem;
  }

  .hero__stats {
    gap: 2rem;
  }



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

  .footer__brand {
    margin-bottom: 1rem;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .whatsapp-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  :root {
    --s-section: 3.5rem;
  }

  .hero__content {
    padding: 7rem 0 3rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
    /* Added padding to prevent touching edges */
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

/* --- Contact CTA --- */
.contact-cta {
  text-align: center;
  padding: 8rem 0;
  background: var(--g-hero);
  position: relative;
}

.contact-cta .section__header {
  max-width: 800px;
  margin: 0 auto;
}

.contact-cta .section__subtitle {
  margin-bottom: 3rem;
}

/* ============================================
   CONTACT PAGE (Enterprise)
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  /* Form wider than info */
  gap: 4rem;
  align-items: start;
}

.contact-grid--single {
  max-width: 800px;
  margin: 0 auto;
}

.contact__form-column {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.form-header h3 {
  font-size: var(--fs-xl);
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--c-text-muted);
  margin-bottom: 2rem;
  font-size: var(--fs-sm);
}

/* Info Column */
.contact__info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem;
}

.info-card h3 {
  font-size: var(--fs-lg);
  color: var(--c-white);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 0.5rem;
}

.info-card address {
  font-style: normal;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.info-card address strong {
  color: var(--c-text);
  font-size: var(--fs-lg);
}

.info-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--c-primary-h);
  font-weight: 500;
  transition: color var(--t-fast);
}

.info-link:hover {
  color: var(--c-white);
}

/* Trust List */
.trust-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trust-list li:last-child {
  margin-bottom: 0;
}

.trust-list i {
  color: var(--c-success);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.trust-list strong {
  display: block;
  color: var(--c-text);
  margin-bottom: 0.2rem;
}

.trust-list p {
  color: var(--c-text-dim);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}