/* ============================================================
   Adox Global – Custom Styles
   Following 60-30-10 color rule
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  /* Brand primary/secondary (theme-switchable) */
  --brand-primary:         #41C5E9;
  --brand-secondary:       #4F9E45;
  --brand-primary-hover:   #2AAED3;
  --brand-secondary-hover: #3E7F37;

  /* Aliases kept for existing var() usages */
  --brand-blue:    var(--brand-primary);
  --brand-green:   var(--brand-secondary);
  --blue-hover:    var(--brand-primary-hover);
  --green-hover:   var(--brand-secondary-hover);

  /* Dark backgrounds (theme-switchable) */
  --dark-bg:       #0d1b2a;
  --dark-bg-mid:   #0f2740;
  --dark-bg-light: #1a2f45;

  /* Light brand background (theme-switchable) */
  --light-brand-bg: #F2F8FF;

  /* Shadow tint RGB values (theme-switchable) */
  --shadow-brand-rgb: 65, 197, 233;
  --shadow-dark-rgb:  13, 27, 42;

  /* Accent colours */
  --accent-yellow: #FADD33;
  --accent-red:    #E32426;
  --accent-gold:   #F5A623;
  --accent-cyan:   #00C2E0;

  /* Neutrals */
  --dark-text:  #1A1A1A;
  --light-bg:   #FBFBF9;
  --white:      #FFFFFF;
  --gray-100:   #F4F6F9;
  --gray-200:   #E9ECEF;
  --text-muted: #6C757D;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.13);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-primary: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --transition:   0.3s ease;
}

/* ── Purple / Navy theme override ── */
[data-theme="purple"] {
  --brand-primary:         #99219e;
  --brand-secondary:       #4a1a9e;
  --brand-primary-hover:   #7a1a7e;
  --brand-secondary-hover: #380f7a;

  --dark-bg:       #181356;
  --dark-bg-mid:   #1e1a6e;
  --dark-bg-light: #241d7a;

  --light-brand-bg: #F5E6F6;

  --shadow-brand-rgb: 153, 33, 158;
  --shadow-dark-rgb:  24, 19, 86;

  --accent-yellow: #F5A623;
}

/* ── Purple theme: hero readability fixes ── */

/* Typewriter gradient text — gold→magenta pops off dark navy */
[data-theme="purple"] .gradient-text {
  background: linear-gradient(135deg, #F5A623, #e855f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Badge pill — white-tinted so it reads on dark bg */
[data-theme="purple"] .hero-section .badge-pill {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
[data-theme="purple"] .hero-section .badge-dot {
  background: #F5A623;
}

/* Primary CTA button — gold gradient for contrast on dark purple bg */
[data-theme="purple"] .btn-primary-brand {
  background: linear-gradient(135deg, #F5A623, #e8920a);
  color: #1a0a00;
}
[data-theme="purple"] .btn-primary-brand:hover {
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
  color: #1a0a00;
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-primary);
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utility classes ── */
.section-padding { padding: 26px 0; }
.bg-light-brand  { background-color: var(--light-brand-bg); }
.bg-dark-brand   { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-light) 100%); }
.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-primary-brand { color: var(--brand-blue) !important; }
.text-warning-brand { color: #c9920e !important; }

/* ── Section badge labels ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px 9px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  border: 1.5px solid currentColor;
}
/* Animated pulse dot */
.section-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}
.badge-blue,
.badge-green,
.badge-red,
.badge-yellow {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(65,197,233,0.35);
}
/* Inverse variants for dark-background sections */
.bg-dark-brand .section-badge,
.hero-section .section-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

/* ── Typography ── */
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* ── Skeleton Loader ── */
.skeleton-block {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e8edf2 25%, #f5f7fa 50%, #e8edf2 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: inherit;
  z-index: 1;
  transition: opacity 0.4s ease;
}
.skeleton-block-sm {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(90deg, #e8edf2 25%, #f5f7fa 50%, #e8edf2 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  flex-shrink: 0;
}
.skeleton-block.loaded,
.skeleton-block-sm.loaded { opacity: 0; pointer-events: none; }
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Scroll Animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeLeft 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }
@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }

.animate-float {
  animation: floatUpDown 3s ease-in-out infinite;
}
.animate-float.delay-2 { animation-delay: 0.8s; }
.animate-float.delay-3 { animation-delay: 1.6s; }
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
  transition: box-shadow var(--transition), padding var(--transition);
  z-index: 1050;
}
#mainNav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 8px 0;
}
.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-a {
  color: white;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  font-family: var(--font-primary);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 16px; font-weight: 700; color: var(--dark-text); }
.brand-tagline { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text) !important;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover {
  background: rgba(var(--shadow-brand-rgb), 0.08);
  color: var(--brand-blue) !important;
}

/* ── Theme toggle pill ── */
.theme-toggle-btn {
  width: 44px;
  height: 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.35s ease;
  flex-shrink: 0;
}
.theme-toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform 0.35s ease;
  display: block;
}
[data-theme="purple"] .theme-toggle-dot {
  transform: translateX(20px);
}

/* ── Navbar logo ── */
.nav-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
#mainNav.scrolled .nav-logo { height: 34px; transition: height 0.3s ease; }

/* ── Google Partner badge (mobile navbar) ── */
.nav-gp-mobile img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Floating Google Partner badge (desktop left) ── */
.float-google-partner {
  position: fixed;
  left: 16px;
  top: 90%;
  transform: translateY(-50%);
  z-index: 1040;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.float-google-partner.gp-visible {
  opacity: 1;
  pointer-events: auto;
}
.float-google-partner img {
  display: block;
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.float-google-partner:hover img {
  filter: drop-shadow(0 4px 16px rgba(66,133,244,0.45));
  transform: scale(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}
/* Hide on mobile — avoid overlap with bottom bar */
@media (max-width: 991.98px) {
  .float-google-partner { display: none; }
}

/* ── Footer logo ── */
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
    /* Logos on dark bg sometimes need brightness boost */
  filter: brightness(0) invert(1);

}

/* ── Typed cursor ── */
.typed-cursor {
  display: inline-block;
  font-weight: 900;
  font-size: inherit;
  line-height: 1;
  /* Match the gradient-text colour but as a solid fallback */
  color: var(--brand-blue);
  /* Recreate the gradient on the cursor glyph */
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 2px;
  animation: cursorBlink 0.85s step-start infinite;
  will-change: opacity;
}
/* Pause blink while typing/deleting – toggled via JS class */
.typed-cursor.typing { animation: none; opacity: 1; }
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Buttons ── */
.btn-primary-brand {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn-primary-brand:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--shadow-brand-rgb), 0.4);
  opacity: 0.93;
}
.btn-secondary-brand {
  background: linear-gradient(135deg, var(--brand-green), var(--green-hover));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
}
.btn-secondary-brand:hover { color: white; transform: translateY(-2px); }

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  padding-top: 0;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-mid) 40%, var(--dark-bg) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-content { padding: 80px 0 20px; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--shadow-brand-rgb), 0.12);
  border: 1px solid rgba(var(--shadow-brand-rgb), 0.25);
  color: var(--brand-blue);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--shadow-brand-rgb), 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(var(--shadow-brand-rgb), 0); }
}
.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: white;
  margin-bottom: 24px;
}
.hero-br {
  display: block;
  height: 0.15em;
}
.hero-subheadline {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ── Hero Trust Row ── */
.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 14px 20px;
  width: fit-content;
  gap: 0;
}
.htb-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}
.htb-pill:first-child { padding-left: 0; }
a.htb-pill-link {
  text-decoration: none;
  transition: opacity var(--transition);
}
a.htb-pill-link:hover { opacity: 0.80; }

.htb-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.htb-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.htb-icon-gold  { background: linear-gradient(135deg,#f5b800,#e09600); color: #fff; }
.htb-icon-blue  { background: linear-gradient(135deg, var(--brand-blue), #1a98c0); color: #fff; }
.htb-icon-white { background: #fff; }
.htb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.htb-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.htb-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.60);
  white-space: nowrap;
}
.htb-stars { color: #FADD33; letter-spacing: 0.5px; }
.htb-half  { opacity: 0.45; }

/* Mobile: 2×2 grid */
@media (max-width: 575.98px) {
  .hero-trust-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    padding: 12px 16px;
    justify-items: start;
  }
  .htb-divider { display: none; }
  .htb-pill, a.htb-pill-link {
    padding: 0;
    justify-content: flex-start;
    width: 100%;
    border-top: none;
    margin-top: 0;
  }
  .htb-pill:first-child { padding-left: 0; }
}

/* Hero image wrapper */
.hero-image-col { padding: 60px 0; }
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img-skeleton {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.hero-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
/* Floating stat cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  font-family: var(--font-primary);
}
.float-card i { font-size: 22px; }
.float-card strong { display: block; font-size: 16px; font-weight: 800; color: var(--dark-text); }
.float-card span  { font-size: 12px; color: var(--text-muted); }
.float-card-1 { top: 10%; right: -20px; }
.float-card-2 { bottom: 28%; left: -24px; }
.float-card-3 { bottom: 8%;  right: -16px; }

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ============================================================
   TRUST SECTION
============================================================ */
.trust-section { background: white; }
/* Client logo swiper */
.trust-swiper-wrap { padding: 8px 4px; }
.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all var(--transition);
  cursor: default;
  height: 110px;
}
.client-logo-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 6px 24px rgba(65,197,233,0.15);
  transform: translateY(-3px);
}
.client-logo-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition);
}
.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.client-logo-initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.client-logo-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-text);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
/* Swiper overrides for trust */
.trustSwiper .swiper-wrapper { align-items: stretch; }

/* Stat cards */
.stat-card { padding: 28px 16px; }
.stat-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.stat-suffix {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-green);
  display: inline-block;
  vertical-align: top;
  margin-top: 6px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   PROBLEM SECTION
============================================================ */
.problem-section { background: white; }
.problem-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(227,36,38,0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(227,36,38,0.10);
  border-color: rgba(227,36,38,0.2);
}
.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(227,36,38,0.08);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.problem-card h5 { font-weight: 700; margin-bottom: 10px; }
.problem-card p  { color: var(--text-muted); font-size: 14px; margin: 0; }

.solution-bridge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-weight: 600;
}
.solution-bridge i { font-size: 28px; animation: bounce 2s infinite; }
.solution-bridge p { margin: 0; font-size: 15px; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.service-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  padding: 0;                 /* image fills to card edge */
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 5;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

/* ── Service image banner ── */
.service-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  flex-shrink: 0;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.45s ease;
}
.service-card:hover .service-img { transform: scale(1.07); }

/* Dark overlay so icon badge is always readable */
.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.38) 100%);
  z-index: 3;
  border-radius: inherit;
}

/* Icon badge pinned to bottom-left of image */
.service-img-icon {
  position: absolute;
  bottom: -20px;            /* half-peek below image edge */
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--icon-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-img-icon {
  transform: rotate(-6deg) scale(1.1);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* ── Service card body (text area) ── */
.service-card-body {
  padding: 36px 24px 24px;   /* top padding accounts for half-peeking icon */
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h5 { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.service-card-body p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-bottom: 18px; flex: 1; }

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
  align-self: flex-start;
}
.service-link:hover { gap: 10px; }

.featured-service-card {
  border-color: var(--brand-blue);
}
.featured-service-card .service-card-body {
  background: linear-gradient(135deg, rgba(var(--shadow-brand-rgb), 0.06) 0%, #fff 100%);
}
.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 20;
}

/* ── Mobile Services Galaxy ── */
.svc-galaxy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f8fd 0%, #f0faf0 55%, #eaf7fd 100%);
  border-radius: 24px;
  border: 1px solid rgba(65,197,233,0.2);
  padding: 28px 16px 20px;
  box-shadow: 0 20px 60px rgba(65,197,233,0.12);
}
.sgal-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.sgal-blob-1 {
  width: 220px; height: 220px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(65,197,233,0.28) 0%, transparent 70%);
}
.sgal-blob-2 {
  width: 180px; height: 180px;
  bottom: -60px; left: -40px;
  background: radial-gradient(circle, rgba(79,158,69,0.22) 0%, transparent 70%);
}
.svc-galaxy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sgc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 16px 6px 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(65,197,233,0.18);
  border-radius: 18px;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(65,197,233,0.08);
}
.sgc:active {
  background: rgba(255,255,255,0.9);
  border-color: rgba(65,197,233,0.35);
  transform: scale(0.96);
}
.sgc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--c1) 50%, transparent);
  flex-shrink: 0;
}
.sgc-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-text);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.2px;
}
.sgc-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(26,26,26,0.48);
  text-align: center;
  line-height: 1.2;
}
/* NEW badge on AI card */
.sgc-new { border-color: rgba(65,197,233,0.30); }
.sgc-new-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  background: linear-gradient(135deg, #41C5E9, #8b5cf6);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 50px;
  line-height: 1.4;
}
/* CTA button inside galaxy */
.sgal-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 24px rgba(65,197,233,0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.sgal-cta:active { opacity: 0.88; transform: scale(0.98); color: #fff; }

/* ── Mobile Process Timeline ── */
.proc-galaxy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f8fd 0%, #f0faf0 55%, #eaf7fd 100%);
  border-radius: 24px;
  border: 1px solid rgba(65,197,233,0.2);
  padding: 24px 18px 20px;
  box-shadow: 0 20px 60px rgba(65,197,233,0.12);
}
.proc-timeline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.ptl-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ptl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 46px;
}
.ptl-dot {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--c) 45%, transparent);
}
.ptl-dot-final {
  background: linear-gradient(135deg, #41C5E9, #8b5cf6);
  box-shadow: 0 4px 24px rgba(65,197,233,0.45);
}
.ptl-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(to bottom, rgba(65,197,233,0.35), rgba(79,158,69,0.15));
  margin: 5px 0;
  border-radius: 2px;
}
.ptl-content {
  padding-top: 10px;
  padding-bottom: 18px;
  flex: 1;
}
.ptl-item-final .ptl-content { padding-bottom: 4px; }
.ptl-num {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(65,197,233,0.7);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.ptl-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ptl-trophy {
  font-size: 13px;
  color: #FADD33;
  filter: drop-shadow(0 0 4px rgba(250,221,51,0.6));
}
.ptl-sub {
  font-size: 12px;
  color: rgba(26,26,26,0.48);
  line-height: 1.4;
}

/* ── Services Swiper ── */
.services-swiper-wrap {
  position: relative;
  padding: 8px 0 56px;   /* bottom room for pagination */
}
.services-swiper {
  overflow: visible;     /* let side-peek show */
}
.services-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.services-swiper .service-card {
  width: 100%;
}
/* Prev / Next arrows – styled to brand */
.services-swiper-prev,
.services-swiper-next {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--brand-blue);
  transition: background var(--transition), color var(--transition);
  top: 40%;
}
.services-swiper-prev::after,
.services-swiper-next::after {
  font-size: 16px;
  font-weight: 900;
}
.services-swiper-prev:hover,
.services-swiper-next:hover {
  background: var(--brand-blue);
  color: white;
}
.services-swiper-prev { left: -22px; }
.services-swiper-next { right: -22px; }
/* Pagination dots */
.services-swiper-pagination {
  bottom: 16px !important;
}
.services-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  opacity: 0.3;
  transition: opacity var(--transition), width var(--transition);
  border-radius: 50px;
}
.services-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
}
@media (max-width: 767.98px) {
  .services-swiper-prev { left: 4px; }
  .services-swiper-next { right: 4px; }
}

/* ============================================================
   PROCESS SECTION  – mobile-first swiper cards
============================================================ */
.process-section { background: var(--light-bg); }

/* Step counter label */
.process-step-counter {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}
.process-step-counter strong { color: var(--brand-blue); }

/* Swiper wrap – give room for pagination */
.process-swiper-wrap { padding-bottom: 52px; }
.process-swiper { overflow: visible; }
.process-swiper .swiper-slide { height: auto; display: flex; }

/* ── The card itself ── */
.process-card {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--pc-color) 0%, var(--pc-color-dark) 100%);
  border-radius: 20px;
  padding: 28px 24px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}

/* Ghost number watermark */
.pc-ghost {
  position: absolute;
  right: -12px;
  bottom: -16px;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.10);
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
}

/* Inner layout */
.pc-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.pc-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.20);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  backdrop-filter: blur(4px);
}
.pc-content { flex: 1; }
.pc-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.pc-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}
.pc-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin: 0;
}

/* Arrow connector (desktop only) */
.pc-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--pc-color);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

/* Final step badge */
.pc-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  z-index: 2;
  align-items: center;
}
.process-card-final {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
}

/* Pagination dots */
.process-swiper-pagination { bottom: 16px !important; }
.process-swiper-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: var(--brand-blue); opacity: 0.3;
  border-radius: 50px;
  transition: opacity var(--transition), width var(--transition);
}
.process-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1; width: 24px;
}

/* ── Desktop: 5-up row ── */
@media (min-width: 992px) {
  .process-swiper-wrap { padding-bottom: 0; overflow: visible; }
  .process-swiper      { overflow: visible; }
  .process-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    transform: none !important;
    width: 100% !important;
  }
  .process-swiper .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
  }
  .process-card { min-height: 260px; }
}

/* ============================================================
   CASE STUDIES
============================================================ */
/* Case Study Channel Rows */
.case-channel-row {
  margin-bottom: 56px;
}
.case-channel-row:last-child { margin-bottom: 0; }
.case-channel-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gray-200);
}
.case-channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.case-channel-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0 0 2px;
  line-height: 1.2;
}
.case-channel-sub {
  font-size: 13px;
  color: #888;
  margin: 0;
  font-weight: 500;
}
.case-swiper-wrap {
  position: relative;
  padding-bottom: 40px;
}
.case-swiper .swiper-pagination-bullet-active {
  background: var(--brand-blue);
}

.case-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.case-img-wrap { position: relative; height: 200px; overflow: hidden; }
.case-img-wrap .skeleton-block { border-radius: 0; }
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}
.case-card:hover .case-img { transform: scale(1.05); }
.case-industry-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--brand-blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 3;
}
.case-body { padding: 24px; }
.case-body h5 { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.case-problem, .case-strategy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}
.case-problem strong, .case-strategy strong { color: var(--dark-text); }
.result-metric { text-align: center; }
.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}
.metric-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section { background: white; }
.about-image-stack { position: relative; }
.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.about-img-badge i { font-size: 28px; }
.about-img-badge strong { display: block; font-size: 18px; font-weight: 800; }
.about-img-badge span  { font-size: 12px; opacity: 0.85; }

.about-value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.about-value-item i { font-size: 16px; }

.mv-card {
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  height: 100%;
}
.mv-card i { font-size: 20px; color: var(--brand-blue); display: block; margin-bottom: 8px; }
.mv-card strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mv-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ============================================================
   VIDEO SECTION
============================================================ */
.video-thumb-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 480px;
  cursor: pointer;
}
.video-thumb-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--shadow-dark-rgb), 0.65), rgba(var(--shadow-brand-rgb), 0.2));
  z-index: 3;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  color: var(--brand-blue);
  border: none;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 16px 60px rgba(var(--shadow-brand-rgb), 0.4);
}
.video-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  z-index: 10;
  white-space: nowrap;
}

/* ============================================================
   TRENDS SECTION
============================================================ */
.trends-section { background: white; }
.trend-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.trend-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}
.trend-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.trend-card h6 { font-weight: 700; margin-bottom: 8px; }
.trend-card p  { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.trend-tag {
  display: inline-block;
  background: rgba(250,221,51,0.25);
  color: #7a6000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.featured-testimonial {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: white;
  border: none;
}
.featured-testimonial .stars { color: var(--accent-yellow); }
.featured-testimonial .testimonial-author strong { color: white; }
.featured-testimonial .testimonial-author span   { color: rgba(255,255,255,0.75); }
.featured-testimonial .testimonial-quote         { color: rgba(255,255,255,0.95); }
.stars { color: var(--accent-yellow); font-size: 18px; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  color: var(--dark-text);
  margin-bottom: 20px;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--shadow-brand-rgb), 0.3);
  position: relative;
  z-index: 2;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 700; }
.testimonial-author span   { display: block; font-size: 12px; color: var(--text-muted); }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison-section { background: var(--light-bg); }

/* Outer card – no overflow:hidden so the scroll shadow can bleed */
.comparison-table-wrap {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;           /* clip the card corners */
}

/* "Swipe to compare" hint strip */
.table-scroll-hint {
  background: linear-gradient(90deg, rgba(var(--shadow-brand-rgb), 0.10), rgba(var(--shadow-brand-rgb), 0.05));
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid rgba(var(--shadow-brand-rgb), 0.15);
}

/* Scroll container: horizontal scroll on mobile, full width on desktop */
.table-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;  /* momentum scroll on iOS */
  scrollbar-width: thin;
  scrollbar-color: var(--brand-blue) var(--gray-100);
}
.table-scroll-container::-webkit-scrollbar {
  height: 4px;
}
.table-scroll-container::-webkit-scrollbar-track { background: var(--gray-100); }
.table-scroll-container::-webkit-scrollbar-thumb {
  background: var(--brand-blue);
  border-radius: 2px;
}

/* Right-edge fade cue so users know there's more content to scroll */
@media (max-width: 991.98px) {
  .table-scroll-container {
    background:
      linear-gradient(to right, white 20px, transparent 80px),
      linear-gradient(to left,  white 20px, transparent 80px) 100% 0,
      linear-gradient(to right, rgba(0,0,0,0.06), transparent),
      linear-gradient(to left,  rgba(0,0,0,0.06), transparent) 100% 0;
    background-repeat: no-repeat;
    background-size: 80px 100%, 80px 100%, 20px 100%, 20px 100%;
    background-attachment: local, local, scroll, scroll;
  }
}

.comparison-table {
  margin: 0;
  min-width: 560px;     /* ensures table never collapses below readable width */
  width: 100%;
}
.comparison-table thead th {
  background: var(--dark-text);
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 18px 20px;
  text-align: center;
  border: none;
  white-space: nowrap;
}
.comparison-table thead th:first-child {
  text-align: left;
  min-width: 220px;     /* feature-name column never wraps */
}
.comparison-table .adox-col {
  background: rgba(var(--shadow-brand-rgb), 0.06);
  border-left: 2px solid var(--brand-blue);
  border-right: 2px solid var(--brand-blue);
}
.comparison-table thead th.adox-col {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: white;
  border-color: transparent;
}
.adox-badge {
  background: rgba(255,255,255,0.25);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 13px;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  white-space: normal;   /* feature names CAN wrap on very narrow widths */
}
.comparison-table i { font-size: 18px; }

/* Tighten padding on small screens */
@media (max-width: 575.98px) {
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .comparison-table i { font-size: 16px; }
}

/* ============================================================
   FAQ SECTION
============================================================ */
.faq-section { background: var(--light-brand-bg); }
.faq-item {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
}
.accordion-button {
  font-weight: 600;
  font-size: 15px;
  background: white;
  color: var(--dark-text);
  box-shadow: none !important;
  padding: 18px 24px;
}
.accordion-button:not(.collapsed) {
  background: white;
  color: var(--brand-blue);
}
.accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2341C5E9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 4px 24px 18px;
}

/* ============================================================
   CONTACT / LEAD CAPTURE
============================================================ */
.contact-section { background: white; }
.contact-benefits { display: flex; flex-direction: column; gap: 12px; }
.contact-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.contact-benefit-item i { color: var(--brand-green); font-size: 18px; }
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-text);
}
.contact-info-item i { color: var(--brand-blue); font-size: 16px; }

.contact-form-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 6px;
}
.form-control-brand {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control-brand:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(var(--shadow-brand-rgb), 0.12);
  outline: none;
}
.form-footnote {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}
.success-icon {
  font-size: 56px;
  color: var(--brand-green);
  display: flex;
  justify-content: center;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  padding: 96px 0;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.final-cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}
.final-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}
.btn-white-cta {
  background: white;
  color: var(--brand-blue);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn-white-cta:hover {
  background: var(--dark-text);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
}
.btn-outline-white:hover {
  background: white;
  color: var(--dark-text) !important;
  border-color: white;
}
.cta-urgency-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   FOOTER
============================================================ */
.footer-section { background: var(--dark-bg); }
.footer-top { padding: 72px 0 48px; }
.footer-brand { display: flex; align-items: center; }
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin: 0;
}
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--brand-blue); padding-left: 4px; }

.social-links { display: flex; gap: 10px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-icon:hover {
  background: var(--brand-blue);
  color: white;
  transform: translateY(-3px);
}

.newsletter-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--brand-blue);
  color: white;
  box-shadow: none;
}

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item i { color: var(--brand-blue); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--brand-blue); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--brand-blue); }

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: white;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   FLOATING CONTACT BUTTONS
============================================================ */

/* ── Pulse keyframes ── */
@keyframes floatPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── Shared pulse ring ── */
.float-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: floatPulse 2.4s ease-out infinite;
}
.float-pulse-wa   { background: rgba(37,211,102,0.45); }
.float-pulse-call { background: rgba(var(--shadow-brand-rgb), 0.45); }

/* ─────────────────────────────────────────────
   DESKTOP layout  (≥ 992px)
   Fixed to right edge, vertically centred
───────────────────────────────────────────── */
.float-contact-group {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

/* Toggle tab (right-side pull-tab on desktop) */
.float-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: white;
  border: none;
  border-radius: 12px 0 0 12px;
  padding: 12px 14px 12px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: -4px 4px 20px rgba(var(--shadow-brand-rgb), 0.35);
  transition: padding var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  writing-mode: horizontal-tb;
  order: 1;               /* sits below the actions on desktop */
}
.float-toggle-btn:hover {
  padding-right: 20px;
  box-shadow: -6px 6px 28px rgba(var(--shadow-brand-rgb), 0.45);
}
.float-toggle-icon { font-size: 18px; line-height: 1; }
.float-toggle-close { font-size: 16px; line-height: 1; display: none; }
.float-toggle-label { font-size: 12px; letter-spacing: 0.3px; }

/* Show/hide close vs open icon */
.float-contact-group.open .float-toggle-open  { display: none; }
.float-contact-group.open .float-toggle-close { display: block; }

/* Action buttons container */
.float-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  padding-bottom: 10px;
  /* collapsed by default */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.float-contact-group.open .float-actions {
  max-height: 300px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Individual action button */
.float-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 50px 0 0 50px;   /* rounded left, flush right */
  padding: 10px 16px 10px 12px;
  text-decoration: none;
  color: var(--dark-text);
  box-shadow: -4px 4px 20px rgba(0,0,0,0.12);
  min-width: 190px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), min-width var(--transition);
}
.float-btn:hover {
  transform: translateX(-5px);
  box-shadow: -8px 8px 28px rgba(0,0,0,0.18);
  color: var(--dark-text);
}

/* Icon circle */
.float-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.float-btn-wa   .float-btn-icon { background: #25D366; color: white; }
.float-btn-call .float-btn-icon { background: var(--brand-blue); color: white; }

.float-btn-wa   .float-btn-icon svg { width: 20px; height: 20px; }

/* Text */
.float-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.float-btn-text strong { font-size: 13px; font-weight: 700; }
.float-btn-text small  { font-size: 11px; color: var(--text-muted); }

/* Coloured left accent bar */
.float-btn-wa::before,
.float-btn-call::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 50px 0 0 50px;
}
.float-btn-wa::before   { background: #25D366; }
.float-btn-call::before { background: var(--brand-blue); }

/* Pulse ring positioning */
.float-btn .float-pulse-ring {
  inset: auto;
  width: 40px;
  height: 40px;
  left: 12px;
  top: 50%;
  transform-origin: center;
  margin-top: -20px;
}

/* ─────────────────────────────────────────────
   MOBILE layout  (< 992px)
   Separate circular icons, bottom-right stack
───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .float-contact-group {
    top: auto;
    bottom: 72px;   /* just above back-to-top button */
    right: 16px;
    left: auto;
    transform: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  /* Hide the desktop toggle tab on mobile */
  .float-toggle-btn { display: none; }

  /* Always show actions (no toggle needed on mobile) */
  .float-actions {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    overflow: visible;
    transition: none;
  }
  .float-contact-group.open .float-actions { transform: none; }

  /* Each button → compact circle */
  .float-btn {
    width: 52px;
    height: 52px;
    min-width: unset;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    /* start hidden */
    opacity: 0;
    transform: translateX(70px);
    /* hover transition only (entrance via keyframe) */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  /* keyframe entrance */
  @keyframes mobBtnSlideIn {
    from { opacity: 0; transform: translateX(70px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .float-actions.mob-revealed .float-btn {
    animation: mobBtnSlideIn 0.42s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  }
  .float-actions.mob-revealed .float-btn:nth-child(1) { animation-delay: 0s; }
  .float-actions.mob-revealed .float-btn:nth-child(2) { animation-delay: 0.14s; }

  /* hover – only meaningful on touch-less devices */
  .float-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  }

  .float-btn-text { display: none; }
  .float-btn-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 20px;
  }
  .float-btn-wa .float-btn-icon svg { width: 22px; height: 22px; }

  /* No accent bar on circles */
  .float-btn-wa::before,
  .float-btn-call::before { display: none; }

  /* Pulse ring sits exactly on the circle */
  .float-btn .float-pulse-ring {
    width: 52px;
    height: 52px;
    left: 0;
    top: 0;
    margin-top: 0;
  }

  /* back-to-top: bottom-left on mobile */
  .back-to-top { bottom: 24px; right: auto; left: 16px; }
}

/* ── Floating Strategy Call Button (mobile left side) ── */
.float-strategy-btn {
  position: fixed;
  left: 0;
  right: auto;
  bottom: 28%;
  z-index: 1039;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 11px;
  border-radius: 0 16px 16px 0;
  box-shadow: 4px 4px 24px rgba(var(--shadow-brand-rgb), 0.50);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.float-strategy-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.float-strategy-btn:hover {
  color: #fff;
  box-shadow: 6px 4px 32px rgba(var(--shadow-brand-rgb), 0.70);
  padding: 24px 11px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991.98px) {
  .hero-content { padding: 40px 0 12px; padding-left: 12px; }
  .hero-image-col { display: none; }
  .hero-section .min-vh-100 { min-height: unset !important; }
  .float-card-1 { right: 0; }
  .float-card-2 { left: 0; }
  .float-card-3 { right: 0; }
  .about-img-badge { right: 0; bottom: -10px; }
  .contact-form-card { padding: 28px 22px; }
}
@media (max-width: 767.98px) {
  .section-padding { padding: 64px 0; }
  .hero-headline { font-size: clamp(32px, 8vw, 52px); text-align: left; }
  .hero-subheadline { text-align: center; }
  .hero-content { text-align: left; }
  .hero-content .badge-pill { margin-left: 0; margin-right: auto; }
  .hero-trust-row { margin-left: auto; margin-right: auto; }
  .hero-cta-group { display: flex; justify-content: flex-start; }
  .hero-cta-group .btn { text-align: center; width: auto; }
  .float-card { display: none; }
  .hero-img { height: 280px; }
  .stat-number { font-size: 36px; }
  /* comparison table handled in its own block above */
  .final-cta-section .btn { font-size: 14px; padding: 11px 24px !important; margin-bottom: 10px; }
  .final-cta-section .me-3 { margin-right: 0 !important; }
}
@media (max-width: 575.98px) {
  .contact-form-card { padding: 20px 16px; }
  .footer-legal-links { flex-direction: column; gap: 8px; }
}
