:root {
  --navy-950: #060e2b;
  --navy-900: #0a1b54;
  --navy-800: #0f2775;
  --navy-700: #153a9e;
  --blue-500: #1e5fe0;
  --green-600: #0e9a4b;
  --green-500: #17b25a;
  --green-400: #3fd077;
  --ink: #0a0e1b;
  --slate: #4a5470;
  --slate-light: #8891aa;
  --paper: #fbfcfe;
  --mist: #eff3fb;
  --line: #e3e8f3;
  --white: #ffffff;
  --grad-brand: linear-gradient(115deg,
      var(--navy-800) 0%,
      var(--navy-700) 38%,
      var(--blue-500) 58%,
      var(--green-500) 100%);
  --grad-green: linear-gradient(120deg,
      var(--green-600),
      var(--green-400));
  --grad-navy: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  --shadow-sm: 0 2px 10px rgba(10, 27, 84, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 27, 84, 0.1);
  --shadow-lg: 0 24px 60px rgba(6, 14, 43, 0.18);
  --radius: 16px;
  --ff-display: "Space Grotesk", sans-serif;
  --ff-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

section {
  position: relative;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

h2.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
}

p.section-lead {
  color: var(--slate);
  font-size: 16.5px;
  max-width: 560px;
}

.section-head {
  margin-bottom: 48px;
}

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

.section-head.center p.section-lead {
  margin: 14px auto 0;
}

.pad {
  padding: 60px 0;
}

.pad-sm {
  padding: 64px 0;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 178, 90, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23, 178, 90, 0.42);
}

.btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line);
  color: var(--navy-950);
  background: var(--grad-green);
}

.btn-outline:hover {
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ============ NAV ============ */
header#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition:
    padding 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

header#site-header.scrolled {
  padding: 12px 0;
  background: rgba(251, 252, 254, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand img {
  height: 52px;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.brand-word {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-word .g {
  color: var(--green-500);
}

header#site-header:not(.scrolled) .brand-word {
  color: #fff;
}

header#site-header.scrolled .brand-word {
  color: var(--navy-950);
}

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

nav.main-nav a {
  font-size: 13.6px;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 8px;
  transition: 0.25s;
}

header#site-header:not(.scrolled) nav.main-nav a {
  color: rgba(255, 255, 255, 0.82);
}

header#site-header:not(.scrolled) nav.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

header#site-header.scrolled nav.main-nav a {
  color: var(--slate);
}

header#site-header.scrolled nav.main-nav a:hover {
  color: var(--navy-950);
  background: var(--mist);
}

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

.btn-nav {
  padding: 11px 20px;
  font-size: 13.5px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

header#site-header.scrolled .menu-toggle {
  border-color: var(--line);
}

header#site-header.scrolled .menu-toggle span {
  background: var(--navy-950);
}

@media (max-width: 980px) {
  nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 100px 28px 28px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 999;
  }

  nav.main-nav.open {
    transform: translateX(0);
  }

  nav.main-nav a {
    color: rgba(255, 255, 255, 0.85) !important;
    width: 100%;
    padding: 13px 6px;
    font-size: 15px;
  }

  nav.main-nav a:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta .btn-nav.desktop-only {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  background: var(--grad-navy);
  color: #fff;
  padding: 125px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%,
      black 10%,
      transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-glow.blue {
  background: var(--blue-500);
  top: -220px;
  right: -160px;
}

.hero-glow.green {
  background: var(--green-500);
  bottom: -260px;
  left: -160px;
  opacity: 0.22;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.06;
  margin: 20px 0 22px;
}

.hero-copy h1 .accent {
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  color: rgba(226, 231, 247, 0.82);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 30px;
}

.hero-stats .stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: 26px;
  color: #fff;
}

.hero-stats .stat span {
  font-size: 12.5px;
  color: rgba(226, 231, 247, 0.62);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  height: 460px;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

.growth-path {
  fill: none;
  stroke: url(#pathGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards;
}

.growth-dot {
  fill: var(--green-400);
  opacity: 0;
  animation: pop 0.5s ease 2.1s forwards;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: card-in 0.6s ease forwards;
}

.hero-card b {
  display: block;
  font-family: var(--ff-display);
  font-size: 18px;
  color: #fff;
}

.hero-card span {
  font-size: 11.5px;
  color: rgba(226, 231, 247, 0.65);
}

.hc1 {
  top: 8%;
  right: 2%;
  animation-delay: 2.3s;
}

.hc2 {
  bottom: 10%;
  left: 0%;
  animation-delay: 2.5s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  to {
    opacity: 1;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    height: 320px;
    margin-top: 8px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, auto);
    row-gap: 22px;
  }
}

/* ============ TRUSTED BY ============ */
.trusted {
  padding: 44px 0;
  background: var(--navy-950);
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 28s linear infinite;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.marquee-track img {
  background-color: white;
  height: 60px;
  max-width: 140px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.marquee-track img:hover {
  filter: brightness(1) invert(0);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

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

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  color: var(--slate);
  margin: 18px 0 26px;
  font-size: 15.8px;
}

.about-points {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--navy-950);
  font-weight: 600;
  font-size: 14.8px;
}

.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--grad-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}

.about-visual {
  position: relative;
  background: transparent;
  padding: 0;
  min-height: auto;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.founder-img-wrapper {
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--navy-950);
}

.founder-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.founder-img-wrapper:hover .founder-img {
  transform: scale(1.03);
}

.founder-info {
  margin-top: 20px;
}

.founder-name {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.founder-degree {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

/* ============ THANK YOU PAGE ============ */
.thankyou-page {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thankyou-section {
  padding: 140px 0 80px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-card {
  text-align: center;
  margin: 50px;
}

.thankyou-logo {
  display: flex;
  align-items: center;
  justify-self: center;
}

.thankyou-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 28px;
  object-fit: contain;
  border-radius: 8px;
}

.thankyou-badge {
  width: 68px;
  height: 68px;
  background: var(--grad-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(23, 178, 90, 0.3);
}

.thankyou-badge svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
}

.thankyou-card h1 {
  font-size: clamp(30px, 4vw, 40px);
  color: var(--navy-950);
  margin-bottom: 14px;
}

.thankyou-lead {
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15.5px;
}

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

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy-800);
}

.service-card:nth-child(odd) .service-icon {
  background: linear-gradient(145deg,
      rgba(23, 178, 90, 0.12),
      rgba(30, 95, 224, 0.1));
}

.service-card h3 {
  font-size: 16.5px;
  margin-bottom: 9px;
}

.service-card p {
  color: var(--slate);
  font-size: 13.6px;
  margin-bottom: 16px;
}

.service-card ul {
  display: grid;
  gap: 7px;
}

.service-card ul li {
  font-size: 12.6px;
  color: var(--navy-950);
  font-weight: 600;
  display: flex;
  gap: 7px;
  align-items: center;
}

.service-card ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-500);
}

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

/* ============ WHY CHOOSE US ============ */
.why-section {
  background: var(--mist);
}

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

.why-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  border: 1px solid var(--line);
}

.why-num {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 14px;
  display: block;
}

.why-card h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.why-card p {
  color: var(--slate);
  font-size: 13.8px;
}

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

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

/* ============ PROCESS ============ */
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.process-rail::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--blue-600), var(--green-500));
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 178, 90, 0.3);
}

.process-num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(23, 178, 90, 0.25);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--navy-950);
}

.process-step p {
  color: var(--slate);
  font-size: 13.2px;
  line-height: 1.55;
  margin: 0;
}

/* Animated right arrow between cards on desktop */
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 80px;
  right: -25px;
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--green-500);
  z-index: 10;
  animation: arrow-bounce 1.4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes arrow-bounce {
  0% {
    transform: translateX(0);
    opacity: 0.55;
  }

  100% {
    transform: translateX(6px);
    opacity: 1;
  }
}

/* Mobile & Tablet Vertical Layout (Keep exact original style for mobile) */
@media (max-width: 900px) {
  .process-rail {
    display: block;
    position: relative;
  }

  .process-rail::before {
    top: 10px;
    bottom: 10px;
    left: 29px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(var(--navy-800), var(--green-500));
    opacity: 0.25;
  }

  .process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 18px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step:hover {
    transform: none;
    box-shadow: none;
  }

  .process-num {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 18px;
  }

  .process-step h3 {
    font-size: 17px;
  }

  .process-step p {
    font-size: 14px;
  }
}

/* ============ INDUSTRIES ============ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.3s;
}

.industry-card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.industry-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--navy-800);
}

.industry-card h4 {
  font-size: 14.5px;
}

@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* ============ PORTFOLIO ============ */
.portfolio-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.p-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: 0.25s;
}

.p-tab.active,
.p-tab:hover {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-thumb span.tag {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  background: rgba(10, 14, 27, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.portfolio-body {
  padding: 20px;
}

.portfolio-body h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.portfolio-body p {
  color: var(--slate);
  font-size: 13px;
  margin-bottom: 12px;
}

.portfolio-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--green-600);
  font-size: 14px;
}

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

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

/* ============ CASE STUDIES ============ */
.case-section {
  background: var(--navy-950);
  color: #fff;
}

.case-section .eyebrow {
  color: var(--green-400);
}

.case-section h2.section-title,
.case-section p.section-lead {
  color: #fff;
}

.case-section p.section-lead {
  color: rgba(226, 231, 247, 0.7);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green-400);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.case-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.case-card p {
  color: rgba(226, 231, 247, 0.68);
  font-size: 13.6px;
  margin-bottom: 20px;
}

.case-metric {
  margin-top: auto;
  display: flex;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-metric div b {
  display: block;
  font-family: var(--ff-display);
  font-size: 24px;
  color: #fff;
}

.case-metric div span {
  font-size: 11px;
  color: rgba(226, 231, 247, 0.55);
}

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

/* ============ TESTIMONIALS ============ */
.testi-section {
  background: var(--mist);
  overflow: hidden;
}

.testi-track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 -32px;
  padding: 4px 32px 12px;
}

.testi-track-wrap::-webkit-scrollbar {
  display: none;
}

.testi-track {
  display: flex;
  gap: 20px;
}

.testi-card {
  scroll-snap-align: start;
  flex: none;
  width: min(360px, 84vw);
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: var(--green-500);
}

.testi-card p.quote {
  color: var(--navy-950);
  font-size: 14.6px;
  margin-bottom: 22px;
  flex: 1;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
}

.testi-person b {
  display: block;
  font-size: 13.6px;
}

.testi-person span {
  font-size: 12px;
  color: var(--slate);
}

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

.testi-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.testi-nav button:hover {
  background: var(--navy-950);
  border-color: var(--navy-950);
}

.testi-nav button:hover svg {
  stroke: #fff;
}

.testi-nav svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy-950);
}

/* ============ FAQ ============ */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-950);
}

.faq-q .plus {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: 0.3s;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--navy-800);
  border-radius: 2px;
}

.faq-q .plus::before {
  width: 10px;
  height: 2px;
}

.faq-q .plus::after {
  width: 2px;
  height: 10px;
  transition: 0.3s;
}

.faq-item.open .faq-q .plus {
  background: var(--grad-green);
}

.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after {
  background: #fff;
}

.faq-item.open .faq-q .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

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

.faq-a p {
  padding: 0 22px 20px;
  color: var(--slate);
  font-size: 14px;
  max-width: 640px;
}

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

.blog-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.3s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.blog-thumb {
  height: 135px;
  background: var(--mist);
  position: relative;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blog-card:hover .blog-img {
  transform: scale(1.08);
}

.blog-body {
  padding: 22px;
}

.blog-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-body h3 {
  font-size: 16px;
  margin: 10px 0 10px;
  line-height: 1.35;
}

.blog-body p {
  color: var(--slate);
  font-size: 13.2px;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate-light);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

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

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

/* ============ CONTACT ============ */
.contact-section {
  background: var(--grad-navy);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info h2 {
  color: #fff;
}

.contact-info p {
  color: rgba(226, 231, 247, 0.72);
  font-size: 15px;
  margin: 16px 0 30px;
  max-width: 400px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list .ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-400);
}

.contact-list b {
  display: block;
  font-size: 13.6px;
  color: #fff;
}

.contact-list span {
  font-size: 12.6px;
  color: rgba(226, 231, 247, 0.62);
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 38px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 12.6px;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  transition: 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(23, 178, 90, 0.12);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field {
  position: relative;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
  background-color: rgba(239, 68, 68, 0.02);
}

.field-error {
  display: block;
  color: #ef4444;
  font-size: 12px;
  font-weight: 500;
  margin-top: 5px;
  text-align: left;
  animation: fadeInError 0.2s ease forwards;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-note {
  font-size: 12px;
  color: var(--slate-light);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.show {
  display: block;
}

.form-success .check-big {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success .check-big svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--slate);
  font-size: 14px;
}

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

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

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

/* ============ CTA BAND ============ */
.cta-section {
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%,
      black 10%,
      transparent 78%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}

.cta-glow.blue {
  top: -200px;
  left: -120px;
  background: var(--blue-500);
}

.cta-glow.green {
  bottom: -220px;
  right: -120px;
  background: var(--green-500);
  opacity: 0.22;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: #fff;
  margin-top: 16px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
}

.cta-inner p {
  color: rgba(226, 231, 247, 0.72);
  font-size: 16.5px;
  margin: 16px auto 0;
  max-width: 520px;
}

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

.cta-stats {
  display: flex;
  gap: 44px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-stats .stat b {
  display: block;
  font-family: var(--ff-display);
  font-size: 26px;
  color: #fff;
}

.cta-stats .stat span {
  font-size: 12.5px;
  color: rgba(226, 231, 247, 0.6);
}

@media (max-width: 640px) {
  .cta-section {
    padding: 70px 0;
  }

  .cta-stats {
    gap: 30px;
  }
}

/* ============ FOOTER ============ */
footer {
  background: var(--navy-950);
  color: rgba(226, 231, 247, 0.7);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-word {
  color: #fff;
  font-size: 18px;
}

.footer-brand .brand img {
  height: 52px;
  border-radius: 8px;
}

.footer-brand p {
  font-size: 13.4px;
  margin: 16px 0 20px;
  max-width: 280px;
  color: rgba(226, 231, 247, 0.6);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.social-row a:hover {
  background: var(--grad-green);
  border-color: transparent;
}

.social-row svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 13.4px;
  color: rgba(226, 231, 247, 0.62);
  transition: 0.2s;
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.6px;
  color: rgba(226, 231, 247, 0.45);
}

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

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

::selection {
  background: var(--green-500);
  color: #fff;
}

/* ============ SIMPLE CLEAN CONTACT POPUP MODAL ============ */
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(6, 14, 43, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-dialog {
  background: #ffffff;
  width: min(480px, 92vw);
  border-radius: 20px;
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6, 14, 43, 0.35);
  border: 1px solid #e2e8f0;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
}

.contact-modal-backdrop.open .contact-modal-dialog {
  transform: scale(1) translateY(0);
}

.contact-modal-dialog .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--navy-950);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-modal-dialog .modal-close:hover {
  background: #e2e8f0;
  color: var(--navy-950);
  transform: scale(1.08);
}

.contact-modal-header {
  margin-bottom: 20px;
  padding-right: 36px;
}

.contact-modal-header h3 {
  color: var(--navy-950);
  font-size: 22px;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-modal-header p {
  color: var(--slate);
  font-size: 13.5px;
  margin: 0;
}

#modalContactForm {
  padding: 0;
}

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

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 5px;
}

.field input,
.field select {
  width: 100%;
  padding: 9px 12px;
  height: 38px;
  border-radius: 9px;
  font-size: 13.5px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  transition: all 0.2s ease;
}

.field textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  height: 54px;
  resize: none;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  transition: all 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(23, 178, 90, 0.15);
  outline: none;
}

.modal-submit-btn {
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 6px;
  width: 100%;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-modal-dialog {
    padding: 20px 20px 20px;
  }

  .contact-modal-header h3 {
    font-size: 19px;
  }
}

/* ============ FLOATING ACTION BUTTONS ============ */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1900;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-whatsapp {
  background: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
  background: #20ba5a;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.float-call {
  background: white;
  box-shadow: 0 10px 25px rgba(30, 95, 224, 0.4);
}

.float-call:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 95, 224, 0.55);
}

.float-tooltip {
  position: absolute;
  right: 64px;
  background: var(--navy-950);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .floating-actions {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .float-btn svg {
    width: 22px;
    height: 22px;
  }

  .float-tooltip {
    display: none;
  }

  .pad {
    padding: 40px 0;
  }
}