/* ============================================================
   SHIP CHANDLER MOMBASA PORT CO., LTD
   Custom layer on top of the Digital Trend template
   (templatemo-digital-trend.css). Reuses the template's
   palette, Inter typography and AOS animations.
   ============================================================ */

/* ---- ORIGINAL THEME (rollback) -------------------------------
   To restore the previous teal/gold palette, replace the active
   :root block below with these values, and in this file revert:
   .vessels / .site-footer background to var(--mb-dark);
   .hero-mb / .page-hero / .cta-band / .cta-split-panel gradients
   to var(--mb-primary) -> var(--mb-primary-d);
   .v-row:hover .v-name to var(--mb-primary);
   and remove the template-variable + body-background overrides.

   --mb-primary:#057a8d; --mb-primary-d:#045e6d; --mb-secondary:#f1c111;
   --mb-dark:#171819; --mb-menu:#0c8195; --mb-bg:#f0f8ff;
   --mb-ink:#2a2d2e; --mb-line:#e3e9ee;
   (no --mb-deep/--mb-deep-d; body background was template white)
--------------------------------------------------------------- */

:root {
  /* Green-based maritime palette */
  --mb-primary:   #377a65;  /* Coastal Emerald — buttons, links, accents */
  --mb-primary-d: #2b6253;  /* darker emerald — hover                    */
  --mb-secondary: #a8c4b0;  /* Soft Sage Green — accents, hovers, borders */
  --mb-deep:      #183f3d;  /* Deep Marine Green — dark backgrounds       */
  --mb-deep-d:    #102e2c;  /* deeper green — gradient ends               */
  --mb-dark:      #273334;  /* Dark Slate — headings & body text          */
  --mb-menu:      #183f3d;  /* navbar background                          */
  --mb-bg:        #e4ede7;  /* Mist Green — alternate surfaces            */
  --mb-ivory:     #f6f4ef;  /* Warm Ivory — main light background         */
  --mb-wa:        #25d366;  /* WhatsApp green (unchanged)                 */
  --mb-ink:       #273334;
  --mb-line:      #d4e0d8;

  /* Override the Digital Trend template's own theme variables */
  --primary-color:   #377a65;
  --secondary-color: #a8c4b0;
  --menu-bg:         #183f3d;
  --dark-color:      #273334;
  --project-bg:      #e4ede7;
  --title-color:     #273334;
  --link-color:      #377a65;
}

body { background: var(--mb-ivory); }

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

.text-primary-mb { color: var(--mb-primary) !important; }
strong, b { color: inherit; }                 /* don't force gold everywhere */
.lead-strong strong { color: var(--mb-secondary); }

/* Reusable section heading */
.sec-head { max-width: 760px; margin: 0 auto 3.2em; text-align: center; }
.sec-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mb-primary); margin-bottom: 14px;
}
.sec-head h2 { font-size: 34px; font-weight: 300; color: var(--mb-dark); line-height: 1.2; }
.sec-head h2 strong { color: var(--mb-primary); font-weight: 700; }
.sec-head p { margin-top: 16px; font-size: 17px; color: #5c6467; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------------------------------------- NAVBAR ---------- */
.navbar.sticky-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 1030; }
.navbar-brand { display: flex; align-items: center; font-size: 20px; line-height: 1.1; }
.brand-logo { height: 46px; width: auto; background: #fff; border-radius: 6px; padding: 3px 5px; margin-right: 12px; }
.brand-text { color: #fff; font-weight: 300; font-size: 18px; }
.brand-text strong { color: var(--mb-secondary); font-weight: 700; }

.navbar .nav-link { cursor: pointer; }
.nav-item.dropdown { position: relative; }
.dd-caret { display: none; background: transparent; border: 0; color: var(--mb-secondary);
  font-size: 18px; cursor: pointer; padding: 4px 10px; }

/* Dropdown menus: solid white panel, dark text -> strong contrast */
.navbar .dropdown-menu {
  background: #ffffff; border: 0; border-top: 3px solid var(--mb-secondary);
  border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.18);
  padding: 10px; margin-top: 10px; min-width: 260px;
}
.navbar .dropdown-item {
  color: #22333b; font-size: 14px; font-weight: 400; padding: 9px 14px;
  border-radius: 4px; white-space: normal;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus { background: var(--mb-primary); color: #fff; }
.navbar .dropdown-item .num { color: var(--mb-secondary); font-weight: 700; margin-right: 10px; font-size: 12px; }
.navbar .dropdown-item:hover .num { color: #fff; }

/* Mega services dropdown: two columns */
.dropdown-menu--mega { min-width: 440px; }
.dropdown-menu--mega .mega-grid { display: flex; flex-wrap: wrap; }
.dropdown-menu--mega .mega-grid .dropdown-item { flex: 0 0 50%; max-width: 50%; }
.dropdown-divider-all { margin: 8px 6px 4px; border-top: 1px solid var(--mb-line); }
.dropdown-item--all { color: var(--mb-primary); font-weight: 700; }

/* Keep the Get Free Quote pill readable in every state */
.navbar-expand-lg .navbar-nav .nav-link.contact { color: var(--mb-secondary); }
.navbar-expand-lg .navbar-nav .nav-link.contact:hover,
.navbar-expand-lg .navbar-nav .nav-link.contact:focus { background: var(--mb-secondary); color: var(--mb-dark); }

.navbar .dropdown-menu { display: none; }
@media (min-width: 992px) {
  .navbar .dropdown-menu { margin-top: 0; }
  .nav-item.dropdown:hover > .dropdown-menu,
  .nav-item.dropdown:focus-within > .dropdown-menu { display: block; }
}
@media (max-width: 991px) {
  .navbar-collapse { max-height: 80vh; overflow-y: auto; }
  .nav-item.dropdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
  .dd-caret { display: inline-block; }
  .nav-item.dropdown.open > .dropdown-menu { display: block; }
  .navbar .dropdown-menu { box-shadow: none; background: rgba(255,255,255,.08); border-top: 0; margin: 4px 0 10px; width: 100%; }
  .navbar .dropdown-item { color: #fff; }
  .navbar .dropdown-item:hover { background: rgba(255,255,255,.15); }
  .navbar .dropdown-item .num { color: var(--mb-secondary); }
  .dropdown-menu--mega, .dropdown-menu--mega .mega-grid .dropdown-item { min-width: 0; flex: 0 0 100%; max-width: 100%; }
  .nav-link { margin: 0 0.6em; }
}

/* ---------------------------------------- HERO ------------ */
.hero-mb { position: relative; padding: 6em 0 5.5em; overflow: hidden;
  background: var(--mb-primary);
  background: linear-gradient(135deg, var(--mb-deep) 0%, var(--mb-deep-d) 100%); }
.hero-mb::after { content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 100%;
  background: rgba(255,255,255,.04);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.hero-mb .container { position: relative; z-index: 1; }
.hero-mb .hero-copy { padding-right: 1.5em; }
.hero-eyebrow { display: inline-block; color: var(--mb-secondary); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px; margin-bottom: 18px; }
.hero-mb h1 { color: #fff; font-size: 40px; font-weight: 700; line-height: 1.15; }
.hero-mb h1 .hero-loc { display: block; font-size: 17px; font-weight: 400; letter-spacing: 1px;
  color: rgba(255,255,255,.82); margin-top: 14px; text-transform: uppercase; }
.hero-mb .hero-desc { color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.6; margin: 22px 0 28px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-image-mb { position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.hero-image-mb img { display: block; width: 100%; border-radius: 8px; }

/* Buttons */
.btn-mb { display: inline-block; border-radius: 100px; padding: 13px 28px; font-size: 16px;
  font-weight: 700; white-space: nowrap; border: 2px solid transparent; transition: all .25s ease; }
.btn-mb-solid { background: var(--mb-secondary); color: var(--mb-dark); }
.btn-mb-solid:hover { background: #fff; color: var(--mb-primary); }
.btn-mb-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-mb-outline:hover { background: #fff; color: var(--mb-primary); border-color: #fff; }
.btn-mb-primary { background: var(--mb-primary); color: #fff; }
.btn-mb-primary:hover { background: var(--mb-primary-d); color: #fff; }
.btn-mb i { margin-left: 8px; }

@media (max-width: 991px) {
  .hero-mb { padding-top: 3em; }
  .hero-mb::after { display: none; }
  .hero-mb h1 { font-size: 32px; }
  .hero-image-mb { margin-top: 2.5em; }
}

/* ---------------------------------------- WHATSAPP -------- */
.wa-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--mb-wa); }
.wa-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,.55); background: transparent;
  color: #fff; font-weight: 600; font-size: 15px; transition: all .25s ease; }
.wa-pill:hover { background: rgba(255,255,255,.12); color: #fff; }
.wa-pill .wa-arrow { margin-left: 2px; transition: transform .25s ease; }
.wa-pill:hover .wa-arrow { transform: translateX(4px); }
.wa-pill .wa-label { opacity: .85; }

/* Floating WhatsApp button */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 1030;
  width: 54px; height: 54px; border-radius: 50%; background: var(--mb-wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .25s ease, box-shadow .25s ease; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(37,211,102,.6); }
.wa-float .wa-icon { width: 30px; height: 30px; color: #fff; }
@media (max-width: 575px) { .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; } }

/* Footer WhatsApp pill */
.wa-pill--footer { border-color: rgba(255,255,255,.25); padding: 8px 16px; font-size: 14px; }
.wa-pill--footer:hover { background: rgba(255,255,255,.08); }

/* ---------------------------------------- ABOUT (home) ---- */
.home-about { padding: 6em 0; }
.about-media img { border-radius: 8px; box-shadow: 0 20px 45px rgba(0,0,0,.14); }
.about-body h2 { font-size: 32px; font-weight: 300; color: var(--mb-dark); line-height: 1.22; margin-bottom: 8px; }
.about-body h2 strong { color: var(--mb-primary); font-weight: 700; }
.about-body .about-loc { color: var(--mb-primary); font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; font-size: 13px; margin-bottom: 22px; }
.about-body p { font-size: 16.5px; color: #4f5659; }
.about-body .btn-mb { margin-top: 14px; }

/* ---------------------------------------- SERVICE PREVIEW - */
.svc-preview { background: var(--mb-bg); }
.svc-card { background: #fff; border-radius: 8px; overflow: hidden; height: 100%;
  box-shadow: 0 10px 30px rgba(10,50,60,.08); transition: transform .3s ease, box-shadow .3s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,50,60,.16); }
.svc-card .svc-thumb { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.svc-card .svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-thumb img { transform: scale(1.06); }
.svc-card .svc-num { position: absolute; top: 14px; left: 14px; background: var(--mb-secondary);
  color: var(--mb-dark); font-weight: 700; font-size: 13px; padding: 4px 11px; border-radius: 100px; }
.svc-card .svc-body { padding: 26px 24px 28px; }
.svc-card h3 { font-size: 21px; font-weight: 700; color: var(--mb-dark); margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: #5c6467; line-height: 1.55; margin-bottom: 16px; }
.svc-link { color: var(--mb-primary); font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.svc-link i { margin-left: 6px; transition: transform .25s ease; }
.svc-link:hover { color: var(--mb-secondary); }
.svc-link:hover i { transform: translateX(4px); }
.svc-preview-cta { text-align: center; margin-top: 3em; }

/* ---------------------------------------- WHY CHOOSE US ---
   Alternating rounded pills with circular number badges. */
.why { padding: 6em 0; }
.why-pills { max-width: 1000px; margin: 1.2em auto 0; display: flex; flex-direction: column; gap: 22px; }
.why-pill { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--mb-line);
  border-radius: 100px; padding: 15px 36px 15px 15px; box-shadow: 0 8px 22px rgba(10,50,60,.06);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.why-pill:hover { border-color: var(--mb-primary); box-shadow: 0 16px 34px rgba(10,50,60,.12); transform: translateY(-2px); }
.why-pill--left  { align-self: flex-start; width: 80%; }
.why-pill--right { align-self: flex-end;   width: 72%; }
.why-badge { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: var(--mb-primary);
  color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(24,63,61,.32); }
.why-pill:hover .why-badge { background: var(--mb-primary-d); }
.why-pill-text { font-size: 17px; font-weight: 700; color: var(--mb-dark); line-height: 1.4; margin: 0; }

/* Circular badge fades/pops in with the pill (only while AOS is active) */
html:not(.no-aos) .why-pill .why-badge { opacity: 0; transform: scale(.5); }
html:not(.no-aos) .why-pill.aos-animate .why-badge {
  opacity: 1; transform: scale(1);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1.2); transition-delay: .18s; }

@media (max-width: 991px) {
  .why-pill--left, .why-pill--right { width: 92%; }
}
@media (max-width: 575px) {
  .why-pills { gap: 16px; }
  .why-pill--left, .why-pill--right { width: 100%; align-self: stretch; }
  .why-pill { gap: 16px; padding: 13px 22px 13px 13px; }
  .why-badge { width: 48px; height: 48px; font-size: 16px; }
  .why-pill-text { font-size: 15.5px; }
}

/* ---------------------------------------- VESSELS --------- */
.vessels { background: var(--mb-deep); color: #fff; padding: 6em 0; }
.vessels .sec-head h2 { color: #fff; }
.vessels .sec-head h2 strong { color: var(--mb-secondary); }
.vessels .sec-head p { color: rgba(255,255,255,.7); }
.vessels .sec-kicker { color: var(--mb-secondary); }
/* Alternating numbered typographic list (two columns of seven) */
.vessel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; max-width: 1000px; margin: 1.6em auto 0; }
.v-col { list-style: none; margin: 0; padding: 0; }
.v-col--offset { margin-top: 3em; }
.v-row { display: flex; align-items: baseline; gap: 26px; padding: 22px 6px;
  border-bottom: 1px solid rgba(255,255,255,.12); transition: border-color .3s ease; }
.v-row .v-no { flex: 0 0 auto; min-width: 54px; font-size: 30px; font-weight: 700; line-height: 1;
  color: var(--mb-secondary); font-variant-numeric: tabular-nums; }
.v-row .v-name { font-size: 20px; font-weight: 700; color: #fff;
  transition: color .25s ease, transform .25s ease; }
.v-row:hover { border-bottom-color: rgba(255,255,255,.42); }
.v-row:hover .v-name { color: var(--mb-secondary); transform: translateX(5px); }
@media (max-width: 991px) {
  .vessel-list { gap: 0 40px; }
  .v-row { padding: 18px 4px; }
  .v-row .v-no { font-size: 26px; min-width: 46px; }
  .v-row .v-name { font-size: 18px; }
}
@media (max-width: 575px) {
  .vessel-list { grid-template-columns: 1fr; gap: 0; }
  .v-col--offset { margin-top: 0; }
  .v-row { gap: 20px; }
}

/* ---------------------------------------- CTA BAND -------- */
.cta-band { background: linear-gradient(120deg, var(--mb-deep) 0%, var(--mb-deep-d) 100%);
  padding: 4.5em 0; }
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-weight: 300; font-size: 30px; margin-bottom: 8px; }
.cta-band h2 strong { color: var(--mb-secondary); font-weight: 700; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 16px; margin: 0; max-width: 620px; }

/* ------------------------------------ CTA SPLIT-SCREEN ----
   Full-width maritime image (left) + teal CTA panel (right). */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; }
.cta-split-media { position: relative; min-height: 440px; }
.cta-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-split-panel { background: linear-gradient(120deg, var(--mb-deep) 0%, var(--mb-deep-d) 100%);
  display: flex; align-items: center; }
.cta-split-inner { padding: 5.5em 5em; max-width: 660px; }
.cta-split-panel h2 { color: #fff; font-weight: 300; font-size: 34px; line-height: 1.2; margin-bottom: 18px; }
.cta-split-panel h2 strong { color: var(--mb-secondary); font-weight: 700; }
.cta-split-panel p { color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.65; margin-bottom: 30px; }
@media (max-width: 991px) {
  .cta-split-inner { padding: 4em 2.75em; }
  .cta-split-media { min-height: 360px; }
  .cta-split-panel h2 { font-size: 30px; }
}
@media (max-width: 767px) {
  .cta-split { grid-template-columns: 1fr; }
  .cta-split-media { min-height: 260px; }
  .cta-split-inner { padding: 3em 1.5em; max-width: none; }
  .cta-split-panel h2 { font-size: 26px; }
}

/* ---------------------------------------- PAGE HERO ------- */
.page-hero { background: linear-gradient(165deg, var(--mb-deep) 70%, var(--mb-deep-d) 70%);
  padding: 7em 0 4.5em; color: #fff; }
.page-hero .crumbs { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13px; color: rgba(255,255,255,.7); }
.page-hero .crumbs li { display: inline; }
.page-hero .crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255,255,255,.45); }
.page-hero .crumbs a { color: rgba(255,255,255,.85); }
.page-hero .crumbs a:hover { color: var(--mb-secondary); }
.page-hero h1 { color: #fff; font-size: 40px; font-weight: 700; line-height: 1.15; }
.page-hero h1 em { font-style: normal; color: var(--mb-secondary); }
.page-hero .lede { color: rgba(255,255,255,.9); font-size: 18px; margin-top: 16px; max-width: 720px; }
.page-hero .hero-note { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 10px; letter-spacing: .5px; }
@media (max-width: 767px) { .page-hero h1 { font-size: 30px; } .page-hero { padding-top: 4em; } }

/* ---------------------------------------- SERVICES PAGE --- */
.svc-index { background: var(--mb-bg); border-bottom: 1px solid var(--mb-line); position: sticky; top: 0; z-index: 5; }
.svc-index ol { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 8px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; }
.svc-index li { flex: 0 0 auto; }
.svc-index a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 100px;
  font-size: 13px; color: var(--mb-ink); background: #fff; border: 1px solid var(--mb-line); white-space: nowrap; }
.svc-index a span { color: var(--mb-primary); font-weight: 700; }
.svc-index a:hover { background: var(--mb-primary); color: #fff; }
.svc-index a:hover span { color: var(--mb-secondary); }

.svc-block { padding: 5em 0; scroll-margin-top: 70px; }
.svc-block.alt { background: var(--mb-bg); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.svc-block.flip .svc-media-col { order: 2; }
.svc-media-col img { width: 100%; border-radius: 8px; box-shadow: 0 18px 40px rgba(10,50,60,.14); object-fit: cover; }
.svc-cat { display: inline-block; color: var(--mb-primary); font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.svc-block h2 { font-size: 28px; font-weight: 700; color: var(--mb-dark); margin-bottom: 16px; }
.svc-block .copy p { font-size: 16px; color: #4f5659; line-height: 1.7; }
.svc-list-label { font-weight: 700; color: var(--mb-dark); margin: 18px 0 6px; font-size: 15px; }
.dot-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 7px 22px; }
.dot-list li { position: relative; padding-left: 20px; font-size: 14.5px; color: #4f5659; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  background: var(--mb-secondary); border-radius: 2px; transform: rotate(45deg); }
@media (max-width: 859px) {
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-block.flip .svc-media-col { order: 0; }
  .dot-list { grid-template-columns: 1fr; }
}

/* ---------------------------------------- PORT PAGE ------- */
.navbar .dropdown-menu--ports {
  max-height: min(65vh, 540px); overflow-y: auto; overscroll-behavior: contain;
  min-width: 0; padding: 18px; counter-reset: port;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px;
  scrollbar-width: thin; scrollbar-color: var(--mb-secondary) #f4f7f5;
}
.navbar .dropdown-menu--ports .dropdown-item {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px;
  align-content: start; padding: 12px 10px; line-height: 1.55;
}
.navbar .dropdown-menu--ports .dropdown-item::before {
  counter-increment: port; content: counter(port, decimal-leading-zero);
  color: var(--mb-secondary); font-size: 12px; font-weight: 700; padding-top: 2px;
}
.navbar .dropdown-menu--ports .dropdown-item:hover::before,
.navbar .dropdown-menu--ports .dropdown-item:focus::before { color: #fff; }
@media (min-width: 992px) {
  .navbar .dropdown-menu--ports { width: min(720px, 70vw); left: auto; right: 0; }
  .nav-item.dropdown:hover > .dropdown-menu--ports,
  .nav-item.dropdown:focus-within > .dropdown-menu--ports { display: grid; }
}
@media (max-width: 991px) {
  .nav-item.dropdown.open > .dropdown-menu--ports { display: grid; }
  .navbar .dropdown-menu--ports { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
}
@media (max-width: 575px) {
  .navbar .dropdown-menu--ports { grid-template-columns: minmax(0, 1fr); }
}
.port-section { padding: 5em 0; }
.port-prose { max-width: 820px; }
.port-prose h2 { font-size: 26px; font-weight: 700; color: var(--mb-dark); margin: 1.6em 0 .6em; }
.port-prose h2:first-child { margin-top: 0; }
.port-prose p { font-size: 16.5px; color: #4f5659; line-height: 1.75; margin-bottom: 1em; }
.port-list { list-style: none; padding: 0; margin: 1em 0 1.6em; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.port-list li { position: relative; padding-left: 22px; font-size: 15.5px; color: #4f5659; }
.port-list li::before { content: "\f111"; font-family: FontAwesome; font-size: 7px; color: var(--mb-secondary);
  position: absolute; left: 0; top: 6px; }
@media (max-width: 767px) { .port-list { grid-template-columns: 1fr; } }

/* ---------------------------------------- FORMS ----------- */
.form-card { background: #fff; border: 1px solid var(--mb-line); border-radius: 10px;
  padding: 36px 34px; box-shadow: 0 16px 40px rgba(10,50,60,.07); }
.form-title { font-size: 24px; font-weight: 700; color: var(--mb-dark); margin-bottom: 6px; }
.form-intro { font-size: 15px; color: #5c6467; margin-bottom: 20px; }
.form-section-label { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mb-dark);
  font-size: 15px; margin: 22px 0 12px; }
.form-section-label span { width: 24px; height: 24px; border-radius: 50%; background: var(--mb-primary);
  color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--mb-ink); margin-bottom: 6px; }
.form-label .req { color: #d9534f; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--mb-bg); border: 1px solid var(--mb-line); border-radius: 6px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--mb-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--mb-primary); box-shadow: 0 0 0 3px rgba(55,122,101,.16); background: #fff; }
.field-error { color: #d9534f; font-size: 12.5px; min-height: 1em; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; }
.form-submit { margin-top: 22px; background: var(--mb-primary); color: #fff; border: 0; border-radius: 100px;
  padding: 15px 34px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .25s ease; }
.form-submit:hover { background: var(--mb-primary-d); }
.form-hint { font-size: 14px; color: #5c6467; margin-top: 16px; }
.form-hint a { color: var(--mb-primary); font-weight: 700; }
.form-note { margin-top: 14px; font-size: 14.5px; font-weight: 600; min-height: 1em; }
.form-note.ok { color: var(--mb-primary); }
@media (max-width: 575px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }

/* Required-services checkboxes */
.svc-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; margin: 4px 0 8px; }
.svc-checks .chk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #4f5659; cursor: pointer; }
.svc-checks .chk input { width: 16px; height: 16px; accent-color: var(--mb-primary); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; }
.file-list li { font-size: 13px; color: var(--mb-primary); padding: 4px 0; }
@media (max-width: 767px) { .svc-checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-checks { grid-template-columns: 1fr; } }

/* RFQ aside */
.quote-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.quote-aside .steps { list-style: none; padding: 0; margin: 20px 0; counter-reset: step; }
.quote-aside .steps li { position: relative; padding: 0 0 18px 42px; counter-increment: step; }
.quote-aside .steps li::before { content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; background: var(--mb-secondary); color: var(--mb-dark);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.quote-aside .steps li strong { display: block; color: var(--mb-dark); margin-bottom: 2px; }
.quote-aside .steps li { font-size: 14.5px; color: #5c6467; }
@media (max-width: 859px) { .quote-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============ GET FREE QUOTE (RFQ) — timeline + minimalist form ============
   Scoped to #rfq so the shared form styles on the Contact page are unchanged. */
@media (min-width: 860px) { #rfq .quote-grid { grid-template-columns: 0.54fr 1fr; gap: 56px; } }

/* Left: connected vertical timeline */
#rfq .quote-aside .steps { margin: 28px 0 0; }
#rfq .quote-aside .steps li { padding: 0 0 34px 56px; color: #5f6b66; font-size: 14.5px; }
#rfq .quote-aside .steps li:last-child { padding-bottom: 0; }
#rfq .quote-aside .steps li::before {           /* number badge (emerald accent) */
  width: 34px; height: 34px; top: 0; left: 0; font-size: 14px;
  background: var(--mb-primary); color: #fff; border: 2px solid var(--mb-primary);
  box-shadow: 0 0 0 4px var(--mb-ivory); z-index: 1; }
#rfq .quote-aside .steps li::after {            /* sage connecting line through badge centres */
  content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px;
  background: var(--mb-secondary); z-index: 0; }
#rfq .quote-aside .steps li:last-child::after { display: none; }
#rfq .quote-aside .steps li strong { color: var(--mb-dark); font-size: 15.5px; }

/* Right: minimalist form (no heavy card border/shadow) */
#rfq .form-card { background: #fff; border: 0; box-shadow: none; border-radius: 8px; padding: 30px 34px; }
#rfq .form-section-label { margin: 34px 0 16px; padding-top: 26px; border-top: 1px solid var(--mb-line); }
#rfq .form-section-label:first-of-type { margin-top: 10px; padding-top: 0; border-top: 0; }

/* Clean white inputs with sage borders + emerald focus */
#rfq .field input, #rfq .field select, #rfq .field textarea {
  background: #fff; border: 1px solid var(--mb-secondary); color: var(--mb-dark); border-radius: 7px; }
#rfq .field input::placeholder, #rfq .field textarea::placeholder { color: #929c98; opacity: 1; }
#rfq .field input:focus, #rfq .field select:focus, #rfq .field textarea:focus {
  border-color: var(--mb-primary); box-shadow: 0 0 0 3px rgba(55,122,101,.16); background: #fff; }
#rfq .field.invalid input, #rfq .field.invalid select, #rfq .field.invalid textarea { border-color: #d9534f; }

/* Submit: deep marine green, hover emerald */
#rfq .form-submit { background: var(--mb-deep); border-radius: 8px; }
#rfq .form-submit:hover { background: var(--mb-primary); }
@media (max-width: 575px) { #rfq .form-card { padding: 22px 16px; } }

/* Contact details */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 859px) { .grid-2 { grid-template-columns: 1fr; gap: 30px; } }
.contact-details { list-style: none; padding: 0; margin: 1.4em 0 0; }
.contact-details li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--mb-line); }
.contact-details li:last-child { border-bottom: 0; }
.contact-details i { color: var(--mb-primary); font-size: 18px; width: 24px; text-align: center; margin-top: 3px; }
.contact-details b { display: block; color: var(--mb-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.contact-details a, .contact-details span { color: #4f5659; font-size: 15.5px; }
.contact-details a:hover { color: var(--mb-primary); }

.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--mb-bg); padding: 18px 22px; border-radius: 8px 8px 0 0; }
.map-bar p { margin: 0; color: var(--mb-dark); font-size: 15px; }
.map-bar i { color: var(--mb-primary); margin-right: 8px; }
#map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 0 0 8px 8px; }

/* ============ CONTACT — floating white form over deep green ============
   Scoped to #contact-us so shared form/contact styles stay unchanged elsewhere. */
#contact-us { background: var(--mb-deep); padding-top: 7em; padding-bottom: 8em; }
@media (min-width: 860px) { #contact-us .grid-2 { grid-template-columns: 0.67fr 1fr; gap: 56px; } }

/* Left: company information on green */
#contact-us .sec-kicker { color: var(--mb-secondary); }
#contact-us .sec-head h2 { color: #fff; }
#contact-us .sec-head h2 strong { color: var(--mb-secondary); }
#contact-us .contact-details li { border-bottom-color: rgba(255,255,255,.14); }
#contact-us .contact-details i { color: var(--mb-secondary); }
#contact-us .contact-details b { color: var(--mb-secondary); }
#contact-us .contact-details a, #contact-us .contact-details span { color: rgba(255,255,255,.9); }
#contact-us .contact-details a:hover { color: var(--mb-secondary); }

/* Right: floating white form */
#contact-us .form-card { background: #fff; border: 0; border-radius: 18px;
  box-shadow: 0 30px 60px rgba(9,30,29,.32); padding: 40px 40px; }
@media (min-width: 860px) { #contact-us .form-card { transform: translateY(-28px); } }

/* Clean white inputs with sage borders + emerald focus */
#contact-us .field input, #contact-us .field textarea {
  background: #fff; border: 1px solid var(--mb-secondary); color: var(--mb-dark); border-radius: 7px; }
#contact-us .field input::placeholder, #contact-us .field textarea::placeholder { color: #929c98; opacity: 1; }
#contact-us .field input:focus, #contact-us .field textarea:focus {
  border-color: var(--mb-primary); box-shadow: 0 0 0 3px rgba(55,122,101,.16); background: #fff; }
#contact-us .field.invalid input, #contact-us .field.invalid textarea { border-color: #d9534f; }

/* Submit: deep marine green, hover emerald */
#contact-us .form-submit { background: var(--mb-deep); border-radius: 8px; }
#contact-us .form-submit:hover { background: var(--mb-primary); }
@media (max-width: 575px) { #contact-us .form-card { padding: 26px 20px; } }

/* ---------------------------------------- FOOTER ---------- */
.site-footer { background: var(--mb-deep); padding: 5em 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 3.5em; }
.footer-logo img { height: 56px; width: auto; background: #fff; border-radius: 6px; padding: 5px 7px; }
.footer-text { color: rgba(255,255,255,.62); font-size: 14.5px; line-height: 1.6; margin-top: 18px; }
.footer-text strong { color: #fff; }
.footer-title { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px;
  font-family: var(--base-font-family); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 14.5px; }
.footer-links a:hover { color: var(--mb-secondary); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 14px; color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.5; }
.footer-contact .fc-label { display: block; color: rgba(255,255,255,.45); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: var(--mb-secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 13.5px; margin: 0; }
@media (max-width: 991px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------- REVEAL (AOS fallback) */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-aos] { transition: none !important; transform: none !important; opacity: 1 !important; }
}
