:root {
  --id5-navy: #0c1b33;
  --id5-navy-2: #13284a;
  --id5-blue: #2563eb;
  --id5-blue-2: #3b82f6;
  --id5-ice: #f8fbff;
  --id5-slate: #5b6476;
  --id5-dark: #0f172a;
  --id5-border: rgba(0, 49, 164, 0.5);
  --id5-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
  --id5-shadow-lg: 0 22px 56px rgba(15, 23, 42, 0.09);
  --id5-radius: 1.25rem;
  --hero-banner-height: 500px;
  --hero-video-opacity: 1;
  --hero-overlay-top-opacity: 0;
  --hero-overlay-bottom-opacity: 0;
  --nav-link-padding-x: 0.8rem;
  --nav-link-padding-y: 0.5rem;
  --nav-link-gap-x: 0.75rem;

  /* Dark page banner / blue hero controls */
  --page-hero-bg-start: #0f46bb;
  --page-hero-bg-mid: #05256b;
  --page-hero-bg-end: #205cdd;
  --page-hero-glow-1: rgba(255, 255, 255, 0.14);
  --page-hero-glow-2: rgba(96, 165, 250, 0.12);
  --page-hero-border: rgba(255, 255, 255, 0.12);
  --page-hero-shadow: 0 24px 64px rgba(4, 12, 32, 0.52);
  --page-hero-kicker-bg: rgba(255, 255, 255, 0.09);
  --page-hero-kicker-border: rgba(255, 255, 255, 0.14);
}

html {
  scroll-behavior: smooth;
}
body {
  background: #ffffff;
  color: var(--id5-dark);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.page-shell,
.site-footer {
  animation: pageFadeIn 0.22s ease;
}
.section {
  padding: 4.5rem 0;
}
.section-tight {
  padding: 3rem 0;
}
.section-kicker,
.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--id5-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--id5-dark);
}
.section-sub {
  /* max-width: 62ch; */
  color: var(--id5-slate);
  font-size: 1.03rem;
}
.glass-panel,
.card-shell,
.metric-card,
.service-card,
.process-card,
.proof-card,
.page-hero-card,
.feature-card,
.preview-card {
  border: 1px solid var(--id5-border);
  border-radius: var(--id5-radius);
  background: #fff;
  box-shadow: var(--id5-shadow);
}
.card-shell,
.feature-card,
.preview-card {
  padding: 1.5rem;
}
.page-shell {
  position: relative;
  overflow: hidden;
}
.navbar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  padding-top: 0.15rem;
  padding-bottom: 0.1rem;
}
.navbar-brand img {
  height: 80px;
  width: auto;
}
.navbar .nav-link {
  font-size: 1.1rem;
  color: #0f172a;
  font-weight: 600;
  padding: var(--nav-link-padding-y) var(--nav-link-padding-x);
  border-radius: 0.75rem;
  transition: all 0.18s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--id5-blue);
  background: rgba(37, 99, 235, 0.05);
}
.cta-nav-item {
  display: flex;
  align-items: center;
  margin-left: 0.25rem;
}

/* Adjust top-nav spacing here: reduce vertical padding a bit and open up spacing between menu items */
.navbar .navbar-nav {
  column-gap: var(--nav-link-gap-x);
}

.btn {
  border-radius: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.15rem;
}
.btn-primary {
  background: var(--id5-blue);
  border-color: var(--id5-blue);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #155eef;
  border-color: #155eef;
}
.btn-outline-primary {
  color: var(--id5-blue);
  border-color: rgba(37, 99, 235, 0.24);
  background: #fff;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: var(--id5-blue);
  border-color: var(--id5-blue);
}
.btn-dark {
  background: var(--id5-dark);
  border-color: var(--id5-dark);
}
.hero-video-banner {
  position: relative;
  height: var(--hero-banner-height);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0d1c36 0%, #18335c 100%);
}
.hero-video-banner .hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-video-opacity);
}
.hero-video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 33, var(--hero-overlay-top-opacity)), rgba(10, 18, 33, var(--hero-overlay-bottom-opacity)));
  z-index: 1;
}
/* Keep the hero copy locked into the same visual zone across all viewports */
.hero-video-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-video-overlay .container {
  width: 100%;
}
.hero-video-content {
  max-width: 760px;
  min-height: clamp(220px, 42%, 320px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-video-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-shadow:
    0 4px 18px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.28);
}
.hero-title-line {
  display: block;
}
.hero-title-line + .hero-title-line {
  margin-top: 0.32em;
}
.hero-video-sub {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  max-width: 60ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.hero-content-shell {
  position: relative;
  margin-top: -3rem;
  z-index: 3;
}
.hero-grid-card {
  padding: 1.6rem;
  min-height: 100%;
}
.hero-stat {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.hero-stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--id5-blue);
  line-height: 1;
}
.hero-stat-label,
.intro-copy {
  /* color: var(--id5-slate); */
  color: #333538;
  font-size: 1.1rem;
}
.icon-badge {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  display: inline-grid;
  place-items: center;
  background: #eef4ff;
  color: var(--id5-blue);
  font-size: 1.2rem;
}
.metric-card,
.service-card,
.process-card,
.proof-card {
  padding: 1.45rem;
  height: 100%;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.metric-card:hover,
.service-card:hover,
.process-card:hover,
.proof-card:hover,
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--id5-shadow-lg);
  border-color: rgba(37, 99, 235, 0.16);
}
.service-card h3,
.proof-card h3,
.process-card h3,
.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 1rem 0 0.7rem;
}
.service-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0.95rem 0 0;
  display: grid;
  gap: 0.6rem;
}
.service-list li,
.check-list li {
  display: flex;
  gap: 0.7rem;
  color: #415066;
}
.service-list i,
.check-list i {
  color: var(--id5-blue);
  margin-top: 0.18rem;
}
.service-card .service-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 800;
}
.proof-strip {
  margin-top: 1.75rem;
}
.proof-metric {
  font-size: 2rem;
  font-weight: 900;
  color: var(--id5-dark);
  line-height: 1;
}
.proof-caption {
  color: #64748b;
  font-size: 0.92rem;
  margin-top: 0.45rem;
}
.showcase-block,
.cta-band {
  background: linear-gradient(135deg, #0e1f3d 0%, #17305b 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 48px rgba(9, 19, 39, 0.16);
}
.showcase-block .section-sub,
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}
.showcase-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.4rem;
  margin-bottom: 0.55rem;
}
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 3.6rem 0 2.9rem;
  color: #fff;
  background:
    radial-gradient(circle at 14% 18%, var(--page-hero-glow-1) 0, rgba(255, 255, 255, 0) 32%), radial-gradient(circle at 86% 20%, var(--page-hero-glow-2) 0, rgba(147, 197, 253, 0) 28%),
    linear-gradient(135deg, var(--page-hero-bg-start) 0%, var(--page-hero-bg-mid) 44%, var(--page-hero-bg-end) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -48% 34%;
  height: 115%;
  transform: rotate(-10deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 36%, rgba(255, 255, 255, 0) 78%);
  filter: blur(18px);
  opacity: 0.58;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 24%, rgba(255, 255, 255, 0) 64%),
    radial-gradient(circle at 50% 100%, rgba(4, 12, 32, 0.34) 0%, rgba(4, 12, 32, 0) 52%);
  pointer-events: none;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero .section-kicker {
  background: var(--page-hero-kicker-bg) !important;
  border-color: var(--page-hero-kicker-border) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.page-hero .section-title,
.page-hero .section-sub,
.page-hero h1,
.page-hero p {
  color: #fff;
}
.page-hero .section-title {
  text-shadow: 0 8px 28px rgba(3, 10, 26, 0.34);
}
.page-hero .section-sub {
  color: rgba(255, 255, 255, 0.88);
  /* max-width: 64ch; */
}
.page-hero-card {
  padding: 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: var(--page-hero-border);
  box-shadow: var(--page-hero-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-footer {
  background: #0c1628;
  color: rgba(255, 255, 255, 0.82);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.footer-logo {
  height: 80px;
  width: auto;
}
.footer-heading {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-mini {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.65);
}
.footer-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
}
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, #0b1a32 0%, #14315f 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-shell {
  position: relative;
  width: min(220px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.preloader-ring,
.preloader-ring::before,
.preloader-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.preloader-ring {
  inset: 18%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #60a5fa;
  animation: preloaderSpin 1.2s linear infinite;
}
.preloader-ring::before {
  inset: -14px;
  border: 1px solid rgba(96, 165, 250, 0.26);
}
.preloader-ring::after {
  inset: 14px;
  border: 1px solid rgba(191, 219, 254, 0.26);
}
.preloader-center {
  width: 88px;
  height: 88px;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
}
.preloader-mark {
  color: #93c5fd;
  width: 36px;
  display: inline-flex;
}
.preloader-mark svg {
  width: 100%;
  height: auto;
}
.preloader-copy {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 0.25rem;
  text-align: center;
  color: #dbeafe;
}
.preloader-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preloader-copy span {
  display: block;
  width: 78px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}
html.skip-preloader .site-preloader {
  display: none;
}
@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.content-slab {
  padding: 1.7rem;
}
.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.simple-list li {
  display: flex;
  gap: 0.7rem;
  color: #415066;
}
.simple-list i {
  color: var(--id5-blue);
  margin-top: 0.15rem;
}
.blog-card-shell {
  border: 1px solid var(--id5-border);
  border-radius: var(--id5-radius);
  background: #fff;
  box-shadow: var(--id5-shadow);
}
.text-muted-soft {
  color: var(--id5-slate) !important;
}
@media (max-width: 1199.98px) {
  .hero-content-shell {
    margin-top: -2rem;
  }
}
@media (max-width: 991.98px) {
  .section {
    padding: 3.75rem 0;
  }

  /* Keep the hero text in the same area as desktop instead of dropping it lower */
  .hero-video-overlay {
    align-items: center;
    padding-bottom: 0;
  }

  .hero-video-content {
    text-align: left;
    min-height: clamp(200px, 40%, 280px);
  }
}
@media (max-width: 767.98px) {
  .hero-content-shell {
    margin-top: 0;
  }
  .hero-video-banner {
    height: min(var(--hero-banner-height), 300px);
  }
  .showcase-block,
  .cta-band,
  .glass-panel,
  .feature-card,
  .service-card,
  .process-card,
  .page-hero-card {
    border-radius: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  /* Preserve the desktop title rhythm on smaller screens */
  .hero-video-title {
    font-size: clamp(1.9rem, 7.2vw, 3rem);
    line-height: 0.9;
  }

  .hero-title-line + .hero-title-line {
    margin-top: 0.28em;
  }
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: 3rem 0 2.35rem;
  }

  .page-hero::before {
    inset: auto -35% -58% 22%;
    opacity: 0.56;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell,
  .site-footer {
    animation: none;
  }
}

.ai-portfolio-gallery-section {
  background: #000;
  padding: 2.5rem 0 3rem;
}
.ai-portfolio-gallery-intro {
  color: #ffee32;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 1.85rem;
}
.ai-portfolio-gallery-grid {
  justify-content: center;
}
.ai-portfolio-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: #080808;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  aspect-ratio: 1.28 / 1;
}
.ai-portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}
.ai-portfolio-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}
.ai-portfolio-tile:hover img,
.ai-portfolio-tile:focus img {
  transform: scale(1.03);
  opacity: 0.96;
}
.ai-portfolio-video-tile .ai-portfolio-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.ai-portfolio-play i {
  width: 4rem;
  height: 4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 1.9rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}
.glightbox-clean .gslide-description {
  background: rgba(0, 0, 0, 0.78);
}
@media (max-width: 991.98px) {
  .ai-portfolio-gallery-section {
    padding: 2.25rem 0 2.6rem;
  }
}

.ai-portfolio-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.35rem;
}
.ai-portfolio-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.ai-filter-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.ai-filter-btn:hover,
.ai-filter-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}
.ai-filter-btn.is-active {
  background: #4c6fff;
  border-color: #4c6fff;
  color: #fff;
}
.ai-portfolio-gallery-grid,
.ai-portfolio-gallery-grid .ai-portfolio-thumb {
  width: 100%;
}
.ai-iso-grid {
  position: relative;
}
.ai-iso-grid.ai-isotope-active {
  margin: -0.75rem;
}
.ai-iso-grid.ai-isotope-active .ai-portfolio-item {
  width: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
}
@media (min-width: 576px) {
  .ai-iso-grid.ai-isotope-active .ai-portfolio-item {
    width: 50%;
  }
}
@media (min-width: 992px) {
  .ai-iso-grid.ai-isotope-active .ai-portfolio-item {
    width: 25%;
  }
}
.ai-iso-grid .ai-portfolio-item img {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 767.98px) {
  .ai-portfolio-filters {
    gap: 0.5rem;
  }
  .ai-filter-btn {
    font-size: 0.92rem;
    padding: 0.42rem 0.78rem;
  }
}

.contact-ajax-form .form-label {
  font-weight: 700;
  color: var(--id5-dark);
}
.contact-ajax-form .form-control,
.contact-ajax-form .form-select {
  border-width: 1px;
}
.contact-ajax-form .form-control:focus,
.contact-ajax-form .form-select:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}
.contact-ajax-form textarea.form-control {
  resize: vertical;
  min-height: 180px;
}
.contact-submit-btn[disabled] {
  opacity: 0.96;
  cursor: wait;
}
.contact-toast-wrap {
  z-index: 1100;
}
.contact-toast {
  min-width: min(420px, calc(100vw - 1.5rem));
  border-radius: 1rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
}
.contact-toast-success {
  background: linear-gradient(135deg, #198754 0%, #22a06b 100%) !important;
}
.contact-toast-error {
  background: linear-gradient(135deg, #b42318 0%, #d92d20 100%) !important;
}
.contact-toast .toast-body {
  font-weight: 700;
  line-height: 1.45;
}

.page-hero-split {
  padding: 3.5rem 0 3rem;
}

.page-hero-split .section-sub {
  max-width: 58ch;
}

.page-hero-media-card {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 56px rgba(6, 16, 34, 0.26);
  text-decoration: none;
  background: #0f172a;
}

.page-hero-media-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.page-hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.08) 0%, rgba(8, 15, 30, 0.28) 42%, rgba(8, 15, 30, 0.82) 100%);
}

.page-hero-media-content {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
}

.page-hero-media-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-media-title {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 22ch;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

.page-hero-media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.page-hero-media-card:hover .page-hero-media-play,
.page-hero-media-card:focus-visible .page-hero-media-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.page-hero-media-card:hover .page-hero-media-image,
.page-hero-media-card:focus-visible .page-hero-media-image {
  transform: scale(1.03);
}

@media (max-width: 991.98px) {
  .page-hero-media-card {
    min-height: 300px;
  }
}

/* Make the text in the first column higher in the card */

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* .service-card {
  height: 100%;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card h3,
.service-card p {
  max-width: 90%;
}

.service-card .lead {
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.service-image-card {
  height: 100%;
  overflow: hidden;
}

.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

/* Mega menu sizing variables */
:root {
  --mega-menu-width: 650px;
  --mega-menu-margin-top: 0.6rem;
  --mega-menu-wrap-padding-y: 0.85rem;
  --mega-menu-wrap-padding-x: 0.95rem;
  --mega-menu-header-gap: 0.65rem;
  --mega-menu-grid-gap-y: 0.65rem;
  --mega-menu-grid-gap-x: 0.75rem;
  --mega-menu-item-min-height: 52px;
  --mega-menu-item-padding-y: 0.72rem;
  --mega-menu-item-padding-x: 0.95rem;
}

/* =========================================================
   CTA BAND OVERRIDE — Green 2 / Deep Forest Premium
   Appended at end of file so it overrides the earlier .cta-band styles
   ========================================================= */
.cta-band {
  /* CHANGED: deep forest premium green gradient background */
  background: radial-gradient(circle at 82% 50%, rgba(45, 212, 191, 0.18) 0%, rgba(45, 212, 191, 0) 28%), linear-gradient(135deg, #052e16 0%, #14532d 40%, #166534 100%);
  /* CHANGED: green-tinted border to support the darker premium look */
  border: 1px solid rgba(74, 222, 128, 0.2);
  /* CHANGED: stronger premium depth and inner highlight */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 56px rgba(5, 46, 22, 0.3);
  /* CHANGED: keep pseudo-element border and glow effects contained */
  position: relative;
  overflow: hidden;
}

/* CHANGED: subtle inner accent border for a more refined premium finish */
.cta-band::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(1.5rem - 1px);
  border: 1px solid rgba(110, 231, 183, 0.1);
  pointer-events: none;
}

/* CHANGED: ensure CTA content sits above the decorative overlay */
.cta-band > * {
  position: relative;
  z-index: 1;
}

/* Text Secondary Overide */
.text-secondary {
  --bs-text-opacity: 1;
  color: #1d1d1d !important;
}

/* =========================================================
   SERVICE PAGE CARD ALIGNMENT OVERRIDE
   Keep the two main service-page columns aligned at the top
   so both cards start on the same horizontal line.
   The image column can still extend farther down naturally.
   ========================================================= */

/* CHANGED: force the main two-column service rows to top-align instead of vertical-centering */
.page-shell .section .row.g-4.align-items-center {
  align-items: flex-start !important;
}

/* CHANGED: make sure both service-page columns start at the top edge */
.page-shell .section .row.g-4.align-items-center > .col-12.col-lg-7,
.page-shell .section .row.g-4.align-items-center > .col-12.col-lg-5 {
  align-self: flex-start !important;
}

/* CHANGED: keep cards anchored to the top while allowing natural height differences */
.page-shell .section .row.g-4.align-items-center .feature-card {
  margin-top: 0;
}

/* Small Text for contact form */
.small-text {
  font-size: 0.85rem !important;
  color: #545454 !important;
}

/* Work Section */
.work-sub-text {
  font-size: 1.25rem;
  line-height: 120%;
  color: #93f3f6;
}

/* AI Creative Production page 2 banner videos */

.bump-down {
  padding-top: 120px;
}

/* Clone Lead for the clone page */
.clone-lead {
  font-size: 1.2rem;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.blog-thumb-card {
  display: flex;
  flex-direction: column;
}

.blog-thumb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.blog-thumb-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.blog-thumb-card h3 {
  margin-bottom: 0;
  line-height: 1.2;
}

.blog-thumb-wrap {
  flex: 0 0 96px;
  width: 140px;
}

.blog-thumb-image {
  width: 140px;
  height: 108px;
  object-fit: cover;
  border-radius: 0.85rem;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

@media (max-width: 575.98px) {
  .blog-thumb-header {
    gap: 0.85rem;
  }

  .blog-thumb-wrap {
    flex: 0 0 82px;
    width: 82px;
  }

  .blog-thumb-image {
    width: 82px;
    height: 62px;
    border-radius: 0.75rem;
  }
}

/* Footer call to action */
.footer-cta {
  color: #00e5ff !important;
  text-decoration: italic;
}
.footer-cta-btn {
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.footer-cta-btn:hover,
.footer-cta-btn:focus {
  color: #00e5ff !important;
  border-color: #00e5ff !important;
  background-color: transparent !important;
}
