:root {
  --consys-navy: #102b50;
  --consys-blue: #1767b1;
  --consys-blue-dark: #0e4e8b;
  --consys-ink: #24364b;
  --consys-muted: #63748a;
  --consys-pale: #f4f7fb;
  --consys-border: #dce4ed;
  --consys-shadow: 0 18px 48px rgba(16, 43, 80, 0.09);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--consys-ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
}

a {
  color: var(--consys-blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}

#mainNavbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16, 43, 80, 0.08);
  box-shadow: 0 4px 20px rgba(16, 43, 80, 0.06);
  backdrop-filter: blur(12px);
}

#mainNavbar .navbar-brand img {
  display: block;
  width: 178px;
  height: auto;
}

#mainNavbar .nav-link {
  padding: 0.7rem 0.4rem;
  color: #344a63;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 160ms ease;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus,
#mainNavbar .nav-link.active {
  color: var(--consys-blue);
}

.video-banner {
  position: relative;
  display: grid;
  min-height: clamp(480px, 68vh, 680px);
  overflow: hidden;
  place-items: center;
  isolation: isolate;
  background: #07182b url("../img/intro.png") center / cover no-repeat;
}

.video-banner .backvideo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-banner .backvideo {
  z-index: -2;
  object-fit: cover;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(110deg, rgba(5, 22, 42, 0.78), rgba(8, 31, 57, 0.4) 58%, rgba(5, 22, 42, 0.72));
}

.hero-content {
  width: min(100% - 2rem, 980px);
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}

.hero-content .wobg {
  display: block;
  width: min(440px, 78vw);
  height: auto;
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 5px 22px rgba(0, 0, 0, 0.15));
}

.hero-tagline {
  max-width: 680px;
  margin: 0 auto 1.8rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.hero-actions .btn {
  min-width: 174px;
  padding: 0.78rem 1.25rem;
  border-radius: 0.35rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.btn-primary {
  background: var(--consys-blue);
  border-color: var(--consys-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--consys-blue-dark);
  border-color: var(--consys-blue-dark);
}

.section-space {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-space-sm {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}

.about-section {
  background: var(--consys-pale);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--consys-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 0 0 1.2rem;
  color: var(--consys-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.about-section .section-title {
  max-width: 620px;
}

.lead-copy {
  color: #344b63;
  font-size: 1.13rem;
  line-height: 1.78;
}

.about-section p:not(.eyebrow) {
  max-width: 720px;
}

.about-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--consys-border);
  border-radius: 0.85rem;
  box-shadow: var(--consys-shadow);
}

.capability-list {
  display: grid;
  gap: 1.1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8edf3;
}

.capability-list li > span {
  color: var(--consys-blue);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.capability-list strong,
.capability-list small {
  display: block;
}

.capability-list strong {
  color: var(--consys-navy);
  font-size: 1rem;
}

.capability-list small {
  margin-top: 0.18rem;
  color: var(--consys-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.solutions-heading {
  text-align: center;
}

.solutions-heading .section-title {
  margin-right: auto;
  margin-left: auto;
}

.section-intro {
  max-width: 650px;
  margin: 0 auto;
  color: var(--consys-muted);
  font-size: 1.05rem;
}

.solution-item {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.solution-item:nth-of-type(odd) {
  background: #f7f9fc;
}

.solution-item--reverse .row {
  flex-direction: row-reverse;
}

.solution-copy h3 {
  margin: 0 0 1.15rem;
  color: var(--consys-navy);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-transform: none;
}

.solution-copy p:not(.eyebrow) {
  color: #52657a;
  font-size: 1.02rem;
}

.solution-copy strong {
  color: var(--consys-navy);
}

.solution-visual {
  display: grid;
  min-height: 280px;
  padding: clamp(1rem, 2vw, 1.75rem);
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 43, 80, 0.07);
  border-radius: 0.85rem;
  box-shadow: var(--consys-shadow);
}

.solution-visual img {
  display: block;
  width: 100%;
  max-height: 330px;
  border-radius: 0.4rem;
  object-fit: contain;
}

.customers-section {
  overflow: hidden;
  background: #eef3f8;
}

.customers-section h4 {
  margin: 0;
  color: var(--consys-navy);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.customers-marquee {
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0.25rem 1rem;
}

.customers-track,
.customers-group {
  display: flex;
  align-items: center;
  width: max-content;
}

.customers-track {
  animation: customer-logo-scroll 48s linear infinite;
  will-change: transform;
}

.customers-marquee:hover .customers-track,
.customers-marquee:focus-within .customers-track {
  animation-play-state: paused;
}

.customers-group {
  flex: 0 0 auto;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding-right: clamp(1rem, 2vw, 1.75rem);
}

.customer-logo {
  display: flex;
  flex: 0 0 clamp(150px, 15vw, 190px);
  height: 105px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 0.15rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
}

.customer-logo img {
  display: block;
  width: 64%;
  height: 56%;
  object-fit: contain;
}

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

.contact-section {
  color: rgba(255, 255, 255, 0.83);
  background: var(--consys-navy);
}

.contact-section .eyebrow {
  color: #8dc7ff;
}

.contact-section .section-title {
  color: #fff;
}

.contact-intro {
  max-width: 440px;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.contact-details a {
  color: #fff;
  font-weight: 650;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.contact-details a:hover {
  color: #a9d4ff;
}

.office-title {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.office-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.map-container {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  border: 0;
}

.whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(16, 43, 80, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 43, 80, 0.28);
}

.whatsapp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.66);
  background: #0a1d34;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.footer-brand span {
  color: #aebdd0;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-footer p {
  margin: 0.6rem 0;
  font-size: 0.9rem;
}

.site-footer small {
  font-size: 0.78rem;
}

@media (max-width: 991.98px) {
  #mainNavbar .navbar-collapse {
    padding: 0.5rem 0 1rem;
  }

  .solution-item--reverse .row {
    flex-direction: row;
  }
}

@media (max-width: 767.98px) {
  #mainNavbar {
    min-height: 72px;
  }

  #mainNavbar .navbar-brand img {
    width: 155px;
  }

  .video-banner {
    min-height: 450px;
  }

  .hero-content {
    padding: 3.5rem 0;
  }

  .solution-visual {
    min-height: 220px;
  }

  .solution-visual img {
    max-height: 250px;
  }

  .map-container,
  .map-container iframe {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(100%, 260px);
  }

  .customer-logo {
    flex-basis: 150px;
    height: 95px;
  }

  .whatsapp {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .customers-marquee {
    overflow-x: auto;
  }

  .customers-track {
    animation: none;
    will-change: auto;
  }

  .customers-group[aria-hidden="true"] {
    display: none;
  }
}
