﻿/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "open sans", sans-serif;
  background-color: #f2f2f2;
  color: #003459;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 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;
}

/* Hero section */
.hero-section {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background-color: #f2f2f2;
  align-items: stretch;
  min-height: 400px;
  width: clamp(60vw, 90%, 1100px);
  margin-left: auto;
  margin-right: auto;
}

.home-page {
  background: #f2f2f2;
}

.home-page .index-video-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

.home-page .index-hero-video {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  min-height: 100vh;
  object-fit: cover;
  display: block;
}

.home-page .main-content {
  position: relative;
}

.home-page .main-content .content-section {
  position: relative;
  overflow: hidden;
}

.home-page .main-content .content-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #003459;
}

.home-page .main-content .scroll-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  margin-bottom: 2rem;
}

.home-page .main-content .scroll-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page .main-content .scroll-card:last-child {
  margin-bottom: 2rem;
}

.slideshow-wrapper {
  flex: 1;
  width: 100%;
  overflow: hidden;
}

/* Main content */
.main-content {
  flex: 1;
}

/* Slideshow */


.mySlides {
  display: none;
  height: clamp(150px, 46vh, 350px); /* provision page - responsive to viewport width */
}

.slideshow-container .mySlides {
  height: clamp(90px, 56vh, 320px); /* index page - responsive to viewport height */
width: clamp(100%, 100%, 100%);
}


.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Responsive single-hero ship image used on techsup.html */
.ship-hero {
  width: 100%;
  height: 60vh; /* match slideshow height */
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
/* Slideshow descriptions (Provision page) */
.slideshow-descs .slide-desc { display: none; }
.slideshow-descs .slide-desc.active { display: block; }

/* Utility active state (used across pages/JS) */
.active { color: #B8860B; }

/* Content sections */
.content-section {
  background-color: rgba(255, 255, 255, 0.9);
  color: #003459;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  min-height: fit-content;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.slideshow-descs {
  background-color: rgba(255, 255, 255, 0.9);
  color: #003459;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-weight: 600;
  min-height: 20vw;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content-section2 {
  background-color: rgba(255, 255, 255, 0.9);
  color: #003459;
  padding: 2rem;
  width: 100%;
  position: relative;
  margin: 0rem 0;
  border-radius: 8px;
  max-height: 610px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  grid-column: 1 / -1;
}

/* Keep the embedded map contained inside the boxed area at all sizes */
.content-section2 {
  overflow: hidden;
}
.content-section2 .map-iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 8px;
  min-height: 240px;
}

@media (max-width: 600px) {
  .content-section2 .map-iframe {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }
}


.content-section-tech {
  background-color: rgba(255, 255, 255, 0.95);
  color: #003459;
  padding: 1.25rem;
  margin: 1rem 0;
  border-radius: 8px;
  max-height: fit-content;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
  position: static;
}

.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: 400;
}

.contact2 {
  color: #003459;
  margin-top: 0rem;
  font-family: "open sans", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
}


.techlist {
  color: #003459;
  font-family: "open sans", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.contact-icon {
  width: 6vh;
  height: 6vh;
  margin-right: 10px;
  vertical-align: middle;
}

.weretof {
  color: #003459;
  margin-bottom: 1rem;
  margin-left: 1rem;
  font-family: "open sans", sans-serif;
  font-size: 1.8rem;
}

.content-section p {
  font-family: "open sans", sans-serif;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #003459;
  font-size: clamp(1rem, 1.6vw, 1.8rem);
}

.about-us-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.aboutus-page .about-lower-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.about-story,
.about-map-box {
  margin: 0;
  height: 100%;
}

.about-story {
  display: flex;
  flex-direction: column;
}

.about-map-box {
  display: flex;
  flex-direction: column;
}

.aboutus-page .about-map-box,
.aboutus-page .about-side-box {
  height: 100%;
  align-self: stretch;
  margin: 0;
  position: relative;
}

.aboutus-page .about-map-box::before,
.aboutus-page .about-side-box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #003459;
  z-index: 2;
}

.aboutus-page .about-story,
.aboutus-page .about-map-box,
.aboutus-page .about-side-box {
  overflow: hidden;
}

.aboutus-page .about-story .slideshow-wrapper {
  margin-bottom: 0.75rem;
}

.aboutus-page .about-side-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.aboutus-page .about-map-content {
  margin: 0;
}

#about-uk-map {
  width: 100%;
  height: clamp(320px, 55vh, 620px);
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 6px;
  background: #000;
}

.aboutus-page .navbar {
  z-index: 1200;
}

.aboutus-page .port-label {
  background: transparent;
  border: none;
  box-shadow: none;
}

.aboutus-page .port-tooltip-card {
  display: inline-block;
  padding: 0.35rem 0.48rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.92);
  color: #9bc6ff;
  border: 1px solid #2367c9;
  width: clamp(170px, 30vw, 230px);
  transform: scale(0.92);
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
}

.aboutus-page .port-tooltip-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.16rem;
  color: #b9d8ff;
}

.aboutus-page .port-tooltip-meta {
  font-size: 0.72rem;
  line-height: 1.28;
  color: #8fbdf8;
}

.aboutus-page .port-label.zoom .port-tooltip-card {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.aboutus-page #about-uk-map .leaflet-control-attribution {
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.15;
  padding: 1px 4px;
}

.aboutus-page #about-uk-map .leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.72);
}

.aboutus-page .hero-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0.6rem;
  gap: 0;
}

.main-content .content-section {
  margin: 0;
}

/* Tech sup: widen only the main content section box by 20% */
.techsup-wide-box {
  width: 120%;
  max-width: 120%;
  margin-left: -10%;
}

.techsup-page {
  background:
    radial-gradient(circle at 90% 8%, rgba(184, 134, 11, 0.12), transparent 38%),
    radial-gradient(circle at 6% 16%, rgba(0, 52, 89, 0.14), transparent 40%),
    #f2f2f2;
}

.techsup-page .hero-section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0.8rem;
  gap: 0;
}

.techsup-layout {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0.95rem;
  align-items: stretch;
}

.techsup-page .content-section {
  margin: 0;
  border: 1px solid rgba(0, 52, 89, 0.1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98));
  box-shadow: 0 12px 26px rgba(0, 52, 89, 0.09);
}

.techsup-intro-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.1rem, 2.4vw, 2rem);
}

.techsup-intro-card h1 {
  margin-bottom: 0.45rem;
}

.techsup-intro-card .contact2 {
  margin-bottom: 0.8rem;
  color: #b8860b;
  font-weight: 700;
}

.techsup-intro-card .contact {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.techsup-contact-link {
  color: #003459;
  font-weight: 700;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.techsup-contact-link:hover {
  color: #b8860b;
}

.techsup-media-card {
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
}

.techsup-page .ship-hero {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 47vh, 460px);
  max-height: 520px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}


.techsup-page .techsup-wide-box {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

.techsup-catalog-card {
  grid-column: 1 / -1;
}

.techsup-catalog-card h2 {
  margin-bottom: 0.45rem;
}

.techsup-page .techlist {
  columns: 2;
  column-gap: clamp(1.2rem, 2.6vw, 2.2rem);
  margin-top: 0.45rem;
  padding: 0 1rem 0 1.2rem;
  font-size: clamp(0.95rem, 1.08vw, 1.02rem);
  line-height: 1.7;
}

.techsup-page .techlist li {
  break-inside: avoid;
  margin-bottom: 0.58rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-grid > .content-section,
.contact-grid > .content-section2 {
  position: relative;
  overflow: hidden;
}

.contact-grid > .content-section::before,
.contact-grid > .content-section2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #003459;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: white;
  color: #B8860B;
  border: 2px solid #B8860B;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "open sans", sans-serif;
  font-size: 1rem;
}

.btn:hover {
  background-color: #B8860B;
  color: white;
}

/* Download link */
.download-link {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: #B8860B;
  border: 2px solid #B8860B;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "open sans", sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.download-link:hover {
  background-color: #B8860B;
  color: white;
}

.download-img {
  width: 30px;
  height: 30px;
}

/* Order page specific */
.order-content {
  margin: 2rem auto;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.order-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  border-radius: 20px;
}

.download-center {
  text-align: center;
  margin-top: 2rem;
}

.centered-title {
  text-align: center;
}

.btn:hover {
  background-color: #B8860B;
  color: white;
}


/* Footer styles moved to end of file for override priority */
/* 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: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    height: auto;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
  }

  .logo {
    width: clamp(120px, 38vw, 170px);
    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: 4.25rem;
    right: 0.75rem;
    width: auto;
    background: #f2f2f2;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    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;
    width: 96%;
  }

  .home-page .index-video-hero,
  .home-page .index-hero-video {
    min-height: 56vh;
  }

  .home-page .navbar {
    padding: 0.65rem 0.8rem;
  }

  .home-page .nav-links {
    top: 3.9rem;
    right: 0.5rem;
  }

  .home-page .nav-links.show {
    max-width: calc(100vw - 1rem);
  }

  .home-page .hero-section {
    width: min(100%, 640px);
    padding: 0.65rem;
  }

  .home-page .main-content {
    width: 100%;
  }

  .home-page .main-content .scroll-card {
    margin-bottom: 1rem;
    transform: translateY(16px);
  }

  .home-page .content-section {
    padding: 0.95rem;
    margin: 0.6rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  }

  .home-page .content-section h1,
  .home-page .content-section h2 {
    font-size: clamp(1.22rem, 5vw, 1.65rem);
    line-height: 1.25;
  }

  .home-page .contact {
    font-size: clamp(0.96rem, 3.45vw, 1.03rem);
    line-height: 1.62;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .about-us-layout {
    gap: 0.75rem;
  }

  .aboutus-page .about-lower-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .aboutus-page .hero-section {
    padding: 0.4rem;
  }

  .aboutus-page .navbar {
    padding: 0.65rem 0.8rem;
    position: sticky;
  }

  .aboutus-page .nav-links {
    right: 0.5rem;
    top: 3.25rem;
  }

  .aboutus-page .nav-links.show {
    max-width: calc(100vw - 1rem);
  }

  .aboutus-page .content-section {
    margin: 0;
    padding: 0.9rem;
  }

  .aboutus-page #about-uk-map {
    height: clamp(240px, 48vh, 360px);
    min-height: 240px;
  }

  .aboutus-page .about-map-box,
  .aboutus-page .about-side-box {
    height: auto;
  }

  .aboutus-page .about-side-box .contact {
    margin-bottom: 0;
  }

  .aboutus-page .contact2 {
    font-size: clamp(1rem, 5vw, 1.25rem);
    margin-bottom: 0.55rem;
  }

  .aboutus-page .contact {
    font-size: clamp(0.95rem, 3.8vw, 1.08rem);
    line-height: 1.55;
  }

  .aboutus-page .port-tooltip-card {
    width: min(180px, 62vw);
    padding: 0.32rem 0.42rem;
  }

  .aboutus-page .port-tooltip-title {
    font-size: 0.78rem;
  }

  .aboutus-page .port-tooltip-meta {
    font-size: 0.69rem;
    line-height: 1.22;
  }

  .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);
    margin-top: 1rem;
  }

  .techsup-wide-box {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .techsup-page .hero-section {
    width: min(100%, 1100px);
    padding: 0.45rem;
  }

  .techsup-page .navbar {
    padding: 0.65rem 0.8rem;
    position: sticky;
  }

  .techsup-page .nav-links {
    right: 0.5rem;
    top: 3.25rem;
  }

  .techsup-page .nav-links.show {
    max-width: calc(100vw - 1rem);
  }

  .techsup-layout {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .techsup-page .content-section {
    padding: 0.95rem;
    border-radius: 12px;
  }

  .techsup-intro-card h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.9rem);
    line-height: 1.2;
  }

  .techsup-intro-card .contact2 {
    font-size: clamp(1rem, 4.1vw, 1.2rem);
    margin-bottom: 0.55rem;
  }

  .techsup-intro-card .contact {
    font-size: clamp(0.95rem, 3.5vw, 1.02rem);
    line-height: 1.58;
  }

  .techsup-media-card {
    order: 2;
  }

  .techsup-catalog-card {
    order: 3;
  }

  .techsup-page .ship-hero {
    min-height: clamp(220px, 42vh, 340px);
  }

  .techsup-page .techlist {
    columns: 1;
    padding: 0 0.3rem 0 1.1rem;
    font-size: clamp(0.93rem, 3.2vw, 1rem);
    line-height: 1.62;
  }

  .techsup-page .techlist li {
    margin-bottom: 0.45rem;
  }

  .techsup-intro-card .contact,
  .techsup-page .techlist li {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .text-overlay {
    font-size: 1.5rem;
  }

  .slide-text {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .scroll-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .footer::before {
    animation: none;
  }
}

@media (max-width: 420px) {
  .home-page .index-video-hero,
  .home-page .index-hero-video {
    min-height: 48vh;
  }

  .home-page .hero-section {
    width: 98%;
    padding: 0.4rem;
  }

  .home-page .main-content .scroll-card {
    margin-bottom: 0.8rem;
  }

  .home-page .content-section {
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 9px;
  }

  .home-page .content-section h1,
  .home-page .content-section h2 {
    font-size: clamp(1.08rem, 5.9vw, 1.35rem);
  }

  .home-page .contact {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .aboutus-page .hero-section {
    padding: 0.3rem;
  }

  .aboutus-page .navbar {
    padding: 0.55rem 0.65rem;
  }

  .aboutus-page .nav-links {
    right: 0.35rem;
  }

  .aboutus-page .content-section {
    padding: 0.75rem;
    border-radius: 7px;
  }

  .aboutus-page #about-uk-map {
    height: clamp(220px, 44vh, 300px);
    min-height: 220px;
  }

  .aboutus-page .contact {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .techsup-page .hero-section {
    padding: 0.3rem;
  }

  .techsup-page .navbar {
    padding: 0.55rem 0.65rem;
  }

  .techsup-page .nav-links {
    right: 0.35rem;
    top: 3.1rem;
  }

  .techsup-page .content-section {
    border-radius: 10px;
    padding: 0.8rem;
  }

  .techsup-intro-card {
    padding: 0.9rem;
  }

  .techsup-intro-card h1 {
    font-size: clamp(1.2rem, 6.1vw, 1.55rem);
  }

  .techsup-intro-card .contact2 {
    font-size: clamp(0.94rem, 4.8vw, 1.08rem);
  }

  .techsup-intro-card .contact {
    font-size: 0.93rem;
    line-height: 1.52;
  }

  .techsup-page .ship-hero {
    min-height: clamp(200px, 36vh, 270px);
  }

  .techsup-page .techlist {
    padding: 0 0.1rem 0 1rem;
    font-size: 0.92rem;
    line-height: 1.56;
  }

}

@media (max-width: 360px) {
  .home-page .navbar {
    padding: 0.5rem 0.55rem;
    gap: 0.35rem;
  }
  .home-page .logo {
    width: clamp(105px, 34vw, 130px);
  }

  .home-page .hamburger {
    font-size: 1.35rem;
  }

  .home-page .nav-links {
    top: 3.45rem;
    right: 0.35rem;
  }

  .home-page .nav-links a {
    font-size: 0.86rem;
    padding: 0.34rem 0.48rem;
  }

  .home-page .index-video-hero,
  .home-page .index-hero-video {
    min-height: 42vh;
  }

  .home-page .hero-section {
    width: 99%;
    padding: 0.3rem;
  }

  .home-page .main-content .scroll-card {
    margin-bottom: 0.65rem;
  }

  .home-page .content-section {
    padding: 0.68rem;
    margin: 0.4rem 0;
    border-radius: 8px;
  }

  .home-page .content-section h1,
  .home-page .content-section h2 {
    font-size: clamp(1rem, 6.2vw, 1.2rem);
  }

  .home-page .contact {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .techsup-page .navbar {
    padding: 0.5rem 0.55rem;
    gap: 0.35rem;
  }

  .techsup-page .logo {
    width: clamp(105px, 34vw, 130px);
  }

  .techsup-page .hamburger {
    font-size: 1.35rem;
  }

  .techsup-page .nav-links {
    top: 2.95rem;
    right: 0.3rem;
  }

  .techsup-page .nav-links a {
    font-size: 0.86rem;
    padding: 0.34rem 0.48rem;
  }

  .techsup-page .hero-section {
    width: 99%;
    padding: 0.24rem;
  }

  .techsup-layout {
    gap: 0.5rem;
  }

  .techsup-page .content-section {
    padding: 0.66rem;
    border-radius: 8px;
  }

  .techsup-intro-card h1 {
    font-size: clamp(1.05rem, 6.4vw, 1.3rem);
  }

  .techsup-intro-card .contact2 {
    font-size: 0.92rem;
  }

  .techsup-intro-card .contact,
  .techsup-page .techlist {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .techsup-page .ship-hero {
    min-height: clamp(180px, 33vh, 230px);
  }
}


/* â”€â”€ TRUST BAR (site-wide) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.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;
  }
}


