:root {
  /* 5-color palette */
  --indigo: #4f46e5;
  --cyan:   #06b6d4;
  --emerald:#10b981;
  --amber:  #f59e0b;
  --rose:   #f43f5e;

  --primary: var(--indigo);
  --primary-2: #4338ca;
  --accent: var(--cyan);
  --accent-2: var(--emerald);
  --dark: #0b1020;
  --dark-2: #131a35;
  --text: #1a1f36;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --border: #e8eaf3;
  /* Brand gradient — clean indigo → cyan (2 colors) */
  --gradient: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  --gradient-2: linear-gradient(135deg, var(--cyan), var(--emerald));
  --gradient-3: linear-gradient(135deg, var(--amber), var(--rose));
}

* { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .brand-text {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--primary);
  color: white;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1100;
  background: rgba(0,0,0,0.05);
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: var(--gradient);
  transition: width .15s ease;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* ---------- Background blobs ---------- */
.bg-blobs {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: .35;
  animation: float 20s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: var(--indigo); top: -150px; left: -150px; }
.blob-2 { width: 400px; height: 400px; background: var(--cyan); top: 40%; right: -120px; animation-delay: -7s; }
.blob-3 { width: 450px; height: 450px; background: var(--emerald); bottom: -100px; left: 30%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
}

/* ---------- Navbar ---------- */
.navbar {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  transition: all .3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  padding: 8px 0;
}
.brand-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}
.brand-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.navbar:not(.scrolled) .brand-text { color: white; }
.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85) !important; }
.navbar-toggler-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.navbar:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/></svg>") !important;
}
.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='%231a1f36' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/></svg>") !important;
}

/* Toggler — make it always clearly visible & tappable */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  padding: 6px 10px;
  border-radius: 10px;
  transition: background .2s ease, border-color .2s ease;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35); outline: none; }
.navbar-toggler:hover { background: rgba(255,255,255,0.18); }
.navbar.scrolled .navbar-toggler {
  border-color: var(--border);
  background: rgba(99, 102, 241, 0.08);
}
.nav-link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text) !important;
  margin: 0 4px;
  position: relative;
  transition: color .25s ease;
}
.nav-link::after {
  content: ""; position: absolute;
  bottom: 4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient); border-radius: 2px;
  transition: width .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Mobile collapsed menu — give it a solid backdrop so links are visible
   even when the navbar itself is transparent (top of page) */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse.show,
  .navbar .navbar-collapse.collapsing {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    margin-top: 12px;
    padding: 18px;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.18);
    border: 1px solid var(--border);
    position: relative;
    z-index: 1040;
  }
  .navbar .navbar-collapse.show .nav-link,
  .navbar .navbar-collapse.collapsing .nav-link {
    color: var(--text) !important;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .navbar .navbar-collapse.show .nav-item:last-child .nav-link,
  .navbar .navbar-collapse.collapsing .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  .navbar .navbar-collapse.show .btn-gradient,
  .navbar .navbar-collapse.collapsing .btn-gradient {
    color: white !important;
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
  .navbar .navbar-nav { width: 100%; }
}

/* ---------- Buttons ---------- */
.btn-gradient {
  background: var(--gradient);
  background-size: 200% 200%;
  color: white !important;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 24px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transition: transform .25s ease, box-shadow .25s ease, background-position .5s ease;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.55);
  color: white;
  background-position: right center;
}
.btn-glass {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all .25s ease;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.18);
  color: white;
  transform: translateY(-2px);
}
.btn-outline-light {
  border-radius: 50px;
  font-weight: 600;
  border-width: 2px;
}
.btn-light { border-radius: 50px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.45), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(6, 182, 212, 0.30), transparent 50%),
    linear-gradient(135deg, #0b1020 0%, #1e1b4b 60%, #1e293b 100%);
  color: white;
  overflow: hidden;
  padding-top: 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-spotlight {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(6, 182, 212, 0.18), transparent 50%);
  transition: background .1s ease;
}
.hero-content { position: relative; z-index: 2; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 18px; border-radius: 50px;
  font-size: .9rem; font-weight: 500;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 24px 0;
}
.text-gradient-anim {
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--indigo));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.text-gradient-accent {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 540px;
}
.hero-trust { font-size: .9rem; }
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-weight: 600;
  font-size: .85rem;
}
.trust-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  opacity: .85;
}
.trust-badges i { color: var(--accent); }
.hero-scroll {
  position: absolute; bottom: 100px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; opacity: .6;
  animation: bounce 2s infinite;
  font-size: .8rem; letter-spacing: 2px;
  z-index: 3;
}
.hero-scroll i { font-size: 1.5rem; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}
.wave-divider {
  position: absolute;
  bottom: -1px; left: 0; width: 100%;
  height: 80px;
  z-index: 3;
}

/* Hero stage with floating cards */
.hero-stage {
  position: relative;
  width: 100%; aspect-ratio: 1;
  max-width: 480px; margin: 0 auto;
}
.hero-center {
  position: absolute;
  inset: 28%;
  display: flex; align-items: center; justify-content: center;
}
.hero-ring {
  position: absolute; inset: -20px;
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.hero-ring-2 {
  inset: -50px;
  border-color: rgba(255,255,255,0.1);
  animation-direction: reverse;
  animation-duration: 40s;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero-logo-wrap {
  width: 100%; height: 100%;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
  animation: float-logo 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.hero-logo-wrap img { width: 70%; height: auto; }
@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: orbit-float 5s ease-in-out infinite;
  min-width: 165px;
  z-index: 3;
}
.fc-1 { top: 0; left: 0; animation-delay: 0s; }
.fc-2 { top: 12%; right: -10px; animation-delay: -1.2s; }
.fc-3 { bottom: 8%; left: -10px; animation-delay: -2.4s; }
.fc-4 { bottom: 0; right: 5%; animation-delay: -3.6s; }
.fc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  flex-shrink: 0;
}
.bg-cyan   { background: linear-gradient(135deg, var(--cyan),    #0891b2); }
.bg-purple { background: linear-gradient(135deg, var(--indigo),  #4338ca); }
.bg-green  { background: linear-gradient(135deg, var(--emerald), #059669); }
.bg-orange { background: linear-gradient(135deg, var(--amber),   #d97706); }
.bg-rose   { background: linear-gradient(135deg, var(--rose),    #be123c); }
.fc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}
.fc-label {
  font-size: .72rem;
  opacity: .75;
}
@keyframes orbit-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.stat-card {
  background: white;
  padding: 28px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.12);
  border-color: transparent;
}
.stat-icon {
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 10px;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
  font-size: .9rem;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-dark {
  background: linear-gradient(135deg, #0b1020 0%, #1e1b4b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.eyebrow-light {
  background: rgba(255,255,255,0.15);
  color: white;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-sub { color: rgba(255,255,255,0.7); }
.lead-text {
  font-size: 1.15rem;
  color: var(--text);
}

/* ---------- About feature mini ---------- */
.feature-mini {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature-mini i {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.3rem;
}
.feature-mini:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

/* ---------- Vision/Mission ---------- */
.vm-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.vm-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient);
}
.vm-card::after {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  border-radius: 50%;
  transition: transform .4s ease;
}
.vm-card:hover::after { transform: scale(1.4); }
.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}
.vm-icon {
  width: 64px; height: 64px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  position: relative;
}
.vm-card h3 {
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}
.vm-card p { color: var(--muted); margin: 0; position: relative; }

/* ---------- Why Choose Us ---------- */
.why-card {
  background: white;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.why-card::before {
  content: ""; position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
}
.why-card:hover::before { opacity: 1; }
.why-card:hover {
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  position: absolute;
  top: 20px; right: 24px;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.15;
  line-height: 1;
}
.why-card i {
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 16px;
}
.why-card h5 {
  font-weight: 800;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

/* ---------- Solution cards ---------- */
.solution-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  border: 1px solid var(--border);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.solution-card::after {
  content: ""; position: absolute;
  bottom: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  border-radius: 50%;
  transition: all .5s ease;
  opacity: 0;
}
.solution-card:hover::after {
  bottom: -25%; right: -25%;
  opacity: 1;
}
.solution-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}
.sol-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
  position: relative;
}
/* One color per solution — drawn from the 5-color palette */
.bg-icon-1 { background: linear-gradient(135deg, var(--indigo),  #6366f1); }
.bg-icon-2 { background: linear-gradient(135deg, var(--cyan),    #0891b2); }
.bg-icon-3 { background: linear-gradient(135deg, var(--rose),    #be123c); }
.bg-icon-4 { background: linear-gradient(135deg, var(--emerald), #059669); }
.bg-icon-5 { background: linear-gradient(135deg, var(--amber),   #d97706); }
.solution-card h4 {
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.solution-card ul {
  list-style: none;
  padding: 0; margin: 0 0 20px 0;
  flex-grow: 1;
  position: relative;
}
.solution-card ul li {
  padding: 8px 0;
  color: var(--muted);
  font-size: .95rem;
  display: flex; align-items: center;
  border-bottom: 1px dashed var(--border);
}
.solution-card ul li:last-child { border-bottom: none; }
.solution-card ul li::before {
  content: "\F270";
  font-family: bootstrap-icons;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 10px;
  font-weight: bold;
}
.solution-card ul.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.sol-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: gap .25s ease;
}
.sol-link:hover {
  color: var(--primary-2);
  gap: 12px;
}

/* ---------- Service cards ---------- */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  border: 1px solid var(--border);
  text-align: left;
  transition: all .35s ease;
  position: relative;
}
.service-card > i {
  font-size: 2.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform .35s ease;
}
.service-card:hover > i { transform: scale(1.15) rotate(-5deg); }
.service-card h5 {
  font-weight: 800;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
  border-color: var(--primary);
}
.service-card-cta {
  background: var(--gradient);
  color: white;
  cursor: pointer;
  border-color: transparent;
}
.service-card-cta > i,
.service-card-cta h5,
.service-card-cta p {
  color: white !important;
  background: none;
  -webkit-text-fill-color: white;
  opacity: 1;
}
.service-card-cta p { opacity: .85; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll 50s linear infinite;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 60s;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .3s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
}
.brand-chip img,
.brand-chip i {
  width: 22px;
  height: 22px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: .9;
}
.brand-chip:hover {
  background: var(--gradient);
  transform: translateY(-3px) scale(1.05);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.5);
}
.brand-chip:hover img,
.brand-chip:hover i { opacity: 1; }

/* ---------- Industry cards ---------- */
.industry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all .35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: ""; position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}
.industry-card > * { position: relative; z-index: 1; }
.industry-card i {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 14px;
  transition: color .35s ease, -webkit-text-fill-color .35s ease;
}
.industry-card h5 {
  font-weight: 800;
  margin-bottom: 6px;
  transition: color .35s ease;
}
.industry-card span {
  color: var(--muted);
  font-size: .9rem;
  transition: color .35s ease;
}
.industry-card:hover {
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3);
  border-color: transparent;
}
.industry-card:hover::before { opacity: 1; }
.industry-card:hover i { -webkit-text-fill-color: white; color: white; background: none; }
.industry-card:hover h5 { color: white; }
.industry-card:hover span { color: rgba(255,255,255,0.85); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 50px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}
.quote-icon {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.2;
}
.testimonial-card p {
  font-size: 1.2rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin: 30px 0;
  position: relative;
}
.testimonial-author {
  display: flex; align-items: center;
  gap: 14px;
  justify-content: center;
}
.t-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}
.testimonial-author strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
}
.testimonial-author span {
  font-size: .85rem;
  color: var(--muted);
}
.carousel-indicators-custom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.carousel-indicators-custom button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  transition: all .3s ease;
  padding: 0;
}
.carousel-indicators-custom button.active {
  background: var(--gradient);
  width: 36px;
  border-radius: 6px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 60px 0;
  position: relative;
}
.cta-inner {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
  border-radius: 32px;
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: 0 30px 60px rgba(79, 70, 229, 0.35);
}
.cta-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
  border-radius: 50%;
}
.cta-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
}
.cta-sub {
  opacity: .9;
  font-size: 1.1rem;
  margin: 0;
  position: relative;
}
.cta-banner .btn-light {
  position: relative;
  color: var(--primary);
}

/* ---------- Contact ---------- */
.contact-card {
  background: linear-gradient(135deg, #0b1020 0%, #1e1b4b 50%, var(--indigo) 100%);
  border-radius: 32px;
  padding: 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%);
}
.contact-card::after {
  content: ""; position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
}
.contact-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  /* margin: 12px 0 16px; */
  position: relative;
}
.contact-sub {
  opacity: .85;
  font-size: 1.1rem;
  /* margin-bottom: 30px; */
  position: relative;
}
.contact-meta {
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.cm-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.cm-item i {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.cm-item a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cm-item a:hover { color: white; }
.contact-cta-box {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 36px;
  border-radius: 24px;
  position: relative;
}
.contact-cta-box h4 { font-weight: 800; margin-bottom: 6px; }

/* ---------- Contact form ---------- */
.contact-form .form-label {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 6px;
}
.input-icon {
  position: relative;
}
.input-icon > i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}
.contact-form .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  padding: 12px 16px 12px 42px;
  border-radius: 12px;
  font-size: .95rem;
  transition: all .25s ease;
}
.contact-form textarea.form-control {
  padding-left: 16px;
  resize: vertical;
}
.contact-form .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}
.contact-form .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
  color: white;
}
.contact-form .form-select-custom {
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  padding: 12px 40px 12px 16px;
  border-radius: 12px;
  font-size: .95rem;
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all .25s ease;
}
.contact-form .form-select-custom:focus {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
  color: white;
  outline: none;
}
.contact-form .form-select-custom option {
  background: #ffffff;
  color: #1a1f36;
  padding: 10px;
}
.contact-form .form-select-custom option[disabled] {
  color: #9ca3af;
}
.contact-form .invalid-feedback {
  color: #fca5a5;
  font-size: .82rem;
  margin-top: 6px;
}
.contact-form .was-validated .form-control:invalid,
.contact-form .was-validated .form-select-custom:invalid {
  border-color: #fca5a5;
}
.contact-form .btn-light {
  border-radius: 12px;
  color: var(--primary);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-form .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.form-success {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  font-size: .95rem;
}
.form-success i { margin-right: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient);
}
.footer .brand-text { color: white; font-size: 1.1rem; }
.social-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: white;
  text-decoration: none;
  transition: all .25s ease;
}
.social-row a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.4);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 1000;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.6);
}

/* ---------- Director cards ---------- */
.director-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
  height: 100%;
}
.director-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(79, 70, 229, 0.15);
  border-color: transparent;
}
.director-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient);
  position: relative;
}
.director-photo::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(18px);
  opacity: 0.25;
  z-index: -1;
}
.director-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  display: block;
}
.director-info h4 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--text);
}
.director-role {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Responsive ---------- */

/* Tablet & below (<= 991.98px) */
@media (max-width: 991.98px) {
  .float-card { display: none; }
  .section { padding: 80px 0; }
  .hero { padding-top: 0; min-height: auto; }
  .hero .min-vh-100 { min-height: auto !important; }
  .hero-content > .row { padding-bottom: 60px; }
  .hero-title { margin: 18px 0; }
  .hero-sub { font-size: 1.05rem; }
  .hero-scroll { bottom: 30px; }
  .wave-divider { height: 60px; }

  .contact-card { padding: 44px 36px; }
  .contact-cta-box { padding: 30px; margin-top: 12px; }
  .cta-inner { padding: 44px 40px; text-align: center; }
  .cta-banner .text-lg-end { text-align: center !important; margin-top: 24px; }
  .cta-banner .cta-title,
  .cta-banner .cta-sub { text-align: center; }

  .vm-card { padding: 32px; }
  .solution-card, .service-card, .why-card, .director-card { padding: 30px 26px; }
  .testimonial-card { padding: 40px 32px; }

}

/* Mobile (<= 767.98px) */
@media (max-width: 767.98px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .hero-pill { font-size: .8rem; padding: 6px 14px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-sub { font-size: 1rem; }
  .hero-cta { display: flex; flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; margin: 0 !important; }
  .hero-trust { margin-top: 30px !important; }
  .trust-badges { gap: 12px; font-size: .8rem; }
  .hero-scroll { display: none; }

  .stats-strip { padding: 36px 0 !important; }
  .stat-card { padding: 22px 12px; }
  .stat-label { font-size: .8rem; }

  .section-title { font-size: clamp(1.6rem, 6vw, 2rem) !important; }
  .section-sub { font-size: 1rem; }
  .lead-text { font-size: 1.05rem; }

  .contact-card { padding: 32px 22px; border-radius: 22px; }
  .contact-cta-box { padding: 24px 20px; }
  .contact-title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .contact-meta { gap: 16px; }

  .cta-banner { padding: 40px 0; }
  .cta-inner { padding: 36px 24px; border-radius: 24px; text-align: center; }
  .cta-title { font-size: clamp(1.3rem, 5vw, 1.7rem); line-height: 1.25; }
  .cta-sub { font-size: 1rem; }
  .cta-glow { width: 280px; height: 280px; top: -80px; right: -80px; }
  .cta-banner .btn-light { width: 100%; max-width: 320px; }

  .vm-card, .solution-card, .service-card, .why-card, .director-card { padding: 26px 22px; }
  .why-num { font-size: 2.4rem; top: 14px; right: 18px; }
  .solution-card ul.two-col { grid-template-columns: 1fr; }

  .testimonial-card { padding: 32px 22px; border-radius: 20px; }
  .testimonial-card p { font-size: 1.02rem; margin: 22px 0; }
  .quote-icon { font-size: 3rem; top: 18px; }

  .industry-card { padding: 28px 20px; }
  .industry-card i { font-size: 2.1rem; }

  .vm-icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .sol-icon { width: 50px; height: 50px; font-size: 1.4rem; }

  .director-photo { width: 150px; height: 150px; margin-bottom: 18px; }
  .director-info h4 { font-size: 1.25rem; }

  .marquee-track { animation-duration: 35s; }
  .marquee-reverse .marquee-track { animation-duration: 42s; }
  .brand-chip { padding: 10px 16px; font-size: .9rem; min-height: 44px; }
  .brand-chip img, .brand-chip i { width: 18px; height: 18px; font-size: 1rem; }

  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }

  .navbar { padding: 10px 0; }
  .navbar-brand img { height: 36px; }
  html { scroll-padding-top: 70px; }

  /* Footer — stack and center when columns collapse */
  .footer { text-align: center; padding: 32px 0; }
  .footer .row { row-gap: 18px; }
  .footer .col-md-6 { text-align: center; }
  .footer .d-flex.align-items-center { justify-content: center; margin-bottom: 0 !important; }
  .footer .social-row { justify-content: center; margin-bottom: 12px !important; }
  .footer small { display: block; }
}

/* Small mobile (<= 575.98px) */
@media (max-width: 575.98px) {
  .container, .container-md, .container-sm { padding-left: 18px; padding-right: 18px; }
  .section { padding: 50px 0; }

  .hero-pill { font-size: .75rem; }
  .hero-title { font-size: clamp(1.7rem, 8.5vw, 2.2rem); }
  .hero-trust small { font-size: .7rem; }
  .trust-badges { gap: 10px; font-size: .75rem; }

  .stat-card { padding: 18px 10px; border-radius: 14px; }
  .stat-icon { font-size: 1.4rem; }
  .stat-num { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  .eyebrow { font-size: .7rem; padding: 5px 12px; letter-spacing: 1.5px; }

  .vm-card, .solution-card, .service-card, .why-card, .director-card,
  .industry-card { padding: 22px 18px; border-radius: 16px; }

  .director-photo { width: 130px; height: 130px; }

  .contact-card { padding: 28px 18px; }
  .contact-cta-box { padding: 22px 16px; border-radius: 18px; }

  .testimonial-card { padding: 28px 18px; }
  .testimonial-card p { font-size: .98rem; }

  .cta-banner { padding: 32px 0; }
  .cta-inner { padding: 28px 20px; border-radius: 20px; }
  .cta-glow { width: 220px; height: 220px; top: -60px; right: -60px; }
  .cta-banner .btn-light { padding: 12px 22px; font-size: .95rem; }

  .footer { padding: 28px 0; text-align: center; }
}
