/*
Theme Name: Ship Care
Description: Lightweight custom theme for Ship Care Service Pte. Ltd. No page builder. Works with the Ship Care Core plugin.
Version: 1.0.0
Text Domain: ship-care
*/
:root {
  --navy: #0b2a5b;
  --blue: #0b84f3;
  --ice: #eaf3fb;
  --ink: #0f172a;
  --green: #16a34a;
  --mut: #475569;
  --line: #d6e4f2;
  --r: 14px;
  --sh: 0 6px 24px rgba(11, 42, 91, 0.09);
  --sh2: 0 14px 34px rgba(11, 42, 91, 0.17);
  --w: 1200px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font:
    400 16px/1.65 Poppins,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  z-index: 999;
}
.skip:focus {
  left: 8px;
}
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
}
.sec {
  padding: clamp(48px, 7vw, 88px) 0;
}
.alt {
  background: var(--ice);
}
.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.head {
  max-width: 720px;
  margin-bottom: 34px;
}
.head.c {
  margin-inline: auto;
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 999px;
  font:
    600 0.95rem Poppins,
    sans-serif;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-out {
  border-color: #fff;
  color: #fff;
}
.btn-out.dk {
  border-color: var(--navy);
  color: var(--navy);
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--ice);
  color: var(--navy);
  white-space: nowrap;
}
.badge.stock {
  background: var(--green);
  color: #fff;
  white-space: nowrap;
}
.im .badge,
.card .im .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}
/* header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
  padding: 4px 0;
}
.logo-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon {
  transform: rotate(12deg) scale(1.04);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 270px;
}
.logo-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.15;
}
.logo-name {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-transform: uppercase;
}
.logo-corp {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
}
.logo-tagline-ticker {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  height: 20px;
  line-height: 20px;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8px, black calc(100% - 8px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8px, black calc(100% - 8px), transparent 100%);
}
.logo-tagline-track {
  display: inline-block;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #5B6B82;
  letter-spacing: 0.02em;
  line-height: 20px;
  white-space: nowrap;
  will-change: transform;
  animation: logoTaglineScroll 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes logoTaglineScroll {
  0%, 20% {
    transform: translateX(0%);
  }
  50%, 70% {
    transform: translateX(calc(-100% + 245px));
  }
  90%, 100% {
    transform: translateX(0%);
  }
}
.logo:hover .logo-tagline-track {
  animation-play-state: paused;
}
.logo small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--blue);
}
@media (max-width: 480px) {
  .logo-text-group {
    max-width: 205px;
  }
  .logo-name {
    font-size: 0.88rem;
  }
  .logo-corp {
    font-size: 0.58rem;
  }
  .logo-tagline-ticker {
    height: 18px;
    line-height: 18px;
  }
  .logo-tagline-track {
    font-size: 0.65rem;
    line-height: 18px;
  }
  @keyframes logoTaglineScroll {
    0%, 20% {
      transform: translateX(0%);
    }
    50%, 70% {
      transform: translateX(calc(-100% + 185px));
    }
    90%, 100% {
      transform: translateX(0%);
    }
  }
}
.nav {
  margin-left: auto;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
}
.nav a:hover,
.nav .cur > a {
  color: var(--blue);
}
.nav li {
  position: relative;
}
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 270px;
  padding: 8px;
  border-radius: 12px;
  box-shadow: var(--sh2);
  flex-direction: column;
}
.nav li:hover > .sub,
.nav li:focus-within > .sub {
  display: flex;
}
.hdr .btn {
  min-height: 42px;
  padding: 8px 20px;
}
.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  background: var(--navy);
  margin: 6px 10px;
  border-radius: 2px;
}
/* hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy) var(--bg) center/cover;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 42, 91, 0.96) 0,
    rgba(11, 42, 91, 0.86) 46%,
    rgba(11, 42, 91, 0.25) 100%
  );
  z-index: -1;
}
.hero .wrap {
  padding-block: clamp(56px, 9vw, 110px);
}
.hero h1 {
  color: #fff;
  max-width: 14em;
}
.hero p.lead {
  max-width: 36em;
  font-size: 1.08rem;
  opacity: 0.95;
}
.hero .eyebrow {
  color: #7cc0ff;
}
.hbox {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 26px 0;
}
.hbox div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.hbox svg {
  width: 30px;
  height: 30px;
  margin: 0 auto 6px;
  display: block;
  stroke: #7cc0ff;
  fill: none;
  stroke-width: 1.8;
}
.script {
  font:
    italic 500 1.7rem/1.2 "Segoe Script",
    "Brush Script MT",
    cursive;
  color: #7cc0ff;
  margin-top: 26px;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* cards & grids */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.g3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  border: 1px solid var(--line);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh2);
}
.card .im {
  aspect-ratio: 4/3;
  background: #f4f8fc;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card .im img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.card .bd {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card h3 {
  margin: 0;
  font-size: 1.02rem;
}
.card p {
  margin: 0;
  color: var(--mut);
  font-size: 0.9rem;
}
.card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.card a.ov {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.meta {
  font-size: 0.84rem;
  color: var(--mut);
}
.meta b {
  color: var(--ink);
}
.sc-ph {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf3fb, #f8fbfe);
  color: #7a93b3;
  font-size: 0.85rem;
  font-weight: 500;
}
.navy {
  background: var(--navy);
  color: #fff;
}
.navy h2,
.navy h3 {
  color: #fff;
}
.navy .eyebrow {
  color: #7cc0ff;
}
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r);
  padding: 22px;
  backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  display: block;
  transition:
    transform 0.25s,
    background 0.25s;
}
.glass:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}
.glass p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.88;
}
.split {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.collage img {
  border-radius: var(--r);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--sh);
}
.collage img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}
.seal {
  position: absolute;
  left: -14px;
  bottom: -16px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 1.25;
  border: 5px solid #fff;
  box-shadow: var(--sh2);
}
.seal b {
  font-size: 1.9rem;
  display: block;
}
.ic3 {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 20px 0;
}
.ic3 span {
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ic3 i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ice);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-style: normal;
}
.motto {
  font-weight: 600;
  color: var(--blue);
  font-size: 1.1rem;
}
.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.strip span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 22px;
  font-weight: 600;
  color: var(--navy);
}
.tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 14px;
}
.tile img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.tile.more {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}
.cta {
  text-align: center;
}
.cta .btns {
  justify-content: center;
}
.cta p {
  max-width: 640px;
  margin-inline: auto;
}
/* inner pages */
.pagehead {
  background: var(--ice);
  padding: 26px 0 30px;
}
.pagehead h1 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #8aa2c0;
}
.crumbs a {
  text-decoration: none;
}
.prose {
  max-width: 820px;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose h2 {
  margin-top: 1.6em;
}
.prose h3 {
  margin-top: 1.3em;
}
.ptop {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}
.pmain {
  min-width: 0;
}
.pimg {
  background: #f4f8fc;
  border-radius: var(--r);
  padding: 18px;
  margin: 20px 0;
}
.pimg img {
  max-height: 420px;
  margin: auto;
  object-fit: contain;
}
.pimg figcaption {
  font-size: 0.82rem;
  color: var(--mut);
  text-align: center;
  margin-top: 8px;
}
.qpanel {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh2);
  padding: 22px;
}
.qpanel h2 {
  font-size: 1.15rem;
}
.answer {
  background: var(--ice);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 18px 0;
}
.sec-b {
  padding: 8px 0 26px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.sec-b > h2 {
  font-size: 1.5rem;
  margin-top: 22px;
}
.tw {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 14px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}
th,
td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead th,
tr:first-child th {
  background: var(--navy);
  color: #fff;
}
tbody tr:nth-child(even) {
  background: #f6fafe;
}
.check li {
  list-style: none;
  position: relative;
  padding-left: 30px;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E")
    center/70%;
}
.check {
  padding-left: 0 !important;
}
.steps h3 {
  counter-increment: s;
  position: relative;
  padding-left: 44px;
}
.steps {
  counter-reset: s;
}
.steps h3::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -3px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0;
  background: #fff;
}
summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--blue);
}
details[open] summary::after {
  content: "\2212";
}
details > div {
  padding: 0 18px 14px;
}
.kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 18px;
  background: var(--ice);
  border-radius: var(--r);
  padding: 20px;
  margin: 18px 0;
}
.kv dt {
  font-weight: 600;
  color: var(--navy);
}
.kv dd {
  margin: 0;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filters a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--navy);
}
.filters a.on,
.filters a:hover {
  background: var(--navy);
  color: #fff;
}
.sbox {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 20px;
}
.sbox input {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  font: inherit;
}
.mrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
}
.mrow .t {
  flex: 1;
  min-width: 0;
}
.mrow b {
  display: block;
  word-break: break-word;
}
.sc-form {
  display: grid;
  gap: 12px;
}
.sc-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.sc-form input,
.sc-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 11px 14px;
  border: 1px solid #b9cde3;
  border-radius: 10px;
  font:
    400 0.95rem Poppins,
    sans-serif;
  background: #fff;
}
.sc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sc-hp {
  position: absolute;
  left: -9999px;
}
.sc-ok {
  background: #dcfce7;
  color: #14532d;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 0;
}
.sc-err {
  background: #fee2e2;
  color: #7f1d1d;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 0;
}
.ftr {
  background: #071b3d;
  color: #c7d6ea;
  padding: 56px 0 20px;
  font-size: 0.92rem;
}
.ftr h3 {
  color: #fff;
  font-size: 1rem;
}
.ftr a {
  color: #c7d6ea;
  text-decoration: none;
}
.ftr a:hover {
  color: #fff;
  text-decoration: underline;
}
.ftr ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ftr li {
  margin-bottom: 8px;
}
.fg {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
}
.ftr .logo {
  color: #fff;
}
.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
}
.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: var(--sh2);
}
.wa svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.mbar {
  display: none;
}
@media (max-width: 980px) {
  .burger {
    display: block;
  }
  .hdr > .wrap > .btn {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--sh2);
    max-height: calc(100vh - 74px);
    overflow: auto;
    margin: 0;
  }
  .nav.open {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    padding: 10px 16px;
  }
  .sub {
    display: flex;
    position: static;
    box-shadow: none;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .split,
  .ptop {
    grid-template-columns: 1fr;
  }
  .qpanel {
    position: static;
  }
  .fg {
    grid-template-columns: 1fr 1fr;
  }
  .hbox {
    grid-template-columns: 1fr 1fr;
  }
  .seal {
    left: 8px;
  }
}
@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }
  .mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: var(--navy);
    padding: 9px 76px 9px 14px;
  }
  .mbar .btn {
    width: 100%;
    background: var(--blue);
    color: #fff;
  }
  .fg,
  .sc-row {
    grid-template-columns: 1fr;
  }
  .kv {
    grid-template-columns: 1fr;
  }
  .mrow {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: Poppins;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/poppins-regular.ttf) format("truetype");
}
@font-face {
  font-family: Poppins;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/poppins-medium.ttf) format("truetype");
}
@font-face {
  font-family: Poppins;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/poppins-bold.ttf) format("truetype");
}
@font-face {
  font-family: Poppins;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/poppins-bold.ttf) format("truetype");
}

/* =========================================================
   SHIP CARE - PREMIUM NAVBAR
   ========================================================= */

.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 14px rgba(11, 42, 91, 0.08);
}

.hdr .wrap {
  min-height: 78px;
}

.nav > ul {
  align-items: center;
}

.nav > ul > li {
  position: relative;
}

.nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 13px;
  white-space: nowrap;
  font-weight: 500;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav > ul > li > a:hover {
  color: var(--blue);
  background: #f3f8fd;
}

.nav .arrow {
  font-size: 14px;
  line-height: 1;
  position: relative;
  top: -5px;
} 



/* =========================
   DROPDOWN
   ========================= */

.nav li.has-sub > .sub {
  display: flex;
  flex-direction: column;

  position: absolute;
  top: calc(100% + 12px);
  left: 50%;

  transform: translateX(-50%) translateY(8px);

  min-width: 270px;
  margin: 0;
  padding: 8px;

  background: #fff;

  border: 1px solid #e5edf5;
  border-radius: 14px;

  box-shadow: 0 18px 45px rgba(11, 42, 91, 0.15);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;

  z-index: 9999;
}

/* Dropdown arrow connection */

.nav li.has-sub > .sub::before {
  content: "";
  position: absolute;

  top: -7px;
  left: 50%;

  width: 14px;
  height: 14px;

  background: #fff;

  border-left: 1px solid #e5edf5;
  border-top: 1px solid #e5edf5;

  transform: translateX(-50%) rotate(45deg);
}

/* Show dropdown */

.nav li.has-sub:hover > .sub,
.nav li.has-sub:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateX(-50%) translateY(0);
}

/* Dropdown links */

.nav .sub li {
  list-style: none;
}

.nav .sub li a {
  display: block;

  padding: 12px 14px;

  border-radius: 9px;

  color: var(--ink);
  text-decoration: none;

  font-size: 14px;
  font-weight: 500;

  line-height: 1.35;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    padding-left 0.18s ease;
}

.nav .sub li a:hover {
  background: #eef6ff;
  color: var(--blue);
  padding-left: 18px;
}

/* =========================
   SERVICES DROPDOWN
   ========================= */

.nav .services-menu {
  min-width: 325px !important;
}

/* =========================
   QUOTE BUTTON
   ========================= */

.hdr .btn.btn-navy {
  min-height: 44px;
  padding: 9px 22px;
  white-space: nowrap;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 980px) {
  .hdr .wrap {
    min-height: 70px;
  }

  .burger {
    display: block;
    margin-left: auto;
  }

  .hdr > .wrap > .btn {
    display: none;
  }

  .nav {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    margin: 0;

    background: #fff;

    box-shadow: 0 18px 35px rgba(11, 42, 91, 0.14);

    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav.open {
    display: block;
  }

  .nav > ul {
    flex-direction: column;
    align-items: stretch;

    padding: 12px 16px 20px;
  }

  .nav > ul > li > a {
    justify-content: space-between;
    padding: 13px 12px;
  }

  .nav li.has-sub > .sub {
    position: static;

    min-width: 0;

    transform: none;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    display: flex;

    padding: 0 0 6px 14px;

    border: 0;
    border-radius: 0;

    box-shadow: none;
  }

  .nav li.has-sub > .sub::before {
    display: none;
  }

  .nav .sub li a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .nav .services-menu {
    min-width: 0 !important;
  }
}
