/* ==========================================================================
   YAKS MARINE — Core Styles
   Premium Maritime Corporate Design System
   ========================================================================== */

@import url('variables.css');
@import url('animations.css');
@import url('responsive.css');

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');


/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--navy);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

h5 {
  font-size: var(--text-md);
}

h6 {
  font-size: var(--text-base);
}

p {
  color: var(--text-body);
  line-height: var(--leading-relaxed);
}


/* ==========================================================================
   2. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.container-fluid {
  width: 100%;
  padding: 0;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--alt {
  background-color: var(--light-bg);
}

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

.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p,
.section--navy span {
  color: var(--white);
}

.section--navy p {
  color: rgba(var(--white-rgb), 0.75);
}

.section--gradient {
  background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}


/* ── Grid System ─────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex {
  display: flex;
  gap: var(--space-4);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}


/* ==========================================================================
   3. SECTION HEADERS
   ========================================================================== */

.section__header {
  max-width: 680px;
  margin-bottom: var(--space-16);
}

.section__header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-4);
}

.section__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section__header.center .section__label::before {
  display: none;
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-5);
  color: var(--navy);
}

.section__title span {
  color: var(--secondary);
}

.section__desc {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 600px;
  line-height: var(--leading-relaxed);
}

.section__header.center .section__desc {
  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(var(--white-rgb), 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Primary — Gold */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(var(--gold-rgb), 0.35);
}

/* Secondary — Outline Navy */
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

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

/* Ghost — Transparent White (for dark backgrounds) */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(var(--white-rgb), 0.35);
}

.btn-ghost:hover {
  background: rgba(var(--white-rgb), 0.12);
  border-color: rgba(var(--white-rgb), 0.60);
  transform: translateY(-2px);
}

/* Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

/* Button icon */
.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}


/* ==========================================================================
   5. GLASSMORPHISM NAVIGATION
   ========================================================================== */

.nav-header {
  position: fixed;
  top: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--space-12));
  max-width: var(--container-max);
  z-index: var(--z-nav);
  padding: var(--space-4) var(--space-6);
  background: var(--glass-bg-subtle);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-slow) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Scrolled compact state with dark blue background */
.nav-header.scrolled {
  top: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: var(--navy) !important; /* Deep dark blue */
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-logo .logo-emblem {
  height: 52px;
  filter: none !important;
}

/* Logo emblems toggle: show default initially, scrolled logo when scrolled */
.nav-header .scrolled-emblem {
  display: none !important;
}

.nav-header .default-emblem {
  display: block !important;
}

.nav-header.scrolled .scrolled-emblem {
  display: block !important;
}

.nav-header.scrolled .default-emblem {
  display: none !important;
}

.nav-logo .logo-text {
  filter: invert(53%) sepia(93%) saturate(1500%) hue-rotate(175deg) brightness(95%) contrast(98%) !important;
  /* Light blue over dark hero */
}

.nav-header.scrolled .nav-logo img {
  height: 34px;
}

.nav-header.scrolled .nav-logo .logo-emblem {
  height: 42px;
}

.nav-header.scrolled .nav-logo .logo-text {
  filter: invert(100%) brightness(200%) !important;
  /* Turns logo text to pure white over dark blue scrolled background */
}

/* Links & Text inside scrolled header - stand out against dark blue background */
.nav-header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav-header.scrolled .nav-link:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nav-header.scrolled .nav-link.active {
  color: var(--sky) !important; /* Standout active state color */
}

.nav-header.scrolled .nav-link::after {
  background: var(--sky) !important; /* Light blue underline indicator */
}

/* Scrolled Mobile Toggle Bars - White on Dark Blue background */
.nav-header.scrolled .nav-toggle span {
  background: var(--white) !important;
}

.nav-header.scrolled .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Dropdown Mega Menu in scrolled header */
.nav-header.scrolled .mega-menu {
  background: var(--deep-navy) !important; /* Deep dark blue dropdown */
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: var(--shadow-2xl);
}

.nav-header.scrolled .mega-menu h4 {
  color: var(--sky) !important;
  border-bottom-color: var(--sky) !important;
}

.nav-header.scrolled .mega-menu-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.nav-header.scrolled .mega-menu-link:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.nav-header.scrolled .mega-menu-link span {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Mobile nav logo original color */
.mobile-nav .nav-logo img {
  height: 38px;
  margin-bottom: var(--space-6);
}

.mobile-nav .nav-logo .logo-emblem {
  height: 48px;
  filter: none !important;
}

.mobile-nav .nav-logo .logo-text {
  filter: none !important; /* Reverts to original dark blue inside mobile drawer */
}

.nav-logo-text {
  display: none;
  /* Hide placeholder text now that we have the real premium logo */
}

/* ── Faded Background Watermark ─────────────────────────────────────────── */
.watermark-container {
  position: relative;
}

.watermark-emblem {
  position: absolute;
  width: 550px;
  height: 550px;
  background-image: url('/images/logo-emblem.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.025;
  /* Very subtle corporate watermark */
  pointer-events: none;
  z-index: 0;
}

.watermark-bottom-right {
  bottom: -50px;
  right: -80px;
}

.watermark-top-left {
  top: 50px;
  left: -80px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.06);
}

.nav-link.active {
  color: var(--secondary);
  font-weight: var(--weight-semibold);
}

/* Underline hover effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-cta {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  transition: all var(--transition-base);
}

.nav-toggle:hover {
  background: rgba(var(--navy-rgb), 0.06);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ── Mega Menu ───────────────────────────────────────────────────────────── */

.nav-item-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 720px;
  padding: var(--space-8);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-slow);
  pointer-events: none;
  z-index: var(--z-dropdown);
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
  pointer-events: auto;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.mega-menu-col h4 {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--gold);
}

.mega-menu-link {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.mega-menu-link:hover {
  color: var(--secondary);
  padding-left: var(--space-2);
}

.mega-menu-link span {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: 2px;
}


/* ── Mobile Nav ──────────────────────────────────────────────────────────── */

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-2xl);
  z-index: var(--z-overlay);
  padding: var(--space-20) var(--space-8) var(--space-8);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--gold);
  padding-left: var(--space-3);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(var(--navy-rgb), 0.50);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}


/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep-navy);
}

.hero--short {
  min-height: 50vh;
}

/* Slider Slides */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  z-index: -1;
}

.hero__slide .hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.hero__slide .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero__slide-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .hero__slide-logo img {
    width: 140px !important;
  }
}

@media (max-width: 768px) {
  .hero__slide-logo {
    display: none !important;
  }
}

/* Hero Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent; /* Remove color overlaying as requested by user */
  z-index: 2;
}

/* Wave bottom edge */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 10;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__wave svg {
  display: block;
  width: 200%;
  height: 80px;
}

.hero__wave-path {
  fill: var(--gold);
}

.hero__wave-path--back {
  fill: var(--gold);
}

.hero__wave-path--front {
  fill: var(--white);
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 4;
  max-width: 720px;
  padding-top: var(--space-20);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-6);
}

.hero__label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: var(--weight-extrabold);
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45); /* High contrast readability */
}

.hero__title span {
  color: var(--gold);
}

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--white);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 540px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.50); /* High contrast readability */
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Slider Dots */
.hero__dots {
  position: absolute;
  bottom: var(--space-12);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: var(--space-3);
}

.hero__dot {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: rgba(var(--white-rgb), 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hero__dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 4px;
  transition: width 6s linear;
}

.hero__dot.active {
  background: rgba(var(--white-rgb), 0.35);
}

.hero__dot.active::after {
  width: 100%;
}

/* Slider Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--white-rgb), 0.20);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.hero__arrow svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.hero__arrow:hover {
  background: var(--gold); /* Set hover background to light blue accent */
  border-color: rgba(var(--white-rgb), 0.40);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.35);
}

.hero__arrow--prev:hover svg {
  transform: translateX(-2px);
}

.hero__arrow--next:hover svg {
  transform: translateX(2px);
}

.hero__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero__arrow--prev {
  left: var(--space-6);
}

.hero__arrow--next {
  right: var(--space-6);
}

@media (max-width: 768px) {
  .hero__arrow {
    width: 44px;
    height: 44px;
    left: var(--space-3);
  }
  .hero__arrow--next {
    right: var(--space-3);
    left: auto;
  }
}

/* Particle container */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}


/* ==========================================================================
   7. CARDS
   ========================================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
}

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

/* Card with icon */
.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(var(--secondary-rgb), 0.08);
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.5;
}

.card:hover .card__icon {
  background: var(--secondary);
  box-shadow: var(--shadow-ocean);
}

.card:hover .card__icon svg {
  stroke: var(--white);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--secondary);
  transition: all var(--transition-base);
}

.card__link:hover {
  color: var(--gold);
  gap: var(--space-3);
}

.card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition-base);
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* Service Card — with top accent */
.card--service {
  padding-top: var(--space-10);
  border-top: 3px solid transparent;
}

.card--service:hover {
  border-top-color: var(--gold);
}

/* Team Card */
.card--team {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.card--team__photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--light-bg);
}

.card--team__info {
  padding: var(--space-6);
}

.card--team__name {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.card--team__role {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.card--team__dept {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  background: rgba(var(--gold-rgb), 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* Port Card */
.card--port {
  padding: 0;
  overflow: hidden;
}

.card--port__img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card--port__body {
  padding: var(--space-6);
}

.card--port__region {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-2);
}


/* ==========================================================================
   8. STATISTICS BAR
   ========================================================================== */

.stats {
  padding: var(--space-16) 0;
  position: relative;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat {
  text-align: center;
  position: relative;
}

.stat+.stat::before {
  content: '';
  position: absolute;
  left: calc(var(--space-8) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.section--navy .stat__number {
  color: var(--gold);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

.section--navy .stat__label {
  color: rgba(var(--white-rgb), 0.65);
}

.section--navy .stat+.stat::before {
  background: rgba(var(--white-rgb), 0.12);
}


/* ==========================================================================
   9. TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  padding: var(--space-10) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--secondary), var(--navy));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: var(--space-8);
}

.timeline__item:nth-child(odd) {
  padding-right: var(--space-12);
  text-align: right;
}

.timeline__item:nth-child(even) {
  margin-left: 50%;
  padding-left: var(--space-12);
}

.timeline__dot {
  position: absolute;
  top: var(--space-10);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.timeline__item:nth-child(odd) .timeline__dot {
  right: -8px;
}

.timeline__item:nth-child(even) .timeline__dot {
  left: -8px;
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.timeline__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}


/* ==========================================================================
   10. FORMS
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.12);
}

.form-control:hover {
  border-color: var(--border-dark);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-control.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: var(--space-1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}


/* ==========================================================================
   11. BADGES
   ========================================================================== */

.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  border-radius: var(--radius-full);
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
}


/* ==========================================================================
   12. BREADCRUMBS
   ========================================================================== */

.breadcrumb {
  padding: var(--space-4) 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(var(--white-rgb), 0.60);
}

.breadcrumb a {
  color: rgba(var(--white-rgb), 0.60);
  transition: color var(--transition-fast);
}

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

.breadcrumb__sep {
  color: rgba(var(--white-rgb), 0.30);
}

.breadcrumb__current {
  color: var(--gold);
  font-weight: var(--weight-medium);
}


/* ==========================================================================
   13. PARTNER TICKER
   ========================================================================== */

.ticker {
  padding: var(--space-10) 0;
  background: var(--light-bg);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ticker__track {
  display: flex;
  animation: tickerScroll 30s linear infinite;
  width: fit-content;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-12);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-light);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.ticker__item:hover {
  opacity: 1;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(var(--gold-rgb), 0.15);
  line-height: 1;
}

.testimonial__text {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  font-size: var(--text-md);
}

.testimonial__name {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  color: var(--navy);
  font-size: var(--text-sm);
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}


/* ==========================================================================
   15. FAQ ACCORDION
   ========================================================================== */

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  background: var(--white);
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}


/* ==========================================================================
   16. CTA SECTION
   ========================================================================== */

.cta {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-navy) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  margin-bottom: var(--space-5);
}

.cta__text {
  font-size: var(--text-md);
  color: rgba(var(--white-rgb), 0.70);
  max-width: 560px;
  margin: 0 auto var(--space-10) auto;
  line-height: var(--leading-relaxed);
}

.cta__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.footer {
  background: var(--deep-navy);
  padding-top: var(--space-20);
  color: rgba(var(--white-rgb), 0.70);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
}

/* Footer about */
.footer__about {
  padding-right: var(--space-8);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  /* Render dark PNG logo as pure white in dark footer */
}

.footer__logo-text {
  display: none;
  /* Hide old text placeholder */
}

.footer__about-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer columns */
.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-6);
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(var(--white-rgb), 0.55);
  transition: all var(--transition-base);
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: var(--space-2);
}

/* Newsletter */
.footer__newsletter {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.footer__newsletter input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  background: rgba(var(--white-rgb), 0.06);
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  outline: none;
  transition: all var(--transition-base);
}

.footer__newsletter input::placeholder {
  color: rgba(var(--white-rgb), 0.35);
}

.footer__newsletter input:focus {
  border-color: var(--gold);
  background: rgba(var(--white-rgb), 0.10);
}

/* Certifications */
.footer__certs {
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer__cert {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: rgba(var(--white-rgb), 0.40);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__cert::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

/* Footer Bottom */
.footer__bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(var(--white-rgb), 0.35);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-links a {
  font-size: var(--text-xs);
  color: rgba(var(--white-rgb), 0.35);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: rgba(var(--white-rgb), 0.70);
}


/* ==========================================================================
   18. TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: var(--text-sm);
  color: var(--text-dark);
  transform: translateX(120%);
  transition: transform var(--duration-slow) var(--ease-out);
  cursor: pointer;
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast--success {
  border-left: 3px solid var(--success);
}

.toast--error {
  border-left: 3px solid var(--danger);
}

.toast--info {
  border-left: 3px solid var(--info);
}

.toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast--success svg {
  stroke: var(--success);
}

.toast--error svg {
  stroke: var(--danger);
}

.toast--info svg {
  stroke: var(--info);
}


/* ==========================================================================
   19. WORLD MAP (Contact Page)
   ========================================================================== */

.world-map {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--deep-navy);
  overflow: hidden;
}

.world-map__svg {
  width: 100%;
  display: block;
}

.world-map__marker {
  cursor: pointer;
  transition: all var(--transition-base);
}

.world-map__marker:hover {
  transform: scale(1.3);
}

.world-map__tooltip {
  position: absolute;
  padding: var(--space-4) var(--space-5);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  white-space: nowrap;
}

.world-map__tooltip.active {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   20. MISC UTILITIES
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--light-bg) 25%, var(--light-bg-alt) 50%, var(--light-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* Selection color */
::selection {
  background: rgba(var(--gold-rgb), 0.20);
  color: var(--navy);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
