/* Luluat Al-Mahra - Global Styles */
:root {
  --marine-deep: #0b2a5b;
  --marine-primary: #1a458b;
  --marine-bright: #2d6bb8;
  --marine-light: #5eb8e8;
  --ocean-gradient: linear-gradient(135deg, #0b2a5b 0%, #1a458b 45%, #2d6bb8 100%);
  --white: #ffffff;
  --off-white: #f5f8fc;
  --silver: #9aa8b8;
  --silver-light: #e4ebf3;
  --accent-cyan: #3ec6c6;
  --text-dark: #152238;
  --text-muted: #5a6b7d;
  --shadow-sm: 0 2px 8px rgba(11, 42, 91, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 42, 91, 0.12);
  --shadow-lg: 0 16px 48px rgba(11, 42, 91, 0.16);
  --radius: 0.75rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
}

[dir="rtl"] {
  --font-primary: var(--font-ar);
}

[dir="ltr"] {
  --font-primary: var(--font-en);
}

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

/* Prevent horizontal page scroll without breaking Bootstrap container widths */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
}

/* Restore readable page gutters (our earlier max-width:100% on .container removed them) */
.container,
.container-fluid {
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container,
  .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--marine-deep);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.text-marine { color: var(--marine-primary); }
.text-silver { color: var(--silver); }

/* Navbar */
.navbar-lm {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    box-shadow var(--transition),
    background var(--transition);
  will-change: transform, opacity;
}

.navbar-lm.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-lm.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-lm .nav-link {
  color: var(--marine-deep);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition);
}

.navbar-lm .nav-link:hover,
.navbar-lm .nav-link.active {
  color: var(--marine-bright);
}

.navbar-lm .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--marine-bright);
  border-radius: 1px;
}

.lang-toggle {
  border: 2px solid var(--marine-primary);
  color: var(--marine-primary);
  background: transparent;
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  background: var(--marine-primary);
  color: var(--white);
}


/* Hero video — one viewport only (no tall scrub track / blank navy gap) */
.scroll-ship {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  max-height: 100vh;
  max-height: 100svh;
  background: #061428;
  overflow: hidden;
}

.scroll-ship-sticky {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.scroll-ship-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.scroll-ship-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(6, 20, 40, 0.78) 0%,
    rgba(11, 42, 91, 0.55) 42%,
    rgba(11, 42, 91, 0.28) 100%
  );
}

.scroll-ship-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(to top, rgba(6, 20, 40, 0.55) 0%, transparent 35%);
}

.scroll-ship-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  padding-top: 0;
  padding-bottom: clamp(4.5rem, 12vh, 6.5rem);
  padding-inline: 0.75rem;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.scroll-ship-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.scroll-ship-content .fs-4 {
  margin-bottom: 0.55rem !important;
}

.scroll-ship-content .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  opacity: 0.95;
  margin-bottom: 1.25rem;
}

.scroll-ship-progress,
.scroll-ship-progress-bar {
  display: none !important;
}

@media (max-width: 991.98px) {
  .scroll-ship-content h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }
}

/* Legacy JS class hooks — keep height locked to one screen */
.scroll-ship.is-mobile-autoplay,
.scroll-ship.is-scrolled {
  height: 100vh !important;
  height: 100svh !important;
  min-height: 560px !important;
  max-height: 100vh !important;
  max-height: 100svh !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 42, 91, 0.85) 0%,
    rgba(26, 69, 139, 0.7) 50%,
    rgba(45, 107, 184, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn-marine {
  background: var(--marine-bright);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-marine:hover {
  background: var(--marine-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--marine-deep);
}

/* Trust Banner */
.trust-banner {
  background: var(--ocean-gradient);
  color: var(--white);
  padding: 2rem 0;
}

.trust-item {
  text-align: center;
  padding: 1rem;
}

.trust-item .icon,
.icon-mark {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.trust-item .icon svg,
.icon-mark svg,
.value-icon svg,
.contact-info-item .icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.value-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 69, 139, 0.08);
  color: var(--marine-primary);
}

.contact-info-item .icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.trust-item h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

#contact.section-padding {
  padding-bottom: 5rem;
}

.bg-marine {
  background: var(--ocean-gradient);
  color: var(--white);
}

.bg-white-section {
  background: var(--white);
}

/* Product Cards */
.product-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  height: 100%;
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
  background: var(--off-white);
}

.product-card .card-body {
  padding: 1.25rem;
}

.product-card .scientific-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.product-card .badge-frozen {
  background: var(--marine-light);
  color: var(--marine-deep);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* Filter Bar */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.filter-bar .form-select,
.filter-bar .form-control {
  border-color: var(--silver-light);
  border-radius: 0.5rem;
}

.filter-bar .form-select:focus,
.filter-bar .form-control:focus {
  border-color: var(--marine-bright);
  box-shadow: 0 0 0 0.2rem rgba(45, 107, 184, 0.15);
}

/* Carousel */
.featured-carousel .carousel-item {
  height: 400px;
}

.featured-carousel .carousel-item img {
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.featured-carousel .carousel-caption {
  background: rgba(11, 42, 91, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  bottom: 2rem;
  left: 10%;
  right: 10%;
}

/* Quality Timeline */
.process-step {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
}

.process-step .step-number {
  width: 48px;
  height: 48px;
  background: var(--ocean-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.process-step img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 1rem;
}

/* Values Cards */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border-top: 4px solid var(--marine-bright);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}


/* About Stats */
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 0.5rem;
  border-color: var(--silver-light);
  padding: 0.75rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--marine-bright);
  box-shadow: 0 0 0 0.2rem rgba(45, 107, 184, 0.15);
}

.contact-info-card {
  background: var(--ocean-gradient);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: auto;
}

.contact-info-card a {
  color: var(--white);
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}


/* Map — full-width block in normal flow, never overlaps footer */
.map-container {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 380px;
  min-height: 280px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--silver-light);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  display: block;
}

#contact {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Footer */
.footer-lm {
  position: relative;
  z-index: 2;
  background: var(--marine-deep);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  clear: both;
}

.footer-lm a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-lm a:hover {
  color: var(--white);
}

.footer-lm .footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Scroll Reveal - GPU-friendly (opacity + transform only) */
.reveal-on-scroll,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll,
.reveal-up {
  transform: translate3d(0, 40px, 0);
}

.reveal-left {
  transform: translate3d(-48px, 0, 0);
}

.reveal-right {
  transform: translate3d(48px, 0, 0);
}

.reveal-scale {
  transform: translate3d(0, 24px, 0) scale(0.94);
}

.reveal-fade {
  transform: none;
}

.reveal-on-scroll.revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed,
.reveal-fade.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Horizontal reveals expand document width — use vertical motion under ~992px */
@media (max-width: 991.98px) {
  .reveal-left,
  .reveal-right,
  [dir="rtl"] .reveal-left,
  [dir="rtl"] .reveal-right {
    transform: translate3d(0, 28px, 0);
  }

  .reveal-left.revealed,
  .reveal-right.revealed,
  [dir="rtl"] .reveal-left.revealed,
  [dir="rtl"] .reveal-right.revealed {
    transform: translate3d(0, 0, 0);
  }

  .scroll-ship-video {
    transform: none;
  }
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Hero entrance */
.hero-content > .row > [class*="col"] > *,
.scroll-ship-content > .row > [class*="col"] > * {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation: heroEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content .hero-badge,
.scroll-ship-content .hero-badge { animation-delay: 0.1s; }
.hero-content h1,
.scroll-ship-content h1 { animation-delay: 0.22s; }
.hero-content .fs-4,
.scroll-ship-content .fs-4 { animation-delay: 0.34s; }
.hero-content .tagline,
.scroll-ship-content .tagline { animation-delay: 0.46s; }
.hero-content .d-flex,
.scroll-ship-content .scroll-ship-ctas { animation-delay: 0.58s; }

.hero-bg img {
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.page-header h1,
.page-header p {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: heroEnter 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-header p { animation-delay: 0.15s; }


[dir="rtl"] .reveal-left {
  transform: translate3d(48px, 0, 0);
}

[dir="rtl"] .reveal-right {
  transform: translate3d(-48px, 0, 0);
}

[dir="rtl"] .reveal-left.revealed,
[dir="rtl"] .reveal-right.revealed {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .navbar-lm.is-hidden {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .scroll-ship {
    height: 100vh !important;
    height: 100svh !important;
    min-height: 560px !important;
    max-height: 100vh !important;
    max-height: 100svh !important;
  }
  .scroll-ship-sticky { position: relative; height: 100%; }

  .reveal-on-scroll,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade,
  .hero-content > .row > [class*="col"] > *,
  .scroll-ship-content > .row > [class*="col"] > *,
  .scroll-ship-content,
  .hero-bg img,
  .page-header h1,
  .page-header p {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Page Header */
.page-header {
  background: var(--ocean-gradient);
  color: var(--white);
  padding: 6rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

/* Modal */
.modal-content {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
}

.modal-header {
  background: var(--ocean-gradient);
  color: var(--white);
  border: none;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body .spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--silver-light);
}

.modal-body .spec-row:last-child {
  border-bottom: none;
}

.modal-body .spec-label {
  font-weight: 600;
  color: var(--marine-deep);
}

/* Gallery */
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Quick Links */
.quick-link-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--marine-primary);
}

.quick-link-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Global Reach */
.reach-map {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.reach-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.reach-point .dot {
  width: 12px;
  height: 12px;
  background: var(--marine-bright);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Utilities */
.gap-section { margin-bottom: 4rem; }

/* Brand slash accent */
.brand-slash {
  display: inline-block;
  width: 0.55rem;
  height: 1.1rem;
  background: var(--marine-bright);
  transform: skewX(-18deg);
  margin-inline-end: 0.2rem;
}

.brand-slash-group {
  display: inline-flex;
  gap: 0.2rem;
  margin-inline-end: 0.65rem;
  vertical-align: middle;
}

.stat-card .icon-mark {
  margin-bottom: 0.85rem;
}

[dir="rtl"] .navbar-lm .nav-link.active::after {
  left: 1rem;
  right: 1rem;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .page-header {
  text-align: right;
}

@media (max-width: 767.98px) {
  .hero { min-height: 70vh; }
  .section-padding { padding: 3rem 0; }
  .featured-carousel .carousel-item { height: 280px; }
  .contact-form { padding: 1.5rem; }
  .navbar-brand img { height: 40px; }

  .navbar-lm .container {
    overflow-x: clip;
  }

  .scroll-ship-content .d-flex,
  .scroll-ship-ctas {
    max-width: 100%;
  }

  .btn-marine,
  .btn-outline-light {
    max-width: 100%;
    white-space: normal;
  }
}


/* Home page extras */
.home-stat .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.home-stat .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

html {
  scroll-padding-top: 5rem;
}


.team-card-leader {
  max-width: 420px;
  margin-inline: auto;
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--off-white);
}

.team-photo img,
.team-card-leader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-role {
  color: var(--marine-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.team-card-leader .team-card-body h5 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--marine-deep);
}


/* ========== ELEVATION PASS ========== */
:root {
  --radius: 0.4rem;
  --radius-lg: 0.65rem;
}

body {
  background:
    radial-gradient(ellipse 90% 55% at 100% -15%, rgba(94, 184, 232, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 45% at -5% 25%, rgba(26, 69, 139, 0.07), transparent 48%),
    #f3f6fb;
}

.section-title {
  letter-spacing: -0.02em;
  position: relative;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine-bright);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 36rem;
  line-height: 1.55;
}

.prose-measure {
  max-width: 38rem;
}

.btn-marine,
.btn-outline-light,
.btn-outline-marine {
  border-radius: var(--radius) !important;
  padding: 0.85rem 1.7rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-marine {
  background: var(--marine-deep) !important;
  border: 1px solid var(--marine-deep) !important;
}

.btn-marine:hover {
  background: var(--marine-primary) !important;
  border-color: var(--marine-primary) !important;
  transform: translateY(-1px);
}

.btn-outline-marine {
  border: 1.5px solid var(--marine-deep);
  color: var(--marine-deep);
  background: transparent;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-marine:hover {
  background: var(--marine-deep);
  color: #fff;
}

.btn-outline-light {
  border-radius: var(--radius) !important;
}

.lang-toggle {
  border-radius: var(--radius) !important;
  border-width: 1.5px;
}

.navbar-lm {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(11, 42, 91, 0.06);
}

.navbar-brand {
  gap: 0.65rem !important;
}

.navbar-brand-text {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--marine-deep);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.navbar-brand-text span {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Hero: brand-first, quieter */
.scroll-ship-content .hero-badge {
  display: none;
}

.scroll-ship-content h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.scroll-ship-content .fs-4 {
  font-size: clamp(1rem, 2.2vw, 1.25rem) !important;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 0.85rem !important;
}

.scroll-ship-content .tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  opacity: 0.88;
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.scroll-ship-overlay {
  background: linear-gradient(
    115deg,
    rgba(6, 18, 38, 0.82) 0%,
    rgba(11, 42, 91, 0.45) 48%,
    rgba(11, 42, 91, 0.18) 100%
  ) !important;
}

/* Slim metrics strip instead of loud trust cards */
.trust-banner {
  background: var(--marine-deep) !important;
  padding: 1.35rem 0 !important;
}

.trust-item {
  padding: 0.35rem 0.5rem !important;
}

.trust-item .icon {
  width: 2rem !important;
  height: 2rem !important;
  margin-bottom: 0.45rem !important;
  background: rgba(255,255,255,0.08) !important;
}

.trust-item h5 {
  font-size: 0.88rem !important;
  font-weight: 700;
}

.trust-item p {
  font-size: 0.75rem !important;
  opacity: 0.75 !important;
}

/* Editorial values - no boxed cards */
.value-card {
  background: transparent !important;
  box-shadow: none !important;
  border-top: none !important;
  border-radius: 0 !important;
  padding: 0 0.5rem 0 0 !important;
  text-align: start !important;
}

.value-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.value-icon {
  margin: 0 0 1rem !important;
  background: rgba(26, 69, 139, 0.08) !important;
}

.value-divider {
  width: 2.5rem;
  height: 2px;
  background: var(--marine-light);
  margin: 0.85rem 0 1rem;
}

/* Team: quieter frame */
.team-card {
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.team-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.team-card:hover .team-photo {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-body {
  padding: 1.1rem 0.15rem 0 !important;
}

/* Product cards - sharper, less toy-like */
.product-card {
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 1px 0 rgba(11,42,91,0.06), 0 8px 24px rgba(11,42,91,0.06) !important;
}

.product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-md) !important;
}

.product-card .card-img-top {
  height: 210px !important;
}

.badge-frozen {
  border-radius: var(--radius) !important;
  background: rgba(26, 69, 139, 0.1) !important;
  color: var(--marine-deep) !important;
  font-weight: 600;
}

/* Mission band */
.bg-marine {
  position: relative;
  overflow: hidden;
}

.bg-marine::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(94,184,232,0.18), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,0.06), transparent 35%);
  pointer-events: none;
}

.bg-marine .container {
  position: relative;
  z-index: 1;
}

.mission-block {
  height: 100%;
  padding: 0.5rem 0;
}

.mission-block .section-title {
  margin-bottom: 1rem;
}

/* Stats */
.home-stat {
  padding: 1.25rem 0.75rem;
  border-top: 2px solid var(--marine-light);
}

.home-stat .stat-number {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
}

/* Contact */
.contact-info-card {
  border-radius: var(--radius-lg) !important;
}

.contact-form {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--silver-light);
  box-shadow: var(--shadow-sm) !important;
}

.map-container {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--silver-light);
  /* keep layout rules from the main .map-container block above */
}

/* Full-bleed page headers for secondary pages */
.page-header {
  position: relative;
  padding: 7.5rem 0 3.5rem !important;
  text-align: start !important;
  overflow: hidden;
  background: none !important;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6,18,38,0.88) 0%, rgba(11,42,91,0.72) 55%, rgba(26,69,139,0.55) 100%),
    url('../assets/images/facility-hero.webp') center/cover no-repeat;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  letter-spacing: -0.02em;
}

.page-header.page-header-products::before {
  background:
    linear-gradient(115deg, rgba(6,18,38,0.88) 0%, rgba(11,42,91,0.7) 100%),
    url('../assets/images/products-catalog.webp') center/cover no-repeat;
}

.page-header.page-header-contact::before {
  background:
    linear-gradient(115deg, rgba(6,18,38,0.88) 0%, rgba(11,42,91,0.7) 100%),
    url('../assets/images/logistics.webp') center/cover no-repeat;
}

.page-header.page-header-quality::before {
  background:
    linear-gradient(115deg, rgba(6,18,38,0.88) 0%, rgba(11,42,91,0.7) 100%),
    url('../assets/images/processing-4.webp') center/cover no-repeat;
}

/* Process steps cleaner */
.process-step {
  box-shadow: none !important;
  border: 1px solid var(--silver-light);
  background: #fff;
}

.process-step .step-number {
  border-radius: var(--radius) !important;
}

/* Image frame */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Quality strip on home */
.quality-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .quality-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quality-pill {
  padding: 1.1rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
}

/* Footer richer */
.footer-lm {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(94,184,232,0.12), transparent 45%),
    var(--marine-deep) !important;
}

.footer-brand img {
  height: 56px !important;
}

/* Section spacing rhythm */
.section-padding {
  padding: 5.5rem 0 !important;
}

@media (max-width: 767.98px) {
  .section-padding { padding: 3.5rem 0 !important; }
  .navbar-brand-text { display: none; }
}

/* Divider accent between sections */
.section-rule {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--marine-bright), var(--marine-light));
  margin: 0.85rem auto 1.25rem;
}

.section-rule.start {
  margin-inline: 0 auto 0 0;
  margin-bottom: 1.25rem;
}


.social-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.social-links a:hover {
  color: var(--marine-light);
  text-decoration: underline;
}
