:root {
  --bg: #0b1533;
  --bg-2: #002362;
  --brand: #09c2ec;
  --brand-dark: #046a88;
  --text: #f7fafc;
  --muted: #c9d2e4;
  --card: #0f1a3d;
  --border: #1b2a57;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --logo-h: 88px;
  --marquee-duration: 40s;
  --cycle: 800px;
}

@media (max-width:700px) {
  :root {
    --logo-h: 72px
  }
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(9, 194, 236, .12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

/* ---------------- Header ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 16, 50, .6);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--border)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative
}

/* Brand pill */
.brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand);
  color: #002b3a !important;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(9, 194, 236, .6);
  box-shadow: var(--shadow);
  transition: transform .22s, filter .22s;
  white-space: nowrap;
}

.brand-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
  color: #002b3a !important;
}

.brand-cta__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  flex: 0 0 40px;
  overflow: hidden;
}

.brand-cta__icon img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block
}

/* Desktop nav layout + spacing */
.nav>nav {
  display: flex;
  align-items: center;
  gap: 32px;
  /* desktop spacing between items */
}

.nav>nav a {
  font-size: .95rem;
  color: var(--muted);
}

.nav>nav a:hover {
  color: #fff
}

/* Make the header “Start a Project” look like other links,
   even if it still has class="btn" in the HTML */
.nav>nav .btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  transform: none !important;
  filter: none !important;
}

.nav>nav .btn:hover {
  color: #fff !important
}

/* ---------------- Buttons (global, used outside header) ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--brand);
  color: #002b3a;
  border: 1px solid rgba(9, 194, 236, .6);
  border-radius: 14px;
  padding: .85rem 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: .22s
}

.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.1)
}

.btn.outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border)
}

/* Duotone badges */
.badge {
  --bsize: 38px;
  --isize: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--bsize);
  height: var(--bsize);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 6px 16px rgba(9, 194, 236, .25);
  flex: 0 0 var(--bsize)
}

.duo {
  width: var(--isize);
  height: var(--isize)
}

.duo .a {
  fill: var(--brand)
}

.duo .b {
  fill: var(--brand-dark)
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor
}

.badge .icon {
  width: var(--isize);
  height: var(--isize);
  display: block
}

/* ---------------- Layout ---------------- */
.hero {
  position: relative;
  overflow: hidden
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 72px 0
}

@media (min-width:900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    align-items: center;
    padding: 110px 0
  }
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: .4rem 0 1rem;
  font-weight: 800
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: 0 0 .6rem
}

p.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem)
}

.section {
  padding: 72px 0
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .72rem;
  margin-bottom: 10px
}

/* Cards & grids */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow)
}

.card .body {
  padding: 18px
}

.card .head {
  padding: 18px 18px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6rem
}

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

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px
}

.work-thumb {
  aspect-ratio: 16/9;
  background: #0c1533;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  border-radius: 16px
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* Trust Carousel */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0))
}

.carousel-viewport {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.carousel-track {
  display: flex;
  gap: 48px;
  will-change: transform;
  animation: marquee var(--marquee-duration) linear infinite
}

.carousel-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25)
}

.carousel-logo {
  height: var(--logo-h);
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35))
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(calc(-1 * var(--cycle)))
  }
}

.cta {
  background: linear-gradient(90deg, rgba(9, 194, 236, .15), transparent, rgba(9, 194, 236, .15));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px
}

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--border);
  margin-top: 60px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px
}

@media (max-width:800px) {
  .footer-grid {
    grid-template-columns: 1fr
  }
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 10px
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  padding: 0 10px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: #fff
}

.socials a:hover {
  background: rgba(9, 194, 236, .18);
  border-color: rgba(9, 194, 236, .5)
}

/* ---------------- Reveal animation ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: transform .6s ease, opacity .6s ease
}

[data-reveal].shown {
  opacity: 1;
  transform: none
}

/* decorative border ring fix */
.ring {
  position: relative
}

.ring:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(9, 194, 236, .5), rgba(255, 255, 255, .06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none
}

/* smooth anchor scroll + offset for sticky header */
html {
  scroll-behavior: smooth
}

#contact {
  scroll-margin-top: 90px
}



/* ---------------- Utility ---------------- */
.hide {
  display: none !important
}

/* ---------------- Consolidate Styles from HTML ---------------- */

/* Desktop nav */
header .container.nav {
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
}

.nav-cta {
  background: #22c55e;
  color: #001633;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #0c1533;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  display: none;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, .06);
}

.dropdown.open .dropdown-menu {
  display: block;
}

/* Mobile drawer hidden by default (desktop) */
.nav-menu {
  display: none
}

/* .menu-toggle is already defined in styles.css but we might need to reconcile */

/* Default: Hide menu toggle on desktop */
.menu-toggle {
  display: none;
}

@media (max-width:768px) {

  /* Reconciling menu-toggle display */
  .menu-toggle {
    display: block;
    margin-left: auto;
    font-size: 1.6rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--brand);
    /* Changed from #fff to blue */
  }

  header .container.nav>nav {
    display: none
  }

  /* Hide desktop nav */

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100dvh;
    background: #001633;
    border-left: 1px solid var(--border);
    padding: 80px 18px 18px;
    gap: 10px;
    transition: right .26s ease;
    z-index: 999
  }

  .nav-menu.open {
    right: 0
  }

  .nav-menu a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: #fff;
    text-decoration: none
  }

  /* Mobile dropdown group */
  .nav-group-title {
    font-weight: 800;
    letter-spacing: .04em;
    padding: 10px 0 4px;
    color: #9fb0ff;
  }

  .nav-cta {
    justify-content: center
  }
}

/* Make anchor-wrapped cards look identical to .card */
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card .head {
  color: #fff;
}

/* Deferred map placeholder */
.map-placeholder {
  position: relative;
  min-height: 620px;
  background: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.24), transparent 60%), #001633;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 18px;
  gap: 16px;
}

.map-placeholder .map-copy {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.82);
}

.map-trigger {
  background: #22c55e;
  color: #001633;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.map-trigger:hover,
.map-trigger:focus-visible {
  filter: brightness(1.05);
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

/* Font Awesome Faces */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
}

/* About Page Specifics */
.bio-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.bio-image {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .bio-section {
    grid-template-columns: 1fr 2fr;
  }
}

/* Portfolio Page Specifics */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 24px
}

.filter-btn {
  cursor: pointer
}

.filter-btn.active {
  background: var(--brand);
  color: #002b3a;
  border-color: rgba(9, 194, 236, .6)
}

.card[hidden] {
  display: none !important
}

.category-links {
  margin: 8px 0 18px;
  font-size: .98rem;
  color: var(--muted)
}

.category-links a {
  color: inherit;
  text-decoration: underline dotted
}

/* Clean bullets (from google.html) */
.bullets {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px
}

.bullets li {
  display: flex;
  gap: 8px;
  align-items: flex-start
}

.bullets li::before {
  content: "•";
  margin-right: 8px
}

/* Social Page Specifics */
/* Make anchor-wrapped cards look identical to .card */
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.card .head {
  color: #fff;
}

/* Utility shim for common classes used in markup */
.mx-auto {
  margin-left: auto;
  margin-right: auto
}

.max-w-4xl {
  max-width: 56rem
}

.max-w-2xl {
  max-width: 42rem
}

.text-center {
  text-align: center
}

.text-white {
  color: #fff
}

.service-package {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-package .body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-package ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-package li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-package .fa-check {
  color: #22c55e;
  font-size: 1.1rem;
}

/* REFORMATTED team-card styling */
.team-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
}

.team-card .image-wrapper {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  /* Square with rounded corners */
  display: block;
  margin: 0 auto;
}

.team-card .image-wrapper p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9em;
}

.team-card .text-content {
  padding: 0;
}

.team-card .cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .team-card {
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: flex-start;
  }

  .team-card .image-wrapper {
    margin: 0;
    text-align: left;
  }

  .team-card img {
    margin: 0;
  }
}

/* New pricing section styles */
.pricing-section {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 24, 63, 0.96), rgba(4, 10, 29, 0.94));
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 18px;
  max-width: 1280px;
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .28);
  isolation: isolate;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: -140px -28%;
  background:
    radial-gradient(circle at top right, rgba(92, 123, 255, 0.36), transparent 58%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.25), transparent 62%);
  filter: blur(42px);
  opacity: .8;
  z-index: -1;
}

/* Pricing header typography */
.pricing-section h2 {
  font-weight: 700;
  letter-spacing: .02em;
  color: #9fb0ff;
  text-align: center;
  margin: 0;
}

.pricing-section .section-title {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
  color: #fff;
  margin: .5rem auto 0;
  max-width: 56rem;
}

.pricing-section>p {
  max-width: 42rem;
  margin: 1rem auto 0;
  text-align: center;
  color: #cbd5e1;
  font-size: 1.125rem;
}

.pricing-section .pricing-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: 1fr;
}

.pricing-card {
  position: relative;
  padding: clamp(2rem, 3vw, 2.85rem);
  border-radius: 20px;
  border: 1px solid rgba(151, 176, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  min-height: 100%;
  backdrop-filter: saturate(150%) blur(3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(122, 164, 255, 0.28);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-card.highlight {
  background: linear-gradient(170deg, rgba(44, 73, 202, 0.72), rgba(13, 20, 56, 0.92));
  border-color: rgba(120, 176, 255, 0.45);
  box-shadow: 0 22px 50px rgba(28, 47, 110, .48), inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.pricing-card.highlight::after {
  border-color: rgba(148, 205, 255, 0.65);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(130, 151, 255, 0.14);
  color: #9fb0ff;
}

.plan-badge .fa-solid {
  font-size: .85rem;
}

.pricing-card:nth-of-type(2) .plan-badge {
  background: rgba(255, 171, 84, 0.18);
  color: #fed7aa;
}

.pricing-card.highlight .plan-badge {
  background: rgba(34, 197, 94, 0.18);
  color: #d8ffe8;
}

.pricing-card.highlight .plan-badge .fa-solid {
  color: #34d399;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #9fb0ff;
}

.pricing-card .price-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pricing-card .price {
  font-size: clamp(2.25rem, 4.6vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}

.pricing-card .price-sub {
  font-size: 1rem;
  color: #a3a3a3;
  opacity: .9;
}

.pricing-card .plan-description {
  margin-top: 0.9rem;
  color: #d4dcff;
  font-size: 1.02rem;
  line-height: 1.65;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  flex-grow: 1;
  /* Make the list grow to fill space */
  line-height: 1.55;
}

.pricing-card li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #d4d4d4;
}

.pricing-card li svg {
  height: 1.5rem;
  width: 1.25rem;
  flex-shrink: 0;
  color: #7c3aed;
}

.pricing-card li .fa-check {
  color: #22c55e;
  margin-top: 0;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

/* Fix odd justified spacing and broken line wraps inside pricing bullets */
.pricing-card ul,
.pricing-card li {
  text-align: left;
  /* override any global justify */
  text-justify: auto;
  white-space: normal;
  word-spacing: normal;
  letter-spacing: normal;
}

.pricing-card li {
  justify-content: flex-start;
  /* keep text next to icon */
  max-width: 68ch;
  /* improve readability */
}

.pricing-card li strong,
.pricing-card li em {
  white-space: normal;
  /* allow natural wrapping without orphan words */
}

.pricing-card .nav-cta {
  margin-top: auto;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}

/* Responsive grid for pricing */
@media (min-width: 768px) {
  .pricing-section .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
