/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #4b4b4b;
  background: #fff;
  line-height: 1.65;
}

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

/* ---------- Top bar ---------- */
.topbar {
    background: #3b5798;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins';
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  align-items: center;
  min-height: 30px;
}


.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar a:before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Phone icon (rounded square with handset) */
.topbar a[href^="tel:"]:before {
  width: 12px;
  height: 12px;    
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath fill='black' transform='translate(4.8 4.8) scale(.6)' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/mask%3E%3Crect width='24' height='24' rx='4' fill='white' mask='url(%23m)'/%3E%3C/svg%3E");
}

/* Email icon (envelope) */
.topbar a[href^="mailto:"]:before {
  width: 16px;
  height: 16px;    
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}


/* ---------- Header / Menu ---------- */
.header {
  background: #fff;
  box-shadow: 0 1px 7px rgba(0, 0, 0, .12);
  position: relative;
  z-index: 5;
  padding: 0.4% 0;
}

.nav {
  /*min-height: 92px;*/
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav a {
    line-height: 0;
}

.logo {
  width: 100px;
  height: 88px;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: block;
  padding: 35px 20px;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.menu li:last-child a {
    padding-right: 0;
}

.menu a:hover,
.menu a.active {
  color: #3b5798;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: #3b5798;
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #222;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
}

/*.slide-caption {*/
/*  position: absolute;*/
/*  left: 0;*/
/*  right: 0;*/
/*  top: 50%;*/
/*  transform: translateY(-50%);*/
/*  text-align: center;*/
/*  color: #fff;*/
/*  text-shadow: 0 2px 4px rgba(0, 0, 0, .55);*/
/*  font-size: 40px;*/
/*  font-weight: 700;*/
/*  text-transform: none;*/
/*}*/
.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 54px;
  font-weight: 400;
  text-transform: none;
}

/*.dots {*/
/*  position: absolute;*/
/*  bottom: 18px;*/
/*  left: 0;*/
/*  right: 0;*/
/*  text-align: center;*/
/*}*/

/*.dot {*/
/*  display: inline-block;*/
/*  width: 10px;*/
/*  height: 10px;*/
/*  border-radius: 50%;*/
/*  background: #fff;*/
/*  opacity: .55;*/
/*  margin: 0 5px;*/
/*  cursor: pointer;*/
/*}*/

/*.dot.active {*/
/*  opacity: 1;*/
/*}*/
.dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(200, 200, 200, .8);
  margin: 0 4px;
  cursor: pointer;
}

.dot.active {
  background: rgba(80, 80, 80, .6);
}

/* ---------- Sections ---------- */
.section {
  padding: 55px 0;
}

.section-title {
  text-align: center;
  font-size: 30px;
  color: #4b4b4b;
  margin: 0 0 45px;
  font-weight: 600;
}

.section-title:after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  background: #3b5798;
  margin: 13px auto 0;
}

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

.box {
  text-align: center;
}

.box h3 {
  font-size: 18px;
  color: #4b4b4b;
  margin: 0 0 14px;
}

.box p {
  margin: 0;
}

/* ---------- Products band (home) ---------- */
.products-band {
    background: linear-gradient(rgb(15 28 55 / 0%), rgb(15 28 55 / 0%)), url(parallaxbg.jpg) center / cover fixed;
    color: #fff;
}

.products-band .section-title {
  color: #fff;
}

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

.product-card img {
  margin: 0 auto 18px;
  object-fit: cover;
  /*width: 210px;*/
  /*height: 210px;*/
  /*border-radius: 50%;*/
  /*display: block;*/
  /*border: 5px solid rgba(255, 255, 255, .85);*/
}

.product-card h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 15px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    border: 1px solid #3b5798;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 13px;
    /* text-transform: uppercase; */
    transition: .2s;
    border-radius: 30px;
}

.btn:hover {
  background: #3b5798;
  color: #fff;
}

.products-band .btn {
  background: #3b5798;
}

/* ---------- Vision / CTA ---------- */
.vision {
  text-align: center;
  padding: 50px 0;
}

.vision p {
  font-size: 17px;
  max-width: 850px;
  margin: 0 auto 25px;
}

.cta {
  background: #3b5798;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.cta .btn {
  border-color: #fff;
  color: #fff;
  margin-left: 18px;
}

/* ---------- Inner page banner ---------- */
.page-banner {
  height: 260px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
}

.page-banner h1 {
  position: relative;
  color: #fff;
  font-size: 42px;
  margin: 0;
  text-transform: uppercase;
}

.content {
  padding: 65px 0;
}

/* ---------- About ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value h3 {
  font-size: 19px;
  color: #3b5798;
  margin-top: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 60px;
}

.contact-grid h3 {
  color: #3b5798;
  font-size: 18px;
}

.contact-grid p {
  white-space: pre-line;
}

.contact-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form label {
  display: block;
  font-size: 13px;
  margin: 0 0 6px;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 12px;
  margin-bottom: 15px;
  font: inherit;
}

.form textarea {
  height: 140px;
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.map iframe.map-height {
  width: 100%;
  height: 150px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a1a !important;
  padding: 45px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 45px;
}

.footer h3 {
  font-size: 17px;
  color: #fff;
  position: relative;
}

.footer h3:after {
  content: '';
  background: #3b5798;
  width: 60px;
  height: 3px;
  position: absolute;
  left: 0;
  top: 35px;
}

.footer p {
  color: #979797;
}

.footer ul {
  padding: 0;
  list-style: none;
}

.footer li {
  margin: 8px 0;
}

.footer a {
  color: #979797;
  text-decoration: none;
}

.copyright {
  border-top: 1px solid #ddd;
  margin-top: 35px;
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

.copyright a {
  color: #fff;
}

/* ---------- Products page ---------- */
.products-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.products-content h2 {
  color: #3b5798;
  font-size: 22px;
}

.products-content strong {
  display: block;
  margin-top: 15px;
}

/* ---------- Misc ---------- */
.legacy {
  text-align: center;
  min-height: 420px;
  padding: 100px 0;
}

.home-about-link {
  text-align: center;
}

.hidden-spam {
  display: none !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .topbar .container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px;
  }

  .nav {
    min-height: 75px;
  }

  .logo {
    width: 80px;
    height: 70px;
  }

  .mobile-toggle {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .12);
    flex-direction: column;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 15px 20px;
  }

  .slide-caption {
    font-size: 24px;
  }

  .three,
  .values,
  .contact-grid,
  .contact-lower,
  .products-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .content {
    padding: 40px 0;
  }

  .page-banner {
    height: 190px;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .product-card {
    margin-bottom: 30px;
  }
}