:root {
  --teal: #2f72c9;
  --teal-deep: #123f86;
  --coral: #e53935;
  --coral-dark: #b71c1c;
  --ink: #1a1a1a;
  --muted: #5d5d5d;
  --soft: #f4f5f6;
  --white: #ffffff;
  --light-border: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 50px rgba(20, 27, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f2f2f2 0%, #ececec 100%);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  background: #f7f7f7;
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  background: rgba(255, 255, 255, 0.98);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(21, 40, 60, 0.08));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
}

.brand-sub {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 0.95rem;
  color: #2b2b2b;
  flex: 1;
}

.main-nav a {
  transition: color 0.2s ease;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--teal-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  border: none;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(53, 194, 196, 0.12), 0 12px 28px rgba(18, 26, 29, 0.15);
  filter: brightness(1.02);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 18px rgba(21, 22, 26, 0.05);
}

.btn-strong {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(247, 124, 93, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(6, 48, 126, 0.932), rgba(7, 52, 136, 0.719)),
    url('assets/hero-bg.jpeg') center/cover no-repeat;
  padding: 64px 0 86px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-copy {
  color: var(--white);
  text-align: center;
  max-width: 820px;
  padding-top: 20px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.section-kicker {
  color: var(--teal-deep);
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 4vw, 5.2rem);
  line-height: 0.92;
  margin: 0 auto;
  letter-spacing: -0.06em;
  max-width: 760px;
}

.lead {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-badges div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.94rem;
}

.hero-badges strong {
  font-size: 1.8rem;
  font-weight: 900;
}

.how-it-works,
.services-showcase,
.contact-section {
  padding: 90px 0;
  background: #f7f7f7;
}

.team-section {
  padding: 90px 0;
  background: #f7f7f7;
  overflow: hidden;
}

.centered {
  text-align: center;
}

.how-it-works h2,
.services-showcase h2,
.team-section h2,
.contact-copy h2,
.feature-copy h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.step-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 18px 36px rgba(18, 24, 27, 0.14);
}

.step-image {
  height: 210px;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  padding: 18px 20px 22px;
}

.step-no {
  display: inline-block;
  color: var(--teal-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.step-content h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.step-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-band {
  background: #ffffff;
  padding: 88px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.feature-image-card {
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.feature-image-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

.accent {
  color: var(--coral-dark);
}

.feature-copy {
  max-width: 570px;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
  font-weight: 600;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(53, 194, 196, 0.12);
  color: var(--teal-deep);
}

.proof-box {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #f2f7f7;
  border: 1px solid var(--light-border);
  border-radius: 18px;
  padding: 14px 18px;
  margin-top: 28px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.proof-item i {
  color: var(--coral-dark);
}

.stars {
  color: #f7b500;
  font-size: 0.9rem;
}

.testimonials {
  background: linear-gradient(180deg, #eef8f8 0%, #f7f7f7 100%);
  padding: 30px 0 90px;
}

.narrow {
  max-width: 950px;
}

.testimonials-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.carousel-track .quote-block {
  flex: 0 0 100%;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 40px 42px;
}

.quote-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.quote-badge {
  color: #f7b500;
  letter-spacing: 0.12em;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.mini-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.quote-block p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted);
}

.author-row {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-row strong {
  font-size: 1.05rem;
}

.author-row span {
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(47, 114, 201, 0.2);
}

.carousel-btn:hover {
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(47, 114, 201, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  width: 28px;
  border-radius: 999px;
}

.portfolio-shell {
  max-width: 1180px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.filter-btn {
  border: 1px solid rgba(27, 34, 40, 0.12);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 28px rgba(14, 14, 14, 0.04);
  display: flex;
  flex-direction: column;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-visual {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-visual img {
  transform: scale(1.06);
}

.portfolio-body {
  padding: 20px 18px 22px;
}

.portfolio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.expand-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(53, 194, 196, 0.12);
  color: var(--teal-deep);
  cursor: pointer;
  transition: all 0.25s ease;
}

.expand-btn:hover {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
}

.portfolio-body p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.portfolio-card.active .portfolio-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 14px;
}

.portfolio-details ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.8;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

/* Marquee Team Slider Styling (Transparent background cards, circular avatars) */
.team-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  margin-top: 36px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.team-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.team-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.team-card {
  width: 200px;
  background: transparent;
  border-radius: 0;
  padding: 10px;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 4px solid rgba(47, 114, 201, 0.15);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.team-info {
  padding: 0;
}

.team-info h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.team-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  padding: 36px 0;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 30px 36px;
}

.cta-copy {
  color: var(--white);
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--teal-deep);
}

.contact-list i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(53, 194, 196, 0.12);
  color: var(--teal-deep);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 32px rgba(16, 21, 23, 0.05);
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  background: #fafbfb;
  color: var(--ink);
}

.quote-form textarea {
  min-height: 150px;
  resize: vertical;
}

.status-message {
  margin: 0;
  min-height: 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.site-footer {
  background: #0f1718;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.7fr;
  gap: 36px;
  padding-bottom: 24px;
}

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 18px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(53, 194, 196, 0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 32px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .contact-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-grid,
  .feature-grid,
  .contact-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 20px;
  }

  .filter-btn {
    flex: 1 1 auto;
    min-width: calc(50% - 5px);
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-image-card img {
    height: 320px;
    min-height: auto;
  }
}