/* ==========================================================================
   RKB Group — Nautical Theme
   Layered over main.css. Overrides brand variables (re-themes ~90 usages)
   and adds bespoke components for the redesigned pages.
   Palette: hull navy · ocean blue · seafoam/teal · brass gold
   ========================================================================== */

:root {
  /* Re-theme the base template by overriding its variables */
  --color-default: #1f2d3a;
  --color-primary: #0f5c8c;     /* ocean blue — links, accents, buttons */
  --color-secondary: #0a2540;   /* hull navy */

  /* New brand tokens */
  --navy-900: #071a2f;
  --navy-800: #0a2540;
  --navy-700: #0e3352;
  --ocean-600: #0f5c8c;
  --ocean-500: #1877b5;
  --teal-500: #17a6a0;
  --teal-400: #2bb9b0;
  --brass-500: #c69121;
  --brass-400: #e2ad3c;
  --sand-050: #f4f7fa;
  --sand-100: #eaf1f6;
  --ink-700: #33475b;
  --ink-500: #5b6b7b;

  --font-primary: "Poppins", "Roboto", sans-serif;
  --font-secondary: "Poppins", "Work Sans", sans-serif;
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 18px 45px rgba(10, 37, 64, 0.14);
  --radius: 16px;
}

body {
  color: var(--ink-700);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  font-family: var(--font-primary);
  color: var(--navy-800);
  font-weight: 700;
}

a { color: var(--ocean-600); }
a:hover { color: var(--teal-500); }

.container { position: relative; }

/* Utility: eyebrow label */
.rkb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.rkb-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass-400);
  display: inline-block;
}
.text-center .rkb-eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass-400);
  display: inline-block;
}

/* ------------------------------------------------------------------ Header */
#header.header {
  background: transparent !important;
  transition: all 0.35s ease;
  padding: 6px 0;
  z-index: 997;
}
#header.header.scrolled,
body:not(.home) #header.header {
  background: rgba(7, 26, 47, 0.96) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
#header .logo img { min-height: 46px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }

/* Nav links: force light on dark header, override inline black */
#header .navbar a,
#header .navbar a:focus {
  color: #eaf1f6 !important;
  font-family: var(--font-secondary);
  font-weight: 500;
  letter-spacing: .2px;
  transition: color .25s ease;
}
#header .navbar a:hover,
#header .navbar a.active {
  color: #fff !important;
}
#header .navbar > ul > li > a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--brass-400);
  transition: width .25s ease;
  margin-top: 4px;
}
#header .navbar > ul > li > a:hover::after,
#header .navbar > ul > li > a.active::after { width: 100%; }
#header .navbar .dropdown ul { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); border: none; }
#header .navbar .dropdown ul a { color: var(--navy-800) !important; }
#header .navbar .dropdown ul a:hover { background: var(--sand-100); color: var(--ocean-600) !important; }

@media (max-width: 1279px) {
  /* Mobile menu is a dark overlay panel (main.css: rgba(0,0,0,.8)) —
     keep all links light so they stay readable. */
  #header .navbar a, #header .navbar a:focus { color: #eaf1f6 !important; }
  #header .navbar a:hover, #header .navbar a.active { color: #fff !important; }
  #header .navbar .dropdown ul { background: transparent; box-shadow: none; }
  #header .navbar .dropdown ul a { color: rgba(255, 255, 255, 0.72) !important; }
  #header .navbar .dropdown ul a:hover { background: transparent; color: #fff !important; }

  /* backdrop-filter on #header makes it the containing block for the position:fixed
     off-canvas menu, trapping/clipping it inside the header box on internal & scrolled
     pages. Drop it on mobile so the panel is fixed to the viewport and covers the screen.
     (Header bg is rgba(7,26,47,.96) — near-opaque — so losing the blur is imperceptible.) */
  #header.header.scrolled,
  body:not(.home) #header.header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.mobile-nav-toggle { color: #fff; }
body:not(.home) .mobile-nav-toggle,
.scrolled .mobile-nav-toggle { color: #fff; }

/* ------------------------------------------------------------------ Buttons */
.rkb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all .28s ease;
  cursor: pointer;
  text-decoration: none;
}
.rkb-btn i { transition: transform .28s ease; }
.rkb-btn:hover i { transform: translateX(4px); }
.rkb-btn--gold {
  background: linear-gradient(135deg, var(--brass-400), var(--brass-500));
  color: #1c1403;
  box-shadow: 0 12px 26px rgba(198, 145, 33, 0.35);
}
.rkb-btn--gold:hover { color: #1c1403; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(198,145,33,.45); }
.rkb-btn--ocean { background: var(--ocean-600); color: #fff; }
.rkb-btn--ocean:hover { background: var(--ocean-500); color: #fff; transform: translateY(-2px); }
.rkb-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.04); }
.rkb-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.rkb-btn--outline { border-color: var(--ocean-600); color: var(--ocean-600); }
.rkb-btn--outline:hover { background: var(--ocean-600); color: #fff; }

/* ------------------------------------------------------------------ Section headers */
.section-header h2 {
  font-size: 40px;
  color: var(--navy-800);
}
.section-header h2::before, .section-header h2::after { display: none; }
.rkb-section-title { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.rkb-section-title h2 { font-size: 40px; line-height: 1.15; margin: 6px 0 14px; }
.rkb-section-title p { color: var(--ink-500); font-size: 17px; margin: 0; }

/* ==================================================================== HERO */
.rkb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.rkb-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  animation: rkbSlowZoom 18s ease-in-out infinite alternate;
}
@keyframes rkbSlowZoom { to { transform: scale(1.14); } }
.rkb-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,26,47,.65) 0%, rgba(7,26,47,.55) 40%, rgba(7,26,47,.85) 100%),
    linear-gradient(90deg, rgba(7,26,47,.85) 0%, rgba(7,26,47,.15) 70%);
}
.rkb-hero__inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 120px;
}
.rkb-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 600; font-size: 13px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 22px;
}
.rkb-hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--brass-400); }
.rkb-hero h1 {
  color: #fff;
  font-size: 62px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.rkb-hero h1 span { color: var(--teal-400); }
.rkb-hero__lead {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(234,241,246,.9);
  max-width: 620px;
  margin-bottom: 34px;
}
.rkb-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.rkb-hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: nowrap;
  align-items: flex-start;
}
.rkb-hero__stat span {
  display: block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 40px;
  color: #fff;
  line-height: 1;
}
.rkb-hero__stat small {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(234,241,246,.7);
}
.rkb-hero__stat + .rkb-hero__stat { border-left: 1px solid rgba(255,255,255,.18); padding-left: 40px; }
.rkb-hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7); font-size: 26px;
  animation: rkbBob 2s ease-in-out infinite;
}
@keyframes rkbBob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,10px);} }

@media (max-width: 991px) {
  .rkb-hero h1 { font-size: 42px; }
  .rkb-hero__inner { padding: 120px 0 90px; }
  .rkb-hero::before { background: linear-gradient(180deg, rgba(7,26,47,.72), rgba(7,26,47,.9)); }
}
@media (max-width: 575px) {
  .rkb-hero h1 { font-size: 33px; }
  .rkb-hero__lead { font-size: 16px; }
  .rkb-hero__cta .rkb-btn { padding: 12px 22px; font-size: 14px; }
  .section-header h2, .rkb-section-title h2, .rkb-cta h2, .breadcrumbs h2 { font-size: 28px; }
}

/* Wave divider */
.rkb-wave { display: block; width: 100%; height: 70px; margin-top: -1px; }
.rkb-wave svg { display: block; width: 100%; height: 100%; }

/* ============================================================ Marquee strip */
.rkb-strip {
  background: var(--navy-800);
  color: #cfe0ec;
  padding: 16px 0;
  overflow: hidden;
}
.rkb-strip__track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: rkbMarquee 28s linear infinite;
  width: max-content;
}
.rkb-strip span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-secondary); font-weight: 500; letter-spacing: .5px; font-size: 15px; }
.rkb-strip i { color: var(--brass-400); }
@keyframes rkbMarquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ============================================================ Stats counter */
.stats-counter { background: var(--sand-050); position: relative; }
.stats-counter .stats-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px !important;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-100);
  border-top: 3px solid var(--brass-400);
  flex-direction: column; text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
}
.stats-counter .stats-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stats-counter .stats-item i {
  color: var(--ocean-600) !important;
  font-size: 34px; margin: 0 0 10px 0; padding: 0;
}
.stats-counter .stats-item span { font-family: var(--font-primary); color: var(--navy-800); font-size: 40px; }
.stats-counter .stats-item p { color: var(--ink-500); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .8px; margin: 0; }

/* ============================================================ Business cards */
.constructions { background: #fff; }
.constructions .card-item {
  border: 1px solid var(--sand-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
  height: 100%;
}
.constructions .card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.constructions .card-item .card-bg { min-height: 260px; transition: transform .5s ease; }
.constructions .card-item:hover .card-bg { transform: scale(1.06); }
.constructions .card-item .card-body { padding: 28px 26px; }
.constructions .card-item h4 { font-size: 21px; margin-bottom: 10px; }
.constructions .card-item h4::after { content: ""; display:block; width: 40px; height: 3px; background: var(--brass-400); margin-top: 10px; border-radius: 3px; }
.constructions .card-item p { color: var(--ink-500); font-size: 15px; line-height: 1.7; }
.constructions .card-item p a { color: var(--ocean-600); font-weight: 600; }

/* Business tag chip */
.rkb-chip {
  display:inline-block; font-size:11px; font-weight:600; letter-spacing:1px; text-transform:uppercase;
  color: var(--teal-500); background: rgba(23,166,160,.1); padding: 5px 12px; border-radius: 40px; margin-bottom: 14px;
}

/* ============================================================ Feature tabs */
.features .nav-tabs .nav-link { border: none; background: var(--sand-100); color: var(--navy-700); border-radius: 12px; }
.features .nav-tabs .nav-link.active { background: var(--navy-800); color: #fff; }
.features .nav-tabs .nav-link.active h4 { color: #fff; }
.features .nav-tabs .nav-link h4 { color: var(--navy-700); }
.features .tab-pane img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.features h3 { font-size: 30px; }
.features ul li i { color: var(--teal-500); }

/* ============================================================ Value / brokers */
.rkb-value { background: var(--sand-050); }
.rkb-valuecard {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; height: 100%;
  border: 1px solid var(--sand-100); box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.rkb-valuecard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.rkb-valuecard__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ocean-600), var(--navy-700));
  color: #fff; font-size: 26px; margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(15,92,140,.3);
}
.rkb-valuecard h4 { font-size: 19px; margin-bottom: 10px; }
.rkb-valuecard p { color: var(--ink-500); font-size: 15px; line-height: 1.7; margin: 0; }

/* ============================================================ CTA band */
.rkb-cta {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
  overflow: hidden;
}
.rkb-cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border: 2px solid rgba(255,255,255,.06); border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,.03);
}
.rkb-cta > .container { padding-top: 64px; padding-bottom: 64px; }
.rkb-cta h2 { color: #fff; font-size: 38px; }
.rkb-cta p { color: rgba(234,241,246,.85); font-size: 17px; }

/* ============================================================ Compliance row */
.rkb-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.rkb-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--sand-100); border-radius: 50px;
  padding: 12px 22px; font-weight: 600; color: var(--navy-800); font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.rkb-badge i { color: var(--teal-500); font-size: 18px; }

/* ============================================================ Breadcrumbs */
.breadcrumbs { position: relative; }
.breadcrumbs::before { background: rgba(7,26,47,.72) !important; }
.breadcrumbs h2 { font-size: 46px; }
.breadcrumbs .container::after {
  content: ""; display: block; width: 60px; height: 3px; background: var(--brass-400);
  margin-top: 16px; border-radius: 3px;
}

/* ============================================================ Footer */
.footer { background: var(--navy-900); }
.footer .footer-content { padding-top: 60px; }
.footer .footer-info h3 { color: #fff; }
.footer h4 { color: #fff; position: relative; padding-bottom: 12px; }
.footer h4::after { content:""; position:absolute; left:0; bottom:0; width:32px; height:2px; background: var(--brass-400); }
.footer a { color: #9db4c6; }
.footer a:hover { color: var(--teal-400); }
.footer .social-links a {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #cfe0ec; transition: all .25s ease;
}
.footer .social-links a:hover { background: var(--brass-500); border-color: var(--brass-500); color: #1c1403; }
.rkb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px; padding: 22px 0; text-align: center;
  color: #7d95a8; font-size: 14px;
}

/* ============================================================ Scroll top */
.scroll-top { background: var(--ocean-600); }
.scroll-top:hover { background: var(--brass-500); }

/* ==================================================================== SHIPS */
.rkb-fleet-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius); padding: 40px; margin-bottom: 30px;
  position: relative; overflow: hidden;
}
.rkb-fleet-hero h3 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.rkb-fleet-hero p { color: rgba(234,241,246,.8); margin: 0; max-width: 640px; }
.rkb-fleet-hero__count { font-size: 15px; }
.rkb-fleet-hero__count b { color: var(--brass-400); font-size: 30px; }

.rkb-fleet-controls {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
  position: sticky; top: 76px; z-index: 20;
}
.rkb-search {
  position: relative;
}
.rkb-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-500); }
.rkb-search input {
  width: 100%; padding: 14px 16px 14px 46px; border-radius: 50px;
  border: 1.5px solid var(--sand-100); background: var(--sand-050); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rkb-search input:focus { outline: none; border-color: var(--ocean-500); background: #fff; box-shadow: 0 0 0 4px rgba(15,92,140,.1); }

.rkb-filter-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rkb-filter-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-500); margin-right: 4px; }
.rkb-select {
  padding: 11px 40px 11px 16px; border-radius: 50px; border: 1.5px solid var(--sand-100);
  background: var(--sand-050) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b7b' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 16px center;
  font-size: 14px; font-weight: 500; color: var(--navy-800); appearance: none; cursor: pointer;
}
.rkb-select:focus { outline: none; border-color: var(--ocean-500); }

.rkb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rkb-tab {
  padding: 9px 18px; border-radius: 50px; border: 1.5px solid var(--sand-100);
  background: #fff; color: var(--ink-700); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s ease; display: inline-flex; align-items: center; gap: 8px;
}
.rkb-tab:hover { border-color: var(--ocean-500); color: var(--ocean-600); }
.rkb-tab.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.rkb-tab .rkb-tab__n { font-size: 12px; opacity: .7; }

.rkb-result-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.rkb-result-bar__count { font-size: 15px; color: var(--ink-500); }
.rkb-result-bar__count b { color: var(--navy-800); }
.rkb-clear { background: none; border: none; color: var(--ocean-600); font-weight: 600; cursor: pointer; font-size: 14px; }
.rkb-clear:hover { color: var(--teal-500); }

/* Table redesign */
.rkb-table-wrap { border: 1px solid var(--sand-100); border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-sm); background: #fff; }
.rkb-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14.5px; }
.rkb-table thead th {
  background: var(--navy-800); color: #fff; text-align: left; padding: 16px 18px;
  font-family: var(--font-secondary); font-weight: 600; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  position: sticky; top: 0; cursor: pointer; user-select: none; white-space: nowrap;
}
.rkb-table thead th:hover { background: var(--navy-700); }
.rkb-table thead th .rkb-sort { opacity: .4; margin-left: 6px; font-size: 11px; }
.rkb-table thead th.sorted-asc .rkb-sort,
.rkb-table thead th.sorted-desc .rkb-sort { opacity: 1; color: var(--brass-400); }
.rkb-table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--sand-100); color: var(--ink-700); vertical-align: middle; }
.rkb-table tbody tr { transition: background .15s ease; }
.rkb-table tbody tr:nth-child(even) { background: var(--sand-050); }
.rkb-table tbody tr:hover { background: var(--sand-100); }
.rkb-table .rkb-sr { color: var(--ink-500); font-weight: 600; width: 60px; }
.rkb-table .rkb-vessel { font-weight: 600; color: var(--navy-800); }
.rkb-table .rkb-vessel::before { content: "\F52D"; font-family: "bootstrap-icons"; color: var(--ocean-500); margin-right: 10px; font-size: 14px; opacity:.75; }
.rkb-type-badge {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 40px;
  background: var(--sand-100); color: var(--navy-700); white-space: nowrap;
}
.rkb-type-badge[data-cat="BULK-CARRIER"] { background: rgba(15,92,140,.12); color: var(--ocean-600); }
.rkb-type-badge[data-cat="GENERAL-CARGO"] { background: rgba(23,166,160,.14); color: #0f766e; }
.rkb-type-badge[data-cat="TANKER"] { background: rgba(198,145,33,.16); color: #8a6410; }
.rkb-type-badge[data-cat="CONTAINER"] { background: rgba(120,80,200,.12); color: #5b3fb0; }
.rkb-empty { padding: 60px 20px; text-align: center; color: var(--ink-500); }
.rkb-empty i { font-size: 48px; color: var(--sand-100); display:block; margin-bottom: 14px; }
.rkb-fleet-note { font-size: 13px; color: var(--ink-500); margin-top: 14px; text-align: center; }

@media (max-width: 767px) {
  .rkb-fleet-controls { position: static; }
  /* Force a real width so the 7 columns stay readable and the wrap scrolls
     horizontally instead of crushing/clipping on narrow screens. */
  .rkb-table { font-size: 13px; min-width: 720px; }
  .rkb-table thead th, .rkb-table tbody td { padding: 11px 12px; }

  /* Hero stats: keep all three on one row, compact */
  .rkb-hero__stats { gap: 14px; margin-top: 38px; }
  .rkb-hero__stat { flex: 1 1 0; min-width: 0; }
  .rkb-hero__stat span { font-size: 26px; }
  .rkb-hero__stat small { font-size: 9.5px; letter-spacing: .4px; }
  .rkb-hero__stat + .rkb-hero__stat { padding-left: 14px; }

  /* Compact stat-counter cards so they don't eat scroll */
  .stats-counter .stats-item { padding: 18px 10px !important; }
  .stats-counter .stats-item i { font-size: 24px; margin-bottom: 6px; }
  .stats-counter .stats-item span { font-size: 30px; }
  .stats-counter .stats-item p { font-size: 10.5px; letter-spacing: .4px; }

  /* Tighten full-width dark cards so text isn't cramped on phones */
  .rkb-highlight { padding: 30px 22px; }
  .rkb-highlight h3 { font-size: 24px; }
  .rkb-fleet-hero { padding: 26px 22px; }
  .rkb-cta > .container { padding: 48px 22px; }
  .rkb-cta h2 { font-size: 26px; }

  /* Reorder the home page on mobile: lead with what we do */
  body.home #main { display: flex; flex-direction: column; }
  body.home #main #businesses    { order: 1; }
  body.home #main #why-rkb       { order: 2; }
  body.home #main #stats-counter { order: 3; }
  body.home #main #features      { order: 4; }
  body.home #main .rkb-cta       { order: 5; }
}

/* ==========================================================================
   INTERNAL PAGES — nautical component kit
   ========================================================================== */

/* ---------------------------------------------------- Page hero (breadcrumb) */
.rkb-page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.rkb-page-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 120% at 15% 20%, rgba(15,92,140,.35), transparent 55%),
    linear-gradient(180deg, rgba(7,26,47,.72) 0%, rgba(7,26,47,.78) 55%, rgba(7,26,47,.92) 100%);
}
/* Vertical padding only — leave left/right to the Bootstrap .container gutter,
   otherwise the shorthand's 0 wipes the side padding and text goes flush to the edge on mobile. */
.rkb-page-hero__inner { position: relative; z-index: 3; padding-top: 120px; padding-bottom: 90px; }
.rkb-page-hero .rkb-hero__eyebrow { margin-bottom: 16px; }
.rkb-page-hero h1 {
  color: #fff; font-size: 54px; line-height: 1.05; letter-spacing: -1px; margin: 0 0 14px;
}
.rkb-page-hero__sub { max-width: 620px; font-size: 18px; line-height: 1.7; color: rgba(234,241,246,.9); margin: 0; }
.rkb-page-hero__crumbs { margin-top: 22px; font-size: 14px; color: rgba(234,241,246,.75); font-family: var(--font-secondary); }
.rkb-page-hero__crumbs a { color: var(--brass-400); }
.rkb-page-hero__crumbs span { margin: 0 8px; opacity: .5; }
/* floating anchor watermark */
.rkb-page-hero__mark {
  position: absolute; right: -40px; bottom: -60px; z-index: 2;
  font-size: 340px; color: rgba(255,255,255,.045); line-height: 1;
  transform: rotate(-12deg); pointer-events: none;
}
.rkb-page-hero .rkb-wave { position: absolute; bottom: -1px; left: 0; z-index: 3; margin: 0; height: 60px; }
.rkb-page-hero .rkb-wave svg path { fill: #fff; }
.rkb-page-hero--sand .rkb-wave svg path { fill: var(--sand-050); }

@media (max-width: 767px) {
  .rkb-page-hero { min-height: 46vh; }
  .rkb-page-hero h1 { font-size: 34px; }
  .rkb-page-hero__inner { padding-top: 110px; padding-bottom: 70px; }
}

/* section spacing helper */
.rkb-sec { padding: 84px 0; }
.rkb-sec--sand { background: var(--sand-050); }
.rkb-sec--tight { padding: 60px 0; }

/* ---------------------------------------------------- Feature split */
.rkb-feature { align-items: center; }
.rkb-feature__media { position: relative; }
.rkb-feature__media img {
  width: 100%; border-radius: 20px; box-shadow: var(--shadow-md); display: block;
  border: 6px solid #fff;
}
.rkb-feature__media::after {
  content: ""; position: absolute; width: 130px; height: 130px; right: -18px; top: -18px;
  border: 3px solid var(--brass-400); border-radius: 20px; z-index: -1; opacity: .6;
}
.rkb-feature__badge {
  position: absolute; left: -18px; bottom: 24px;
  background: var(--navy-800); color: #fff; border-radius: 16px; padding: 16px 22px;
  box-shadow: var(--shadow-md); text-align: center;
}
.rkb-feature__badge b { display: block; font-family: var(--font-primary); font-size: 30px; color: var(--brass-400); line-height: 1; }
.rkb-feature__badge small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(234,241,246,.85); }
.rkb-feature h3 { font-size: 34px; line-height: 1.15; margin-bottom: 18px; }
.rkb-feature p { color: var(--ink-500); font-size: 16px; line-height: 1.8; }
.rkb-feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.rkb-feature ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-700); font-weight: 500; }
.rkb-feature ul li i { color: var(--teal-500); font-size: 20px; flex-shrink: 0; margin-top: 2px; }

/* Standalone nautical checklist */
.rkb-checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.rkb-checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-700); font-weight: 500; }
.rkb-checklist li i { color: var(--teal-500); font-size: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------- Numbered steps */
.rkb-steps { counter-reset: step; }
.rkb-step {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius);
  padding: 34px 26px 28px; height: 100%; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease;
}
.rkb-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.rkb-step__n {
  position: absolute; right: 14px; top: -14px; font-family: var(--font-primary);
  font-weight: 800; font-size: 92px; color: var(--sand-100); line-height: 1; z-index: 0;
}
.rkb-step__icon {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ocean-600), var(--navy-700)); color: #fff; font-size: 24px; margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(15,92,140,.28);
}
.rkb-step h4 { position: relative; z-index: 1; font-size: 19px; margin-bottom: 8px; }
.rkb-step p { position: relative; z-index: 1; color: var(--ink-500); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------------------------------------------------- Highlight band (navy) */
.rkb-highlight {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: 22px; padding: 54px 50px;
}
.rkb-highlight::before {
  content: "\F52D"; font-family: "bootstrap-icons"; position: absolute; right: -20px; bottom: -50px;
  font-size: 260px; color: rgba(255,255,255,.05); transform: rotate(-8deg);
}
.rkb-highlight .rkb-eyebrow { color: var(--brass-400); }
.rkb-highlight h3 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.rkb-highlight p { color: rgba(234,241,246,.88); font-size: 16px; line-height: 1.8; margin: 0; position: relative; z-index: 1; }
.rkb-highlight__stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 28px; position: relative; z-index: 1; }
.rkb-highlight__stats b { display: block; font-family: var(--font-primary); font-size: 34px; color: var(--brass-400); line-height: 1; }
.rkb-highlight__stats small { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(234,241,246,.75); }

/* ---------------------------------------------------- Spec card (sidebar) */
.rkb-spec {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 96px;
}
.rkb-spec__head { background: var(--navy-800); color: #fff; padding: 22px 26px; }
.rkb-spec__head h4 { color: #fff; margin: 0; font-size: 20px; }
.rkb-spec__head p { margin: 6px 0 0; color: rgba(234,241,246,.8); font-size: 14px; }
.rkb-spec ul { list-style: none; margin: 0; padding: 10px 26px 22px; }
.rkb-spec li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--sand-100); }
.rkb-spec li:last-child { border-bottom: none; }
.rkb-spec li i { color: var(--ocean-500); font-size: 20px; width: 24px; text-align: center; }
.rkb-spec li span { color: var(--ink-500); font-size: 14px; }
.rkb-spec li b { margin-left: auto; color: var(--navy-800); font-family: var(--font-secondary); }

/* ---------------------------------------------------- Timeline */
.rkb-timeline { position: relative; padding-left: 0; }
.rkb-timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--ocean-500), var(--teal-500)); opacity: .35;
}
.rkb-tl-item { position: relative; padding-left: 76px; padding-bottom: 34px; }
.rkb-tl-item:last-child { padding-bottom: 0; }
.rkb-tl-item__dot {
  position: absolute; left: 8px; top: 2px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ocean-500); display: grid; place-items: center;
  color: var(--ocean-600); font-size: 18px; z-index: 1; box-shadow: 0 6px 16px rgba(15,92,140,.18);
}
.rkb-tl-item__year {
  display: inline-block; font-family: var(--font-secondary); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; color: var(--brass-500); background: rgba(198,145,33,.12);
  padding: 4px 12px; border-radius: 40px; margin-bottom: 8px;
}
.rkb-tl-item h4 { font-size: 20px; margin-bottom: 6px; }
.rkb-tl-item p { color: var(--ink-500); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------------------------------------------------- Leader cards */
.rkb-leader {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 32px; height: 100%; transition: transform .28s ease, box-shadow .28s ease;
  border-left: 4px solid var(--brass-400);
}
.rkb-leader:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rkb-leader__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.rkb-leader__avatar {
  width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ocean-600), var(--navy-700)); color: #fff;
  font-family: var(--font-primary); font-weight: 700; font-size: 22px;
}
.rkb-leader__head h4 { margin: 0; font-size: 20px; }
.rkb-leader__role { font-size: 13px; color: var(--teal-500); font-weight: 600; letter-spacing: .5px; }
.rkb-leader p { color: var(--ink-500); font-size: 15px; line-height: 1.8; margin: 0; }

/* ---------------------------------------------------- Cert gallery */
.rkb-cert {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease; height: 100%;
}
.rkb-cert:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rkb-cert__img { padding: 22px; background: var(--sand-050); text-align: center; }
.rkb-cert__img img { max-height: 260px; width: auto; max-width: 100%; }
.rkb-cert__cap { padding: 16px 20px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-800); }
.rkb-cert__cap i { color: var(--teal-500); font-size: 20px; }

/* ---------------------------------------------------- Contact page */
.contact .info-item {
  background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 34px 24px !important; height: 100%;
  transition: transform .28s ease, box-shadow .28s ease;
}
.contact .info-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact .info-item i {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--ocean-600), var(--navy-700)); color: #fff !important; font-size: 26px;
}
.contact .info-item h3 { font-size: 18px; margin-bottom: 6px; }
.contact .php-email-form { background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px; }
.contact .php-email-form .form-control { border-radius: 12px; padding: 13px 16px; border: 1.5px solid var(--sand-100); background: var(--sand-050); }
.contact .php-email-form .form-control:focus { border-color: var(--ocean-500); box-shadow: 0 0 0 4px rgba(15,92,140,.1); background:#fff; }
.contact .php-email-form button[type=submit] {
  background: linear-gradient(135deg, var(--brass-400), var(--brass-500)); color: #1c1403; border: 0;
  padding: 14px 40px; border-radius: 50px; font-weight: 600; box-shadow: 0 12px 26px rgba(198,145,33,.32);
}
.contact iframe { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------- Sai gases swiper frame */
.project-details .swiper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.project-details .portfolio-info { background: #fff; border: 1px solid var(--sand-100); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; }
.project-details .portfolio-info h3 { font-size: 20px; }
.project-details .portfolio-description h2 { font-size: 30px; }

/* Reveal helper for flat screenshots already handled by ?flat */
