/* =============================================
   DORA SHIPPING COMPANY — Alfred Dora & Sons
   Colors sourced directly from compiled Avada
   theme CSS (fusion-styles) + DB options backup
   ============================================= */

/* Fonts loaded via <link> tags in each HTML page for better performance */

:root {
  --primary:  #19988b;   /* primary_color from DB */
  --navy:     #326195;   /* footer_bg_color from DB */
  --dark:     #3b4251;   /* h1 color from DB */
  --body-txt: #666666;   /* body_typography color from DB */
  --gray:     #747474;   /* secondary text from compiled CSS */
  --light:    #f5f5f5;   /* content_bg_color from DB */
  --white:    #ffffff;
  --btn-bg:   #55a098;   /* button_gradient from DB */
  --accent:   #65bc7b;   /* accent highlight from compiled CSS */
  --copyright-bg: #1c355e; /* copyright_bg_color from DB */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Accessibility utilities ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--primary);
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* Global focus ring — keyboard users only */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--body-txt);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── LAYOUT HELPERS ──────────────────────────── */
.section { padding: 80px 0; }
.section--dark  { background: var(--dark);  color: var(--white); }
.section--light { background: var(--light); }
.section--navy  { background: var(--navy);  color: var(--white); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark);
  margin-bottom: 10px;
}
.section--dark .section-title h2,
.section--navy .section-title h2 { color: var(--white); }
.section-title .bar {
  width: 55px; height: 3px;
  background: var(--primary);
  margin: 0 auto 14px;
  border-radius: 2px;
}
.section--dark .bar,
.section--navy .bar { background: var(--white); }
.section-title p { color: var(--gray); max-width: 620px; margin: 0 auto; font-size: .95rem; }
.section--dark .section-title p,
.section--navy .section-title p { color: rgba(255,255,255,.75); }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 14px 34px;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease, opacity .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--btn-bg) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(25,152,139,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--btn-bg) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(25,152,139,.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,.8);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(0,0,0,.15);
}
.btn-teal { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(25,152,139,.3); }
.btn-teal:hover { background: var(--btn-bg); transform: translateY(-2px); box-shadow: 0 7px 20px rgba(25,152,139,.4); }

/* ── NAVBAR ──────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 18px rgba(0,0,0,.1);
  padding: 10px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
/* Logo crossfade — CSS grid stacking: both images in same cell, opacity swap */
.nav-logo {
  display: grid;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  grid-area: 1 / 1;          /* stack both in the same grid cell */
  height: 64px; width: auto; /* explicit height — never percentage */
  transition: opacity .35s ease, height .35s ease;
}
.logo-hero   { opacity: 1; }
.logo-sticky { opacity: 0; }

#navbar.scrolled .nav-logo img { height: 48px; }
#navbar.scrolled .logo-hero   { opacity: 0; }
#navbar.scrolled .logo-sticky { opacity: 1; }

.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a {
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--white);
  transition: color .2s;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--btn-bg) 100%) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 12px rgba(25,152,139,.35) !important;
  letter-spacing: 1.5px;
  transition: transform .2s ease, box-shadow .2s ease, background .25s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: linear-gradient(135deg, var(--btn-bg) 0%, var(--primary) 100%) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(25,152,139,.45) !important;
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 8px; margin: -8px; /* larger tap target */
  touch-action: manipulation;
}
.hamburger span {
  display: block; width: 25px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
  transform-origin: center;
}
#navbar.scrolled .hamburger span { background: var(--dark); }

/* Hamburger → X when active */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop overlay */
#nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 997;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
#nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* Prevent body scroll when nav is open */
body.nav-open { overflow: hidden; }

/* ── HERO SLIDER ─────────────────────────────── */
#home {
  position: relative;
  height: 100vh;
  height: 100svh; /* iOS Safari safe viewport height */
  min-height: 580px;
  overflow: hidden;
}

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(25,40,65,.65) 0%, rgba(30,50,80,.55) 100%);
}

.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: 0 24px; z-index: 2;
}
.hero-content .hero-label {
  font-size: .78rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: #7ab8f5; margin-bottom: 14px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.12;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
/* .hero-sub and .hero-services removed — elements deleted from HTML */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.slide-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px; z-index: 3;
}
.slide-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .3s, transform .3s;
}
.slide-dots span.active { background: var(--white); transform: scale(1.3); }

/* ── ABOUT — tabbed ──────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.about-img img { width: 100%; height: 440px; object-fit: cover; border-radius: 4px; }

.about-eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--primary); margin-bottom: 8px; }
.about-content h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 22px; }

.tab-nav { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 2px solid #e0e0e0; }
.tab-btn {
  padding: 10px 20px; font-family: inherit; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: none; border: none; cursor: pointer;
  color: var(--gray); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color .2s, border-color .2s;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--primary); border-bottom-color: rgba(25,152,139,.35); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--body-txt); font-size: .95rem; line-height: 1.75; }

.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 28px; }
.about-stat { text-align: center; padding: 16px 10px; background: var(--light); border-radius: 4px; border-top: 3px solid var(--primary); }
.about-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about-stat .lbl { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-top: 4px; }

/* ── SERVICES ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.service-card {
  position: relative; overflow: hidden;
  height: 260px;
  display: block; text-decoration: none; cursor: pointer;
}
.service-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
  will-change: transform;
}
.service-card:hover .service-card-bg { transform: scale(1.07); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,152,139,.9) 0%, rgba(25,152,139,.4) 60%, transparent 100%);
  transition: background .3s;
}
.service-card:hover .service-card-overlay { background: linear-gradient(to top, rgba(25,152,139,.95) 0%, rgba(25,152,139,.7) 100%); }
.service-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 24px; color: var(--white); z-index: 2;
}
.service-card-body h3 { font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.service-card-body p { font-size: .82rem; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.service-card:hover .service-card-body p { opacity: .9; transform: translateY(0); }
.service-card-body::after {
  content: 'View Details →';
  display: inline-block; margin-top: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,.6);
  padding: 4px 10px; border-radius: 2px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.service-card:hover .service-card-body::after { opacity: 1; transform: translateY(0); }

.port-card-body::after {
  content: 'View Port →';
  display: inline-block; margin-top: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,.6);
  padding: 4px 10px; border-radius: 2px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease .05s, transform .3s ease .05s;
}
.port-card:hover .port-card-body::after { opacity: 1; transform: translateY(0); }

/* ── PORTS ───────────────────────────────────── */
.ports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.port-card {
  position: relative; overflow: hidden; height: 240px;
  display: block; text-decoration: none; cursor: pointer;
}
.port-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(.65);
  will-change: transform;
}
.port-card:hover .port-card-bg { transform: scale(1.06); filter: brightness(.5); }
.port-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 16px;
  z-index: 2;
}
.port-card-body .port-anchor { font-size: 1.6rem; margin-bottom: 8px; }
.port-card-body h3 { font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.port-card-body span { font-size: .78rem; opacity: .8; margin-top: 4px; font-weight: 500; }

.ports-desc {
  background: var(--primary); color: var(--white);
  padding: 32px 24px; text-align: center;
}
.ports-desc p { max-width: 780px; margin: 0 auto; font-size: .97rem; line-height: 1.7; opacity: .95; }

/* ── CLIENTS ─────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; position: relative; padding: 16px 0;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--light), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--light), transparent); }

.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 18px; height: 68px; flex-shrink: 0;
  background: var(--white); border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.client-logo:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.client-logo img { height: 38px; width: auto; object-fit: contain; }

/* ── TEAM ────────────────────────────────────── */
.team-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-bottom: 56px;
}
.team-img img { width: 100%; height: 380px; object-fit: cover; border-radius: 4px; }
.team-text .eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.team-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.team-text p { color: var(--body-txt); font-size: .95rem; margin-bottom: 14px; }

.team-members { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.team-card {
  text-align: center; padding: 24px 16px;
  background: var(--light); border-radius: 4px;
  border-top: 3px solid var(--primary);
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.team-card .avatar {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.team-card .avatar svg { width: 36px; height: 36px; stroke: var(--white); fill: none; }
.team-card h4 { font-size: .85rem; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: .5px; }
.team-card .role { font-size: .75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; display: block; margin-top: 4px; }
.team-card-contact {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.team-card-contact a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(25,152,139,.1); color: var(--primary);
  transition: background .2s ease, transform .2s ease;
}
.team-card-contact a:hover {
  background: var(--primary); color: var(--white);
  transform: translateY(-2px);
}
.team-card-contact a svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }

/* ── CONTACT ─────────────────────────────────── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 52px;
}
.contact-info h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-item .icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-item:hover .icon {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(25,152,139,.5);
}
.contact-item .icon svg {
  width: 18px; height: 18px;
  stroke: var(--white); fill: none;
}
.contact-item .text label { font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 2px; }
.contact-item .text p, .contact-item .text a { color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.5; }

.contact-form-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 32px; }
.contact-form-box h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: .73rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 3px; padding: 11px 13px; color: var(--white);
  font-family: inherit; font-size: .88rem; outline: none; transition: border .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.28); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); background: rgba(255,255,255,.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--dark); }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--btn-bg) 100%);
  color: var(--white);
  border: none; padding: 14px; font-family: inherit; font-size: .85rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(25,152,139,.3);
  transition: background .25s, transform .2s ease, box-shadow .2s ease;
}
.btn-submit:hover {
  background: linear-gradient(135deg, var(--btn-bg) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(25,152,139,.45);
}

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 44px;
}

/* Brand column */
.footer-brand img { height: 90px; width: auto; margin-bottom: 12px; }
.footer-brand-title {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--white); margin-bottom: 12px;
}
.footer-brand p { font-size: .85rem; line-height: 1.75; }

/* Shared column heading */
.footer-col h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--white); margin-bottom: 16px;
}

/* Useful Links / More columns */
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .85rem; transition: color .2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul a::before { content: '›'; color: var(--primary); font-size: 1rem; }
.footer-col ul a:hover { color: var(--white); }

/* Address column modifier — content styled via .footer-address below */
.footer-col--address { /* styling hook for address column */ }

/* Our Address column */
.footer-address { font-size: .85rem; line-height: 1.7; display: flex; flex-direction: column; gap: 10px; }
.footer-address p { margin: 0; }
.faddr-row { display: flex; gap: 10px; align-items: flex-start; }
.faddr-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary);
  white-space: nowrap; padding-top: 2px; min-width: 44px;
}
.footer-address a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-address a:hover { color: var(--white); }

/* Copyright bar */
.footer-bottom { background: var(--copyright-bg); padding: 18px 24px; }
.footer-bottom-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.6); text-align: center;
}

/* ── BACK TO TOP ─────────────────────────────── */
#btt {
  position: fixed; bottom: 26px; right: 26px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  border: none; font-size: 1rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .3s; z-index: 999;
  display: flex; align-items: center; justify-content: center;
}
#btt.show { opacity: 1; pointer-events: auto; }
#btt:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(25,152,139,.5); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 1024px) {
  .about-grid, .team-intro { grid-template-columns: 1fr; gap: 36px; }
  .about-img img { height: 300px; }
  .team-members { grid-template-columns: repeat(3,1fr); }
  .ports-grid { grid-template-columns: repeat(2,1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* ── Mobile nav: slide panel from right ── */
  .hamburger { display: flex; }
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(270px, 85vw);
    background: var(--dark);
    padding: 80px 28px 36px;
    gap: 18px; z-index: 998;
    box-shadow: -4px 0 24px rgba(0,0,0,.3);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--white) !important; font-size: .95rem; }

  .team-members { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .ports-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(3,1fr); }

  /* Bigger tap targets on mobile */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; min-height: 44px; }
  .tab-btn { padding: 10px 14px; }
  .tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Ensure buttons are full-width in flex-column hero */
  .hero-btns .btn { min-width: 200px; text-align: center; }
}
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .hero-content h1 { font-size: 1.8rem; letter-spacing: 1px; }
  .hero-label { letter-spacing: 2px !important; }
  /* .hero-services removed — element deleted from HTML */
.hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .team-members { grid-template-columns: repeat(2,1fr); }
  .ports-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   INNER PAGES  — about, services, ports, contact,
   careers, terms, privacy, cookies, sitemap
═══════════════════════════════════════════════ */

/* Always-solid navbar for inner pages */
#navbar.navbar-solid {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 10px 0;
}
#navbar.navbar-solid .nav-logo img { height: 48px; }
#navbar.navbar-solid .logo-hero   { opacity: 0; }
#navbar.navbar-solid .logo-sticky { opacity: 1; }
#navbar.navbar-solid .nav-links a { color: var(--dark); }
#navbar.navbar-solid .hamburger span { background: var(--dark); }

/* Page Banner */
.page-banner {
  height: 300px; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  margin-top: 68px;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.32);
}
.page-banner-content { position: relative; z-index: 1; padding: 0 24px; }
.page-banner-content h1 {
  color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; font-size: .78rem;
  color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1.2px;
}
.breadcrumb a { color: var(--primary); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .4; }

/* ── About Page ─────────────────────────── */
.about-page-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-page-img img { width: 100%; height: 440px; object-fit: cover; border-radius: 4px; }
.about-page-text .eyebrow {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--primary); margin-bottom: 10px;
}
.about-page-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--dark);
  font-weight: 700; margin-bottom: 20px; line-height: 1.3;
}
.about-page-text p { font-size: .95rem; line-height: 1.85; margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border-radius: 6px; padding: 28px 22px; text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.07); border-top: 3px solid var(--primary);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.value-card .vi { font-size: 1.8rem; margin-bottom: 12px; }
.value-card h3 {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--dark); margin-bottom: 8px;
}
.value-card p { font-size: .83rem; color: var(--body-txt); line-height: 1.65; }

/* ── Services Page ──────────────────────── */
.services-page-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.sp-card {
  background: var(--white); border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07); transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.sp-card-img { height: 200px; background-size: cover; background-position: center; }
.sp-card-body { padding: 24px; }
.sp-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.sp-card-body p { font-size: .88rem; color: var(--body-txt); line-height: 1.75; }

/* ── Ports Page ─────────────────────────── */
.port-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pp-card {
  border-radius: 6px; overflow: hidden; background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.07); transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.pp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.pp-img { height: 200px; background-size: cover; background-position: center; }
.pp-body { padding: 20px; }
.pp-body h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.pp-body .pp-region {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary); margin-bottom: 10px;
}
.pp-body p { font-size: .87rem; color: var(--body-txt); line-height: 1.7; }
.ports-coverage-note {
  background: var(--dark); color: var(--white); border-radius: 6px;
  padding: 32px 36px; margin-top: 52px;
  display: flex; align-items: center; gap: 24px;
}
.ports-coverage-note .anch { font-size: 2.2rem; flex-shrink: 0; }
.ports-coverage-note p { font-size: .95rem; line-height: 1.75; color: rgba(255,255,255,.85); margin: 0; }

/* ── Careers Page ───────────────────────── */
.careers-intro { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.careers-intro p { font-size: .95rem; color: var(--body-txt); line-height: 1.85; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.perk-card {
  background: var(--light); border-radius: 6px; padding: 28px 22px;
  text-align: center; border-bottom: 3px solid var(--primary);
  transition: transform .25s ease, box-shadow .25s ease;
}
.perk-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.perk-card .pi { font-size: 1.8rem; margin-bottom: 12px; }
.perk-card h3 {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--dark); margin-bottom: 8px;
}
.perk-card p { font-size: .83rem; color: var(--body-txt); line-height: 1.65; }
.careers-cta-box {
  background: var(--dark); border-radius: 8px; padding: 52px 40px;
  text-align: center; color: var(--white);
}
.careers-cta-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.careers-cta-box p {
  color: rgba(255,255,255,.75); margin-bottom: 28px; line-height: 1.75;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ── Legal Pages ────────────────────────── */
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-updated {
  display: inline-block; font-size: .8rem; color: var(--gray);
  background: var(--light); border-left: 3px solid var(--primary);
  padding: 8px 16px; border-radius: 2px; margin-bottom: 40px;
}
.legal-wrap h2 {
  font-size: 1rem; font-weight: 700; color: var(--dark);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #e4e4e4;
}
.legal-wrap h3 { font-size: .93rem; font-weight: 600; color: var(--dark); margin: 20px 0 8px; }
.legal-wrap p { font-size: .93rem; line-height: 1.85; color: var(--body-txt); margin-bottom: 14px; }
.legal-wrap ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-wrap ul li { font-size: .93rem; line-height: 1.75; color: var(--body-txt); margin-bottom: 5px; }
.legal-wrap a { color: var(--primary); }
.legal-wrap a:hover { text-decoration: underline; }

/* ── Sitemap Page ───────────────────────── */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.sm-col h3 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--dark); margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.sm-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sm-col ul a {
  font-size: .9rem; color: var(--body-txt); transition: color .2s;
  display: flex; align-items: center; gap: 8px;
}
.sm-col ul a::before { content: '›'; color: var(--primary); font-weight: 700; font-size: 1rem; }
.sm-col ul a:hover { color: var(--primary); }
.sm-sub { padding-left: 18px; }
.sm-sub a { font-size: .85rem !important; }

/* ── Responsive — inner pages ───────────── */
@media (max-width: 1024px) {
  .port-page-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .perks-grid     { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-banner { height: 220px; }
  .page-banner-content h1 { letter-spacing: 2px; }
  .about-page-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-page-img img { height: 260px; }
  .values-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .port-page-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .ports-coverage-note { flex-direction: column; padding: 24px; text-align: center; }
  .careers-cta-box { padding: 36px 24px; }
}
@media (max-width: 480px) {
  .page-banner { height: 200px; }
  .page-banner-content h1 { letter-spacing: 1px; font-size: 1.6rem; }
  .port-page-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
