:root {
  /* Miya Infotech–inspired palette */
  --cts-black: #000000;
  --cts-bg: #050505;
  --cts-surface: #141414;
  --cts-surface-2: #1c1c1c;
  --cts-border: rgba(255, 255, 255, 0.08);
  --cts-purple: #613fe7;
  --cts-purple-bright: #8400ff;
  --cts-magenta: #e26ee5;
  --cts-pink: #d946ef;
  --cts-white: #ffffff;
  --cts-gray: #adb0b7;
  --cts-muted: #6b707a;
  --cts-gradient: linear-gradient(90deg, #613fe7 0%, #8400ff 45%, #e26ee5 100%);
  --cts-gradient-hover: linear-gradient(90deg, #7c5cff 0%, #9a40ff 50%, #f080f0 100%);
  --cts-gradient-soft: linear-gradient(160deg, rgba(97, 63, 231, 0.12), rgba(226, 110, 229, 0.06));
  --cts-glass: rgba(20, 20, 20, 0.85);
  --cts-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  --cts-shadow-glow: 0 0 50px rgba(132, 0, 255, 0.35);
  --cts-radius: 16px;
  --cts-radius-pill: 50px;
  --cts-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
  --footer-height: 72px;
  --float-bottom: calc(var(--footer-height) + 1.25rem);
  /* legacy aliases */
  --cts-navy: var(--cts-bg);
  --cts-navy-light: var(--cts-surface);
  --cts-navy-card: var(--cts-surface-2);
  --cts-blue: var(--cts-purple);
  --cts-blue-bright: var(--cts-purple-bright);
  --cts-cyan: var(--cts-magenta);
  --cts-accent: var(--cts-pink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
  background: var(--cts-black);
  color: var(--cts-white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(97, 63, 231, 0.15), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(226, 110, 229, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Only main content — never override fixed header/footer */
.site-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Fixed header + footer (desktop & mobile) */
body.site-fixed-chrome {
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
}

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw;
  z-index: 10050;
  margin: 0;
  pointer-events: auto;
}

.site-main {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.navbar-cts {
  position: relative;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 700;
}

.text-gradient {
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-cts {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cts-border);
  transition: var(--cts-transition);
  padding: 0.75rem 0;
}

.navbar-cts.scrolled {
  box-shadow: var(--cts-shadow);
  padding: 0.4rem 0;
}

.navbar-brand img {
  height: 52px;
  width: auto;
  transition: transform var(--cts-transition);
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.navbar-toggler {
  position: relative;
  z-index: 2;
  padding: 0.45rem 0.55rem;
  touch-action: manipulation;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(97, 63, 231, 0.45);
}

.nav-link {
  color: var(--cts-gray) !important;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: color var(--cts-transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cts-gradient);
  transition: var(--cts-transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cts-white) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.btn-cts-primary {
  background: var(--cts-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: var(--cts-radius-pill);
  box-shadow: 0 8px 28px rgba(97, 63, 231, 0.45);
  transition: transform var(--cts-transition), box-shadow var(--cts-transition), background var(--cts-transition);
}

.btn-cts-primary:hover {
  transform: translateY(-3px);
  background: var(--cts-gradient-hover);
  box-shadow: 0 14px 36px rgba(132, 0, 255, 0.5);
  color: #fff;
}

.btn-cts-outline {
  border: 1px solid rgba(132, 0, 255, 0.5);
  color: var(--cts-white);
  background: transparent;
  font-weight: 600;
  padding: 0.75rem 1.65rem;
  border-radius: var(--cts-radius-pill);
  transition: var(--cts-transition);
}

.btn-cts-outline:hover {
  background: rgba(97, 63, 231, 0.15);
  color: var(--cts-white);
  border-color: var(--cts-magenta);
}

/* Hero */
.hero-section {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 30%, rgba(97, 63, 231, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 20% 80%, rgba(226, 110, 229, 0.12), transparent 50%),
    linear-gradient(180deg, #000000 0%, #0e0c12 50%, #050505 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.hero-orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(97, 63, 231, 0.4);
  top: 15%;
  right: 10%;
  animation: orb-drift 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(226, 110, 229, 0.2);
  bottom: 20%;
  left: 5%;
  animation: orb-drift 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 150px;
  height: 150px;
  background: rgba(132, 0, 255, 0.25);
  top: 50%;
  left: 40%;
  animation: orb-drift 14s ease-in-out infinite 2s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(97, 63, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 63, 231, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(97, 63, 231, 0.2);
  border: 1px solid rgba(132, 0, 255, 0.35);
  padding: 0.45rem 1rem;
  border-radius: var(--cts-radius-pill);
  font-size: 0.85rem;
  color: var(--cts-magenta);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--cts-gray);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--cts-glass);
  border: 1px solid rgba(132, 0, 255, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: var(--cts-transition);
}

.hero-trust-item:hover {
  border-color: rgba(132, 0, 255, 0.4);
  transform: translateY(-4px);
}

.hero-trust-item .material-icons {
  color: var(--cts-cyan);
  font-size: 1.5rem;
}

.hero-trust-item small {
  color: var(--cts-gray);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  height: min(480px, 70vw);
  max-width: min(480px, 100%);
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  overflow: hidden;
}

.hero-ring {
  position: absolute;
  inset: 8%;
  border: 2px solid rgba(132, 0, 255, 0.2);
  border-radius: 50%;
  animation: spin-slow 24s linear infinite;
}

.hero-ring-2 {
  inset: 0;
  border-style: dashed;
  border-color: rgba(124, 77, 255, 0.25);
  animation-direction: reverse;
  animation-duration: 32s;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.hero-logo-core {
  position: absolute;
  inset: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(97, 63, 231, 0.3), rgba(0, 0, 0, 0.95));
  border-radius: 50%;
  border: 2px solid rgba(132, 0, 255, 0.3);
  box-shadow: var(--cts-shadow-glow), inset 0 0 40px rgba(132, 0, 255, 0.1);
}

.hero-logo-core img {
  width: 72%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--cts-glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(132, 0, 255, 0.25);
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cts-white);
  box-shadow: var(--cts-shadow);
  animation: float-card 5s ease-in-out infinite;
}

.hero-float-card .material-icons {
  font-size: 1.25rem;
  color: var(--cts-cyan);
}

.hero-float-1 { top: 8%; left: 0; animation-delay: 0s; }
.hero-float-2 { top: 42%; right: -4%; animation-delay: 1.2s; }
.hero-float-3 { bottom: 12%; left: 8%; animation-delay: 2.4s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--cts-gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--cts-purple-bright);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-padding:nth-of-type(even) {
  background: var(--cts-surface);
}

.section-padding.section-alt-light {
  background: linear-gradient(180deg, var(--cts-black) 0%, var(--cts-surface) 100%);
}

/* Cards */
.card-cts {
  background: linear-gradient(155deg, var(--cts-surface-2), var(--cts-surface));
  border: 1px solid rgba(132, 0, 255, 0.14);
  border-radius: var(--cts-radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--cts-transition), border-color var(--cts-transition), box-shadow var(--cts-transition);
}

.card-cts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cts-gradient);
  opacity: 0;
  transition: opacity var(--cts-transition);
}

.card-cts:hover {
  transform: translateY(-10px);
  border-color: rgba(132, 0, 255, 0.4);
  box-shadow: var(--cts-shadow), var(--cts-shadow-glow);
}

.card-cts:hover::before {
  opacity: 1;
}

.card-cts .material-icons {
  font-size: 2.5rem;
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* Stats */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(97, 63, 231, 0.12);
  border-radius: var(--cts-radius);
  border: 1px solid rgba(97, 63, 231, 0.15);
  transition: var(--cts-transition);
}

.stat-card:hover {
  background: rgba(97, 63, 231, 0.22);
  transform: scale(1.03);
}

.stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--cts-cyan);
  line-height: 1;
}

.stat-label {
  color: var(--cts-gray);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Clients */
.client-chip {
  background: rgba(19, 42, 74, 0.8);
  border: 1px solid rgba(97, 63, 231, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  transition: var(--cts-transition);
  height: 100%;
}

.client-chip:hover {
  border-color: var(--cts-blue-bright);
  transform: translateY(-4px);
}

.client-chip strong {
  display: block;
  color: var(--cts-white);
  font-size: 1.05rem;
}

.client-chip span {
  color: var(--cts-gray);
  font-size: 0.85rem;
}

/* Reviews */
.review-card {
  background: var(--cts-surface);
  border-radius: var(--cts-radius);
  padding: 2rem;
  border-left: 4px solid var(--cts-purple);
  height: 100%;
  transition: var(--cts-transition);
}

.review-card:hover {
  box-shadow: var(--cts-shadow);
}

.review-stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

.review-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(97, 63, 231, 0.15);
}

/* Process */
.process-step {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2.5rem;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 1.35rem;
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--cts-blue), transparent);
}

.process-step:last-child::before {
  display: none;
}

.process-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--cts-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Testing links */
.link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(19, 42, 74, 0.6);
  border-radius: var(--cts-radius);
  border: 1px solid rgba(97, 63, 231, 0.12);
  text-decoration: none;
  color: inherit;
  transition: var(--cts-transition);
  height: 100%;
}

.link-card:hover {
  border-color: var(--cts-cyan);
  background: rgba(97, 63, 231, 0.2);
  color: var(--cts-white);
  transform: translateX(6px);
}

.link-card .material-icons {
  color: var(--cts-cyan);
  font-size: 2rem;
}

/* Team section — 3 equal columns */
.section-team {
  background: var(--cts-black);
}

.team-grid {
  --team-visual-h: 240px;
}

.team-card {
  background: linear-gradient(165deg, var(--cts-surface-2), var(--cts-surface));
  border: 1px solid rgba(132, 0, 255, 0.12);
  border-radius: var(--cts-radius);
  overflow: hidden;
  height: 100%;
  transition: var(--cts-transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(132, 0, 255, 0.35);
  box-shadow: var(--cts-shadow);
}

.team-card-visual {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: var(--team-visual-h);
  width: 100%;
  background: var(--cts-surface);
}

.team-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.team-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.team-card-lead .team-card-visual {
  --team-visual-h: 320px;
}

.team-card-lead .team-card-photo img {
  object-fit: cover;
  object-position: center top;
}

.team-card-has-photo:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.team-card-avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cts-gradient-soft);
  border-bottom: 1px solid rgba(132, 0, 255, 0.1);
}

.team-card-avatar-person {
  height: 100%;
}

.team-initials {
  position: absolute;
  font-size: 3.25rem;
  font-weight: 800;
  opacity: 0.1;
  color: #fff;
  letter-spacing: 0.08em;
}

.team-avatar-icon {
  font-size: 3rem !important;
  z-index: 1;
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-avatars-stack {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatars-stack span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--cts-navy);
  margin-left: -12px;
  background: linear-gradient(135deg, var(--cts-blue), var(--cts-cyan));
}

.team-avatars-stack span:first-child { margin-left: 0; }
.team-avatars-stack span:nth-child(2) { background: linear-gradient(135deg, #8400ff, #e26ee5); }
.team-avatars-stack span:nth-child(3) { background: linear-gradient(135deg, #613fe7, #d946ef); }
.team-avatars-stack span:nth-child(4) { background: linear-gradient(135deg, #141414, #8400ff); }

.team-avatar-group {
  height: 100%;
}

.team-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cts-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

.team-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-role {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.team-name {
  color: var(--cts-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.team-bio {
  color: var(--cts-gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.about-quote {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cts-gray);
  padding: 2rem;
  background: var(--cts-glass);
  border-radius: var(--cts-radius);
  border: 1px solid rgba(132, 0, 255, 0.15);
}

.quote-mark {
  color: var(--cts-cyan);
  font-size: 1.5rem;
  font-weight: 800;
}

/* Process cards */
.section-process {
  background: var(--cts-surface);
}

.process-card {
  background: var(--cts-glass);
  border: 1px solid rgba(132, 0, 255, 0.12);
  border-radius: var(--cts-radius);
  padding: 1.75rem;
  height: 100%;
  text-align: center;
  transition: var(--cts-transition);
  backdrop-filter: blur(8px);
}

.process-card:hover {
  border-color: var(--cts-cyan);
  transform: translateY(-6px);
  box-shadow: var(--cts-shadow);
}

.process-card-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cts-gradient);
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

/* Pillars */
.pillar-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--cts-glass);
  border-radius: 14px;
  border: 1px solid rgba(132, 0, 255, 0.1);
  transition: var(--cts-transition);
  height: 100%;
}

.pillar-item:hover {
  border-color: rgba(132, 0, 255, 0.3);
  transform: translateY(-4px);
}

.pillar-item .material-icons {
  font-size: 2.25rem;
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

/* Contact */
.contact-form-wrap {
  background: linear-gradient(160deg, var(--cts-surface-2), var(--cts-surface));
  border-radius: var(--cts-radius);
  padding: 2.5rem;
  border: 1px solid rgba(97, 63, 231, 0.15);
  box-shadow: var(--cts-shadow);
}

.form-control,
.form-select {
  background: var(--cts-black);
  border: 1px solid rgba(97, 63, 231, 0.2);
  color: var(--cts-white);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--cts-transition);
}

.form-control:focus,
.form-select:focus {
  background: var(--cts-black);
  border-color: var(--cts-cyan);
  color: var(--cts-white);
  box-shadow: 0 0 0 3px rgba(97, 63, 231, 0.2);
}

.form-control::placeholder {
  color: rgba(139, 163, 199, 0.6);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .material-icons {
  color: var(--cts-cyan);
  background: rgba(97, 63, 231, 0.2);
  padding: 0.65rem;
  border-radius: 12px;
}

/* Footer */
.footer-cts {
  background: #000000;
  border-top: 1px solid var(--cts-border);
}

.footer-cts.footer-fixed {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw;
  z-index: 1040;
  padding: 0.65rem 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.footer-fixed-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand-text {
  color: var(--cts-white);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  color: var(--cts-gray);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--cts-transition);
}

.footer-nav a:hover {
  color: var(--cts-magenta);
}

.footer-contact {
  align-items: center;
  gap: 0.65rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cts-surface-2);
  border: 1px solid var(--cts-border);
  color: var(--cts-white);
  font-size: 1rem;
  transition: var(--cts-transition);
}

.footer-contact a:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.footer-contact a[href^="mailto"]:hover {
  background: var(--cts-purple);
  border-color: var(--cts-purple);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.35rem;
  flex: 1 1 100%;
}

.footer-policy-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--cts-gray);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--cts-transition);
}

.footer-policy-link:hover {
  color: var(--cts-magenta);
}

.footer-policy-sep {
  color: var(--cts-muted);
  font-size: 0.65rem;
  user-select: none;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--cts-muted);
  text-align: center;
  flex: 1 1 100%;
}

/* Policy modals */
.policy-modal-content {
  background: linear-gradient(160deg, var(--cts-surface-2), var(--cts-black));
  border: 1px solid rgba(97, 63, 231, 0.25);
  color: var(--cts-white);
  border-radius: var(--cts-radius);
}

.policy-modal-header {
  border-bottom: 1px solid var(--cts-border);
  padding: 1.25rem 1.5rem;
}

.policy-modal-header .modal-title {
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.policy-modal-body {
  padding: 1.25rem 1.5rem;
  max-height: min(65vh, 520px);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--cts-gray);
}

.policy-modal-body p {
  margin-bottom: 1rem;
}

.policy-modal-body .policy-heading {
  color: var(--cts-white);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 1.25rem 0 0.5rem;
}

.policy-modal-body .policy-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--cts-gray);
}

.policy-modal-body .policy-list li {
  margin-bottom: 0.5rem;
}

.policy-modal-footer {
  border-top: 1px solid var(--cts-border);
  padding: 0.85rem 1.5rem;
}

.modal-backdrop.show {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .footer-copy {
    flex: 0 1 auto;
    text-align: right;
    order: 4;
  }

  .footer-nav {
    order: 2;
  }

  .footer-contact {
    order: 3;
  }

  .footer-brand {
    order: 1;
  }
}

/* Branch cards */
.branch-card {
  background: var(--cts-glass);
  border: 1px solid var(--cts-border);
  border-radius: var(--cts-radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.branch-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--cts-white);
}

.branch-card-title .material-icons {
  font-size: 1.25rem;
  color: var(--cts-purple-bright);
}

.branch-address,
.branch-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--cts-gray);
}

.branch-address .material-icons,
.branch-line .material-icons {
  font-size: 1.1rem;
  color: var(--cts-magenta);
  flex-shrink: 0;
}

.branch-line a {
  color: var(--cts-cyan);
  text-decoration: none;
}

.branch-line a:hover {
  color: var(--cts-white);
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed !important;
  bottom: var(--float-bottom);
  left: 1.25rem;
  right: auto !important;
  top: auto !important;
  z-index: 99998;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--cts-radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--cts-transition), box-shadow var(--cts-transition);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float i {
  font-size: 1.5rem;
}

.whatsapp-float-label {
  display: none;
}

@media (min-width: 576px) {
  .whatsapp-float-label {
    display: inline;
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cts-surface-2);
  border: 1px solid var(--cts-border);
  color: var(--cts-white);
  transition: var(--cts-transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--cts-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
}

/* Back to top — fixed wrapper avoids layout/stacking bugs */
.scroll-top-wrap {
  position: fixed !important;
  bottom: var(--float-bottom);
  right: 1.25rem;
  left: auto !important;
  top: auto !important;
  z-index: 99999;
  pointer-events: none;
  width: 52px;
  height: 52px;
}

.scroll-top-btn,
#backToTop {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cts-gradient);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity var(--cts-transition), visibility var(--cts-transition), transform var(--cts-transition), box-shadow var(--cts-transition);
  box-shadow: 0 8px 28px rgba(97, 63, 231, 0.5);
  pointer-events: auto;
  cursor: pointer;
}

.scroll-top-btn.visible,
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover,
#backToTop.visible:hover {
  background: var(--cts-gradient-hover);
  box-shadow: var(--cts-shadow-glow);
  transform: translateY(-4px) scale(1.05);
}

.scroll-top-btn .material-icons {
  font-size: 1.75rem;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--cts-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 100px;
  animation: pulse-logo 1.2s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

/* Swiper testimonials */
.swiper-pagination-bullet-active {
  background: var(--cts-cyan) !important;
}

/* Mobile navigation */
@media (max-width: 991.98px) {
  .navbar-cts .navbar-collapse.collapse:not(.show) {
    display: none;
  }

  .navbar-cts .navbar-collapse.collapse.show {
    display: block;
  }

  .navbar-cts .navbar-collapse {
    background: rgba(0, 0, 0, 0.98);
    margin-top: 0.75rem;
    padding: 0.75rem 1rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--cts-border);
    max-height: min(70vh, calc(100vh - var(--header-height) - var(--footer-height) - 2rem));
    overflow-y: auto;
  }

  .navbar-cts .navbar-nav {
    gap: 0.15rem;
  }

  .navbar-cts .nav-link {
    padding: 0.65rem 0.5rem !important;
    font-size: 1rem;
  }

  .navbar-cts .nav-item .btn-cts-primary {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
  }

  .navbar-brand img {
    height: 44px;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-section .container {
    overflow: hidden;
    max-width: 100%;
  }

  .hero-visual {
    margin-top: 1.5rem;
    height: min(320px, 55vw);
    max-width: 100%;
    width: 100%;
  }

  .hero-float-1 {
    top: 4%;
    left: 0;
  }

  .hero-float-2 {
    top: 36%;
    right: 0;
  }

  .hero-float-3 {
    bottom: 6%;
    left: 4%;
  }

  .hero-float-card {
    font-size: 0.72rem;
    padding: 0.5rem 0.7rem;
    max-width: 42%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .team-grid .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .process-cards .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .reviews-swiper {
    overflow: hidden;
  }
}

@media (max-width: 575.98px) {
  body.site-fixed-chrome {
    padding-bottom: var(--footer-height);
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-padding .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
    line-height: 1.35;
  }

  .hero-cta-btns {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-cta-btns .btn {
    width: 100%;
    text-align: center;
  }

  .hero-trust-item small {
    font-size: 0.6rem;
  }

  .hero-trust-item .material-icons {
    font-size: 1.2rem;
  }

  .hero-visual {
    height: 260px;
  }

  .hero-float-card span:not(.material-icons) {
    display: none;
  }

  .hero-float-card {
    padding: 0.55rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
    max-width: none;
  }

  .hero-float-card .material-icons {
    margin: 0;
    font-size: 1.1rem;
  }

  .hero-logo-core {
    inset: 18%;
  }

  .card-cts {
    padding: 1.35rem;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

  .branch-card {
    padding: 1rem;
  }

  .process-cards .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .client-chip {
    padding: 1rem;
  }

  .scroll-top-wrap {
    bottom: var(--float-bottom);
    right: 0.75rem;
    left: auto !important;
  }

  .whatsapp-float {
    left: 0.75rem;
    padding: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    justify-content: center;
  }

  .whatsapp-float-label {
    display: none !important;
  }

  .footer-fixed-inner {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-nav {
    flex: 1 1 100%;
    gap: 0.5rem 0.75rem;
  }

  .footer-policies {
    flex: 1 1 100%;
  }

  .policy-modal-body {
    max-height: min(55vh, 420px);
    padding: 1rem 1.15rem;
  }

  .footer-copy {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .footer-brand img {
    height: 34px;
  }

  .stat-value {
    font-size: 2rem;
  }

  .swiper-slide {
    height: auto;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Premium refinement layer
   ===================================================================== */

/* Sharper gradient text and headings */
.hero-title { letter-spacing: -0.02em; }
.section-title { letter-spacing: -0.015em; }

/* Primary button: animated gradient sheen */
.btn-cts-primary {
  position: relative;
  overflow: hidden;
  background-size: 180% 180%;
  isolation: isolate;
}

.btn-cts-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.btn-cts-primary:hover::after {
  transform: translateX(130%);
}

/* Section eyebrow gets a gradient underline accent */
.section-label {
  position: relative;
  padding-bottom: 0.35rem;
}

.section-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  border-radius: 999px;
  background: var(--cts-gradient);
}

/* Cards: subtle inner highlight + smoother glow */
.card-cts {
  background:
    radial-gradient(20rem 12rem at 100% 0%, rgba(132, 0, 255, 0.1), transparent 60%),
    linear-gradient(155deg, var(--cts-surface-2), var(--cts-surface));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-cts:hover {
  border-color: rgba(226, 110, 229, 0.45);
}

.card-cts .material-icons {
  filter: drop-shadow(0 6px 16px rgba(132, 0, 255, 0.4));
}

/* Stat values use the brand gradient for more punch */
.stat-card {
  background:
    linear-gradient(155deg, rgba(97, 63, 231, 0.16), rgba(226, 110, 229, 0.06));
  backdrop-filter: blur(4px);
}

.stat-value {
  background: var(--cts-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Navbar links: animated gradient underline */
.navbar-cts .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--cts-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--cts-transition);
}

.navbar-cts .nav-link:hover::after,
.navbar-cts .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-cts .nav-link:hover,
.navbar-cts .nav-link.active {
  color: var(--cts-white) !important;
}

/* Client chips: glassier */
.client-chip {
  background: linear-gradient(155deg, rgba(28, 28, 28, 0.9), rgba(20, 20, 20, 0.7));
  backdrop-filter: blur(6px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-cts-primary::after { transition: none; }
}
