/* ==========================================================================
   ShipChandler Algeria — Design System & Stylesheet
   Theme: Charcoal Black Grayish & Maritime Emerald Green (#10B981)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:ital,wght@0,500;0,600;0,700;0,800;0,900;1,600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  /* Maritime Algerian Brand Palette — Charcoal Black / Deep Slate Grayish */
  --navy-deep: #0e1217;
  --navy: #161b22;
  --navy-mid: #1f252e;
  --navy-surface: #272f3a;
  --navy-border: rgba(255, 255, 255, 0.1);

  /* Primary Accent & Icon Color — Maritime Emerald Green (Replaces Yellow everywhere) */
  --yellow: #10b981;
  --yellow-hover: #059669;
  --yellow-glow: rgba(16, 185, 129, 0.25);
  --yellow-light: #ecfdf5;

  /* Atmospheric Accents */
  --ocean: #0d9488;
  --ocean-light: #34d399;
  --ocean-tint: rgba(16, 185, 129, 0.08);

  /* Neutral Spectrum */
  --white: #ffffff;
  --off-white: #f8fafc;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --success: #10b981;
  --danger: #ef4444;

  /* Typography — Precision Maritime Industrial Pairing */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Architectural Box Shadows */
  --shadow-sm: 0 1px 3px rgba(14, 18, 23, 0.08), 0 1px 2px rgba(14, 18, 23, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(14, 18, 23, 0.1), 0 2px 6px -1px rgba(14, 18, 23, 0.06);
  --shadow-lg: 0 12px 30px -4px rgba(14, 18, 23, 0.16), 0 4px 10px -2px rgba(14, 18, 23, 0.08);
  --btn-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  --btn-hover-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);

  /* Architectural Precision Layout & Sharp Radii (Rectangular Industrial Maritime Identity) */
  --container-max: 76rem;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-pill: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index Hierarchy */
  --z-header: 1000;
  --z-dropdown: 1100;
  --z-modal: 1200;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* IMPORTANT: overflow-x: clip ensures horizontal overflow prevention WITHOUT breaking position: sticky */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Scroll Trigger Animations (.reveal)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Buttons (Sharp Architectural Rectangular Silhouettes)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--btn-shadow);
  position: relative;
}

.btn-primary {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #059669;
  border-bottom: 2.5px solid #047857;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: var(--btn-hover-shadow);
}

.btn-primary:active {
  transform: translateY(0);
  border-bottom-width: 1px;
}

.btn-secondary {
  background-color: rgba(31, 37, 46, 0.85);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 18, 23, 0.2);
}

.btn-sm {
  padding: 0.48rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow-hover);
  background: rgba(16, 185, 129, 0.09);
  border-left: 3px solid var(--yellow);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.section-head {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Sticky Navigation (Fixed At All Times)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #0a0d11 0%, #13171d 50%, #0c0f13 100%);
  color: var(--text-light);
  font-size: 0.825rem;
  padding-block: 0.5rem;
  border-bottom: 2px solid rgba(16, 185, 129, 0.45);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
  text-align: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.top-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

.top-item svg {
  color: var(--yellow);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.top-item a:hover {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.98) 0%, rgba(18, 22, 28, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.6rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-text span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-item.active .nav-link,
.nav-link[aria-current="page"] {
  color: var(--yellow);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after,
.nav-link[aria-current="page"]::after {
  width: 75%;
}

/* Navbar Dropdown Chevron Icon (Points down, smoothly rotates 180 deg on open/hover) */
.nav-link .nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  color: var(--yellow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  line-height: 1;
  vertical-align: middle;
}

.nav-link .nav-arrow svg {
  display: block;
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  pointer-events: none;
}

.nav-item.has-dropdown:hover .nav-link .nav-arrow,
.nav-item.has-dropdown:focus-within .nav-link .nav-arrow,
.nav-item.has-dropdown.active > .nav-link .nav-arrow,
.nav-item.has-dropdown.is-open > .nav-link .nav-arrow,
.nav-item.has-mega:hover .nav-link .nav-arrow,
.nav-item.has-mega:focus-within .nav-link .nav-arrow,
.nav-item.has-mega.active > .nav-link .nav-arrow,
.nav-item.has-mega.is-open > .nav-link .nav-arrow {
  transform: rotate(180deg);
}

/* Services Dropdown (2 Columns - Architectural Precision) */
.services-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 32rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(14, 18, 23, 0.25);
  border: 1px solid var(--border-strong);
  border-top: 3.5px solid var(--yellow);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
  z-index: var(--z-dropdown);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.85rem;
}

.nav-item.has-dropdown:hover .services-dropdown,
.nav-item.has-dropdown:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-dropdown a {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.services-dropdown a:hover {
  background-color: var(--off-white);
  color: var(--yellow-hover);
  border-left-color: var(--yellow);
  padding-left: 0.95rem;
}

/* Ports Mega Menu (Centered width-wise across the page) */
.nav-item.has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  right: auto;
  width: min(44rem, calc(100vw - 2rem));
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.25rem 1.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: var(--transition);
  z-index: var(--z-dropdown);
  max-height: 82vh;
  overflow-y: auto;
}

.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega:focus-within .mega-menu,
.nav-item.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mega-header-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.mega-search {
  position: relative;
  width: 100%;
  max-width: 13.5rem;
}

.mega-search input {
  width: 100%;
  padding: 0.4rem 0.85rem 0.4rem 2rem;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  background: var(--off-white);
}

.mega-search input:focus {
  border-color: var(--yellow);
  background: var(--white);
}

.mega-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-group {
  display: flex;
  flex-direction: column;
}

.mega-group:not(:first-child) {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
}

.mega-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow-hover);
  margin-bottom: 0.6rem;
}

.mega-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--text);
  padding: 0.3rem 0.45rem;
  border-radius: 4px;
  line-height: 1.35;
  transition: var(--transition);
}

.mega-col a:hover {
  background: var(--off-white);
  color: var(--navy);
  font-weight: 600;
  padding-left: 0.65rem;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: calc(var(--z-header) + 10);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section & Subtle Ken Burns Zoom Animation
   ========================================================================== */
@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  padding-block: clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.18) brightness(1.02);
  animation: heroKenBurns 18s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(16, 185, 129, 0.16) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(13, 148, 136, 0.14) 0%, transparent 55%),
              linear-gradient(180deg, rgba(22, 27, 34, 0.65) 0%, rgba(14, 18, 23, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.hero-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.15rem;
}

/* Subpage Hero Titles — Scaled Down as Requested */
.subpage-hero {
  padding-block: clamp(3rem, 5vw, 4.25rem);
}

.subpage-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Hero Blurred Glass Card Style (Matching Reference Screenshot & Brand Theme)
   ========================================================================== */
@keyframes heroBgSubtleZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08) translate3d(-0.8%, -0.4%, 0);
  }
}

.hero.hero-blurred-style {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(4rem, 7vw, 6rem);
  background-color: #0e1217;
  overflow: hidden;
}

.hero-blurred-style .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-blurred-style .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 18, 23, 0.35) 0%, rgba(14, 18, 23, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-blurred-style .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transform: scale(1);
  animation: heroBgSubtleZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-container-centered {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-glass-card {
  max-width: 54rem;
  width: 100%;
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.5rem, 4.5vw, 3.2rem);
  background: rgba(14, 18, 23, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-desc-main {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 46rem;
  margin: 0 auto 2.2rem;
  font-weight: 400;
}

.hero-actions-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-hero-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #059669;
  border-bottom: 2.5px solid #047857;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.btn-hero-about:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

.btn-hero-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  text-decoration: none;
}

.btn-hero-contact:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.hero-badge-item svg {
  color: var(--yellow);
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

.breadcrumb span {
  color: #64748b;
}

/* ==========================================================================
   Sections & Split Layouts
   ========================================================================== */
.section {
  padding-block: clamp(3.5rem, 5.5vw, 5.5rem);
}

.section-alt {
  background-color: var(--off-white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 1rem;
}

.split-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-block: 1.25rem;
}

.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.925rem;
}

.feature-point svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   HOMEPAGE EXPANDABLE CARDS (Architectural Rectangular Geometry & Accents)
   ========================================================================== */
.expand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.service-expand-card {
  background: var(--white);
  border: 1px solid #d5dfea;
  border-top: 3.5px solid var(--navy-mid);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
}

.service-expand-card:hover {
  border-top-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 20, 36, 0.1);
}

.service-expand-card.is-expanded {
  border-top-color: var(--yellow);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 10px 28px rgba(0, 20, 36, 0.12);
}

.expand-card-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-deep);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.expand-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.expand-card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  text-align: left;
  margin-top: auto;
  transition: var(--transition);
}

.expand-card-toggle:hover {
  background: var(--yellow-light);
  border-color: rgba(16, 185, 129, 0.4);
}

.toggle-text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.service-expand-card.is-expanded .toggle-text {
  color: var(--yellow-hover);
}

.toggle-icon {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background: #e2e8f0;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.service-expand-card.is-expanded .toggle-icon {
  background: var(--yellow);
  color: var(--navy-deep);
}

.expand-card-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.32s ease, 
              margin 0.38s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
}

.service-expand-card.is-expanded .expand-card-body {
  max-height: 250px;
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.expand-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.expand-card-list {
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.expand-card-list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-block: 0.35rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.expand-card-list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 0;
  transform: rotate(45deg);
  background-color: var(--yellow);
  flex-shrink: 0;
}

.expand-card-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow-hover);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.expand-card-link:hover {
  color: var(--navy);
  padding-left: 0.25rem;
}

/* ==========================================================================
   PORT PAGE SERVICE CARDS & RFQ STEPS (Matching Reference UI in Screenshots)
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #d5dfea;
  border-top: 3.5px solid var(--navy-mid);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 20, 36, 0.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-card .more {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow-hover);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.service-card .more:hover {
  color: var(--navy);
  padding-left: 0.25rem;
}

/* ==========================================================================
   ALGERIAN COMMERCIAL PORTS GRID (Fixing ports.html Screenshot 4)
   ========================================================================== */
.ports-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.port-box {
  background: var(--white);
  border: 1px solid #d5dfea;
  border-top: 3.5px solid var(--navy-mid);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.port-box:hover {
  border-top-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 20, 36, 0.1);
  transform: translateY(-3px);
}

.port-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.port-box h3 {
  font-size: 1.15rem;
}

.port-tag {
  background: var(--navy-mid);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.port-tag.primary-hub {
  background: var(--yellow);
  color: var(--navy-deep);
}

.port-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.port-box a {
  margin-top: auto;
}

/* Ports Grid Cards (Subtle Hover Effect for ports.html) */
.port-card-link {
  background: var(--white);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy-mid);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.port-card-link:hover {
  transform: translateY(-3px);
  border-top-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 25, 45, 0.1);
}

.port-card-link h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.port-card-link:hover h4 {
  color: var(--yellow-hover);
}

.port-card-link p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   Call-to-Action Banner (CTA Band on Port Pages)
   ========================================================================== */
.cta-band {
  background: var(--navy-mid);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4.5px solid var(--yellow);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   SERVICES PAGE (15 Alternating Split Categories with Images)
   ========================================================================== */
.service-detail-section {
  padding-block: 4.5rem;
  border-bottom: 1px solid var(--border);
}

.service-detail-section:nth-child(even) {
  background-color: var(--off-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.service-detail-grid.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.service-media-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 20, 36, 0.12);
  border: 1px solid #cbd5e1;
  aspect-ratio: 16/10;
  background-color: var(--navy-mid);
  position: relative;
}

.service-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-media-frame:hover img {
  transform: scale(1.03);
}

.service-items-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-block: 1.5rem;
}

.service-items-list li {
  font-size: 0.925rem;
  color: var(--text);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.service-items-list li::before {
  content: "■";
  color: var(--yellow);
  font-size: 0.65rem;
  position: absolute;
  left: 0;
  top: 1px;
}

@media (max-width: 900px) {
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-detail-grid.reverse .service-media-frame {
    order: -1;
  }
  .service-items-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Forms, Validation & STRICT Textarea Sizing (Fixing Screenshot 5)
   ========================================================================== */
.rfq-wrapper {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 32px rgba(0, 20, 36, 0.08);
  border: 1px solid #cbd5e1;
  border-top: 4px solid var(--yellow);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

/* Textarea Strict Controls: Never changes width, never overflows, strict max-height */
.form-group textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  min-height: 110px;
  max-height: 220px;
  resize: vertical;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  overflow-y: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-all;
  box-sizing: border-box;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Form Invalid State */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--danger);
  background: #fff8f8;
}

.form-error-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 0.2rem;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Form Submission Toast */
.form-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-deep);
  color: var(--white);
  border-left: 4px solid var(--yellow);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-modal);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 24rem;
}

.form-toast.show {
  transform: translateY(0);
}

/* ==========================================================================
   Image Container
   ========================================================================== */
.img-placeholder {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--navy-mid);
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer (Architectural Deep Maritime Slate & Crane Gold Accent)
   ========================================================================== */
.site-footer {
  background-color: #000c17;
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 3.5px solid var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 22rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.885rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 0.45rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.885rem;
  color: #cbd5e1;
}

.footer-contact svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 3px;
  width: 15px;
  height: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}

/* ==========================================================================
   Mobile Nav & Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  /* Make header fixed on mobile to stay visible while scrolling */
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #161b22 !important;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
  }

  .header-inner {
    position: relative;
  }

  /* Push main content down by header height to prevent overlap */
  #main,
  main {
    margin-top: 4.6rem;
  }

  .primary-nav {
    position: fixed;
    top: 4.6rem;
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vh - 4.6rem);
    height: calc(100dvh - 4.6rem);
    max-height: calc(100dvh - 4.6rem);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 4rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.3s;
    z-index: calc(var(--z-header) - 1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .primary-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    width: 100%;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link:hover,
  .nav-item.active .nav-link {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
  }

  .nav-toggle {
    display: flex;
  }

  .services-dropdown,
  .mega-menu {
    position: static;
    transform: none !important;
    width: 100%;
    max-height: none;
    box-shadow: none;
    background: #0a1118 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    padding: 0.75rem;
    display: none;
    opacity: 1;
    visibility: visible;
    border-radius: var(--radius-sm);
  }

  .nav-item.active > .services-dropdown,
  .nav-item.active > .mega-menu,
  .nav-item.is-open > .services-dropdown,
  .nav-item.is-open > .mega-menu {
    display: block !important;
  }

  /* Fix services dropdown links for mobile - make them visible and full width */
  .services-dropdown {
    display: none;
    grid-template-columns: 1fr !important;
  }

  .nav-item.active > .services-dropdown {
    display: grid !important;
  }

  .services-dropdown a {
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
    border-left: 3px solid transparent !important;
    border-radius: var(--radius-sm) !important;
    width: 100%;
    margin-bottom: 0.4rem;
  }

  .services-dropdown a:hover {
    background: rgba(16, 185, 129, 0.12) !important;
    color: var(--yellow) !important;
    border-left-color: var(--yellow) !important;
    padding-left: 1rem !important;
  }

  /* Fix mega menu for mobile */
  .mega-menu {
    background: #0a1118 !important;
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .mega-header-title {
    color: #ffffff !important;
  }

  .mega-col h4 {
    color: var(--yellow) !important;
  }

  .mega-col a {
    color: #cbd5e1 !important;
  }

  .mega-col a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .mega-footer-bar {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
  }

  .mega-footer-text, .mega-footer-hub {
    color: #cbd5e1 !important;
  }

  .mega-footer-link {
    color: var(--yellow) !important;
  }


  .mega-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .mega-group:not(:first-child) {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
  }

  .nav-cta {
    margin-top: 1.5rem;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: block;
    padding-block: 0.5rem;
    font-size: 0.78rem;
  }

  .top-bar-inner {
    justify-content: center;
    gap: 0.45rem 1rem;
  }

  .top-bar-left, .top-bar-right {
    justify-content: center;
    gap: 0.45rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 500px) {
  .top-bar {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}


/* Plus Icon Rotate Animation on Hover & Focus */
.nav-link .plus {
  display: inline-block;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  margin-left: 0.25rem;
}

.nav-item.has-dropdown:hover > .nav-link .plus,
.nav-item.has-dropdown:focus-within > .nav-link .plus,
.nav-item.has-mega:hover > .nav-link .plus,
.nav-item.has-mega:focus-within > .nav-link .plus,
.nav-item.active > .nav-link .plus {
  transform: rotate(45deg);
}

/* Homepage Clean CTA Band (Replacing form) */
.cta-rfq-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-rfq-copy h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-rfq-copy p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.cta-rfq-action .btn {
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Mega Menu Footer Bar Styling */
.mega-footer-bar {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mega-footer-text {
  color: #526177;
}

.mega-footer-hub {
  color: var(--navy);
}

.mega-footer-link {
  font-weight: 700;
  color: var(--yellow-hover);
}

.mega-footer-link:hover {
  color: var(--navy);
}

.highlight-algeria {
  background: var(--yellow-light) !important;
  color: var(--navy-deep) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--yellow);
}

/* ========================================================
   WhatsApp Hero Button, Why Choose Us, & Vessels We Support
   ======================================================== */
.hero-whatsapp-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.55rem 1.25rem 0.55rem 0.65rem;
  background: rgba(0, 12, 23, 0.88);
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.hero-whatsapp-bar:hover,
.hero-whatsapp-bar:focus-visible {
  background: rgba(0, 15, 28, 0.98);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-whatsapp-bar:hover .hero-whatsapp-arrow {
  transform: translateX(4px);
  color: var(--white);
}

.hero-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  flex-shrink: 0;
}

.hero-whatsapp-icon svg {
  display: block;
}

.hero-whatsapp-tag {
  color: #25D366;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-whatsapp-num {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-whatsapp-arrow {
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 0.15rem;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

@media (max-width: 600px) {
  .hero-whatsapp-bar {
    display: inline-flex;
    justify-content: center;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.48rem 0.95rem 0.48rem 0.55rem;
    gap: 0.55rem;
    border-radius: var(--radius-sm);
  }

  .hero-whatsapp-icon {
    width: 32px;
    height: 32px;
  }

  .hero-whatsapp-tag {
    font-size: 0.78rem;
  }

  .hero-whatsapp-num {
    font-size: 0.98rem;
  }

  .hero-whatsapp-arrow {
    font-size: 1rem;
  }
}

/* Why Choose Us Section — Charcoal Black Grayish with Subtle Emerald Edge Gradients */
.section-navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 65% at 100% 0%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(13, 148, 136, 0.18), transparent 55%),
    linear-gradient(135deg, #101418 0%, #171b22 45%, #1f252e 100%);
  color: var(--white);
  padding-block: 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-navy .eyebrow {
  color: var(--yellow);
  background: rgba(16, 185, 129, 0.12);
  border-left-color: var(--yellow);
}

.section-navy h2 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.85);
}

/* Why Choose Us — Responsive Card Grid (3 to 4 cards in a row with subtle hover animations) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

@media (max-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 540px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.4rem 1.25rem;
  background: linear-gradient(145deg, #1f252e 0%, #15191f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3.5px solid var(--yellow);
  border-radius: var(--radius-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.5);
  border-top-color: #34d399;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(16, 185, 129, 0.16);
}

/* ==========================================================================
   Why Choose 2-Column Points Layout (Title with small icon, no sub-info)
   ========================================================================== */
.why-choose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
  margin-top: 1.85rem;
  width: 100%;
}

@media (max-width: 768px) {
  .why-choose-columns {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.points-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(145deg, #1f252e 0%, #15191f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3.5px solid var(--yellow);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.point-item:hover {
  transform: translateX(5px);
  border-color: rgba(16, 185, 129, 0.5);
  border-left-color: #34d399;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
}

.point-icon {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.point-text {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--yellow);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.feature-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.45rem;
  white-space: normal;
  word-wrap: break-word;
}

.feature-card-content p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
}

/* Fixed Floating WhatsApp Button on Index (Bottom Right) */
.fixed-whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.fixed-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  background: #20bd5a;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.58), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.fixed-whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
  pointer-events: none;
  background: #181d24;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid #25D366;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fixed-whatsapp-btn:hover .fixed-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.fixed-whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: waPulse 2.5s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Vessels We Support */
.vessel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.vessel-list li {
  padding: 0.65rem 1.15rem;
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.vessel-list li:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Quote Form Stage & Requisition Layout
   ========================================================================== */
.form-stage {
  padding: 3rem 0 4.5rem;
  background: var(--surface-alt);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.quote-aside {
  background: linear-gradient(165deg, var(--navy) 0%, #0a2540 55%, #103459 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 6rem;
}

.quote-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.quote-aside-badge svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
}

.quote-aside h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.quote-aside p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.quote-steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.quote-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.quote-steps .step-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quote-steps strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.quote-steps span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.trust-chips {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
}

.trust-chips svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-card::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--yellow), #e68a17, var(--ocean));
}

.form-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.form-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--yellow-light);
  color: var(--yellow);
  border: 1px solid var(--yellow-glow);
}

.form-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.form-card-head h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.form-card-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-card {
    padding: 1.35rem 1.15rem;
  }
}

.form-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--navy);
}

.form-field .req {
  color: #e11d48;
  margin-left: 0.15rem;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-shell > svg,
.input-shell .field-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.2s;
  z-index: 1;
}

.input-shell:has(textarea) > svg,
.input-shell:has(textarea) .field-icon {
  top: 0.9rem;
  transform: none;
}

.input-shell:focus-within > svg,
.input-shell:focus-within .field-icon {
  stroke: var(--yellow);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: #fbfcfe;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  box-shadow: inset 0 1px 2px rgba(0, 25, 45, 0.03);
  min-height: 2.65rem;
  box-sizing: border-box;
}

.input-shell input,
.input-shell select,
.input-shell textarea {
  padding-left: 2.35rem;
}

.form-field textarea {
  min-height: 5.5rem;
  resize: vertical;
  padding-top: 0.75rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

/* Category Pills Selector */
.category-pills-wrap {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

.category-pills-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.category-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.55rem;
}

.category-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  user-select: none;
}

.category-pill:hover {
  border-color: var(--yellow);
  background: var(--yellow-light);
}

.category-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-pill .pill-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  border: 1.5px solid var(--text-light);
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}

.category-pill .pill-dot svg {
  display: none;
  width: 0.65rem;
  height: 0.65rem;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
}

.category-pill.active,
.category-pill:has(input:checked) {
  border-color: var(--yellow);
  background: #fff8ef;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.category-pill.active .pill-dot,
.category-pill:has(input:checked) .pill-dot {
  background: var(--yellow);
  border-color: var(--yellow);
}

.category-pill.active .pill-dot svg,
.category-pill:has(input:checked) .pill-dot svg {
  display: block;
}

.category-pill .pill-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.25;
}

.form-format-note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 25, 45, 0.04);
  border: 1px solid rgba(0, 25, 45, 0.08);
  border-left: 3px solid var(--navy-mid);
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.form-notice {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}

.form-notice.is-visible {
  display: block;
}

.form-notice.info {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  color: var(--navy);
  border: 1px solid #c9ddf5;
  border-left: 3.5px solid var(--yellow);
}

/* ==========================================================================
   Prose Typography for Ports Page (Abidjan template match)
   ========================================================================== */
.prose {
  max-width: 50rem;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.port-content-section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--off-white);
}

.prose h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.25;
  color: var(--navy);
  border-bottom: 2.5px solid var(--yellow);
  padding-bottom: 0.85rem;
}

.prose h1, .prose h2, .prose h3 {
  color: var(--navy);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.prose h2 {
  font-size: 1.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-size: 1.25rem;
}

.prose p {
  margin-bottom: 1.15rem;
  color: #334155;
}

.prose ul, .prose ol {
  list-style: disc outside;
  list-style-type: disc;
  margin: 0.5rem 0 1.5rem 1.75rem;
  padding: 0;
}

.prose li {
  margin-bottom: 0.45rem;
  color: #334155;
  list-style-type: disc;
}

.prose li::marker {
  color: var(--yellow);
  font-size: 1em;
}

/* Footer WhatsApp Button */
        .hero-whatsapp-bar {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #0B132B;
            padding: 10px 20px;
            border-radius: 50px;
            transition: var(--transition);
            text-decoration: none;
            border: 1px solid rgba(255, 209, 102, 0.15);
            max-width: fit-content;
        }

        .hero-whatsapp-bar:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(255, 209, 102, 0.25);
            border-color: rgba(255, 209, 102, 0.3);
        }

        .hero-whatsapp-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background: #25D366;
            border-radius: 50%;
            color: white;
            flex-shrink: 0;
        }

        .hero-whatsapp-icon svg {
            width: 16px;
            height: 16px;
        }

        .hero-whatsapp-tag {
            color: #25D366;
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .hero-whatsapp-num {
            color: var(--yellow);
            font-weight: 700;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .hero-whatsapp-arrow {
            color: var(--yellow);
            font-size: 1.1rem;
            font-weight: 700;
            margin-left: 4px;
        }

        @media (max-width: 768px) {
            .hero-whatsapp-bar {
                padding: 8px 16px;
                gap: 6px;
            }

            .hero-whatsapp-icon {
                width: 24px;
                height: 24px;
            }

            .hero-whatsapp-icon svg {
                width: 14px;
                height: 14px;
            }

            .hero-whatsapp-tag {
                font-size: 0.7rem;
            }

            .hero-whatsapp-num {
                font-size: 0.8rem;
            }

            .hero-whatsapp-arrow {
                font-size: 1rem;
                margin-left: 2px;
            }
        }

        @media (max-width: 480px) {
            .hero-whatsapp-bar {
                padding: 8px 14px;
                gap: 5px;
            }

            .hero-whatsapp-tag {
                font-size: 0.65rem;
            }
            .hero-whatsapp-num {
                font-size: 0.75rem;
            }
        }