/* Provision Page Main Box Layout */

        .slideshow-container {
          width: min(96%, 1300px);
          min-height: clamp(360px, 58vh, 520px);
          background: #ffffff;
          border: 1px solid #d7e2ea;
          border-radius: 16px;
          box-shadow: 0 18px 34px rgba(0, 52, 89, 0.12);
          display: flex;
          overflow: hidden;
          margin: 1.15rem auto 0;
          position: relative;
        }

        .slideshow-container::before {
          content: "";
          position: absolute;
          left: 0;
          top: 0;
          right: 0;
          height: 5px;
          background: #003459;
          z-index: 6;
        }

        /* Text Section (Left) - 25% */
        .text-section {
          flex: 0 0 39%;
          padding: clamp(1.25rem, 2.4vw, 2.1rem);
            display: flex;
            flex-direction: column;
            justify-content: center;
          background: linear-gradient(180deg, #f9fbfe 0%, #f2f7fc 100%);
          border-right: 1px solid #d7e2ea;
            position: relative;
            overflow: hidden;
        }

        .text-content {
            display: none;
            animation: slideInLeft 0.5s ease-in-out;
          color: #003459;
        }

        .text-content.active {
            display: block;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .text-section h1,
        .text-section h2 {
          color: #0d3954;
          margin-bottom: 0.72rem;
          font-size: clamp(1.25rem, 2.2vw, 1.95rem);
          letter-spacing: 0.01em;
        }

        .text-section p {
          color: #244b63;
          line-height: 1.66;
          font-size: clamp(0.98rem, 1.2vw, 1.18rem);
          margin-bottom: 0;
          max-width: 36ch;
        }

        /* Video/Image Section (Right) - 60% */
.image-section {
  flex: 0 0 61%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

/* Video specific styles for mobile */
video.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 0.5s ease-in-out;
    -webkit-playsinline: true;
}

video.slide.active {
    display: block;
}

.image-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 18, 33, 0.42) 0%, rgba(0, 18, 33, 0.08) 34%, rgba(0, 18, 33, 0.02) 58%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Progress Bar */
        .progress-bar {
            position: absolute;
          bottom: 14px;
            left: 0;
          height: 3px;
          background: #b8860b;
            width: 0%;
          z-index: 5;
          border-radius: 999px;
        }

        .progress-bar.animate {
            animation: progressBar 7s linear both;
        }

        @keyframes progressBar {
            from {
                width: 0%;
            }
            to {
                width: 100%;
            }
        }

        .slide-counter {
            position: absolute;
          right: 14px;
          bottom: 14px;
          color: #ffffff;
          background: rgba(0, 32, 54, 0.72);
          border: 1px solid rgba(255, 255, 255, 0.25);
          padding: 6px 11px;
          border-radius: 999px;
          font-size: 0.75rem;
          font-weight: 700;
          letter-spacing: 0.02em;
          z-index: 7;
        }

        /* Responsive design */
@media (max-width: 768px) {
    .slideshow-container {
        flex-direction: column;
    min-height: 0;
    max-width: 94%;
    margin-top: 0.8rem;
    }

    .text-section {
    flex: 0 0 auto;
        border-right: none;
    border-bottom: 1px solid #d7e2ea;
        min-height: auto;
    padding: 1rem;
    }

    .text-section h1,
    .text-section h2 {
    font-size: clamp(1.05rem, 4.8vw, 1.35rem);
    margin-bottom: 0.4rem;
    }

    .text-section p {
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    line-height: 1.48;
    max-width: none;
    }


    .image-section {
      flex: 0 0 auto;
      min-height: clamp(230px, 42vh, 320px);
      height: 48vw;
      max-height: 320px;
      width: 100%;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      background: #000;
    }

    .slide,
    video.slide {
      width: 100% !important;
      height: 100% !important;
      min-height: 0 !important;
      min-width: 0 !important;
      object-fit: cover !important;
      display: block;
      background: #000;
    }

    .progress-bar {
        height: 3px;
      bottom: 10px;
    }

    .slide-counter {
      font-size: 0.68rem;
      padding: 4px 8px;
      bottom: 9px;
      right: 10px;
    }
}

/* Extra small devices */
@media (max-width: 100px) {
    .slideshow-container {
        height: 250px;
    }

    .text-section {
        flex: 0 0 15%;
        padding: 25px;
    }

    .text-section h1,
    .text-section h2 {
        font-size: 16px;
    }

    .text-section p {
        font-size: 12px;
    }

    .image-section {
    width: 50%;
        min-height: 250px;
    }
}



.provision-content-section {
  width: min(96%, 1300px);
  margin: 0 auto;
}

.provision-content-section .content-section {
  position: relative;
  overflow: hidden;
}

.provision-content-section .content-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #003459;
}

.provision-lower-stack {
  display: grid;
  gap: 0.9rem;
  margin: 0.85rem 0 0;
}

.provision-card {
  background: #ffffff;
  border: 1px solid #d7e2ea;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 52, 89, 0.08);
  padding: clamp(0.95rem, 1.9vw, 1.35rem);
  position: relative;
  overflow: hidden;
}

.provision-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #003459;
}

.provision-card h2 {
  color: #123b56;
  margin-bottom: 0.55rem;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.provision-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.52rem;
}

.provision-tag-grid span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #d5e1ea;
  border-radius: 10px;
  background: #f8fbff;
  color: #1c445d;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0.4rem 0.5rem;
}

.provision-lane-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.52rem;
}

.provision-step {
  border: 1px solid #d3dfe8;
  border-radius: 10px;
  background: #f9fcff;
  padding: 0.62rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.provision-step strong {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #003459;
  color: #ffffff;
  font-size: 0.84rem;
}

.provision-step span {
  color: #204860;
  font-size: 0.8rem;
  font-weight: 700;
}

.provision-rfq .contact {
  font-size: clamp(0.95rem, 1.05vw, 1.03rem);
  line-height: 1.6;
  margin-bottom: 0.68rem;
}

.provision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.provision-actions .provision-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-width: 2px;
  border-style: solid;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  flex: 1 1 250px;
  background: #003459;
  border-color: #003459;
  color: #ffffff;
  font-weight: 700;
}

.provision-actions .provision-btn:hover {
  background: #002d4b;
  border-color: #002d4b;
  color: #ffffff;
}

.provision-actions .provision-btn.alt {
  background: #ffffff;
  border-color: #b8860b;
  color: #7a5a08;
}

.provision-actions .provision-btn.alt:hover {
  background: #b8860b;
  border-color: #b8860b;
  color: #ffffff;
}

@media (max-width: 900px) {
  .provision-tag-grid,
  .provision-lane-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .provision-content-section {
    width: 94%;
  }

  .provision-content-section .content-section {
    margin-top: 0.8rem;
  }
}

@media (max-width: 640px) {

  .provision-tag-grid,
  .provision-lane-steps {
    grid-template-columns: 1fr;
  }

  .provision-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .provision-actions .provision-btn {
    width: 100%;
  }
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "open sans", sans-serif;
  background-color: #f2f2f2;
  color: #f2f2f2;
  line-height: 1.6;
}

/* Fluid base font-size: grows/shrinks with viewport but stays within readable range */
html { font-size: clamp(14px, 1.2vw, 18px); }

/* Navigation */
.navbar {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f2f2;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.hamburger {
  display: none;
  position: relative;
  width: 42px;
  height: 36px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hamburger::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 24px;
  height: 3px;
  background: #003459;
  border-radius: 2px;
  box-shadow: 0 8px 0 #003459, 0 16px 0 #003459;
}

.hamburger:focus-visible {
  outline: 2px solid #B8860B;
  outline-offset: 2px;
}

.logo {
  width: clamp(120px, 18vw, 350px);
  height: auto;
  margin-top: 10px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #003459;
  text-decoration: none;
  font-size: clamp(0.85rem, 1vw, 1.05rem);
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  font-weight: bold;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #B8860B;
  border-bottom: 2px solid #B8860B;
}

.cart-nav {
  position: relative;
  margin-left: 0.5rem;
}

.cart-toggle-btn {
  border: 2px solid #B8860B;
  background: #ffffff;
  color: #003459;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  margin-left: 0.35rem;
  background: #003459;
  color: #ffffff;
  font-size: 0.78rem;
}

.shared-cart-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(430px, 92vw);
  max-height: min(78vh, 700px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-top: 4px solid #b8860b;
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: 0 14px 32px rgba(0, 52, 89, 0.18);
  z-index: 400;
  display: flex;
  flex-direction: column;
}

.shared-cart-dropdown[hidden] {
  display: none;
}

.shared-cart-items {
  overflow-y: auto;
  max-height: clamp(180px, 42vh, 430px);
  -webkit-overflow-scrolling: touch;
  padding-right: 0.2rem;
}

.shared-cart-item {
  border-top: 1px solid #d7e0e8;
  padding: 0.65rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.shared-cart-item:first-child {
  border-top: none;
}

.shared-cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.shared-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.35rem;
}

.shared-cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #c8d3de;
  border-radius: 6px;
  background: #ffffff;
  color: #003459;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}

.shared-cart-qty-btn:hover {
  border-color: #b8860b;
}

.shared-cart-qty-input {
  width: 58px;
  border: 1px solid #c8d3de;
  border-radius: 8px;
  padding: 0.3rem 0.35rem;
  margin-left: 0;
  text-align: center;
}

.shared-cart-dropdown .cart-summary,
.shared-cart-dropdown .cart-buttons {
  flex-shrink: 0;
}

.shared-cart-dropdown .cart-buttons {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}



/* Content sections */
.content-section {
  background-color: rgba(255, 255, 255, 0.9);
  color: #003459;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  min-height: 300px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;

}



.content-section h1,
.content-section h2 {
  color: #003459;
  margin-bottom: 1rem;
  font-family: "open sans", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
}

.contact {
  color: #003459;
  font-family: "open sans", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  margin-top: 30px;
}





/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: #003459;
  color: #e9f3fb;
  padding: 2.9rem 1rem 1.45rem;
  margin-top: 2rem;
  border-top: 3px solid #b8860b;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(242, 242, 242, 0.16), transparent 36%),
    radial-gradient(circle at 82% 12%, rgba(242, 242, 242, 0.12), transparent 34%),
    radial-gradient(circle at 50% 115%, rgba(242, 242, 242, 0.15), transparent 42%);
  animation: footerDrift 16s ease-in-out infinite alternate;
}

.footer::after {
  background-image:
    linear-gradient(120deg, transparent 0%, rgba(242, 242, 242, 0.09) 48%, transparent 100%),
    repeating-linear-gradient(90deg, rgba(242, 242, 242, 0.05) 0 1px, transparent 1px 52px);
  mix-blend-mode: screen;
  opacity: 0.45;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 1.35rem;
}

.footer-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0.7rem 0.55rem;
  transition: transform 220ms ease, text-shadow 220ms ease;
}

.footer-section:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.68rem;
  top: 12%;
  width: 1px;
  height: 76%;
  background: linear-gradient(to bottom, transparent, rgba(242, 242, 242, 0.55), transparent);
}

.footer-section:hover {
  transform: translateY(-4px) scale(1.01);
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.42);
}

.footer-section img {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 0.72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.45rem;
  border-radius: 999px;
  background: #f2f2f2;
  border: 1px solid rgba(242, 242, 242, 0.55);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.footer-section h3 {
  color: #f3f9ff;
  margin-bottom: 0.52rem;
  font-family: "open sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.92rem, 1vw, 1rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.footer-section h4 {
  color: #f3f9ff;
  margin-bottom: 0.52rem;
  font-family: "open sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.92rem, 1vw, 1rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.footer-section h3::after {
  content: "";
  width: 68px;
  height: 2px;
  margin-top: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 242, 242, 0.06) 0%, rgba(242, 242, 242, 0.96) 50%, rgba(242, 242, 242, 0.06) 100%);
}

.footer-section h4::after {
  content: "";
  width: 68px;
  height: 2px;
  margin-top: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 242, 242, 0.06) 0%, rgba(242, 242, 242, 0.96) 50%, rgba(242, 242, 242, 0.06) 100%);
}

.footer-section p {
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  color: rgba(242, 242, 242, 0.9);
  line-height: 1.58;
}

.copyright {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding: 0.92rem 1rem;
  background-color: rgba(0, 52, 89, 0.48);
  color: #dceaf5;
  font-size: clamp(0.8rem, 1vw, 1rem);
  border-radius: 10px;
  border: 1px solid rgba(242, 242, 242, 0.28);
  box-shadow: inset 0 1px 0 rgba(242, 242, 242, 0.18), 0 10px 20px rgba(0, 0, 0, 0.22);
}

.copyright p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  letter-spacing: 0.01em;
}

.copyright a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

@keyframes footerDrift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1.02);
  }
  to {
    transform: translate3d(1.5%, -1%, 0) scale(1.05);
  }
}

/* Global heading scales for all pages */
h1 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.4vw, 1.2rem); }

/* Smaller utility text */
small, .small { font-size: clamp(0.8rem, 0.9vw, 0.95rem); }

/* Ensure form inputs and footer links scale nicely */
input, textarea, select, button { font-size: clamp(0.95rem, 1.2vw, 1.05rem); }

/* Responsive design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
    height: auto;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  /* reset top margin so logo sits inside the navbar box */
  .navbar .logo {
    margin-top: 0;
  }

  /* Mobile: keep the collapsed nav list positioned next to the logo */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 3rem;
    right: calc(0px + 1rem);
    width: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    z-index: 200;
  }

  .nav-links.show {
    display: flex;
    background-color: #f2f2f2;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-links li {
    margin: 0.25rem 0;
  }

  .nav-links a {
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 0.42rem 0.6rem;
  }

  .cart-nav {
    margin-top: 0.45rem;
    align-self: flex-end;
  }

  .shared-cart-dropdown {
    width: min(96vw, 430px);
    max-height: 82vh;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-section:not(:last-child)::after {
    display: none;
  }

  .content-section {
    padding: 1rem;
  }

  .hero-section {
    flex-direction:column;
    padding: 1rem;
  }

  .slideshow-wrapper, .main-content { flex: 1 1 100%; }

  /* reduce slideshow height on small screens */
  .mySlides { height: clamp(120px, 35vh, 300px); }
  .mySlides img { height: 100%; }

  
  /* ship hero smaller on small screens */
  .ship-hero { height: 45vh; }

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

  .text-overlay {
    font-size: 1.5rem;
  }

  .slide-text {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer::before {
    animation: none;
  }
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(135deg, #003459 0%, #00426e 100%);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-bottom: 3px solid #b8860b;
  z-index: 50;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3.5vw, 3rem);
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
  opacity: 0.95;
}

.trust-icon {
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .trust-bar {
    padding: 0.45rem 0.9rem;
  }

  .trust-bar-inner {
    gap: 0.9rem;
  }

  .trust-item {
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .trust-bar-inner {
    justify-content: flex-start;
    gap: 0.65rem 1.4rem;
  }
}

