:root {
  --bg-main: #f5f6f9;
  --bg-elevated: #ffffff;
  --bg-dark: #030712;
  --bg-dark-soft: #0b1220;

  /* FixyExpert primary accent (logo-inspired blue) */
  --accent: #2d5dff;
  --accent-soft: rgba(45, 93, 255, 0.16);

  --text-main: #020617;
  --text-soft: #4b5563;
  --text-muted: #9ca3af;
  --text-on-dark: #f9fafb;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.10);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.08);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;

  --transition-fast: 220ms ease-out;
  --transition-med: 360ms cubic-bezier(0.19, 1, 0.22, 1);
  --transition-slow: 600ms cubic-bezier(0.19, 1, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #f9fbff 0%, #f3f4f6 40%, #e5e7eb 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 0, #f9fbff 0%, #e5e7eb 40%, #e5e7eb 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 1;
  pointer-events: all;
  transition: opacity 600ms ease-out, visibility 600ms ease-out;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(148, 163, 184, 0.4);
  border-top-color: var(--accent);
  animation: loader-spin 1.1s linear infinite;
  margin-bottom: 1.25rem;
}

.loader-text {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Layout helpers */
.section {
  width: 100%;
  position: relative;
}

.section--padded {
  padding: 30px 30px 30px 30px;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-label--light {
  color: rgba(209, 213, 219, 0.85);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.section-title--light {
  color: var(--text-on-dark);
}

.section-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 36rem;
}

.section-lead--light {
  color: rgba(243, 244, 246, 0.92);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: flex-start;
}

.section-grid--center {
  grid-template-columns: minmax(0, 1.2fr);
}

.section-col--wide {
  max-width: 52rem;
}

.body-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.75), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #dbe4ff, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #f9fafb;
  font-size: 1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 1.2rem;
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: radial-gradient(circle at 0 0, #c7d2fe, #1d4ed8);
  transition: width var(--transition-med);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-cta {
  padding-inline: 0.9rem;
  padding-block: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 93, 255, 0.65);
  background: rgba(248, 250, 252, 0.92);
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(248, 250, 252, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #111827;
}

/* Hero (index) */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 94px 30px 30px 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("assets/img/hero/hero-mattress-lifestyle.png");
  background-size: cover;
  background-position: center;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
}

.hero-bg-layer--1 {
  background: radial-gradient(circle at -10% 0, #dbeafe 0%, transparent 55%),
    radial-gradient(circle at 110% 20%, #e0f2fe 0%, transparent 55%);
}

.hero-bg-layer--2 {
  /* background: radial-gradient(circle at 50% 120%, rgba(15, 23, 42, 0.08) 0%, transparent 60%); */
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.8rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.08em;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.metric {
  min-width: 140px;
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  display: block;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
}

/* Generic blue-border hover card */
.fx-card {
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med),
    background var(--transition-med);
}

.fx-card-bg {
  display: none;
}

.fx-card-inner {
  position: relative;
  padding: 1.1rem 1.1rem;
}

/* thin accent bar at top-left */
.fx-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), #e5edff);
}

/* Hover */
.fx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

/* Hero cards */
.hero-card {
  position: absolute;
  right: 6%;
  top: 6%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 1rem 1.1rem;
  max-width: 220px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), #e5edff);
}

.hero-card--secondary {
  top: auto;
  bottom: 6%;
  right: 2%;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

.hero-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-card-text {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0;
}

.hero-image-frame {
  border-radius: var(--radius-xl);
  padding: 0.45rem;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.16), rgba(209, 213, 219, 0.05));
  box-shadow: var(--shadow-soft);
}

.hero-image {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 6px);
  position: relative;
}

.hero-image--main img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-image--floating {
  position: absolute;
  width: 38%;
  right: -8%;
  bottom: 12%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-image--floating img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.8));
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #e5edff;
  animation: scroll-pulse 1.6s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(0%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(180%);
    opacity: 0;
  }
}

/* Buttons */
.btn {
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.35rem;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--text-main);
}

.btn-primary {
  background: linear-gradient(135deg, #d0dcff, var(--accent));
  color: #f9fafb;
  box-shadow: 0 16px 40px rgba(45, 93, 255, 0.32);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(248, 250, 252, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary--outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: var(--text-main);
  box-shadow: none;
}

.btn-primary--outline:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  background: rgba(209, 213, 219, 0.45);
  color: #111827;
}

.pill--outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
}

/* About (index section) */
.about {
  /* margin-top: unset; */
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Promise / Process */
.promise-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.promise-item {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 1.4rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.promise-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), #e5edff);
}

.promise-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

.promise-icon {
  margin-bottom: 0.75rem;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #1d4ed8;
  font-size: 0.78rem;
}

.promise-title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

/* Products */
.products {
  /* padding-bottom: 6rem; */
}

.product-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.product--reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
}

.product-tag {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.product-image-frame {
  border-radius: var(--radius-lg);
  padding: 0.45rem;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(209, 213, 219, 0.05));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.product-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

.product-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(248, 250, 252, 0.65), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.product:hover .product-image-frame img {
  transform: scale(1.06);
}

.product:hover .product-image-frame::after {
  opacity: 1;
}

.product-name {
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
}

.product-desc {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
  font-size: 0.88rem;
}

.product-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.94rem;
}

/* services section */
/* Services hero */
.services-hero {
  padding-top: 100px;
  background: radial-gradient(circle at top left, #eef2ff, #ffffff);
}

.services-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* generic pill styling – used in hero and elsewhere */
.pill {
  display: inline-flex;           /* make icon + text a flex row */
  align-items: center;            /* vertically center icon & text */
  gap: 0.4rem;                    /* space between icon and text */
}

/* specific look in services hero */
.services-hero-tags .pill {
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

/* optional: fine‑tune icon size in pills */
.services-hero-tags .pill i {
  font-size: 0.85em;
}

/* Icon service cards with pricing */
.services-grid--pricing {
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  padding: 1.4rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  border-color: rgba(59, 130, 246, 0.7);
}

.service-card-top {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.5);
}

.service-icon i {
  font-size: 1.1rem;
}

.service-heading h3 {
  margin: 0;
  font-size: 1.02rem;
}

.service-tagline {
  margin: 0.18rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-copy {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.service-list {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.service-list li + li {
  margin-top: 0.16rem;
}

/* Industries with icons */
.industries-grid--icons {
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.industry-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  padding: 1.2rem 1.1rem 1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  border-color: rgba(59, 130, 246, 0.65);
}

.industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  margin-bottom: 0.7rem;
}

.industry-icon i {
  font-size: 1.05rem;
}

.industry-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.industry-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Process timeline style */
.process-grid--bars {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}

.process-step {
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.1rem 1rem 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  font-size: 0.88rem;
  color: var(--text-soft);
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.process-step h3 {
  margin: 0 0 0.25rem;
  font-size: 0.94rem;
  color: #111827;
}

/* Responsive layouts */
@media (max-width: 1024px) {
  .services-grid--pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-grid--icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid--bars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-grid--pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  .industries-grid--icons {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid--bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .process-grid--bars {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Technology */
.technology {
  padding: 3rem 0;
  background: radial-gradient(circle at top, #0f172a 0%, #020617 70%);
  color: var(--text-on-dark);
}

.technology-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}

.tech-header {
  margin-bottom: 20px;
}

.tech-scroller {
  position: relative;
  overflow: hidden;
}

.tech-track {
  display: flex;
  gap: 1.2rem;
  will-change: transform;
}

.tech-card {
  min-width: 260px;
  max-width: 280px;
  border-radius: 18px;
  background: var(--bg-dark-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.55);
  padding: 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med),
    background var(--transition-med);
}

/* accent bar on dark cards */
.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, #93c5fd, #3b82f6);
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.8);
  border-color: rgba(191, 219, 254, 0.9);
  background: #020617;
}

.tech-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.tech-card p {
  font-size: 0.87rem;
  color: rgba(226, 232, 240, 0.92);
}

/* Why */
.why-counters {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.counter {
  flex: 1 1 140px;
  padding: 1.1rem 1.1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), #e5edff);
}

.counter:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

.counter-value {
  font-size: 1.75rem;
  font-weight: 600;
}

.counter-suffix {
  font-size: 0.9rem;
  margin-left: 0.1rem;
}

.counter-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.why-card {
  padding: 1.1rem 1.1rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), #e5edff);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

/* Main contact layout */
.contact-main {
  background: transparent;
}

.contact-form-card,
.contact-info-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
}

/* Form elements */
.contact-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row-inline {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(45, 93, 255, 0.25);
}

/* checkbox */
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.checkbox-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Contact info blocks reuse existing .contact-block styles */

@media (max-width: 960px) {
  .contact-main .section-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
}

/* Contact */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.contact-block {
  padding: 1.1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.contact-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), #e5edff);
}

.contact-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(148, 163, 184, 0.8);
}

.contact-block--meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.94rem;
  font-weight: 500;
}

/* =========================
   ABOUT PAGE SPECIFIC
   ========================== */

.about-page main {
  padding-top: 5rem;
}

.about-hero {
  background: radial-gradient(circle at 0 0, #e5edff 0%, #f9fafb 40%, #eef2ff 100%);
  padding: 60px 40px;
}

.about-hero-card {
  border-radius: 24px;
  padding: 1.8rem 1.6rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.about-hero-card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.about-hero-card p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.about-list li {
  margin-bottom: 0.35rem;
}

/* Promise band */
.about-promise {
  padding: 40px 50px;
  background: radial-gradient(circle at top, #111827 0%, #020617 65%);
  color: var(--text-on-dark);
}

.about-promise-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Story / Timeline */
.about-story {
  background: #f9fafb;
}

.about-timeline {
  max-width: 780px;
  margin: 0 auto;
  border-left: 1px solid rgba(148, 163, 184, 0.5);
  padding-left: 1.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.1rem;
}

.timeline-dot {
  position: absolute;
  left: -1.66rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(45, 93, 255, 0.18);
}

.timeline-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Pillars */
.about-pillars {
  background: #f3f4ff;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.about-pillar-card {
  padding: 1rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

/* CTA */
.about-cta {
  background: radial-gradient(circle at 0 0, #e5edff 0%, #eff6ff 35%, #ffffff 100%);
}

.about-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}


/* Brands strip (moving logos) */
.about-brands {
  background: #f9fafb;
}

.brands-strip {
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.brands-track {
  display: flex;
  gap: 1.3rem;
  will-change: transform;
}

.brand-card {
  min-width: 260px;
  max-width: 280px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-subtle);
  padding: 1.1rem 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.brand-card-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand-card-text h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.brand-card-text p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Team section */
.about-team {
  background: #f3f4ff;
}

/* Horizontal strip layout */
.team-strip {
  margin-top: 2.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.team-strip::-webkit-scrollbar {
  display: none;
}

.team-track {
  display: flex;
  gap: 1.4rem;
  will-change: transform;
}

/* Card with big photo */
.team-card {
  min-width: 360px;
  max-width: 380px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.65);
}

.team-photo-lg {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
  border: 2px solid rgba(148, 163, 184, 0.6);
  flex-shrink: 0;
}

.team-photo-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text block stays on the right */
.team-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.team-name {
  margin: 0;
  font-size: 1.06rem;
}

.team-role {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.team-highlight {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 768px) {
  .team-card {
    min-width: 300px;
  }

  .team-photo-lg {
    width: 96px;
    height: 96px;
  }
}

/* =========================
   FOOTER – WIDE WITH ICONS
   ========================== */

.site-footer {
  position: relative;
  background: radial-gradient(circle at top, #020617 0%, #020617 50%, #020617 100%);
  color: #e5e7eb;
  padding-top: 3.2rem;
  /* margin-top: 3rem; */
  overflow: hidden;
}

/* soft wave / gradient band at top of footer */
.footer-wave {
  position: absolute;
  inset-inline: 0;
  top: -40px;
  height: 80px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.24), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

/* main layout */
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 7vw, 7rem) 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}

.footer-col--brand {
  max-width: 360px;
}

/* brand row */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand-tagline {
  font-size: 0.86rem;
  color: #9ca3af;
}

/* description */
.footer-description {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* social icons row */
.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-link {
  text-decoration: none;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Brand backgrounds */
.footer-social-link--facebook .footer-social-icon {
  background: #1877f2;
}

.footer-social-link--instagram .footer-social-icon {
  background: radial-gradient(circle at 30% 30%, #feda77, #f58529, #dd2a7b, #8134af, #515bd4);
}

.footer-social-link--linkedin .footer-social-icon {
  background: #0a66c2;
}

/* Website icon background */
.footer-social-link--website .footer-social-icon {
  background: #10b981;
}

/* Hover: lift + slight glow */
.footer-social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.35);
  filter: brightness(1.05);
}

/* headings & links */
.footer-heading {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

.footer-links,
.footer-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li,
.footer-meta-list li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #cbd5f5;
  transition: width 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

/* meta labels */
.footer-meta-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 0.1rem;
}

.footer-meta-value {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-meta-value a {
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
}

.footer-meta-value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #cbd5f5;
  transition: width 0.2s ease;
}

.footer-meta-value a:hover {
  color: #ffffff;
}

.footer-meta-value a:hover::after {
  width: 100%;
}

/* bottom bar centered */
.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 1rem clamp(1.5rem, 7vw, 7rem) 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 65%);
}

.footer-bottom-text {
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

/* fade-up animation when footer enters */
@keyframes footerFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  animation: footerFadeUp 0.7s ease-out;
}

/* Scroll reveal base state */
[data-animate="fade-up"],
[data-animate="fade-in"],
[data-animate="scale-in"],
[data-animate="stagger-child"] > * {
  opacity: 0;
  transform: translateY(18px);
}

/* Fallback: if JS does NOT run or crashes, show all animated elements */
html:not(.js) [data-animate="fade-up"],
html:not(.js) [data-animate="fade-in"],
html:not(.js) [data-animate="scale-in"],
html:not(.js) [data-animate="stagger-child"] > * {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .hero {
  }

  .hero-visual {
    order: -1;
  }

  .product,
  .product--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    position: static;
    margin-bottom: 1rem;
  }

  .hero-image--floating {
    display: none;
  }

  .why-counters {
    gap: 1rem;
  }

  .about-timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline-dot {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1.1rem;
  }

  .nav {
    position: fixed;
    inset-inline: 1.1rem;
    top: 4.1rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    flex-direction: column;
    padding: 0.8rem;
    gap: 0.2rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-med), transform var(--transition-med);
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding-block: 0.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section--padded {
    padding-inline: 1.2rem;
  }

  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .footer-col--brand {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile-first sticky contact bar */
.quick-contact-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 1.2rem));
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
  z-index: 35;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.45);
}

.quick-contact-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.quick-contact-link i {
  font-size: 0.84rem;
}

.quick-contact-link:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #ffffff;
}

.quick-contact-link--accent {
  background: linear-gradient(135deg, #2563eb, #2d5dff);
  color: #ffffff;
}

body.home-page {
  /* padding-bottom: 3.4rem; */
}

@media (min-width: 1025px) {
  .quick-contact-bar {
    width: 420px;
    left: 50%;
    right: auto;
    bottom: 1.2rem;
    transform: translateX(-50%);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 999px;
    padding: 0.3rem;
  }

  .quick-contact-link {
    min-width: 0;
    justify-content: center;
    padding: 0 0.5rem;
  }
}

/* =========================
   SERVICES – TEMPLATE-LIKE HOVER EFFECT
   ========================== */

/* Container for effect */
.service-card-effect {
  position: relative;
  padding-bottom: 2.8rem; /* space for the bottom strip when revealed */
}

/* Top text row – sits inside the card */
.service-card-effect .service-text {
  position: relative;
  width: 100%;
  text-align: left;
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
  transition: 0.5s;
  z-index: 2;
  margin-top: 0.7rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
}

.service-meta-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Lift the label block on hover */
.service-card-effect:hover .service-text {
  transform: translateY(-1.1rem);
}

/* Bottom strip – folded by default */
.service-card-effect .service-btn {
  position: absolute;
  width: 86%;
  left: 7%;
  bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
  transition: 0.5s;
  z-index: 1;
  border-radius: 999px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

/* Inner price layout */
.service-meta-inner {
  padding: 0.5rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-align: center;
}

.service-price-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4b5563;
}

.service-price {
  font-size: 0.96rem;
  font-weight: 600;
  color: #111827;
}

.service-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hover: slide strip down and reveal it */
.service-card-effect:hover .service-btn {
  bottom: -1.4rem;
  max-height: 120px;
  opacity: 1;
}

/* Mobile spacing tweak */
@media (max-width: 768px) {
  .service-card-effect .service-btn {
    width: 92%;
    left: 4%;
  }
}

/* Global link reset */
a {
  color: inherit;
  text-decoration: none;
}

/* Instagram section background */
.why-instagram {
  background: radial-gradient(circle at top left, rgba(76, 110, 245, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(120, 255, 214, 0.08), transparent 55%);
}

.instagram-reels-strip {
  margin-top: 12px;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.instagram-reels-strip::-webkit-scrollbar {
  height: 6px;
}

.instagram-reels-strip::-webkit-scrollbar-track {
  background: transparent;
}

.instagram-reels-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.instagram-reel-item {
  flex: 0 0 min(260px, 80vw);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.reel-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  outline: none;
}

/* Base brands section */
.brands {
  position: relative;
  overflow: hidden;
  /* padding-block: 4.5rem; */
  background:
    radial-gradient(circle at top left, rgba(55, 65, 81, 0.26), transparent 55%),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.22), transparent 55%),
    linear-gradient(135deg, #020617, #020617);
}

.brands-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: min(2rem, 5vw);
}

/* Header */
.brands-header {
  text-align: center;
  margin-bottom: 3rem;
}

.brands-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.brands-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eab308, #f97316);
  box-shadow: 0 0 0 5px rgba(234, 179, 8, 0.18);
}

.brands-eyebrow-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #facc15;
}

.brands-title {
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.brands-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #9ca3af;
}

.brands-divider {
  width: 120px;
  height: 1px;
  margin: 1.75rem auto 0;
  background: linear-gradient(to right, transparent, rgba(250, 204, 21, 0.7), transparent);
}

/* Logo row */
.brands-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}

/* Individual brand pill */
.brand-pill {
  flex: 0 1 210px;
  display: flex;
  justify-content: center;
}

.brand-pill-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
  overflow: hidden;
}

/* Small gold line inside the pill */
.brand-pill-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  border-image: linear-gradient(120deg, rgba(250, 204, 21, 0.95), rgba(251, 191, 36, 0.0)) 1;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* Logo circle */
.brand-pill-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-pill-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.25) contrast(1.1);
}

/* Brand name text */
.brand-pill-name {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #d1d5db;
}

/* Hover: subtle “royal” emphasis */
.brand-pill-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.75);
  background: radial-gradient(circle at top left, #020617, #020617);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(250, 204, 21, 0.30);
}

.brand-pill-inner:hover::before {
  opacity: 0.9;
}

.brand-pill-inner:hover .brand-pill-logo img {
  filter: grayscale(0) contrast(1.15);
}

.brand-pill-inner:hover .brand-pill-name {
  color: #fef3c7;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .brands-row {
    gap: 1rem 1.25rem;
  }

  .brand-pill {
    flex: 0 1 48%;
  }

  .brand-pill-inner {
    padding-inline: 1.1rem;
  }

  .brand-pill-name {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand-pill {
    flex: 0 1 100%;
  }

  .brand-pill-inner {
    justify-content: flex-start;
  }
}
.contact-hero {
  padding-top: 85px !important;
}

.contact-main {
  padding: 0px 30px 40px;
}

.btn-primary {
  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  text-align: center;
}

@media (min-width: 992px) {

  .services-hero-grid {
    align-items: center;   /* dono columns vertically center */
  }

}