/* ============================================
   Odin-RVB Tank Storage BV — Main Stylesheet
   Mirrors Andino Terminals design system
   ============================================ */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap");

/* --- CSS Variables --- */
:root {
  --primary: #0a1628;
  --secondary: #112240;
  --accent: #e8780a;
  --accent-hover: #c96508;
  --light-blue: #1a3a5c;
  --text-light: #ffffff;
  --text-muted: #8fa5be;
  --text-body: #4a5568;
  --bg-light: #f8fdf2;
  --bg-section: #0d1f35;
  --border: #2a4a6e;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Open Sans", sans-serif;
  /* Layered shadow system (Premium Test-Run) */
  --shadow-xs: 0 5px 15px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.05);
  --shadow-accent:
    0 8px 24px rgba(232, 120, 10, 0.22), 0 4px 12px rgba(232, 120, 10, 0.12);
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --transition: all 0.4s ease;
  --transition-fast: all 0.25s ease;
  /* Test-Run Enhancements */
  --test-gradient: linear-gradient(180deg, #ffffff 0%, #f2fce2 100%);
  --test-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--test-gradient);
  background-attachment: fixed;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(242, 252, 226, 0.4) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 9999;
}
p {
  line-height: 1.8;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-pad {
  padding: 110px 0;
}
.section-pad-sm {
  padding: 90px 0;
}
.text-center {
  text-align: center;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid {
  display: grid;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.section-title.light {
  color: var(--text-light);
}
.section-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(232, 120, 10, 0.4));
  margin: 16px 0 28px;
  border-radius: 2px;
}
.divider.center {
  margin: 16px auto 28px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(232, 120, 10, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    var(--shadow-accent);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}
.btn-dark {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    var(--shadow-xs);
}
.btn-dark:hover {
  background: var(--light-blue);
  border-color: var(--light-blue);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    var(--shadow);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.top-bar .container {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.top-bar-item svg {
  color: var(--accent);
  flex-shrink: 0;
}
.top-bar-item a:hover {
  color: var(--accent);
  transition: var(--transition);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transition: padding 0.4s ease;
}
.site-header.scrolled .header-inner {
  padding: 10px 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Navbar Logo SVG */
.navbar-logo {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: height 0.4s ease;
}
.site-header.scrolled .navbar-logo {
  height: 32px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}
.logo-tagline {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Main Nav --- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  background: transparent !important;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
}
.main-nav a:hover,
.main-nav li.active > a {
  color: var(--accent);
}
.main-nav a:hover::after,
.main-nav li.active > a::after {
  width: calc(100% - 32px);
}

/* Dropdown */
.main-nav .has-dropdown > a::after {
  content: " ▾";
  font-size: 10px;
  transition: transform 0.3s ease;
  display: inline-block;
}
.main-nav .has-dropdown:hover > a::after {
  transform: rotate(180deg);
}
.main-nav .dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  min-width: 220px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1001;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.main-nav .dropdown li {
  border-bottom: 1px solid #f0f0f0;
}
.main-nav .dropdown li:last-child {
  border-bottom: none;
}
.main-nav .dropdown a {
  padding: 12px 20px;
  font-size: 13px;
  border-radius: 0;
  color: var(--text-body);
}
.main-nav .dropdown a::after {
  display: none;
}
.main-nav .dropdown a:hover {
  color: var(--accent);
  background: var(--bg-light);
  padding-left: 24px;
}
.main-nav li:hover .dropdown {
  visibility: visible;
  opacity: 1;
  top: 100%;
  transform: translateY(0);
}
.nav-cta {
  margin-left: 12px;
  box-shadow: 0 4px 15px rgba(232, 120, 10, 0.25);
  animation: subtlePulse 3s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes subtlePulse {
  to {
    box-shadow: 0 0 0 8px rgba(232, 120, 10, 0);
  }
}
.nav-cta:hover {
  animation: none;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

/* Mobile menu - hidden on desktop */
.mobile-menu {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is always visible on load - prevents black flash */
.hero-bg-slider .hero-slide:first-child,
.hero-bg-slider .hero-slide.active {
  opacity: 1 !important;
}

@keyframes heroSliderMotion {
  0% { transform: scale(1) translateX(0); }
  50% { transform: scale(1.05) translateX(-10px); }
  100% { transform: scale(1) translateX(0); }
}

/* Unified Slider Core System */
.hero-slider, .services-hero-slider, .service-detail-hero .hero-slider,
.terminals-hero .hero-slider, .terminal-detail-hero .hero-slider,
.about-hero-slider, .about-cta-slider, .services-cta-slider,
.storage-bg-slider, .rotterdam-slider, .contact-hero-slider, .contact-cta-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-slide, .service-slide, .about-slide, .cta-slide, .slide, .storage-slide, .rotterdam-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease-in-out;
  will-change: opacity, transform;
  visibility: visible !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-slide.active, .service-slide.active, .about-slide.active,
.cta-slide.active, .slide.active, .storage-slide.active, .rotterdam-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load - prevents black flash */
.hero-bg-slider .hero-slide:first-child,
.hero-slider .slide:first-child,
.services-hero-slider .service-slide:first-child,
.service-detail-hero .hero-slider .slide:first-child,
.terminals-hero .hero-slider .slide:first-child,
.terminal-detail-hero .hero-slider .slide:first-child,
.about-hero-slider .about-slide:first-child,
.about-cta-slider .cta-slide:first-child,
.services-cta-slider .cta-slide:first-child,
.storage-bg-slider .storage-slide:first-child,
.rotterdam-slider .rotterdam-slide:first-child,
.contact-hero-slider .hero-slide:first-child,
.contact-cta-slider .cta-slide:first-child {
  opacity: 1 !important;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}
.hero-content h1,
.hero-content p {
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 8px; /* Increased for wider spread */
  max-width: 100%;
  width: 100%;
  text-align: center;
  min-height: 1.2em;
  opacity: 0;
  transform: translateX(-120px);
  animation: heroSlideIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}
.hero-title span {
  background: linear-gradient(135deg, #e8780a 0%, #f58220 50%, #e8780a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #e8780a;
}

@keyframes heroSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title.typewriter-active {
  animation: heroSlideIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}

@keyframes cursorBlink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--accent);
  }
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blinkCursorAlt 0.8s step-end infinite;
}

@keyframes blinkCursorAlt {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-eyebrow {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.2s;
}

.hero-btns {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.4s;
}

.hero-scroll {
  opacity: 0;
  animation:
    fadeInUp 0.8s ease forwards,
    bounce 2s ease infinite;
  animation-delay: 1.8s, 2.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   PAGE CONTENT ENTRANCE ANIMATION
   ============================================ */

/* page-entrance-section: legacy class, scroll observer handles all reveals */

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 500;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation:
    fadeInUp 0.8s ease forwards,
    bounce 2s ease infinite;
  animation-delay: 0.8s, 1.6s;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
.hero-scroll svg {
  color: var(--accent);
}

/* Page Hero (inner pages) */
.about-hero {
  background: var(--primary);
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.about-hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.about-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.about-hero-slider .about-slide.active {
  opacity: 1 !important;
}
.about-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.about-hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
}
.about-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
  min-height: 1.2em;
}
.about-hero-content h1.typewriter-active {
  animation: heroSlideIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}
.about-hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.about-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}
.about-hero .breadcrumb a {
  color: var(--accent);
}
.about-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* Hero Tag and Brand Accent */
.hero-tag {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.brand-accent {
  background: linear-gradient(135deg, #e8780a 0%, #f58220 50%, #e8780a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #e8780a;
}

/* ============================================
   SERVICES HERO (Service Pages)
   ============================================ */
.services-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.services-hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.service-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease-in-out, transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.services-hero-slider .service-slide.active {
  opacity: 1 !important;
}

.services-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.services-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  color: #fff;
  padding: 20px;
}
.services-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}
.services-hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Ensure hero content is always visible - override animation classes */
.services-hero-content.fade-slide-up,
.services-hero-content.slide-up,
.services-hero-content .fade-slide-up,
.services-hero-content .slide-up,
.services-hero-content .hero-tag.fade-slide-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* Service Detail Hero (Individual Service Pages) */
.service-detail-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.service-detail-hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.service-detail-hero .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.service-detail-hero .slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.service-detail-hero .hero-slider .slide.active {
  opacity: 1 !important;
}
/* Unified opacity control ensures no black flash */
.service-detail-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.service-detail-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  color: #fff;
  padding: 20px;
}
.service-detail-hero .hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}
.service-detail-hero .hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Ensure service detail hero content is always visible - override animation classes */
.service-detail-hero .hero-content.fade-slide-up,
.service-detail-hero .hero-content.slide-up,
.service-detail-hero .hero-content .fade-slide-up,
.service-detail-hero .hero-content .slide-up,
.service-detail-hero .hero-content .brand-accent {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* Services CTA Section */
.services-cta .services-cta-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.services-cta .cta-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.services-cta .cta-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.services-cta-slider .cta-slide.active {
  opacity: 1 !important;
}

/* Services CTA content z-index */
.services-cta .cta-inner {
  position: relative;
  z-index: 3;
}

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about-section {
  background: linear-gradient(160deg, #ffffff 0%, #f8fafd 60%, #f1f5fb 100%);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid #fff;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--accent);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.about-badge .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}
.about-text p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 500;
}
.about-btns {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, #0a1628 0%, #112240 50%, #0d1f35 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  animation: statsBgShift 12s ease infinite alternate;
}
@keyframes statsBgShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../image/Industrial-Terminal.jpg") center/cover;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: luminosity;
}
.stats-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(232, 120, 10, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(26, 58, 92, 0.3) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}
.stat-card:hover {
  background: rgba(232, 120, 10, 0.1);
  border-color: rgba(232, 120, 10, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(232, 120, 10, 0.15);
}
.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 120, 10, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-num sup {
  font-size: 24px;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  display: block;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: linear-gradient(175deg, #f5f7fa 0%, #edf1f8 40%, #f5f7fa 100%);
  position: relative;
}
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(10, 22, 40, 0.04) 1px,
    transparent 0
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Equal height cards */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 120, 10, 0.15);
}
.service-card:hover .service-img {
  transform: scale(1.05);
}
.service-img-wrap {
  overflow: hidden;
  height: 220px;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-body {
  padding: 28px;
  /* Equal height cards: push footer link to bottom */
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 120, 10, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}
.service-card:hover .service-icon {
  background: rgba(232, 120, 10, 0.14);
  transform: scale(1.08);
}
.service-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
  /* Part 2 fix: push link to bottom */
  flex: 1;
}
.service-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
  /* Part 2 fix: always at the bottom */
  margin-top: auto;
}
.service-link:hover {
  gap: 12px;
  color: var(--accent-hover);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1565008576549-57569a49371d?w=1600&q=50")
    center/cover;
  opacity: 0.15;
}

/* Disable ::before background for sections with sliders */
.storage-motion-section::before,
.rotterdam-section::before,
.about-cta::before {
  content: none;
}

/* About CTA Section */
.about-cta {
  position: relative;
  overflow: hidden;
}

.about-cta-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.cta-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cta-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.about-cta-slider .cta-slide.active {
  opacity: 1 !important;
}

/* About CTA content z-index */
.about-cta .cta-inner {
  position: relative;
  z-index: 3;
}

/* Storage Motion Section */
.storage-motion-section {
  position: relative;
}

.storage-motion-section .storage-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.storage-motion-section .storage-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.storage-motion-section .storage-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.storage-motion-section .storage-slide.active {
  opacity: 1 !important;
}

/* Rotterdam Section */
.rotterdam-section {
  position: relative;
}

.rotterdam-section .rotterdam-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.rotterdam-section .rotterdam-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rotterdam-section .rotterdam-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.rotterdam-section .rotterdam-slide.active {
  opacity: 1 !important;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 38px 24px;
  text-align: center;
}
.cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: 0.3px;
  max-width: 600px;
  text-align: center;
}
.cta-text .btn,
.cta-inner > .btn,
.cta-inner > a.btn {
  margin-top: 8px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.cta-text .btn:hover,
.cta-inner > .btn:hover,
.cta-inner > a.btn:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 28px rgba(232, 120, 10, 0.35);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
  background: linear-gradient(160deg, #ffffff 0%, #f9fafb 50%, #f5f7fa 100%);
  position: relative;
}
.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 90% 10%,
      rgba(232, 120, 10, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 10% 90%,
      rgba(10, 22, 40, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.why-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(232, 120, 10, 0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 120, 10, 0.2);
}
.why-card:hover::after {
  transform: scaleX(1);
}
.why-card .why-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 120, 10, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}
.why-card:hover .why-icon {
  background: rgba(232, 120, 10, 0.15);
  transform: scale(1.1);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.why-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-section);
}
.testimonials-section .section-title {
  color: #fff;
}
.testimonials-section .section-subtitle {
  color: var(--text-muted);
}
.testimonials-track {
  overflow: hidden;
  position: relative;
}
.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.testimonial-card.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 24px;
  right: 36px;
  font-family: Georgia, serif;
  font-size: 100px;
  color: rgba(232, 120, 10, 0.15);
  line-height: 1;
  pointer-events: none;
}
.testimonial-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-card.glass-card .testimonial-text {
  color: var(--text-body);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}
.testimonial-card.glass-card .testimonial-name {
  color: var(--primary);
}
.testimonial-loc {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.t-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ============================================
   PARTNERS / CLIENTS
   ============================================ */
.partners-section {
  background: linear-gradient(160deg, #ffffff 0%, #f6f8fb 100%);
  padding: 50px 0;
  border-top: 1px solid #e5e7eb;
}
.partners-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}
.partners-track {
  overflow: hidden;
  position: relative;
}
.partners-track::before,
.partners-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
}
.partners-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}
.partners-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}
.partners-scroll {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scrollPartners 20s linear infinite;
  width: max-content;
}
@keyframes scrollPartners {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.partner-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  transition: var(--transition);
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  background: #fff;
}
.partner-logo:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--primary);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-about .logo-name,
.footer-about .logo-tagline {
  color: #fff;
}
.footer-about .logo-tagline {
  color: var(--text-muted);
}
.footer-about p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 20px 0 28px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 15px;
}
.footer-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: "›";
  color: var(--accent);
  font-size: 16px;
}
.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-contact-item a {
  color: var(--text-muted);
}
.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--accent);
}
.footer-reg {
  font-size: 12px;
  color: rgba(143, 165, 190, 0.6);
}

/* ============================================
   ABOUT PAGE SPECIFICS
   ============================================ */
.about-full-section {
  background: #fff;
}
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 48px 0;
}
.mv-card {
  padding: 36px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.mv-card.mission {
  background: var(--primary);
}
.mv-card.vision {
  background: var(--accent);
}
.mv-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}
.mv-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  position: relative;
}

/* Team */
.team-section {
  background: linear-gradient(160deg, #ffffff 0%, #f6f8fb 100%);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img {
  transform: scale(1.05);
}
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
}
.team-card:hover .team-overlay {
  opacity: 1;
}
.team-body {
  padding: 20px;
}
.team-body h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.team-body span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Locations gallery */
.locations-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}
.loc-item {
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
}
.loc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.loc-item:hover img {
  transform: scale(1.08);
}
.loc-item:first-child {
  grid-column: span 2;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail-section {
  background: #fff;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail-grid.reverse {
  direction: rtl;
}
.service-detail-grid.reverse > * {
  direction: ltr;
}
.service-detail-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.service-features {
  margin: 20px 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.feature-item:last-child {
  border-bottom: none;
}
.feature-check {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-item span {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ============================================
   TERMINALS PAGE
   ============================================ */
.terminals-section {
  background: linear-gradient(160deg, #f5f7fa 0%, #edf1f8 100%);
}
.terminals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.terminal-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}
.terminal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 120, 10, 0.15);
}
.terminal-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.terminal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.terminal-card:hover .terminal-img {
  transform: scale(1.06);
}
.terminal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.terminal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.terminal-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.terminal-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}
.terminal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(232, 120, 10, 0.25);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease,
    gap 0.2s ease;
  margin: 24px auto 0;
  width: fit-content;
}
.terminal-link:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    var(--shadow-accent);
  gap: 12px;
  color: #fff;
}
.terminal-specs {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.terminal-spec {
  text-align: center;
}
.terminal-spec .val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.terminal-spec .lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-info-text label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-text p {
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
}
.contact-info-text a {
  color: var(--primary);
}
.contact-info-text a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--primary);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 120, 10, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: var(--radius);
  padding: 16px;
  color: #15803d;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* ============================================
   AOS-LIKE ANIMATIONS (vanilla)
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
[data-aos="fade-left"] {
  transform: translateX(-30px);
}
[data-aos="fade-right"] {
  transform: translateX(30px);
}
[data-aos="zoom-in"] {
  transform: scale(0.9);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ============================================
   SLIDE-UP ANIMATION (reusable)
   ============================================ */
.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
}

.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* slide-up.active is set by IntersectionObserver — do NOT use animations-ready shortcut */

/* ============================================
   SERVICE PAGE SECTIONS
   ============================================ */

/* Service Intro */
.service-intro {
  padding: 80px 0;
  background: #fff;
}
.service-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.service-intro-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.service-intro-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Service Why Grid */
.service-why {
  padding: 80px 0;
  background: var(--bg-light);
}
.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 120, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Service Process */
.service-process {
  padding: 80px 0;
  background: #fff;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.process-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
}
.process-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(232, 120, 10, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.process-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.process-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Service Feature */
.service-feature {
  padding: 80px 0;
  background: var(--bg-light);
}
.service-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-image {
  position: relative;
}
.feature-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.feature-content {
  padding: 20px;
}
.feature-content p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
}
.feature-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

/* Service Detail Sections */
.service-detail {
  padding: 80px 0;
  background: #fff;
}
.service-detail.reverse {
  background: var(--bg-light);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.grid-2 .text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.grid-2 .text p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.grid-2 .image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Service CTA */
.service-cta {
  padding: 100px 0;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1565008576549-57569a49371d?w=1600&q=50")
    center/cover;
  opacity: 0.1;
}
.service-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: 2px;
}
.service-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Slide-up scroll animation */
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SLIDE-IN ENTRANCE ANIMATION (About Page)
   ============================================ */
.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.slide-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure content sits above background sliders */
.hero-content,
.cta-inner,
.storage-motion-section .cta-inner,
.rotterdam-section .cta-inner {
  position: relative;
  z-index: 2;
}

/* Storage motion and rotterdam sections need higher z-index for content */
.storage-motion-section .cta-inner,
.rotterdam-section .cta-inner {
  z-index: 3;
}

/* ============================================
   TERMINAL PAGES
   ============================================ */

/* Terminals Hero */
.terminals-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.terminals-hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.terminals-hero .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.terminals-hero .slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}



/* Ensure first slide is visible immediately on page load */
.terminals-hero .hero-slider .slide.active {
  opacity: 1 !important;
}
.terminals-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.terminals-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  color: #fff;
  padding: 20px;
}
.terminals-hero .hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}
.terminals-hero .hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Terminals Intro */
.terminals-intro {
  padding: 80px 0;
  background: #fff;
}
.terminals-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.terminals-intro-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.terminals-intro-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Terminals Grid Section */
.terminals-grid-section {
  padding: 80px 0;
  background: linear-gradient(175deg, #f5f7fa 0%, #edf1f8 40%, #f5f7fa 100%);
  position: relative;
}
.terminals-grid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(10, 22, 40, 0.04) 1px,
    transparent 0
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.terminals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.terminal-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.terminal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 120, 10, 0.15);
}
.terminal-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.terminal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.terminal-card:hover .terminal-img {
  transform: scale(1.06);
}
.terminal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.terminal-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.terminal-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.terminal-body p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.terminal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(232, 120, 10, 0.25);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease,
    gap 0.2s ease;
  margin: 24px auto 0;
  width: fit-content;
}
.terminal-link:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    var(--shadow-accent);
  gap: 12px;
  color: #fff;
}

/* Terminal Detail Hero */
.terminal-detail-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.terminal-detail-hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.terminal-detail-hero .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.terminal-detail-hero .slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.terminal-detail-hero .hero-slider .slide.active {
  opacity: 1 !important;
}
.terminal-detail-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.terminal-detail-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  color: #fff;
  padding: 20px;
}
.terminal-detail-hero .hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}
.terminal-detail-hero .hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Terminal Section */
.terminal-section {
  padding: 80px 0;
  background: #fff;
}
.terminal-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.terminal-section-grid.reverse {
  direction: rtl;
}
.terminal-section-grid.reverse > * {
  direction: ltr;
}
.terminal-section-content .section-label {
  display: block;
  margin-bottom: 12px;
}
.terminal-section-content .section-title {
  margin-bottom: 20px;
}
.terminal-section-content p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.terminal-section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Terminal Specs Grid */
.terminal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.terminal-spec-card {
  text-align: center;
  padding: 20px;
  background: rgba(232, 120, 10, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(232, 120, 10, 0.2);
}
.terminal-spec-card .spec-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.terminal-spec-card .spec-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Hero */
.contact-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}
.contact-hero .hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.contact-hero .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.5s ease-in-out,
    transform 6s linear;
  will-change: opacity, transform;
}
.contact-hero .hero-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: heroSliderMotion 18s infinite linear;
}

/* Ensure first slide is visible immediately on page load */
.contact-hero .hero-slider .hero-slide.active {
  opacity: 1 !important;
}
.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.contact-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  color: #fff;
  padding: 20px;
}
.contact-hero .hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}
.contact-hero .hero-content p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.contact-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #e5e7eb;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.contact-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 120, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}
.contact-card a {
  color: var(--accent);
  font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.contact-form {
  max-width: 650px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .form-group {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--primary);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  font-family: var(--font-body);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 120, 10, 0.1);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-top: 8px;
}
.contact-form .cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.contact-form .form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: var(--radius);
  padding: 20px;
  color: #15803d;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* Global Terminals Section */
.global-terminals-section {
  padding: 80px 0;
  background: #fff;
}
.terminal-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.terminal-location-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid #e5e7eb;
}
.terminal-location-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.terminal-location-marker {
  width: 56px;
  height: 56px;
  background: rgba(232, 120, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 16px;
}
.terminal-location-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.terminal-location-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.terminal-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  background: rgba(232, 120, 10, 0.1);
  border-radius: 20px;
}

/* Map Section */
.map-section {
  padding: 0;
  margin: 0;
  background: transparent;
}
.map-container {
  width: 100%;
  height: 350px;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.2) contrast(1.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .about-full-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-images {
    display: none;
  }
  .service-detail-grid.reverse {
    direction: ltr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .terminals-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  /* Service page sections responsive */
  .why-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-image img {
    height: 350px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Terminal pages responsive */
  .terminals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .terminal-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .terminal-section-grid.reverse {
    direction: ltr;
  }
  .terminal-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .terminal-link {
    width: 100%;
    max-width: 280px;
  }

  /* Contact page responsive */
  .contact-grid,
  .terminal-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-form {
    padding: 30px;
  }
  .map-container {
    height: 350px;
  }

  /* Section padding adjustment for tablets */
  .section-pad {
    padding: 60px 0;
  }

  /* Hero height adjustment */
  .hero,
  .about-hero,
  .services-hero,
  .service-detail-hero {
    min-height: 65vh;
  }

  /* Card padding adjustment */
  .service-card,
  .vessel-card,
  .capability-card,
  .port-card,
  .why-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }

  /* Responsive logo sizing */
  .navbar-logo {
    height: 32px;
    width: auto;
  }

  /* Mobile menu - hidden by default */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    z-index: 1002; /* Higher than other glass cards */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    padding: 10px 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile menu - visible when active */
  .mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease-in-out forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-menu a {
    display: block;
    padding: 14px 20px;
    margin: 4px 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.2s ease;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
  }

  /* Mobile dropdown wrapper */
  .mobile-dropdown {
    display: block;
    margin: 4px 10px;
  }

  /* Mobile dropdown toggle link */
  .mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Dropdown arrow */
  .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
  }

  .mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Mobile sub-menu */
  .mobile-sub {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    flex-direction: column;
    padding: 0;
  }

  .mobile-dropdown.active .mobile-sub {
    display: flex;
  }

  .mobile-sub a {
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 20px;
    margin: 0;
    border-radius: 0;
    text-align: left;
  }

  .mobile-sub a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
  }

  .services-grid,
  .terminals-grid,
  .port-grid,
  .why-grid,
  .process-grid,
  .vessel-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .locations-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .locations-gallery .loc-item:first-child {
    grid-column: span 2;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 70vh;
  }
  .cta-inner {
    text-align: center;
    justify-content: center;
  }
  .terminal-link {
    width: 100%;
    max-width: 280px;
  }

  /* Service page sections responsive */
  .why-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .service-intro {
    padding: 60px 0;
  }
  .service-why,
  .service-process,
  .service-feature {
    padding: 60px 0;
  }
  .service-intro-content h2 {
    font-size: 28px;
  }
  .process-number {
    font-size: 36px;
  }

  /* Contact page responsive */
  .contact-grid,
  .terminal-locations-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
  .contact-hero {
    min-height: 70vh;
  }
  .map-container {
    height: 300px;
  }

  /* Additional mobile polish */
  .section-title {
    font-size: clamp(24px, 5vw, 32px);
  }

  .section-label {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: clamp(28px, 6vw, 42px);
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  /* Card spacing on mobile */
  .service-card,
  .vessel-card,
  .capability-card,
  .port-card,
  .why-card,
  .process-card {
    padding: 24px 20px;
  }

  /* Icon sizing on mobile */
  .service-icon,
  .vessel-icon,
  .capability-icon,
  .why-icon {
    width: 48px;
    height: 48px;
  }

  .vessel-icon,
  .capability-icon {
    margin-bottom: 16px;
  }

  /* Grid gap adjustment on mobile */
  .services-grid,
  .vessel-grid,
  .capabilities-grid,
  .port-grid,
  .why-grid,
  .process-grid {
    gap: 20px;
  }

  /* Image height adjustment */
  .service-img-wrap {
    height: 180px;
  }

  .port-image {
    height: 140px;
  }

  /* Partner slider on mobile */
  .partners-label {
    font-size: 10px;
    margin-bottom: 24px;
  }

  .partner-logo {
    min-width: 90px;
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Testimonial adjustment */
  .testimonial-card {
    padding: 24px 16px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .locations-gallery {
    grid-template-columns: 1fr;
  }
  .locations-gallery .loc-item:first-child {
    grid-column: span 1;
  }
  .header-inner {
    padding: 12px 16px;
  }
  .mobile-menu {
    top: 100%;
  }
  .mobile-menu a {
    padding: 12px 16px;
    font-size: 13px;
    margin: 4px 8px;
  }

  /* Extra small mobile polish */
  .container {
    padding: 0 16px;
  }

  .section-pad {
    padding: 48px 0;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 36px);
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

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

  .stats-grid {
    gap: 16px;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-num {
    font-size: 36px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-col h4 {
    font-size: 14px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-contact-item {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .cta-inner {
    padding: 19px 16px;
  }

  .cta-text h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .cta-text p {
    font-size: 14px;
  }

  .process-number {
    font-size: 32px;
  }

  .process-card {
    padding: 24px 16px;
  }

  .service-detail-hero .hero-content h1 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .service-detail-hero .hero-content p {
    font-size: 13px;
  }

  .feature-check {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .feature-item {
    font-size: 13px;
  }
}

/* ============================================
   GLOBAL SCROLL ANIMATIONS
   ============================================ */

/* ============================================================
   SCROLL ANIMATION BASE STATES
   Elements start hidden; IntersectionObserver adds .visible
   ============================================================ */

/* Fade + slide up */
.fade-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.fade-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide up (section-level) */
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Slide right */
.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide left */
.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slider image overrides — .active class managed by HeroSliderController */
.hero-slider .slide.active,
.hero-slider .slide.active.slide-right,
.services-cta-slider .cta-slide.active,
.services-cta-slider .cta-slide.active.slide-right,
.terminals-hero .slide.active,
.terminals-hero .slide.active.slide-right,
.terminal-detail-hero .slide.active,
.terminal-detail-hero .slide.active.slide-right {
  opacity: 1 !important;
  transform: scale(1) !important;
  visibility: visible !important;
}

/* Staggered delays — applied when parent grid/list triggers reveal */
.stagger-children > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2)  { transition-delay: 0.15s; }
.stagger-children > *:nth-child(3)  { transition-delay: 0.25s; }
.stagger-children > *:nth-child(4)  { transition-delay: 0.35s; }
.stagger-children > *:nth-child(5)  { transition-delay: 0.45s; }
.stagger-children > *:nth-child(6)  { transition-delay: 0.55s; }
.stagger-children > *:nth-child(7)  { transition-delay: 0.65s; }
.stagger-children > *:nth-child(8)  { transition-delay: 0.70s; }

/* Inline nth-child stagger for direct fade-slide-up siblings */
.fade-slide-up:nth-child(1) { transition-delay: 0.05s; }
.fade-slide-up:nth-child(2) { transition-delay: 0.15s; }
.fade-slide-up:nth-child(3) { transition-delay: 0.25s; }
.fade-slide-up:nth-child(4) { transition-delay: 0.35s; }
.fade-slide-up:nth-child(5) { transition-delay: 0.45s; }
.fade-slide-up:nth-child(6) { transition-delay: 0.55s; }

.slide-right:nth-child(1) { transition-delay: 0.05s; }
.slide-right:nth-child(2) { transition-delay: 0.15s; }
.slide-right:nth-child(3) { transition-delay: 0.25s; }
.slide-right:nth-child(4) { transition-delay: 0.35s; }

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-slide-up,
  .slide-up,
  .slide-right,
  .slide-left {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   HERO & ABOVE-FOLD CONTENT — ALWAYS VISIBLE
   These override any animation class (.fade-slide-up, .slide-up, etc.)
   so scroll observer never hides above-the-fold content.
   ============================================================ */
.hero .fade-slide-up,
.hero .slide-up,
.hero .slide-right,
.hero .slide-left,
.about-hero-content,
.about-hero-content .fade-slide-up,
.about-hero-content .slide-up,
.services-hero-content,
.services-hero-content .fade-slide-up,
.services-hero-content .slide-up,
.service-detail-hero .hero-content,
.service-detail-hero .hero-content .fade-slide-up,
.service-detail-hero .hero-content .slide-up,
.terminals-hero .hero-content,
.terminals-hero .hero-content .fade-slide-up,
.terminals-hero .hero-content .slide-up,
.terminal-detail-hero .hero-content,
.terminal-detail-hero .hero-content .fade-slide-up,
.terminal-detail-hero .hero-content .slide-up,
.contact-hero .hero-content,
.contact-hero .hero-content .fade-slide-up,
.contact-hero .hero-content .slide-up {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ============================================
   UI/UX POLISH - GLOBAL IMPROVEMENTS
   ============================================ */

/* Enhanced section spacing consistency */
section {
  scroll-margin-top: 80px;
}

.section-pad {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }
}

/* Enhanced container consistency */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography refinements */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enhanced card consistency */
.service-card,
.vessel-card,
.capability-card,
.port-card,
.why-card,
.stat-card,
.process-card,
.testimonial-card {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Image alignment and sizing polish */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.service-img,
.about-img-main,
.about-img-accent,
.port-image img,
.vessel-card img,
.capability-card img {
  will-change: transform;
}

/* Hero section balance improvements */
.hero,
.about-hero,
.services-hero,
.service-detail-hero,
.contact-hero,
.terminals-hero,
.terminal-detail-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content,
.about-hero-content,
.services-hero-content,
.service-detail-hero .hero-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero title refinements */
.hero-title,
.service-detail-hero h1,
.about-hero h1,
.services-hero h1 {
  word-spacing: 2px;
  text-rendering: optimizeLegibility;
}

/* CTA section consistency */
.cta-banner {
  position: relative;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-text h2 {
  max-width: 660px;
}

.cta-text p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .cta-inner {
    padding: 34px 24px;
  }

  .cta-text p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .cta-inner {
    padding: 26px 20px;
    text-align: center;
    gap: 20px;
  }

  .cta-text h2 {
    margin: 0 auto 12px;
    font-size: clamp(22px, 6vw, 32px);
  }

  .cta-text p {
    margin: 0 auto;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.68;
    letter-spacing: 0.2px;
    max-width: 520px;
  }

  .cta-text .btn,
  .cta-inner > .btn,
  .cta-inner > a.btn {
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .cta-inner {
    padding: 22px 16px;
  }

  .cta-text p {
    font-size: 15px;
    max-width: 100%;
  }
}

/* Partner slider polish */
.partners-section {
  overflow: hidden;
}

.partners-label {
  margin-bottom: 32px;
  letter-spacing: 2.5px;
}

.partner-logo {
  flex-shrink: 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

@media (max-width: 768px) {
  .partner-logo {
    min-width: 100px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .partners-scroll {
    gap: 40px;
  }
}

/* Animation timing consistency */
.fade-slide-up,
.slide-right,
.slide-up {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Button consistency */
.btn {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Form element polish */
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 15px;
}

/* Navigation polish */
.site-header {
  will-change: box-shadow;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* Dropdown menu polish */
.main-nav .dropdown {
  will-change: opacity, transform;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.main-nav li:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
}

/* Footer consistency */
.site-footer {
  padding-top: 64px;
}

.footer-grid {
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    gap: 32px;
  }
}

/* Service detail page improvements */
.service-detail-grid {
  align-items: center;
}

.service-detail-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

@media (max-width: 1024px) {
  .service-detail-img {
    height: 400px;
    margin-bottom: 32px;
  }
}

/* Feature list polish */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(232, 120, 10, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

/* Process card improvements */
.process-card {
  position: relative;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.process-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 16px;
  line-height: 1;
}

/* Testimonial improvements */
.testimonial-card {
  min-width: 100%;
  padding: 40px 24px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.testimonial-loc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Stats section polish */
.stats-section {
  position: relative;
}

.stat-card {
  position: relative;
  z-index: 1;
}

/* Why choose us improvements */
.why-icon {
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  background: rgba(232, 120, 10, 0.2);
}

/* Service feature grid improvements */
.service-feature-grid {
  align-items: center;
  gap: 48px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Terminal page improvements */
.terminal-section-grid {
  align-items: center;
}

.terminal-specs-grid {
  gap: 20px;
}

/* Contact form polish */
.contact-form {
  padding: 40px;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 120, 10, 0.1);
}

/* Mobile menu polish */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
}

.mobile-menu a {
  transition: all 0.2s ease;
}

/* Scroll indicator polish */
.hero-scroll {
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.hero-scroll:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

/* Divider polish */
.divider {
  position: relative;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* Section label consistency */
.section-label {
  display: inline-block;
  margin-bottom: 16px;
}

/* Breadcrumb polish */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--accent);
  transition: color 0.2s ease;
}

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

.breadcrumb span {
  opacity: 0.5;
}

/* Card hover effect consistency */
.service-card,
.vessel-card,
.capability-card,
.port-card,
.why-card,
.process-card,
.stat-card,
.testimonial-card {
  will-change: transform, box-shadow;
}

/* Image hover effects */
.service-img-wrap,
.port-image,
.vessel-card .vessel-image,
.feature-image {
  overflow: hidden;
  border-radius: var(--radius);
}

/* Loading states */
.fade-slide-up,
.slide-right {
  will-change: opacity, transform;
}

/* Print styles */
@media print {
  .site-header,
  .top-bar,
  .hamburger,
  .mobile-menu,
  .cta-banner,
  .partners-section,
  .testimonials-section {
    display: none !important;
  }

  body {
    background: #fff;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ============================================
   SEA FREIGHT SERVICES PAGE STYLES
   ============================================ */

/* Vessel Grid */
.vessel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .vessel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.vessel-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.vessel-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.vessel-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 120, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.capability-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: var(--transition);
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.capability-icon {
  width: 72px;
  height: 72px;
  background: rgba(232, 120, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

/* Port Grid */
.port-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .port-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.port-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.port-card:hover .port-image img {
  transform: scale(1.05);
}

.port-image {
  height: 180px;
  overflow: hidden;
}

.port-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.port-content {
  padding: 24px;
}

.port-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.sub-loc {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.info {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Route Locations */
.routes-visual {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .routes-visual {
    padding: 24px;
  }
}

.route-locations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .route-locations {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .route-locations {
    grid-template-columns: 1fr;
  }
}

.route-location {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.route-location:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.route-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 120, 10, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--accent);
}

/* Service detail hero content spacing */
.service-detail-hero .hero-content p {
  max-width: 750px;
  margin: 16px auto 0;
}

@media (max-width: 768px) {
  .service-detail-hero .hero-content h1 {
    font-size: clamp(28px, 5vw, 42px);
  }

  .service-detail-hero .hero-content p {
    font-size: 14px;
  }
}

/* Service features responsive */
@media (max-width: 640px) {
  .service-features {
    gap: 10px;
  }

  .feature-item {
    font-size: 14px;
  }

  .feature-check {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

/* ============================================
   TERMINAL HERO SLIDERS - RESPONSIVE
   ============================================ */

/* Tablet - Terminal Hero */
@media (max-width: 1024px) {
  .terminals-hero,
  .terminal-detail-hero {
    min-height: 70vh;
  }

  .terminals-hero .hero-content h1,
  .terminal-detail-hero .hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 4px;
  }

  .terminals-hero .hero-content p,
  .terminal-detail-hero .hero-content p {
    font-size: 15px;
  }
}

/* Mobile - Terminal Hero */
@media (max-width: 768px) {
  .terminals-hero,
  .terminal-detail-hero {
    min-height: 60vh;
  }

  .terminals-hero .hero-content,
  .terminal-detail-hero .hero-content {
    padding: 16px;
  }

  .terminals-hero .hero-content h1,
  .terminal-detail-hero .hero-content h1 {
    font-size: clamp(28px, 6vw, 40px);
    letter-spacing: 2px;
  }

  .terminals-hero .hero-content p,
  .terminal-detail-hero .hero-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Optimize slider transitions for mobile */
  .terminals-hero .slide,
  .terminal-detail-hero .slide {
    transition: opacity 0.8s ease-in-out;
  }
}

/* Small Mobile - Terminal Hero */
@media (max-width: 480px) {
  .terminals-hero,
  .terminal-detail-hero {
    min-height: 55vh;
  }

  .terminals-hero .hero-content h1,
  .terminal-detail-hero .hero-content h1 {
    font-size: clamp(24px, 7vw, 32px);
    letter-spacing: 1px;
  }

  .terminals-hero .hero-content p,
  .terminal-detail-hero .hero-content p {
    font-size: 13px;
  }
}

/* Services CTA Responsive */
@media (max-width: 768px) {
  .services-cta .cta-inner {
    padding: 40px 16px;
  }

  .services-cta .cta-text h2 {
    font-size: clamp(24px, 5vw, 36px);
  }

  .services-cta .cta-text p {
    font-size: 14px;
  }

  /* Optimize slider transitions for mobile */
  .services-cta .cta-slide {
    transition: opacity 0.8s ease-in-out;
  }
}

/* ============================================
   PREMIUM BACKGROUNDS & MODERN EFFECTS
   ============================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --mesh-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

/* --- Section Backgrounds --- */
.bg-mesh {
  position: relative;
  background-color: #ffffff;
  background-image:
    radial-gradient(at 0% 0%, hsla(210, 100%, 98%, 1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(215, 80%, 96%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(220, 100%, 98%, 1) 0, transparent 50%);
  overflow: hidden;
}

.bg-dots {
  background-image: radial-gradient(var(--border) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  opacity: 0.15;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --- Glassmorphism --- */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--test-shadow);
  border-radius: var(--radius);
  padding: 32px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(232, 120, 10, 0.2);
  background: rgba(255, 255, 255, 0.88);
}

/* --- Floating Background Elements --- */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  animation: float 20s infinite alternate ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  animation-duration: 25s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--light-blue);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* --- Refined Internal Page Typography --- */
.internal-hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* --- Professional Spacing Utilities --- */
.py-large {
  padding-top: 100px;
  padding-bottom: 100px;
}
.mb-large {
  margin-bottom: 60px;
}

/* Adjustments for existing elements to fit new styles */
.terminal-spec-card {
  border: none;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  padding: 24px;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.terminal-section {
  position: relative;
  overflow: hidden;
}

.terminal-section-content {
  position: relative;
  z-index: 2;
}

.terminal-section-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   CLASSIC PROFESSIONAL ENHANCEMENTS
   ============================================ */

/* --- Accent Line Headings --- */
.section-title-accented {
  position: relative;
  padding-left: 20px;
}
.section-title-accented::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: var(--accent);
  border-radius: 2px;
}

/* --- Page Sidebar Navigation (for Terminal pages) --- */
.page-layout-with-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
}

.page-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.page-sidebar .sidebar-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 16px 20px;
  margin: 0;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav li {
  border-bottom: 1px solid #f0f2f5;
}
.sidebar-nav li:last-child {
  border-bottom: none;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--accent);
  background: rgba(232, 120, 10, 0.06);
  border-left-color: var(--accent);
}
.sidebar-nav a svg {
  flex-shrink: 0;
  color: var(--text-muted);
}
.sidebar-nav a:hover svg,
.sidebar-nav a.active svg {
  color: var(--accent);
}

/* --- Enhanced Professional Info Cards --- */
.pro-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transition: var(--transition);
}
.pro-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.pro-card:hover::before {
  width: 6px;
}
.pro-card .pro-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(232, 120, 10, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.pro-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.pro-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- Icon-Based Spec Grid --- */
.spec-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.spec-icon-item {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.spec-icon-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.spec-icon-item:hover::after {
  width: 100%;
}
.spec-icon-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}
.spec-icon-item .spec-icon-circle {
  width: 56px;
  height: 56px;
  background: rgba(232, 120, 10, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 14px;
}
.spec-icon-item .spec-icon-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.spec-icon-item .spec-icon-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Professional Hero Gradient Overlay --- */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.6) 50%,
    rgba(10, 22, 40, 0.4) 100%
  );
  z-index: 1;
}

/* --- Professional Section Separator --- */
.section-separator {
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 120px,
    #e8ecf1 120px,
    #e8ecf1 100%
  );
}

/* --- Feature Highlight Box (for key services) --- */
.feature-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.feature-highlight-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-highlight-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232, 120, 10, 0.1);
}
.feature-highlight-item .fh-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(232, 120, 10, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feature-highlight-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.feature-highlight-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Enhanced Contact Cards (Pro Style) --- */
.contact-card.glass-card {
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.contact-card.glass-card:hover {
  border-left-width: 4px;
  border-left-color: var(--primary);
}

/* --- Terminal Location Map Item Enhancement --- */
.terminal-location-item {
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.terminal-location-item:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
}

/* --- Professional Counter Badge --- */
.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(232, 120, 10, 0.08);
  border: 1px solid rgba(232, 120, 10, 0.2);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Responsive Sidebar --- */
@media (max-width: 900px) {
  .page-layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .page-sidebar {
    position: relative;
    top: auto;
  }
  .spec-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .spec-icon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .spec-icon-item {
    padding: 20px 12px;
  }
  .spec-icon-item .spec-icon-value {
    font-size: 22px;
  }

  /* Additional mobile fixes */
  .hero-title {
    letter-spacing: 2px !important;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px) !important;
  }

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

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .about-badge {
    left: 0;
    padding: 16px 20px;
  }

  .about-badge .num {
    font-size: 28px;
  }

  .stat-num {
    font-size: 36px;
  }

  .terminal-specs-grid,
  .terminal-locations-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}
