:root {
  --ink: #17324a;
  --muted: #607082;
  --line: #d7e5f1;
  --soft: #f4f9fd;
  --surface: #fff;
  --teal: #3c9bd3;
  --blue: #2585c7;
  --violet: #5c7fa7;
  --green: #71b9e2;
  --amber: #9fb0bf;
  --radius: 8px;
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdff;
  color: var(--ink);
  line-height: 1.55;
}

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

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

p {
  margin: 0 0 16px;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: 0;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-weight: 500;
}

h1 {
  max-width: 920px;
  font-size: clamp(34px, 4.1vw, 58px);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(27px, 2.8vw, 38px);
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(61, 148, 204, 0.18);
  box-shadow: 0 8px 28px rgba(23, 50, 74, 0.05);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo img {
  width: 150px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.menu a.active {
  color: var(--teal);
  font-weight: 800;
}

.cta,
.ghost {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
}

.cta {
  color: #fff;
  background: linear-gradient(135deg, #3c9bd3, #2278b4);
  box-shadow: 0 10px 22px rgba(60, 155, 211, 0.22);
}

.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 54px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 46px;
  align-items: center;
}

.hero-simple {
  display: block;
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-visual {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef7fd, #ffffff);
  box-shadow: 0 24px 54px rgba(23, 50, 74, 0.10);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
}

.illustration {
  object-fit: contain !important;
  padding: 22px;
  background: var(--soft);
}

.section,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.band {
  background: linear-gradient(180deg, #f5fafe, #eef6fc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.feature,
.case-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 50, 74, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card {
  padding: 22px;
}

a.card:hover,
.feature:hover,
.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(60, 155, 211, 0.42);
  box-shadow: 0 18px 42px rgba(23, 50, 74, 0.10);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 14px;
  border-radius: 5px;
  background: #e8f4fb;
  color: #217bb4;
  font-size: 12px;
  font-weight: 900;
}

.tag.ai {
  background: #e8f4fb;
  color: #217bb4;
}

.tag.iot {
  background: #eef4ff;
  color: var(--blue);
}

.tag.local {
  background: #eaf7ff;
  color: #2a8fc8;
}

.feature {
  overflow: hidden;
}

.feature-media {
  height: 205px;
  position: relative;
  background: var(--soft);
}

.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media img.illustration {
  object-fit: contain;
}

.feature-body {
  padding: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.step {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3c9bd3, #17324a);
  color: #fff;
}

.service-map {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

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

.page-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}

.page-row:last-child {
  border-bottom: 0;
}

.case-card {
  padding: 22px;
}

.case-card p:last-child {
  margin-bottom: 0;
}

.case-meta {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 700;
}

.case-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.case-list li {
  margin-bottom: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-panel {
  padding: 26px;
}

.footer {
  background: linear-gradient(135deg, #17324a, #2c86bd);
  color: #fff;
  padding: 42px 0 28px;
}

.footer p,
.footer a {
  color: #edf7ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.footer-title {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 800;
}

.footer p {
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  width: fit-content;
  border-bottom: 1px solid rgba(237, 247, 255, 0.35);
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 247, 255, 0.22);
  color: #d8ebf8;
  font-size: 13px;
}

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .hero,
  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .service-map,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .section-head {
    display: block;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .page-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* Typography Enhancement */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.68;
    color: #404040;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #111827;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

nav a,
button,
.btn,
.cta {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500;
}


/* Mobile menu fix */
@media (max-width: 991px) {

    .navbar-nav,
    .menu,
    nav ul {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 16px 0;
    }

    .navbar-collapse,
    .menu-open,
    .mobile-menu {
        display: block !important;
        background: #ffffff;
        width: 100%;
    }

    .navbar-toggler,
    .menu-toggle,
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    nav a,
    .nav-link {
        padding: 10px 0;
        display: block;
    }
}



/* ===== Mobile Dropdown Menu ===== */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 991px) {

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: none;
        background: transparent;
        font-size: 28px;
        cursor: pointer;
        margin-left: auto;
        color: #111827;
    }

    .navbar-nav,
    nav ul,
    .menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        padding: 16px 0;
        margin-top: 12px;
        border-top: 1px solid #e5e7eb;
    }

    .navbar-nav.mobile-open,
    nav ul.mobile-open,
    .menu.mobile-open {
        display: flex !important;
    }

    nav a,
    .nav-link {
        display: block;
        padding: 12px 20px;
    }
}



/* ===== Improved Mobile Hamburger ===== */

.mobile-menu-toggle {
    display: none;
}

@media screen and (max-width: 991px) {

    .mobile-menu-toggle {
        display: flex !important;
        position: absolute;
        top: 18px;
        right: 20px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 26px;
        line-height: 1;
        z-index: 9999;
        cursor: pointer;
        color: #111827;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .navbar-nav,
    nav ul,
    .menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        padding: 12px 0;
        margin-top: 70px;
        border-top: 1px solid #e5e7eb;
        position: relative;
        z-index: 999;
    }

    .navbar-nav.mobile-open,
    nav ul.mobile-open,
    .menu.mobile-open {
        display: flex !important;
    }

    nav,
    header {
        position: relative;
    }

    nav a,
    .nav-link {
        display: block;
        width: 100%;
        padding: 14px 22px;
    }
}



/* ===== Final Mobile Menu Fix ===== */

.mobile-menu-toggle {
    display: none !important;
}

@media screen and (max-width: 991px) {

    .mobile-menu-toggle {
        display: flex !important;
        position: absolute;
        top: 14px;
        right: 16px;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 22px;
        line-height: 1;
        z-index: 9999;
        cursor: pointer;
        color: #111827;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }

    .navbar-nav,
    nav ul,
    .menu {
        display: none !important;
        flex-direction: column;
        width: calc(100% - 32px);
        background: #ffffff;
        padding: 8px 0;
        margin-top: 56px;
        margin-left: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        position: relative;
        z-index: 999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .navbar-nav.mobile-open,
    nav ul.mobile-open,
    .menu.mobile-open {
        display: flex !important;
    }

    nav a,
    .nav-link {
        display: block;
        width: 100%;
        padding: 10px 16px;
        font-size: 15px;
    }

    /* Hide desktop contact button */
    .contact-btn,
    .btn-contact,
    a[href*="contact"],
    .cta-contact {
        display: none !important;
    }
}

/* Hide hamburger on desktop */
@media screen and (min-width: 992px) {

    .mobile-menu-toggle {
        display: none !important;
    }
}
