/* ============================================================
   NEXORA UK — Premium Agency Stylesheet (Light Theme)
   ============================================================ */

:root {
  --bg: #f8f9fd;
  --bg-2: #eef1f9;
  --bg-3: #ffffff;
  --dark: #0e1330;
  --dark-2: #141a3d;
  --card: #ffffff;
  --card-border: rgba(14, 19, 48, 0.09);
  --text: #171c33;
  --text-muted: #5b6478;
  --accent: #1c2b6b;
  --accent-2: #d2232a;
  --gradient: linear-gradient(135deg, #1c2b6b 0%, #e8636a 100%);
  --gradient-soft: linear-gradient(135deg, rgba(28, 43, 107, .10), rgba(210, 35, 42, .08));
  --radius: 20px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1180px;
  --shadow-card: 0 10px 34px -14px rgba(14, 19, 48, .14);
  --shadow-accent: 0 12px 36px -12px rgba(28, 43, 107, .45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(28, 43, 107, .25);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17.5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.btn svg {
  transition: transform .3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px -12px rgba(28, 43, 107, .55);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 16px -8px rgba(14, 19, 48, .12);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 43, 107, .45);
  color: var(--accent);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(14, 19, 48, .05);
  transition: box-shadow .35s ease, padding .35s ease;
  padding: 16px 0;
}

.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(14, 19, 48, .06), 0 10px 34px -18px rgba(14, 19, 48, .22);
  padding: 12px 0;
}

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

.logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo .logo-word {
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: var(--shadow-accent);
}

.logo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent-2);
}

.logo .logo-word {
  color: var(--accent);
}

.logo .logo-word em {
  font-style: normal;
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width .3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta .btn {
  padding: 11px 24px;
  font-size: 14.5px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 170px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 45% at 78% 12%, rgba(28, 43, 107, .13), transparent 60%),
    radial-gradient(ellipse 45% 40% at 12% 85%, rgba(210, 35, 42, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(14, 19, 48, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 19, 48, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(28, 43, 107, .18);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(210, 35, 42, .15);
  bottom: -60px;
  left: -100px;
  animation-delay: -6s;
}

@keyframes float {

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

  50% {
    transform: translateY(-36px) scale(1.06);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 18px -10px rgba(14, 19, 48, .18);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(210, 35, 42, .5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(210, 35, 42, .45);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(210, 35, 42, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(210, 35, 42, 0);
  }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  margin-bottom: 26px;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.hero-stat .num em {
  font-style: normal;
  color: var(--accent);
}

.hero-stat .lbl {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero visual card stack */
.hero-visual {
  position: relative;
}

.hv-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 26px 60px -26px rgba(14, 19, 48, .28);
}

.hv-main .hv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hv-main .hv-head strong {
  font-family: var(--font-head);
  font-size: 15px;
}

.hv-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(28, 43, 107, .10);
  color: var(--accent);
}

.hv-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 150px;
  margin-bottom: 22px;
}

.hv-bars .bar {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(28, 43, 107, .95), rgba(28, 43, 107, .3));
  animation: rise 1.4s cubic-bezier(.25, .9, .3, 1.2) both;
  transform-origin: bottom;
}

.hv-bars .bar.alt {
  background: linear-gradient(180deg, rgba(210, 35, 42, .95), rgba(210, 35, 42, .3));
}

.hv-bars .bar:nth-child(1) {
  height: 38%;
  animation-delay: .15s;
}

.hv-bars .bar:nth-child(2) {
  height: 52%;
  animation-delay: .25s;
}

.hv-bars .bar:nth-child(3) {
  height: 44%;
  animation-delay: .35s;
}

.hv-bars .bar:nth-child(4) {
  height: 68%;
  animation-delay: .45s;
}

.hv-bars .bar:nth-child(5) {
  height: 58%;
  animation-delay: .55s;
}

.hv-bars .bar:nth-child(6) {
  height: 82%;
  animation-delay: .65s;
}

.hv-bars .bar:nth-child(7) {
  height: 96%;
  animation-delay: .75s;
}

@keyframes rise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

.hv-meta {
  display: flex;
  gap: 20px;
}

.hv-meta div {
  flex: 1;
}

.hv-meta .k {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

.hv-meta .v {
  font-size: 12px;
  color: var(--text-muted);
}

.hv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  animation: float 8s ease-in-out infinite;
}

.hv-float .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.hv-float strong {
  display: block;
  font-size: 14px;
  font-family: var(--font-head);
}

.hv-float small {
  color: var(--text-muted);
  font-size: 12px;
}

.hv-float-1 {
  top: -34px;
  right: -20px;
  animation-delay: -3s;
}

.hv-float-2 {
  bottom: -30px;
  left: -34px;
  animation-delay: -1.5s;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 26px 0;
  overflow: hidden;
  background: #ffffff;
}

.marquee-track {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 72px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(28, 43, 107, .08), transparent 65%);
  opacity: 0;
  transition: opacity .35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(28, 43, 107, .35);
  box-shadow: 0 22px 48px -18px rgba(14, 19, 48, .22);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-soft);
  border: 1px solid rgba(28, 43, 107, .18);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 24px;
  transition: transform .35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  padding: 6px 0;
}

.service-link svg {
  transition: transform .3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* Service page list rows */
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: flex-start;
  padding: 40px 34px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: transform .3s ease, border-color .3s ease;
}

.service-row:hover {
  transform: translateX(8px);
  border-color: rgba(28, 43, 107, .35);
}

.service-row .sr-cta {
  justify-content: center;
  align-self: center;
  white-space: nowrap;
}

.service-row .num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 6px;
}

.service-row h2.sr-h {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-row p {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 640px;
}

.service-row .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-row .tags span {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text-muted);
}

/* ---------- Why us / feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-content h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  margin-bottom: 20px;
}

.split-content>p {
  color: var(--text-muted);
  margin-bottom: 34px;
}

.feature-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(14, 19, 48, .07);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list .fi {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feature-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16.5px;
  margin-bottom: 4px;
}

.feature-list p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.split-visual {
  position: relative;
}

.sv-frame {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(28, 43, 107, .10), rgba(210, 35, 42, .07));
  border: 1px solid var(--card-border);
  padding: 34px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.sv-frame::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(28, 43, 107, .14);
  filter: blur(90px);
  top: -80px;
  right: -80px;
  border-radius: 50%;
}

.sv-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 10px 28px -14px rgba(14, 19, 48, .18);
  position: relative;
}

.sv-row .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.sv-row>div {
  min-width: 0;
}

.sv-row strong {
  font-family: var(--font-head);
  font-size: 15px;
  display: block;
}

.sv-row small {
  color: var(--text-muted);
  font-size: 12.5px;
}

.sv-row .pct {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, border-color .35s ease;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(210, 35, 42, .4);
}

.process-card .step {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(28, 43, 107, .85), rgba(28, 43, 107, .15));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- Stats band ---------- */
.stats-band {
  background:
    radial-gradient(ellipse 60% 100% at 20% 0%, rgba(28, 43, 107, .10), transparent 60%),
    radial-gradient(ellipse 50% 100% at 85% 100%, rgba(210, 35, 42, .10), transparent 60%),
    #ffffff;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 70px 0;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
}

.stat-item .num em {
  font-style: normal;
  color: var(--accent);
}

.stat-item .lbl {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ---------- Testimonials ---------- */
.testi-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.testi-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.testi-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

.testi-card {
  flex: 0 0 100%;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 52px 56px;
  text-align: center;
}

.testi-stars {
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.testi-card blockquote {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
}

.testi-author .who {
  text-align: left;
}

.testi-author strong {
  display: block;
  font-size: 15px;
  font-family: var(--font-head);
}

.testi-author small {
  color: var(--text-muted);
  font-size: 13px;
}

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: #ffffff;
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -8px rgba(14, 19, 48, .18);
  transition: background .3s ease, transform .3s ease, color .3s ease;
}

.testi-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.testi-dots {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 10px;
}

.testi-dot {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: none;
  border: none;
  padding: 0;
  transition: width .3s ease;
}

.testi-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(14, 19, 48, .16);
  transition: width .3s ease, background .3s ease;
}

.testi-dot.active {
  width: 40px;
}

.testi-dot.active::before {
  width: 30px;
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s ease;
}

.faq-item.open {
  border-color: rgba(28, 43, 107, .45);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
}

.faq-q .chev {
  flex-shrink: 0;
  transition: transform .35s ease;
  color: var(--accent);
}

.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  padding: 0 28px 26px;
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ---------- CTA (dark contrast block) ---------- */
.cta-box {
  position: relative;
  border-radius: 32px;
  padding: clamp(50px, 7vw, 90px) clamp(28px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 50% -20%, rgba(28, 43, 107, .5), transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 120%, rgba(210, 35, 42, .3), transparent 70%),
    var(--dark);
  box-shadow: 0 30px 70px -30px rgba(14, 19, 48, .55);
}

.cta-box h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-box .grad-text {
  background: linear-gradient(135deg, #9db1ff 0%, #ff8a90 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cta-box p {
  color: rgba(255, 255, 255, .72);
  max-width: 560px;
  margin: 0 auto 38px;
  font-size: 17.5px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box .btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.cta-box .btn-ghost:hover {
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .4);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 70% 0%, rgba(28, 43, 107, .12), transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(210, 35, 42, .08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page-hero .crumbs {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

.page-hero .crumbs a:hover {
  color: var(--accent);
}

.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 800px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 620px;
}

/* ---------- Values / About ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, border-color .35s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(28, 43, 107, .35);
}

.value-card .vi {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 22px;
}

.value-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, border-color .35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(210, 35, 42, .4);
}

.team-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.team-photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(28, 43, 107, .25);
  box-shadow: 0 12px 30px -12px rgba(14, 19, 48, .35);
  transition: outline-color .3s ease, transform .3s ease;
}

.team-card:hover .team-photo {
  outline-color: var(--accent-2);
  transform: scale(1.04);
}

.team-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.team-card small {
  display: block;
  color: var(--accent-2);
  font-size: 13.5px;
  font-weight: 600;
}

.team-loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 43, 107, .07);
  border: 1px solid rgba(28, 43, 107, .14);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

.team-loc img {
  width: 22px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(14, 19, 48, .12);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 40px 36px;
}

.contact-info-card h2.c-h {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-info-card>p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.ci-row {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(14, 19, 48, .07);
}

.ci-row:last-of-type {
  border-bottom: none;
}

.ci-row .ic {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.ci-row strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14.5px;
  margin-bottom: 3px;
}

.ci-row a,
.ci-row span {
  color: var(--text-muted);
  font-size: 14.5px;
  transition: color .25s ease;
}

.ci-row a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: #ffffff;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all .3s ease;
}

.socials a:hover {
  background: var(--gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 44px 40px;
}

.contact-form h2.c-h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form>p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa3b5;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6478' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(28, 43, 107, .13);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  margin-top: 80px;
  background: var(--bg-2);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Founder note (contact page) ---------- */
.founder-note {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 0 70px;
  padding: clamp(36px, 5vw, 60px) clamp(28px, 5vw, 70px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 100% at 90% 0%, rgba(210, 35, 42, .08), transparent 60%),
    radial-gradient(ellipse 50% 100% at 5% 100%, rgba(28, 43, 107, .08), transparent 60%),
    #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.fn-quote {
  position: absolute;
  top: -30px;
  right: 30px;
  font-family: var(--font-head);
  font-size: 220px;
  line-height: 1;
  color: rgba(28, 43, 107, .07);
  pointer-events: none;
}

.fn-photo {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #ffffff;
  outline: 3px solid rgba(210, 35, 42, .35);
  box-shadow: 0 14px 34px -12px rgba(14, 19, 48, .35);
}

.fn-body p {
  font-family: var(--font-head);
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 22px;
}

.fn-body p strong {
  color: var(--accent);
}

.fn-sign strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--accent);
}

.fn-sign span {
  font-size: 13.5px;
  color: var(--accent-2);
  font-weight: 600;
}

@media (max-width: 768px) {
  .founder-note {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .fn-quote {
    font-size: 140px;
    top: -18px;
    right: 14px;
  }
}

/* ---------- Footer (dark contrast) ---------- */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .72);
}

.footer::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(28, 43, 107, .16);
  filter: blur(120px);
  border-radius: 50%;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
  position: relative;
}

.footer-grid>* {
  min-width: 0;
}

.footer .logo {
  color: #ffffff;
}

.footer .logo-img {
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 7px;
  height: 48px;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
}

.footer .logo span {
  color: #e8636a;
}

.footer .logo .logo-word {
  color: #ffffff;
}

.footer .logo .logo-word em {
  color: #e8636a;
}

.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: 14.5px;
  margin: 18px 0 24px;
  max-width: 300px;
}

.footer h3.f-h {
  font-size: 15px;
  margin-bottom: 22px;
  letter-spacing: .04em;
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, .6);
  font-size: 14.5px;
  transition: color .25s ease, padding-left .25s ease;
}

.footer-links a:hover {
  color: #e8636a;
  padding-left: 6px;
}

.footer .socials a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .7);
}

.footer .socials a:hover {
  background: var(--gradient);
  color: #ffffff;
  border-color: transparent;
}

.newsletter p {
  color: rgba(255, 255, 255, .6);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}

.newsletter-form input {
  flex: 1 1 0;
  width: 0;
  background: none;
  border: none;
  padding: 14px 18px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  min-width: 0;
}

.newsletter-form button {
  flex-shrink: 0;
  white-space: nowrap;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  background: var(--gradient);
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 0 26px;
  border-radius: 999px;
  margin: 4px;
  transition: opacity .3s ease;
}

.newsletter-form button:hover {
  opacity: .85;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.footer-bottom p {
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
}

.footer-bottom .legal {
  display: flex;
  gap: 24px;
}

.footer-bottom .legal a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
}

.footer-bottom .legal a:hover {
  color: #e8636a;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.25, .7, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: .1s;
}

.reveal-d2 {
  transition-delay: .2s;
}

.reveal-d3 {
  transition-delay: .3s;
}

.reveal-d4 {
  transition-delay: .4s;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: #ffffff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 520px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    padding: 12px;
    color: var(--text-muted);
    transition: color .25s ease;
  }

  .mobile-menu a.active,
  .mobile-menu a:hover {
    color: var(--text);
  }

  .mobile-menu .btn {
    margin-top: 22px;
    font-size: 16px;
    color: #ffffff;
  }

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

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

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

  .hero-stats {
    gap: 28px;
  }

  .hv-float-1 {
    right: -6px;
  }

  .hv-float-2 {
    left: -6px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 24px;
  }

  .service-row .num {
    padding-top: 0;
  }

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

  .testi-card {
    padding: 40px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 34px 26px;
  }

  .contact-info-card {
    padding: 32px 26px;
  }

  .sv-frame {
    padding: 20px;
    min-height: auto;
  }

  .sv-row {
    padding: 14px 16px;
    gap: 12px;
  }
}

/* Compact navbar on small phones — sab kuch ek line mein */
@media (max-width: 560px) {
  .navbar .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo-img {
    height: 32px;
  }

  .nav-cta {
    gap: 6px;
  }

  .nav-cta .btn {
    padding: 9px 13px;
    font-size: 12px;
  }

  .hamburger {
    width: 36px;
  }
}

@media (max-width: 340px) {

  /* bohat chhoti screens: sirf logo ka mark, button barqarar */
  .logo .logo-word {
    display: none;
  }
}

/* ---------- Mobile menu close (X) button ---------- */
.menu-close {
  display: none;
  position: absolute;
  top: 22px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: #ffffff;
  color: var(--text);
  place-items: center;
  box-shadow: 0 6px 20px -8px rgba(14, 19, 48, .25);
  transition: transform .3s ease, color .3s ease, border-color .3s ease;
  z-index: 5;
}

.menu-close:hover {
  transform: rotate(90deg);
  color: var(--accent-2);
  border-color: rgba(210, 35, 42, .4);
}

@media (max-width: 768px) {
  .mobile-menu .menu-close {
    display: grid;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Reduced motion accessibility ---------- */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Our Work page
   ============================================================ */

/* filter tabs */
.work-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.wf-btn {
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #ffffff;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  transition: all .3s ease;
}

.wf-btn:hover {
  border-color: rgba(28, 43, 107, .4);
  color: var(--accent);
  transform: translateY(-2px);
}

.wf-btn.active {
  background: var(--gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

/* website cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(28, 43, 107, .35);
  box-shadow: 0 24px 50px -20px rgba(14, 19, 48, .28);
}

.wk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--card-border);
}

.wk-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.wk-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.wk-dots span:nth-child(1) {
  background: #ff5f57;
}

.wk-dots span:nth-child(2) {
  background: #febc2e;
}

.wk-dots span:nth-child(3) {
  background: #28c840;
}

.wk-url {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CSS-drawn mini website preview */
.wk-wire {
  padding: 20px 22px 24px;
  background: linear-gradient(180deg, #fdfdff, #f4f6fc);
  position: relative;
  overflow: hidden;
}

.wk-wire::after {
  content: attr(data-mono);
  position: absolute;
  right: -6px;
  bottom: -22px;
  font-family: var(--font-head);
  font-size: 84px;
  font-weight: 800;
  color: rgba(28, 43, 107, .06);
  line-height: 1;
  pointer-events: none;
}

.ww-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ww-logo {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--gradient);
  flex-shrink: 0;
}

.ww-links {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.ww-links i {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: rgba(14, 19, 48, .12);
}

.ww-h1 {
  height: 11px;
  width: 72%;
  border-radius: 5px;
  background: rgba(14, 19, 48, .22);
  margin-bottom: 8px;
}

.ww-h2 {
  height: 11px;
  width: 46%;
  border-radius: 5px;
  background: rgba(14, 19, 48, .12);
  margin-bottom: 14px;
}

.ww-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.ww-btn1 {
  width: 62px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.ww-btn2 {
  width: 48px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(14, 19, 48, .18);
}

.work-card.c2 .ww-btn1 {
  background: var(--accent-2);
}

.work-card.c3 .ww-btn1 {
  background: var(--gradient);
}

.ww-boxes {
  display: flex;
  gap: 8px;
}

.ww-boxes i {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  background: rgba(28, 43, 107, .08);
}

.work-card.c2 .ww-boxes i {
  background: rgba(210, 35, 42, .07);
}

.ww-boxes i:nth-child(2) {
  background: rgba(210, 35, 42, .08);
}

.work-card.c2 .ww-boxes i:nth-child(2) {
  background: rgba(28, 43, 107, .08);
}

.wk-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.wk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wk-info h3 {
  font-size: 17.5px;
}

.wk-loc {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--accent);
  background: rgba(28, 43, 107, .07);
  border: 1px solid rgba(28, 43, 107, .14);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.wk-cat {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-2);
}

.wk-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: var(--dark);
  border-radius: 999px;
  padding: 9px 18px;
  align-self: flex-start;
  transition: background .3s ease, transform .3s ease;
}

.wk-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.wk-link svg {
  transition: transform .3s ease;
}

.work-card:hover .wk-link svg {
  transform: translate(2px, -2px);
}

/* graphic design poster cards */
.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.design-card {
  border-radius: var(--radius);
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 38px -18px rgba(14, 19, 48, .4);
  transition: transform .35s ease, box-shadow .35s ease;
}

.design-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 26px 52px -20px rgba(14, 19, 48, .5);
}

.design-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  top: -50px;
  right: -40px;
}

.design-card.g1 {
  background: linear-gradient(150deg, #1c2b6b, #3a4d9e);
}

.design-card.g2 {
  background: linear-gradient(150deg, #b71c23, #e05a60);
}

.design-card.g3 {
  background: linear-gradient(150deg, #0e1330, #34406e);
}

.design-card.g4 {
  background: linear-gradient(150deg, #24337a, #c0392f);
}

.dc-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

.dc-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
}

.dc-ic {
  position: absolute;
  bottom: 18px;
  right: 18px;
  opacity: .35;
}

.work-gap {
  margin-top: 90px;
}

.filter-hide {
  display: none !important;
}

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

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

/* design cards with real images */
.design-card.has-img {
  padding: 0;
  background: #ffffff;
  color: var(--text);
  min-height: 0;
  justify-content: flex-start;
}

.design-card.has-img::before {
  display: none;
}

.design-card.has-img>img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.dc-foot {
  padding: 14px 18px 16px;
}

.dc-foot .dc-title2 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.dc-foot small {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
}

/* website cards with real screenshots */
.wk-shot {
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.wk-shot img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}

.work-card:hover .wk-shot img {
  transform: scale(1.04);
}


/* ============================================================
   NEXORA UK — Page Preloader
   Full-screen branded loader displayed until DOM is ready.
   ============================================================ */

#nx-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  /* Frosted-glass overlay — lower opacity so page content is visible behind.
     background alpha: 0.45 (was 0.78) | blur: 14px (was 22px)              */
  background: rgba(248, 249, 253, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
  transition: opacity .55s ease, visibility .55s ease;
}

/* Faded state — added via JS once page is ready */
#nx-preloader.nx-fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---- Brand mark inside preloader ---- */
.nx-pre-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: nx-brand-in .6s ease both;
}

.nx-pre-logo-img {
  width: 46px;
  height: auto;
  /* Remove the invert — logo is now on a light backdrop */
  filter: none;
  opacity: .92;
}

.nx-pre-logo-word {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  /* Dark text on light frosted background */
  line-height: 1;
}

.nx-pre-logo-word em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Animated progress bar ---- */
.nx-pre-bar-wrap {
  width: min(280px, 70vw);
  height: 3px;
  background: rgba(14, 19, 48, .10);
  /* Subtle dark track on light frosted bg */
  border-radius: 99px;
  overflow: hidden;
  animation: nx-brand-in .6s ease .2s both;
}

.nx-pre-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--gradient);
  animation: nx-progress 1.6s cubic-bezier(.4, 0, .2, 1) .3s forwards;
}

/* ---- Tagline beneath loader ---- */
.nx-pre-tagline {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  /* Readable on light frosted background */
  animation: nx-brand-in .6s ease .4s both;
}

/* ---- Keyframes ---- */
@keyframes nx-brand-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nx-progress {
  0% {
    width: 0%;
  }

  40% {
    width: 60%;
  }

  80% {
    width: 88%;
  }

  100% {
    width: 100%;
  }
}


/* ============================================================
   NEXORA UK — Toast Notification System
   Slide-in alert stack appearing in the top-right corner.
   ============================================================ */

/* ---- Shared toast container ---- */
#nx-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
}

/* ---- Individual toast card ---- */
.nx-toast {
  pointer-events: all;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 300px;
  max-width: 400px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 50px -10px rgba(14, 19, 48, .22), 0 0 0 1px rgba(14, 19, 48, .06);

  /* Entry animation */
  animation: nx-toast-in .4s cubic-bezier(.34, 1.56, .64, 1) both;
  transform-origin: top right;
}

/* Dismission animation state class */
.nx-toast.nx-toast-out {
  animation: nx-toast-out .35s ease forwards;
}

/* ---- Accent bar on left edge (coloured per type) ---- */
.nx-toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--gradient);
}

/* ---- Icon wrapper ---- */
.nx-toast-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Success icon ring */
.nx-toast--success .nx-toast-icon {
  background: rgba(5, 150, 105, .1);
  color: #059669;
}

/* Error icon ring */
.nx-toast--error .nx-toast-icon {
  background: rgba(220, 38, 38, .1);
  color: #dc2626;
}

/* Info icon ring */
.nx-toast--info .nx-toast-icon {
  background: rgba(28, 43, 107, .1);
  color: var(--accent);
}

/* ---- Text area ---- */
.nx-toast-body {
  flex: 1;
}

.nx-toast-title {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.nx-toast-msg {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Close button ---- */
.nx-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 2px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 0;
  opacity: .55;
  transition: opacity .2s ease;
  margin-top: -2px;
}

.nx-toast-close:hover {
  opacity: 1;
}

/* ---- Thin progress bar auto-dismiss indicator ---- */
.nx-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(14, 19, 48, .07);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.nx-toast-progress-bar {
  height: 100%;
  width: 100%;
  border-radius: inherit;
}

.nx-toast--success .nx-toast-progress-bar {
  background: #059669;
}

.nx-toast--error .nx-toast-progress-bar {
  background: #dc2626;
}

.nx-toast--info .nx-toast-progress-bar {
  background: var(--gradient);
}

/* ---- Keyframes ---- */
@keyframes nx-toast-in {
  from {
    opacity: 0;
    transform: translateX(40px) scale(.94);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes nx-toast-out {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
    max-height: 200px;
    margin-bottom: 0;
  }

  to {
    opacity: 0;
    transform: translateX(40px) scale(.92);
    max-height: 0;
    margin-bottom: -14px;
  }
}

/* ---- Responsive: bottom-center on mobile ---- */
@media (max-width: 520px) {
  #nx-toast-container {
    top: auto;
    bottom: 24px;
    right: 16px;
    left: 16px;
  }

  .nx-toast {
    min-width: 0;
    max-width: 100%;
    animation-name: nx-toast-in-mob;
  }

  .nx-toast.nx-toast-out {
    animation-name: nx-toast-out-mob;
  }

  @keyframes nx-toast-in-mob {
    from {
      opacity: 0;
      transform: translateY(30px) scale(.94);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes nx-toast-out-mob {
    from {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    to {
      opacity: 0;
      transform: translateY(30px) scale(.92);
    }
  }
}