/* Navbar Styles */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}
.logo { margin-right: auto; }
.logo img { height: 40px; }

.nav-links {
  margin-left: auto;
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li { position: relative; }
.nav-links a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  padding: 0.5rem;
  display: inline-block;
}
.nav-links a:hover { color: #0074e4; }

/* Dropdown Menu */
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-menu li { margin: 0; padding: 0; }
.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}
.dropdown-menu li a:hover { background-color: #f0f8ff; }


  /* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f9f9f9;
  }
  
/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  position: absolute;
  color: white;
  width: 100%;
  text-align: center;
  padding: 2rem;
}
.hero-content.lower {
  bottom: 10%;
}
.hero-content.lower p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.hero-content.lower .cta-button {
  font-size: 1rem;
}

  .cta-button {
    display: inline-block;
    margin-top: 1rem;
    background-color: #0074e4;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  .cta-button:hover {
    background-color: #005bb5;
  }
  
  /* Services Section */
  .services {
    padding: 4rem 2rem;
    background-color: #fff;
  }
  .services h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  .service-item {
    background: #f1f1f1;
    padding: 2rem;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 4rem 2rem;
    background-color: #e9f5ff;
  }
  .testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .testimonial-list {
    max-width: 800px;
    margin: 0 auto;
  }
  blockquote {
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #0074e4;
  }
  cite {
    display: block;
    margin-top: 0.5rem;
    text-align: right;
    font-style: normal;
    color: #555;
  }
  
  /* Final CTA */
  .final-cta {
    padding: 3rem 2rem;
    background-color: #0074e4;
    color: white;
    text-align: center;
  }
  .final-cta h2 {
    margin-bottom: 1rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .service-list {
      flex-direction: column;
      align-items: center;
    }
    .hero-content h1 {
      font-size: 2rem;
    }
  }
  /* Footer */
.footer {
  background-color: #f1f1f1;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left, .footer-right {
  flex: 1;
}
.footer-right {
  text-align: right;
}
.footer-links a {
  font-size: 1.5rem;
  color: #003366;
  margin-left: 1rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #0074e4;
}

.footer-links label {
  display: inline-block;
  margin-left: 1rem;
  cursor: pointer;
}
.footer-links input[type="radio"] {
  margin-right: 0.25rem;
}
  
/* ===== CDS theme tokens ===== */
:root{
  --cds-navy:#003366;
  --cds-navy-2:#002244;
  --cds-link:#005bb5;
  --cds-link-hover:#0074e4;
  --container:1100px;
  --card-br:12px;
  --card-shadow:0 10px 26px rgba(0,0,0,.08);
  --card-border:1px solid rgba(2,34,68,.08);
}

/* Page containers */
.about-wrap{ max-width:var(--container); margin:0 auto; padding:3rem 1.5rem 4rem; }
.about-grid{ display:grid; gap:1.6rem; grid-template-columns:1fr; margin-top:1.5rem; }
@media (min-width:900px){ .about-grid{ grid-template-columns:1fr 1fr; } }

/* Gradient blue bar */
.about-bar{
  background:linear-gradient(90deg, var(--cds-navy), #0a4a9a);
  color:#fff; text-align:center; font-weight:700; letter-spacing:.2px;
  font-size:1.25rem; padding:.95rem 2rem; border-bottom:1px solid var(--cds-navy-2);
}

/* Capped hero pattern (reused site-wide) */
.capped-hero{ width:100%; height:30vh; display:grid; place-items:center; background:#fff; }
.capped-hero::before{
  content:""; width:min(100%,1800px); height:100%;
  background-position:center; background-repeat:no-repeat; background-size:cover;
}

/* About page banner image */
.about-banner::before{ background-image:url('ourteamsplash.jpg'); }

/* Cards */
.card{
  background:#fff; border-radius:var(--card-br); border:var(--card-border);
  box-shadow:var(--card-shadow); padding:1.6rem;
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover{ transform:translateY(-2px); box-shadow:0 14px 34px rgba(0,0,0,.10); }

/* Timeline (text unchanged, just styled) */
.timeline{ list-style:none; margin:0 0 1rem; padding-left:1.25rem; position:relative; }
.timeline::before{
  content:""; position:absolute; left:.4rem; top:.3rem; bottom:.3rem; width:2px;
  background:linear-gradient(#cfe0ff,#eaefff); border-radius:2px;
}
.timeline li{ position:relative; margin:.6rem 0 .9rem; padding-left:1rem; line-height:1.6; }
.timeline li::before{
  content:""; position:absolute; left:-.1rem; top:.4rem; width:10px; height:10px; border-radius:50%;
  background:var(--cds-link); box-shadow:0 0 0 3px #e6f0ff;
}

/* Pills and CTA button */
.pill{
  display:inline-block; background:#e6f0ff; color:var(--cds-navy);
  padding:.25rem .6rem; border-radius:999px; font-size:.85rem;
  margin:.15rem .4rem .5rem 0; border:1px solid rgba(2,34,68,.08);
}
.cta{
  display:inline-block; background:var(--cds-link); color:#fff; text-decoration:none;
  padding:.7rem 1.2rem; border-radius:10px; font-weight:700; letter-spacing:.2px;
  box-shadow:0 6px 14px rgba(0,91,181,.25);
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cta:hover{ background:var(--cds-link-hover); transform:translateY(-1px); box-shadow:0 10px 20px rgba(0,116,228,.25); }

/* Centerpiece (for the July 2024 paragraph) */
.centerpiece{
  text-align:center;
}
.centerpiece p{
  margin:0 auto; max-width:70ch; line-height:1.7;
}

/* Bottom page CTA */
.cta-bottom{ text-align:center; margin:2.5rem auto 3.25rem; }

/* Reusable capped hero pattern */
.capped-hero { width:100%; height:30vh; display:grid; place-items:center; background:#fff; }
.capped-hero::before {
  content:""; width:min(100%,1800px); height:100%;
  background-position:center; background-repeat:no-repeat; background-size:cover;
}

/* About banner uses your team splash */
.about-banner::before { background-image:url('ourteamsplash.jpg'); }

/* Cards + layout already present; keeping your tokens and styles */

/* Small shipping banner for About > What We Do */
.mini-banner {
  width: min(100%, 640px);
  aspect-ratio: 16/5;
  background-image: url('Media/shipping/shippingBannerNoLogo.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin: .75rem auto 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

/* Image inside cards (group photo) */
.card-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  margin: .5rem 0 1rem;
}

/* Optional tighter inset margins */
.card-img.inset { margin: .25rem 0 1rem; }

/* Center pills row for What We Do */
.pills-row { text-align: center; }

/* Bottom CTA variants */
.cta-bottom { text-align:center; margin:2.5rem auto 3.25rem; }
.mobile-only { display: none; }
.desktop-only { display: inline-block; }
@media (max-width: 767px) {
  .mobile-only { display: inline-block; }
  .desktop-only { display: none; }
}


:root {
  --image-band-height: clamp(220px, 28vh, 420px);
  --anchor-offset: 120px; /* navbar + downloads bar */
}

/* Banner cap + centering (your chosen pattern) */
.shipping-banner {
  width: 100%;
  height: 40vh;
  display: grid;
  place-items: center;
  background: #fff;
}
.shipping-banner::before {
  content: "";
  width: min(100%, 1800px);
  height: 100%;
  background-image: url('Media/shipping/shippingBannerNoLogo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Downloads bar (sticky) */
.downloads-bar {
  background-color: #003366;
  color: #fff;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid #002244;
  position: sticky;
  top: 60px; /* adjust to your navbar height */
  z-index: 998;
}
.downloads-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
}
.downloads-left { font-size: 0.95rem; white-space: nowrap; }
.downloads-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.downloads-right i { font-size: 1.2rem; }
.download-link {
  color: #fff; text-decoration: none; font-weight: 500;
  background-color: #005bb5; padding: 0.4rem 1rem; border-radius: 4px;
  transition: background-color .2s ease;
}
.download-link:hover { background-color: #0074e4; }

/* Section image band: uniform height for all sections */
.section-images {
  display: flex; justify-content: center; align-items: center;
  gap: 1rem; flex-wrap: nowrap;
  height: var(--image-band-height);
  margin: 1rem 0 1.25rem;
}
.section-images img {
  flex: 1 1 0; width: 0; height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.section-images.single img { flex-basis: 100%; }
@media (min-width: 1400px) {
  .section-images { max-width: 1200px; margin-inline: auto; }
}
.shipping-section .section-description { max-width: 900px; margin: 0 auto; text-align: left; }

/* Keep titles visible when jumping via navbar anchors */
.shipping-section { scroll-margin-top: var(--anchor-offset); }

/* Compact cards & 2-up grid */
.about-grid-compact {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
.card.compact { padding: 1.1rem; }
@media (min-width: 900px) {
  .about-grid-compact { grid-template-columns: 1fr 1fr; }
}

/* Centerpiece with image */
.centerpiece { text-align: center; }
.centerpiece .avatar {
  display: block; margin: 0 auto .75rem;
  width: min(60%, 240px); height: auto;
  border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Mini shipping banner between pills & CTA */
.mini-banner {
  width: min(100%, 640px);
  aspect-ratio: 16/5;
  background-image: url('Media/shipping/shippingBannerNoLogo.png');
  background-position: center; background-size: cover; background-repeat: no-repeat;
  margin: .6rem auto .9rem; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.pills-row { text-align: center; }

/* Bottom CTA variants already added earlier */

/* Our Team banner using capped-hero */
.team-banner {
  width: 100%;
  height: 25vh;             /* matches your prior ourteam height */
  display: grid;
  place-items: center;
  background: #fff;
}
.team-banner::before {
  content: "";
  width: min(100%, 1800px);
  height: 100%;
  background-image: url('ourteamsplash.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Two-up compact grid (desktop) */
.about-grid-compact {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
.card.compact { padding: 1.1rem; }
@media (min-width: 900px){
  .about-grid-compact { grid-template-columns: 1fr 1fr; }
}



/* Keep centered content for the Chase card */
.centerpiece { text-align: center; }

/* Unified photo scale for About cards (area ratio ~ 2:1) */
.about-photo {
  display: block;
  margin: 0 auto .9rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  height: auto;
}

/* Chase ≈ 2× area (cap and percent for responsiveness) */
.about-photo--lg {
  width: min(80%, 520px);
}

/* Why CDS ≈ 1/2 area of Chase (≈0.71x width) */
.about-photo--sm {
  width: min(80%, 520px); /* 368/520 ≈ 0.71 */
}

/* On very small screens, let both fill the card width */
@media (max-width: 600px){
  .about-photo--lg,
  .about-photo--sm { width: 100%; }
}

/* --- Shipping page: restored container/layout styles --- */
:root {
  /* Match the old page’s image band height + anchor offset */
  --image-band-height: clamp(400px, 28vh, 420px);
  --anchor-offset: 120px; /* navbar + downloads bar */
}

/* Section container + typography (from the old inline styles) */
.shipping-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  scroll-margin-top: var(--anchor-offset);
}
.shipping-section h2 {
  color: #003366;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.shipping-section p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
}
.shipping-section:not(:last-child) {
  border-bottom: 1px solid #ccc;
  padding-bottom: 3rem;
}

/* Image band: keep uniform height; limit width on very wide screens to match old */
.section-images { height: var(--image-band-height); }
@media (min-width: 1400px) {
  .section-images { max-width: 1000px; margin-inline: auto; }
}

/* Match the old page’s wider copy width under the images */
.shipping-section .section-description {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

/* Sub-blocks inside a card */
.subcard {
  background: #fff;
  border: 1px solid rgba(2,34,68,.08);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.subcard h3 {
  margin: 0 0 .5rem;
  color: #003366;
  font-size: 1.1rem;
}
/* space between stacked subcards */
.subcard + .subcard { margin-top: 0.9rem; }

/* Apply row inside a subcard */
.apply-row {
  margin-top: .75rem;
  text-align: center;
}

/* Job cards: compact spacing */
.card-job { padding: 1.1rem; }

/* Keep subcards tight and consistent */
.card-job .subcard { margin: 0; }
.card-job .subcard + .subcard { margin-top: 0.9rem; }
.card-job .subcard > :last-child { margin-bottom: 0; }   /* kill trailing p/ul space */

/* Apply button row at the bottom of the card */
.apply-row {
  margin-top: 1rem;
  text-align: center;
}
.card-job > .apply-row { margin-bottom: 0; }             /* no extra bottom space */
.apply-row .cta { display: inline-block; }

@media (max-width: 640px) {
  .apply-row .cta { display: block; width: 100%; }       /* full-width button on mobile */
}

/* Optional: slightly tighter list spacing inside subcards */
.card-job .subcard .timeline { margin: 0.25rem 0 0.75rem; }

/* Match Careers/About gradient for the index bottom banner */
.final-cta {
  background: linear-gradient(90deg, var(--cds-navy), #0a4a9a);
  color: #fff;
  border-top: 1px solid var(--cds-navy-2);
}

/* Keep the contact links readable on the blue background */
.final-cta a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}
.final-cta a:hover {
  opacity: 0.9;
}

/* Our Team banner — capped like Shipping, height 25vh */
.team-banner {
  width: 100%;
  height: 25vh;                 /* adjust here if you want taller/shorter */
  display: grid;
  place-items: center;
  background: #fff;             /* white gutters on ultra-wide screens */
}

.team-banner::before {
  content: "";
  width: min(100%, 1500px);     /* cap art at 1800px like Shipping */
  height: 100%;
  background-image: url('Media/ourteam/teamphoto.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;       /* fill height; crop edges if needed */
}

/* Optional: ensure reasonable minimum banner height on short screens */
@media (max-height: 650px) {
  .team-banner { height: 220px; }
}
