/*
 * Global colour palette and reusable styles
 *
 * Defining a cohesive set of CSS variables up front makes it easy
 * to maintain a consistent look and feel across the entire site. If
 * you decide to adjust the hue of your brand later, simply tweak
 * these values instead of hunting through individual rules.
 */
:root {
  /* Backgrounds and surfaces */
  --bg: #0b0823;
  /* darkest base colour */
  --bg-primary: #0D0729;
  --surface: #13122a;
  /* slightly lighter for nav and cards */
  --overlay: rgba(11, 8, 35, 0.6);
  /* translucent overlay on images */
  /* Primary brand colours */
  --primary: #7f3ff5;
  /* vivid purple */
  --primary-600: #6d2fdd;
  /* darker purple for hover/focus */
  --secondary: #5730a5;
  /* complementary deep indigo */
  --accent: #d14ffb;
  /* bright pink accent */
  /* Text colours */
  --text: #f5f6fa;
  /* near white for high contrast */
  --muted: #a9a4c0;
  /* muted grey for secondary text */
  /* Misc */
  --ring: rgba(127, 63, 245, 0.35);
  /* focus ring colour matching primary */
  --white: #ffffff;
  /* pure white for borders and highlights */
}

/* Basic element defaults */
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

.text-white {
  color: var(--text) !important;
}

/* Navigation styling */
.navbar {
  background-color: rgba(#0b0823, #5730a5, #13122a, 0.8);
  backdrop-filter: blur(8px);
  margin: 30px 20px 20px 20px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .nav-link {
  color: var(--text);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--accent);
}

.navbar .navbar-brand {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler i {
  font-size: 1.6rem;
  color: var(--white) !important;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
}

/* iOS tap highlight */
.navbar-toggler {
  -webkit-tap-highlight-color: transparent;
}

/* Button styling */
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-600);
  --bs-btn-hover-border-color: var(--primary-600);
  --bs-btn-focus-shadow-rgb: 125, 63, 245;
  --bs-btn-color: var(--text);
}

.contact-btn {
  border-radius: 50px !important;
  padding: 12px;
  width: 130px;
}

.btn-secondary {
  --bs-btn-bg: var(--secondary);
  --bs-btn-border-color: var(--secondary);
  --bs-btn-hover-bg: var(--primary-600);
  --bs-btn-hover-border-color: var(--primary-600);
  --bs-btn-color: var(--text);
}

.btn-outline-light {
  --bs-btn-color: var(--text);
  --bs-btn-border-color: rgba(255, 255, 255, 0.3);
  --bs-btn-hover-color: var(--text);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
}

.dropdown-menu {
  background-color: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.dropdown-menu li:hover {
  background-color: var(--bg-primary);
}

.dropdown-menu li a {
  color: var(--white);
}

.dropdown-menu li a:hover {
  background-color: var(--bg-primary);
  color: var(--primary);
}

/* Hero section */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark overlay to ensure text legibility */
  background: linear-gradient(180deg,
      rgba(11, 8, 35, 0.6) 0%,
      rgba(11, 8, 35, 0.9) 80%);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: 6rem;
  max-width: 70%;
  font-weight: 600 !important;
}

.hero-content {
  padding-top: 50px;
}

.hero p.lead {
  color: var(--text) !important;
  max-width: 32rem;
}

.badge.bg-secondary {
  background-color: var(--secondary);
  color: var(--text);
}

/* Utility for spacing top padding equal to navbar height */
.py-7 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Focus outline for accessibility */
*:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Hero statistics section */
.hero-stats .stats .border-end {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Glass card styling for the “Best AI Tools” box */
.ai-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  color: var(--text);
  max-width: 320px;
}

/* Scroll cue label */
.scroll-label {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* Logo carousel section */
.logo-section {
  background-color: var(--bg-primary);
  overflow: hidden;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: logo-marquee 30s linear infinite;
  /* Adjust speed here */
}

.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 246, 250, 0.25);
  font-weight: 600;
  font-size: 1.125rem;
  margin-right: 4rem;
  text-transform: capitalize;
  white-space: nowrap;
}

.logo-item i {
  font-size: 2rem;
}

/* About */
/* About Us section styling */
.about-section {
  position: relative;
  background: radial-gradient(1200px 600px at 80% 20%, rgba(127, 63, 245, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(209, 79, 251, 0.08), transparent 60%), var(--bg-primary);
  isolation: isolate;
}

.about-section .about-label {
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.about-section .about-label .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.about-section .about-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  max-width: 640px;
}

.about-section .about-title .highlight {
  color: var(--primary);
}

.about-section .about-stats {
  color: var(--text);
}

.avatars {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  margin-right: -10px;
}

.avatar i {
  font-size: 1.2rem;
}

.about-images {
  position: relative;
}

.about-img-lg {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.about-img-sm {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 35%;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 4px solid var(--bg);
  z-index: 2;
}

.about-scroll-up {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.about-scroll-up i {
  color: var(--text);
}

.about-scroll-up:hover {
  background-color: var(--primary-600);
}

/* ======= Services Section ======= */
.services-section {
  position: relative;
  background: radial-gradient(1200px 600px at 80% 20%, rgba(127, 63, 245, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(209, 79, 251, 0.08), transparent 60%), var(--bg-primary);
  isolation: isolate;
}

.text-primary-emph {
  color: var(--primary);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(127, 63, 245, 0.35);
  box-shadow: 0 10px 36px rgba(127, 63, 245, 0.25);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(127, 63, 245, 0.35);
}

.service-icon i {
  font-size: 1.5rem;
  line-height: 1;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.25rem 0 0.25rem;
}

.service-text {
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.service-cta {
  margin-top: auto;
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--text);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 22px rgba(127, 63, 245, 0.35);
}

.service-cta i {
  font-size: 1.1rem;
}

.service-cta:hover,
.service-cta:focus-visible {
  background: var(--primary-600);
  transform: translateX(2px);
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* CTA */
/* ======= CTA / Work With Us ======= */
.cta-neo {
  min-height: clamp(480px, 70vh, 720px);
  background: radial-gradient(1200px 600px at 80% 20%, rgba(127, 63, 245, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(209, 79, 251, 0.08), transparent 60%),
    var(--bg-primary);
  isolation: isolate;
}

/* canvas + subtle glow layer */
.cta-neo__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#bg-orbs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.cta-neo__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 35% at 75% 30%, rgba(127, 63, 245, 0.25), transparent 60%),
    radial-gradient(35% 40% at 25% 75%, rgba(209, 79, 251, 0.20), transparent 60%);
  filter: blur(40px);
  opacity: .8;
}

/* content */
.cta-neo__title {
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  letter-spacing: .2px;
}

.cta-neo__lede {
  font-size: clamp(.95rem, 1.2vw, 1.125rem);
  color: var(--muted);
  max-width: 780px;
  margin-inline: auto;
}

/* buttons aligned to your palette */
.cta-neo__btn {
  padding: .85rem 1.35rem;
  border-radius: 999px;
}

.cta-neo__btn--ghost {
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: var(--white);
}

.cta-neo__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* subtle parallax on hover/focus */
.cta-neo:hover .cta-neo__glow {
  transition: transform .6s ease;
  transform: translate3d(0, -4px, 0);
}

.text-primary-emph {
  color: var(--primary);
}

/* Extra sheen layer that helps blend with the section above */
.cta-neo__sheen {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 40%);
  pointer-events: none;
  filter: blur(16px);
  opacity: .8;
  will-change: transform;
}

/* Make sure all moving bits are composited */
[data-parallax-layer],
[data-parallax-content] {
  will-change: transform;
}

/* Slight overlap so it tucks under the section above */
#work-with-us.cta-neo {
  margin-top: -40px;
  padding-top: calc(7rem + 40px);
}

/* ======= Projects Rail ======= */
.projects-rail-section {
  background:
    radial-gradient(700px 400px at 10% 10%, rgba(127, 63, 245, .08), transparent 60%),
    radial-gradient(800px 500px at 90% 80%, rgba(209, 79, 251, .06), transparent 60%),
    var(--bg-primary);
}

/* Accent helper */
.text-primary-emph {
  color: var(--primary);
}

/* --- Rail layout --- */
.projects-rail {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  overflow: hidden;
  /* desktop: no scroll */
  height: clamp(360px, 56vh, 520px);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.projects-rail::-webkit-scrollbar {
  display: none;
}

/* --- Card base --- */
.proj-card {
  position: relative;
  display: block;
  color: var(--white);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
  min-width: 0;
  /* allow shrink */
  height: 100%;

  /* width animation uses explicit parts (don’t animate the shorthand) */
  flex-grow: 1;
  flex-basis: 18%;
  transition:
    flex-grow .45s ease,
    flex-basis .45s ease,
    transform .35s ease,
    filter .35s ease,
    box-shadow .35s ease,
    border-color .25s ease;
  will-change: flex-basis, transform;
  -webkit-tap-highlight-color: transparent;
}

/* Featured card: wider by default */
.proj-card.is-featured {
  flex-grow: 2.4;
  flex-basis: 38%;
}

.proj-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: contrast(1.04) saturate(1.07);
  transition: transform .8s cubic-bezier(.22, .61, .36, 1), filter .45s ease;
}

/* --- Readability overlay (doesn't block events) --- */
.proj-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 12, 0) 40%, rgba(5, 5, 12, .65) 72%, rgba(5, 5, 12, .9) 100%),
    radial-gradient(60% 40% at 80% 0%, rgba(127, 63, 245, .30), transparent 60%);
  opacity: .92;
  transition: opacity .35s ease;
}

/* --- Labels --- */
.proj-labels {
  position: absolute;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  padding: .25rem .55rem;
  font-size: .72rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}

/* --- Info block --- */
.proj-info {
  position: absolute;
  z-index: 3;
  left: .9rem;
  right: .9rem;
  bottom: .9rem;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: auto;
  /* make buttons clickable */
}

.proj-title {
  margin: 0 0 .25rem;
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.25;
}

.proj-desc {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}

/* CTA button */
.proj-cta {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(127, 63, 245, .35);
  transition: transform .25s ease, background-color .25s ease;
}

.proj-cta:hover {
  transform: translateX(2px);
}

/* --- Stretch in/out behavior (desktop) --- */
.projects-rail:hover .proj-card {
  flex-grow: .65;
  /* squeeze others */
  flex-basis: 12%;
  filter: saturate(.85) brightness(.9);
}

.projects-rail:hover .proj-card:hover {
  flex-grow: 3;
  /* expand hovered */
  flex-basis: 50%;
  filter: none;
  transform: translateY(-2px);
}

.projects-rail:hover .proj-card:hover::before {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.12);
}

.projects-rail:hover .proj-card:hover .proj-info {
  opacity: 1;
  transform: translateY(0);
}



/* ======= Pricing Section ======= */
.pricing-section {
  background:
    radial-gradient(900px 560px at 12% 10%, rgba(127, 63, 245, .08), transparent 60%),
    radial-gradient(1100px 700px at 88% 80%, rgba(209, 79, 251, .06), transparent 60%),
    var(--bg-primary);
}

.text-primary-emph {
  color: var(--primary);
}

/* Card shell (glass + border + subtle hover) */
.price-card {
  position: relative;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .40);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 63, 245, .35);
  box-shadow: 0 16px 44px rgba(127, 63, 245, .20);
}

.price-card__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

/* Featured ring */
.price-card.is-featured {
  outline: 1px solid rgba(127, 63, 245, .45);
  box-shadow: 0 16px 50px rgba(127, 63, 245, .25);
}

.price-card__badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, var(--primary), var(--secondary, #9C4DFF));
  box-shadow: 0 8px 22px rgba(127, 63, 245, .35);
}

/* Titles / copy */
.price-title {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin: 0;
}

.price-sub {
  color: var(--muted);
  font-size: .95rem;
}

/* Price block */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  line-height: 1;
  color: var(--white);
}

.price-currency {
  font-size: 1.25rem;
  opacity: .9;
}

.price-amount {
  font-size: clamp(2.2rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: .5px;
}

.price-period {
  font-size: .95rem;
  color: var(--muted);
  margin-left: .1rem;
}

/* Features */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}

.feature-list.two-col {
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--white);
  font-size: .95rem;
}

.feature-list i {
  color: var(--primary);
  margin-top: .15rem;
}

/* CTA button */
.price-cta {
  position: relative;
  box-shadow: 0 10px 28px rgba(127, 63, 245, .35);
}

.price-cta::after {
  /* soft glow ring on focus/hover */
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(127, 63, 245, .35), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.price-cta:hover::after,
.price-cta:focus-visible::after {
  opacity: 1;
}

/* ======= Testimonials (Orbit + Carousel) ======= */
.testimonials-neo {
  background:
    radial-gradient(1000px 620px at 14% 18%, rgba(127, 63, 245, .08), transparent 60%),
    radial-gradient(1100px 700px at 82% 76%, rgba(209, 79, 251, .06), transparent 60%),
    var(--bg-primary);
}

.text-primary-emph {
  color: var(--primary);
}

/* Orbit graphic */
.orbit {
  position: relative;
  width: min(440px, 78vw);
  aspect-ratio: 1/1;
  margin-inline: auto;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, .35));
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .16);
  background:
    radial-gradient(35% 35% at 70% 20%, rgba(127, 63, 245, .25), transparent 60%),
    radial-gradient(30% 30% at 20% 80%, rgba(209, 79, 251, .18), transparent 60%);
  animation: orbitSpin 24s linear infinite;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-core {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 45%, var(--primary), #7F3FF5 60%, rgba(0, 0, 0, .35) 61%);
  display: grid;
  place-items: center;
}

.orbit-quote {
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: #fff;
  opacity: .95;
  transform: translateY(-4px);
}

/* Avatars positioned around the ring */
.orbit-avatar {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  /* background-image: var(--avatar, radial-gradient(circle at 30% 30%, #9B5CFF, #5B2AFF)); */
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}

.orbit-avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 30px rgba(127, 63, 245, .35);
}

/* Place them around the circle */
.a1 {
  top: 6%;
  left: 58%;
}

.a2 {
  top: 24%;
  left: 2%;
}

.a3 {
  bottom: 4%;
  left: 32%;
}

.a4 {
  top: 60%;
  right: -2%;
}

/* Carousel shell */
.tstl-carousel {
  position: relative;
  padding: 1rem 0 0.25rem;
}

.tstl-track {
  position: relative;
  min-height: 180px;
}

.tstl-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}

.tstl-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.tstl-quote {
  color: var(--white);
  font-size: clamp(1.05rem, 1.3vw, 1.125rem);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.tstl-meta {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.tstl-stars {
  color: var(--primary);
  letter-spacing: 2px;
  font-size: 1rem;
}

.tstl-name {
  font-weight: 700;
  color: var(--white);
}

.tstl-role {
  font-size: .9rem;
}

/* Controls */
.tstl-controls .btn {
  --bs-btn-border-color: rgba(255, 255, 255, .18);
  --bs-btn-color: var(--white);
  backdrop-filter: blur(6px);
}

.tstl-controls .btn.btn-primary {
  box-shadow: 0 10px 28px rgba(127, 63, 245, .35);
}

.tstl-dots {
  display: flex;
  gap: .4rem;
}

.tstl-dots button {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .24);
  transition: background-color .25s ease, width .25s ease;
}

.tstl-dots button.is-active {
  background: var(--primary);
  width: 40px;
}

/* ======= FAQ Section (unique orbit/glass style) ======= */
.faq-constellation {
  position: relative;
  background:
    radial-gradient(900px 560px at 12% 10%, rgba(127, 63, 245, .08), transparent 60%),
    radial-gradient(1100px 700px at 88% 80%, rgba(209, 79, 251, .06), transparent 60%),
    var(--bg-primary);
}

.text-primary-emph {
  color: var(--primary);
}

/* Decorative background dots */
.faq-orbs {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(40% 30% at 20% 20%, rgba(127, 63, 245, .20), transparent 60%),
    radial-gradient(35% 28% at 80% 80%, rgba(209, 79, 251, .18), transparent 60%);
  filter: blur(40px);
  opacity: .75;
  pointer-events: none;
}

/* Search input */
.faq-search {
  position: relative;
}

.faq-search .bi {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .6);
}

.faq-search .form-control {
  padding-left: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
}

.faq-search .form-control::placeholder {
  color: rgba(255, 255, 255, .55);
}

.faq-search .form-control:focus {
  border-color: rgba(127, 63, 245, .45);
  box-shadow: 0 0 0 .2rem rgba(127, 63, 245, .20);
}

/* Accordion shell */
.faq-accordion {
  display: grid;
  gap: 1rem;
}

/* Item (glass card) */
.faq-item {
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover {
  border-color: rgba(127, 63, 245, .35);
  box-shadow: 0 14px 38px rgba(127, 63, 245, .18);
}

/* Trigger */
.faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem 1rem 1.2rem;
  background: transparent;
  border: 0;
  color: var(--white);
  text-align: left;
}

.faq-trigger .q {
  font-size: clamp(.98rem, 1.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .2px;
}

/* Plus icon -> minus with animation */
.ico-plus {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  position: relative;
  transition: background-color .2s ease, border-color .2s ease, transform .25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.ico-plus::before,
.ico-plus::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.ico-plus::before {
  width: 14px;
  height: 2px;
}

.ico-plus::after {
  width: 2px;
  height: 14px;
}

.faq-trigger[aria-expanded="true"] .ico-plus {
  background: var(--primary);
  border-color: transparent;
}

.faq-trigger[aria-expanded="true"] .ico-plus::after {
  opacity: 0;
  transform: scaleY(0.2);
}

/* Panel with smooth height animation */
.faq-panel {
  height: 0;
  overflow: hidden;
  transition: height .38s cubic-bezier(.22, 1, .36, 1);
  will-change: height;
}

.faq-panel__inner {
  padding: 0 1.2rem 1.1rem 1.2rem;
  color: var(--white);
}

.faq-panel__inner p {
  margin-bottom: .6rem;
  color: rgba(255, 255, 255, .86);
}

.faq-panel__inner .mini {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .35rem;
  color: rgba(255, 255, 255, .80);
  font-size: .94rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .faq-panel {
    transition: none !important;
  }

  .ico-plus::before,
  .ico-plus::after {
    transition: none !important;
  }
}

/* ======= CTA Ribbon ======= */
.cta-ribbon {
  background:
    radial-gradient(1100px 700px at 88% 80%, rgba(209, 79, 251, .06), transparent 60%),
    radial-gradient(900px 560px at 12% 10%, rgba(127, 63, 245, .08), transparent 60%),
    var(--bg-primary);
  isolation: isolate;
}

.text-primary-emph {
  color: var(--primary);
}

/* animated gradient blobs (CSS-only) */
.cta-ribbon__bg {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
}

.cta-ribbon__bg::before,
.cta-ribbon__bg::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  background: radial-gradient(circle at 30% 30%, var(--primary), rgba(127, 63, 245, .15) 60%);
  transform: translate3d(-10%, -10%, 0) scale(1);
  animation: floatA 18s ease-in-out infinite;
}

.cta-ribbon__bg::after {
  width: 50vmax;
  height: 50vmax;
  opacity: .28;
  background: radial-gradient(circle at 70% 30%, rgba(209, 79, 251, .85), rgba(209, 79, 251, .12) 60%);
  transform: translate3d(70%, 10%, 0) scale(1);
  animation: floatB 22s ease-in-out infinite;
}

@keyframes floatA {

  0%,
  100% {
    transform: translate3d(-10%, -10%, 0) scale(1)
  }

  50% {
    transform: translate3d(-6%, 4%, 0) scale(1.06)
  }
}

@keyframes floatB {

  0%,
  100% {
    transform: translate3d(70%, 10%, 0) scale(1)
  }

  50% {
    transform: translate3d(62%, -6%, 0) scale(1.08)
  }
}

/* points */
.cta-points li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--white);
  margin-bottom: .5rem;
  font-size: .98rem;
}

.cta-points i {
  color: var(--primary);
  margin-top: .2rem;
}

/* ghost button */
.cta-ghost {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18) !important;
  color: var(--white);
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

/* floating glass card */
.cta-card {
  position: relative;
  max-width: 420px;
  padding: 1.25rem 1.25rem 2.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
  z-index: 1;
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.cta-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}

.cta-steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem .9rem;
  border-radius: .9rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  color: var(--white);
}

.cta-steps li span {
  font-weight: 600;
}

.cta-steps li small {
  color: var(--muted);
}

/* stat chips */
.cta-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 110px;
  height: 78px;
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--primary), rgba(127, 63, 245, .6));
  color: var(--white);
  box-shadow: 0 12px 32px rgba(127, 63, 245, .35);
}

.cta-chip .num {
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.cta-chip .lbl {
  font-size: .8rem;
  opacity: .9;
}

.chip-a {
  right: -14px;
  top: -32px;
}

.chip-b {
  left: -14px;
  bottom: -42px;
  background: linear-gradient(180deg, #d14ffb, rgba(209, 79, 251, .6));
}

/* ======= Footer ======= */
.footer-neo {
  background:
    radial-gradient(900px 560px at 12% 10%, rgba(127, 63, 245, .08), transparent 60%),
    radial-gradient(1100px 700px at 88% 80%, rgba(209, 79, 251, .06), transparent 60%),
    var(--bg-primary);
  color: var(--white);
  isolation: isolate;
}

.footer-title {
  color: var(--white);
  opacity: .95;
  margin-bottom: .75rem;
  font-weight: 700;
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .85);
  display: flex;
  align-items: center;
  gap: .25rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contacts li {
  color: rgba(255, 255, 255, .85);
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.footer-contacts i {
  color: var(--primary);
  margin-top: .2rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.footer-social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .14);
}

.footer-sep {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
}

/* Newsletter */
.newsletter-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .35rem .35rem .35rem .9rem;
  gap: .5rem;
}

.newsletter .form-control {
  background: transparent;
  border: 0;
  color: var(--white);
  padding: .4rem .25rem;
}

.newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, .55);
}

.newsletter-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: linear-gradient(180deg, var(--primary), var(--secondary, #9C4DFF));
  box-shadow: 0 10px 28px rgba(127, 63, 245, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(127, 63, 245, .38);
}

.consent {
  color: rgba(255, 255, 255, .7);
}

.consent a {
  color: var(--white);
}

/* ======= Back-to-top (glow + progress ring) ======= */
.to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: linear-gradient(180deg, var(--primary), var(--secondary, #9C4DFF));
  box-shadow: 0 14px 36px rgba(127, 63, 245, .45);
  cursor: pointer;
  z-index: 30;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.8);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
  /* progress ring var (0..100) set by JS */
  --pct: 0;
}

.to-top.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.to-top:hover {
  box-shadow: 0 18px 44px rgba(127, 63, 245, .55);
}

/* progress ring */
.to-top::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(127, 63, 245, .35), transparent 60%),
    conic-gradient(var(--white) calc(var(--pct)*1%), rgba(255, 255, 255, .18) 0);
  opacity: .75;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 65%, #000 66%);
  mask: radial-gradient(circle at 50% 50%, transparent 65%, #000 66%);
  transition: opacity .2s ease;
  pointer-events: none;
}

/* glow pulse */
.to-top::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: inherit;
  background: radial-gradient(40% 40% at 50% 50%, rgba(127, 63, 245, .35), transparent 60%);
  filter: blur(12px);
  opacity: .65;
  pointer-events: none;
  animation: pulseGlow 2.2s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(.95);
    opacity: .55;
  }

  50% {
    transform: scale(1.05);
    opacity: .8;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .to-top::after {
    animation: none;
  }

  .to-top,
  .newsletter-btn {
    transition: none !important;
  }
}


@media (max-width: 992px) {
  .hero h1 {
    font-size: 4rem;
    max-width: 100%;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .hero-content span {
    width: 150px;
  }

  .services-section .display-6 {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  }

  #work-with-us.cta-neo {
    margin-top: -24px;
    padding-top: calc(6rem + 24px);
  }

  .projects-rail {
    overflow-x: auto;
    /* enable swipe */
    height: 460px;
    padding-bottom: .25rem;
  }

  .proj-card {
    flex: 0 0 78vw;
    /* fixed width cards */
  }

  .proj-card.is-featured {
    flex-basis: 88vw;
  }

  /* ignore desktop hover squeeze on touch */
  .projects-rail:hover .proj-card {
    flex: 0 0 auto;
    filter: none;
    transform: none;
  }

  .proj-card.is-active .proj-info {
    opacity: 1;
    transform: translateY(0);
  }

  .feature-list.two-col {
    grid-template-columns: 1fr;
  }

  .orbit {
    width: min(360px, 78vw);
    margin-bottom: .25rem;
  }

  .faq-accordion {
    gap: .9rem;
  }

  .cta-card {
    margin-top: .5rem;
  }

  .footer-neo .col-lg-2,
  .footer-neo .col-lg-3 {
    margin-top: .25rem;
  }

  .projects-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* tablet: 2-up */
    gap: 1rem;
    height: auto;
    overflow: visible;
  }


  /* cards become static tiles */
  .proj-card {
    flex: initial !important;
    height: auto;
    aspect-ratio: 16 / 10;
    /* consistent height; drop if you prefer auto */
    transform: none !important;
    filter: none !important;
  }

  /* ensure the ::before uses the same bg as the card inline style */
  .proj-card::before {
    background-image: inherit;
    /* picks up article's background-image */
    transform: none !important;
    /* no zoom on mobile */
    transition: none !important;
  }

  /* show info block without hover */
  .proj-info {
    opacity: 1 !important;
    transform: none !important;
  }

  /* nuke the desktop squeeze/expand rules */
  .projects-rail:hover .proj-card,
  .projects-rail:hover .proj-card:hover {
    flex-grow: 1 !important;
    flex-basis: auto !important;
    filter: none !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
    max-width: 100%;
    text-align: center;
  }

  .about-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about-stats {
    flex-direction: column;
  }

  .hero-stats-left {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-stats-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .orbit {
    width: min(320px, 86vw);
  }

  .a1,
  .a2,
  .a3,
  .a4 {
    transform: scale(.94);
  }

  .cta-steps li {
    padding: .65rem .8rem;
  }

  .cta-chip {
    transform: scale(.9);
  }

  .projects-rail {
    grid-template-columns: 1fr;
  }

  /* phone: 1-up */
}

/* Horizontal scroll animation */
@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}