:root {
  --bg: #fcfcfc;
  --fg: #1f2124;
  --muted: #f4f5f6;
  --muted-fg: #6f7379;
  --border: #e9ebee;
  --accent: #00876e;
  --accent-dark: #00876e;
  --primary-dark: #15171a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

.section-pad {
  padding: 6rem 0;
}

.section-muted,
.section-process,
.site-footer {
  background: var(--muted);
}

.site-header {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header .brand-text {
  color: #ffffff;
}

.site-header .navbar .nav-link {
  color: rgba(255, 255, 255, 0.72);
}

.site-header .navbar .nav-link:hover,
.site-header .navbar .nav-link:focus {
  color: #ffffff;
}

.site-header .navbar-toggler {
  color: #ffffff;
}

.site-header .navbar-toggler-icon {
  filter: invert(1);
}

.site-header:not(.scrolled) .btn.btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary-dark);
}

.site-header:not(.scrolled) .btn.btn-dark:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.site-header.scrolled {
  background: rgba(252, 252, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled .brand-text {
  color: var(--fg);
}

.site-header.scrolled .navbar .nav-link {
  color: var(--muted-fg);
}

.site-header.scrolled .navbar .nav-link:hover,
.site-header.scrolled .navbar .nav-link:focus {
  color: var(--fg);
}

.site-header.scrolled .navbar-toggler {
  color: var(--fg);
}

.site-header.scrolled .navbar-toggler-icon {
  filter: none;
}

.site-header.scrolled .btn.btn-dark {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
}

.brand-box {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.navbar .nav-link {
  color: var(--muted-fg);
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: var(--fg);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

.shape-left {
  left: -80px;
  top: 20%;
  width: 340px;
  height: 340px;
  background: rgba(24, 168, 157, 0.22);
}

.shape-right {
  right: -90px;
  bottom: 15%;
  width: 390px;
  height: 390px;
  background: rgba(24, 168, 157, 0.18);
}

@keyframes pulse {
  0%,
  100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  margin: 0 auto 2rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.badge-ping-wrap {
  position: relative;
  width: 10px;
  height: 10px;
}

.badge-dot,
.badge-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
}

.badge-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  max-width: 920px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.accent-underline {
  position: relative;
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -12px;
  height: 12px;
  border-top: 3px solid var(--accent);
  border-radius: 50%;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.stat-value {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
}

.stat-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.scroll-indicator div {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), transparent);
}

.marquee-section {
  background: var(--bg);
  overflow: hidden;
  padding: 1rem 0;
  border-color: var(--border) !important;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  flex: 0 0 auto;
  padding-right: 2rem;
}

.marquee-items span {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted-fg);
  font-weight: 500;
  font-size: 1.1rem;
}

.marquee-items i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
}

.section-head {
  max-width: 720px;
}

.section-head h2,
section h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.7rem;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.section-head p,
section p {
  color: var(--muted-fg);
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.9rem;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 168, 157, 0.45);
  box-shadow: 0 16px 30px rgba(20, 22, 25, 0.08);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 1.9rem;
  right: 1.9rem;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-no {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  font-size: 2.8rem;
  color: #e9edf0;
  font-weight: 800;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 168, 157, 0.12);
  color: var(--accent-dark);
  font-size: 1.45rem;
  margin-bottom: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
}

.service-card h3,
.project-body h3,
.step h3,
.value-item h4,
.team-card h4,
.t-card strong,
.contact-card h3 {
  color: var(--fg);
  font-weight: 700;
}

.work-link {
  color: var(--muted-fg);
  font-weight: 500;
}

.work-link:hover {
  color: var(--fg);
}

.project-card {
  display: block;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 168, 157, 0.45);
  box-shadow: 0 16px 30px rgba(20, 22, 25, 0.1);
}

.project-tall .project-media {
  min-height: 350px;
}

.project-media {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: rgba(20, 22, 25, 0.15);
  overflow: hidden;
}

.project-media span {
  font-size: 4rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.project-hover {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 26, 0.58);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--fg);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.project-card:hover .project-hover {
  opacity: 1;
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-body {
  padding: 1.25rem;
}

.project-body small {
  color: var(--accent-dark);
  font-weight: 600;
}

.grad-1 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(20, 184, 166, 0.2)); }
.grad-2 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(251, 146, 60, 0.2)); }
.grad-3 { background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(59, 130, 246, 0.2)); }
.grad-4 { background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(16, 185, 129, 0.2)); }

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--border);
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
  position: relative;
  min-height: 130px;
}

.step-content {
  width: 100%;
}

.step.left .step-content {
  grid-column: 1;
  justify-self: end;
  text-align: right;
  padding-right: 3.2rem;
}

.step.right .step-content {
  grid-column: 2;
  justify-self: start;
  text-align: left;
  padding-left: 3.2rem;
}

.step-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 4px solid var(--muted);
  font-size: 1.1rem;
}

.step-icon i {
  line-height: 1;
}

.step-no {
  color: #d8dde2;
  font-size: 2.6rem;
  font-weight: 800;
}

.step p {
  max-width: 450px;
}

.value-list {
  display: grid;
  gap: 1.1rem;
}

.value-item {
  display: flex;
  gap: 0.9rem;
}

.value-item > span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(24, 168, 157, 0.12);
  color: var(--accent-dark);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  border-color: rgba(24, 168, 157, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 22, 25, 0.07);
}

.team-card:hover .avatar {
  background: var(--accent);
  color: #fff;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #edf1f3;
  color: #5a5f66;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
}

.section-testimonials {
  background: var(--primary-dark);
}

.section-testimonials .kicker {
  color: var(--accent);
}

.section-testimonials h2 {
  color: #fff;
}

.t-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
}

.t-card.lift {
  transform: translateY(-14px);
}

.t-card .quote {
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 1;
}

.t-card p {
  color: rgba(255, 255, 255, 0.9);
}

.author {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.2rem;
}

.author span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.author strong {
  color: #fff;
  display: block;
}

.author small {
  color: rgba(255, 255, 255, 0.62);
}

.logos-label {
  color: rgba(255, 255, 255, 0.56);
}

.logos a {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.logos a:hover {
  color: rgba(255, 255, 255, 0.62);
  transform: translateY(-1px);
}

.cta-box {
  background: var(--primary-dark);
  border-radius: 1.5rem;
  padding: 4.4rem 1.5rem;
}

.cta-box h2 {
  color: #fff;
}

.cta-box p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-shape-left {
  left: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  background: rgba(24, 168, 157, 0.24);
}

.cta-shape-right {
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: rgba(24, 168, 157, 0.2);
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-list div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
}

.contact-list strong {
  display: block;
  color: #68707a;
  font-size: 0.85rem;
}

.contact-list a,
.contact-list span {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--accent-dark);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.contact-card .form-label {
  font-weight: 600;
}

.contact-card .form-control {
  border-color: var(--border);
}

.contact-card .form-control:focus {
  border-color: rgba(24, 168, 157, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(24, 168, 157, 0.15);
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-muted,
.footer-bottom p,
.footer-bottom a,
.footer-links a {
  color: var(--muted-fg);
  text-decoration: none;
}

.footer-links li {
  margin-top: 0.55rem;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--fg);
}

@media (max-width: 991px) {
  .timeline::before {
    left: 23px;
    transform: none;
  }

  .step {
    grid-template-columns: 1fr;
    padding-left: 62px;
  }

  .step.left .step-content,
  .step.right .step-content {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    padding: 0;
  }

  .step-icon {
    left: 23px;
    top: 22px;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 767px) {
  .site-header .navbar-collapse {
    margin-top: 0.7rem;
    padding: 0.85rem;
    border-radius: 0.95rem;
  }

  .site-header.scrolled .navbar-collapse.show,
  .site-header.menu-open .navbar-collapse.show,
  .site-header.menu-open .navbar-collapse.collapsing,
  .site-header:not(.scrolled) .navbar-collapse.show,
  .site-header:not(.scrolled) .navbar-collapse.collapsing,
  .site-header.scrolled .navbar-collapse.collapsing {
    background: rgba(252, 252, 252, 0.98);
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(20, 22, 25, 0.1);
  }

  .site-header .navbar-collapse .nav-link {
    padding: 0.55rem 0.25rem;
  }

  .site-header .navbar-collapse .btn {
    width: 100%;
  }

  .section-pad {
    padding: 4.4rem 0;
  }

  .hero-content {
    padding-top: 7rem;
  }

  .t-card.lift {
    transform: none;
  }

  .offset-md-6 {
    margin-left: 0;
  }
}
