:root {
  --blue: #004aae;
  --dark: #051c45;
  --deep: #002b69;
  --light: #f4f8ff;
  --text: #17213b;
  --muted: #66728a;
  --green: #20c463;
  --border: #dfe8f4;
  --shadow: 0 14px 35px rgba(4, 45, 100, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 7px solid var(--blue);
  border-radius: 50%;
  position: relative;
}

.brand-mark:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.brand-text {
  font-size: 34px;
  line-height: .8;
  letter-spacing: 1px;
}

.brand-text small {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  margin-top: 8px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  font-size: 14px;
}

.menu a {
  padding: 28px 0;
  border-bottom: 3px solid transparent;
}

.menu a:hover,
.menu .active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.quote-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 7px;
  padding: 13px 22px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 74, 174, .24);
  border: 1px solid var(--blue);
}

.btn.outline {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
  box-shadow: none;
}

.btn.small {
  font-size: 13px;
  padding: 9px 16px;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: #fff;
  font-size: 28px;
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #021437; /* Fallback color */
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2, 20, 55, 0.8), rgba(3, 38, 90, 0.4));
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 560px;
  padding: 80px 0;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero h2 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.hero p {
  font-size: 20px;
  margin: 8px 0;
}

.feature-row {
  display: flex;
  gap: 35px;
  margin: 34px 0;
  flex-wrap: nowrap;
}

.feature-item {
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.section {
  padding: 70px 0;
}

.section.light {
  background: linear-gradient(180deg, #fff, #f4f8ff);
}

.section-title {
  text-align: center;
  margin-bottom: 38px;
}

.section-title h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0;
  color: #073f8f;
  text-transform: uppercase;
}

.section-title p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.product-card,
.app-card,
.why-card,
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.product-card img {
  height: 230px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.product-card h3 {
  font-size: 20px;
  color: #073f8f;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.product-card .sub {
  color: #004aae;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.product-card p {
  color: #4d5b73;
  margin: 0 0 18px;
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app-card {
  text-align: center;
}

.app-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.app-card .icon {
  width: 54px;
  height: 54px;
  background: var(--blue);
  color: #fff;
  border: 4px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: -28px auto 12px;
  position: relative;
}

.app-card h3 {
  font-size: 14px;
  color: #073f8f;
  margin: 0 10px 8px;
  text-transform: uppercase;
}

.app-card p {
  font-size: 13px;
  color: #4d5b73;
  margin: 0 14px 18px;
}

.stats {
  background: linear-gradient(90deg, #004aae, #0068d8);
  border-radius: 10px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 34px 0 20px;
  overflow: hidden;
}

.stat {
  padding: 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .35);
}

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

.stat b {
  font-size: 32px;
  display: block;
}

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

.why-card {
  text-align: center;
  padding: 28px 18px;
}

.why-card .big-icon {
  font-size: 42px;
  color: var(--blue);
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 16px;
  color: #073f8f;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 38px;
  align-items: center;
}

.factory-card {
  background: linear-gradient(135deg, #eaf3ff, #fff);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 260px;
}

.factory-visual {
  height: 220px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b4da2, #7fc3ff);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 64px;
}

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

.news-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 15px;
  padding: 14px;
}

.news-thumb {
  border-radius: 8px;
  background: #e8f1ff;
  height: 110px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 38px;
}

.news-card small {
  color: #888;
}

.news-card h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 6px 0;
  color: #073f8f;
}

.cta {
  background: linear-gradient(90deg, #003a88, #0074df);
  color: #fff;
  padding: 30px 0;
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer {
  background: #061c42;
  color: #dbe8ff;
  padding: 50px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
}

.footer h3 {
  color: #fff;
  margin-top: 0;
}

.footer a {
  display: block;
  color: #dbe8ff;
  margin: 7px 0;
}

.copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
  margin-top: 30px;
  color: #95a7c6;
}

.page-hero {
  background: linear-gradient(135deg, #061c42, #0058c6);
  padding: 90px 0;
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: 46px;
  margin: 0;
}

.content {
  padding: 70px 0;
}

.contact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 38px;
}

.contact-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px;
  border-radius: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #cfdced;
  border-radius: 8px;
  font: inherit;
}

.form textarea {
  min-height: 150px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.product-detail h2 {
  color: #073f8f;
}

.product-detail ul {
  padding-left: 20px;
}

.whatsapp-link {
  color: #0e9d4d;
  font-weight: 800;
}

@media(max-width:960px) {
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5%;
    gap: 5px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 540px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 24px;
  }

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

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

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

  .about-split,
  .footer-grid,
  .product-list {
    grid-template-columns: 1fr;
  }

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

  .contact-boxes,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .cta .container {
    flex-direction: column;
    text-align: center;
  }
}

@media(max-width:560px) {
  .brand-text {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .products-grid,
  .apps-grid,
  .why-grid,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 48px 0;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 55px 0;
  }

  .quote-btn {
    display: none;
  }
}

/* Fixed Floating Buttons */
.whatsapp-float {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  z-index: 9999 !important;
  width: 60px !important;
  height: 60px !important;
  display: block !important;
}

.whatsapp-float img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3) !important;
}

.quote-float {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  width: 180px !important;
  height: auto !important;
  display: block !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3) !important;
}

.quote-float img {
  width: 180px !important;
  height: auto !important;
  display: block !important;
}
