/* ============================================================
   UNIVERSAL SURVEY — Premium Corporate Stylesheet
   ============================================================ */

/* ============================================================
   ASSETS & LOGO INTEGRATION UPDATE
   ============================================================ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --navy-900: #05111f;
  --navy-800: #0b1f3a;
  --navy-700: #0f2848;
  --navy-600: #163558;
  --navy-500: #1e4580;
  --gold-500: #c8903a;
  --gold-400: #d4a04e;
  --gold-300: #e8c47a;
  --gold-100: rgba(200, 144, 58, 0.12);
  --white:    #ffffff;
  --off-white: #f7f9fc;
  --gray-100: #edf0f5;
  --gray-200: #dce2eb;
  --gray-400: #8a95ab;
  --gray-500: #6b7895;
  --gray-700: #374161;
  --text:     #1a2742;
  --text-light: #546480;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10,31,58,.08);
  --shadow-md: 0 6px 24px rgba(10,31,58,.12);
  --shadow-lg: 0 16px 48px rgba(10,31,58,.18);
  --shadow-gold: 0 8px 28px rgba(200,144,58,.30);

  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --font: 'Poppins', sans-serif;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.bg-light { background: var(--off-white); }
.bg-navy  { background: var(--navy-800); }

.text-gold { color: var(--gold-400); font-style: normal; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-lg { padding: 15px 32px; font-size: 0.9rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200,144,58,.40);
}
.btn-gold:active { transform: translateY(0); }

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

.btn-ghost-light {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

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

/* ─── SECTION TYPOGRAPHY ─────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 6px 14px;
  border: 1.5px solid var(--gold-100);
  border-radius: 100px;
  background: var(--gold-100);
  margin-bottom: 16px;
}

.gold-tag {
  color: var(--gold-400);
  border-color: rgba(200,144,58,.25);
  background: rgba(200,144,58,.1);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
}

.section-desc.light { color: rgba(255,255,255,0.65); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc { margin: 0 auto; }

/* ─── PRELOADER ──────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-anchor {
  width: 72px;
  height: 80px;
  animation: anchorFloat 1.4s ease-in-out infinite;
}

@keyframes anchorFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.preloader-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.6;
}

.preloader-track {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 100px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 100px;
  transition: width 0.1s linear;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease 0.2s;
}

/* ─── HEADER ─────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#header.scrolled {
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 40px;
  transition: padding var(--transition);
}

#header.scrolled .header-inner { padding: 14px 40px; }

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.9; }

.logo-img-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.logo:hover .logo-img-box {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(200,144,58,.35);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 3px;
}

.logo-words {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-top {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
}

.logo-bot {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-quote {
  margin-left: 8px;
  font-size: 0.8rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

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

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,.08);
}

.mobile-nav.open { display: flex; }

.mob-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mob-link:hover { background: rgba(255,255,255,.07); color: var(--white); }

.mob-cta { margin-top: 8px; width: 100%; text-align: center; justify-content: center; }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 70%, #1a3060 100%);
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.32) saturate(0.75);
  z-index: 0;
  transition: transform 8s ease;
}

#hero:hover .hero-bg-img {
  transform: scale(1.03);
}

/* Geometric decorations */
.hero-geo {
  position: absolute;
  border: 1px solid rgba(200,144,58,.15);
  border-radius: 50%;
  pointer-events: none;
}

.geo-1 { width: 600px; height: 600px; top: -150px; right: -100px; animation: geoSpin 30s linear infinite; }
.geo-2 { width: 380px; height: 380px; bottom: 60px; right: 120px; animation: geoSpin 20s linear infinite reverse; opacity: .6; }
.geo-3 { width: 200px; height: 200px; bottom: 140px; right: 300px; animation: geoSpin 15s linear infinite; opacity: .4; }

@keyframes geoSpin { to { transform: rotate(360deg); } }

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,144,58,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,144,58,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(30,69,128,.5) 0%, transparent 70%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(200,144,58,.1);
  border: 1px solid rgba(200,144,58,.25);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 780px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.br-desk { display: none; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-cue-line {
  width: 1.5px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(200,144,58,.8), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  padding: 48px 0 0;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  transition: background var(--transition);
}

.stat-item:hover { background: var(--off-white); }

.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.stat-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold-500);
}
.stat-ico svg { width: 100%; height: 100%; }

.stat-body {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.stat-body strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
}
.stat-body span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-top: 5px;
  letter-spacing: 0.02em;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual side */
.about-visual { display: flex; flex-direction: column; gap: 20px; }

/* ─── ABOUT PHOTO (replaces av-card) ─────────────────────── */
.av-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.av-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.av-photo:hover img { transform: scale(1.04); }

.av-photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(5, 17, 31, 0.82);
  border: 1px solid rgba(200, 144, 58, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.av-photo-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.av-photo-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.av-photo-cert {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 17, 31, 0.8);
  border: 1px solid rgba(200, 144, 58, 0.35);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 100px;
}

.av-photo-cert span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold-400);
}

.av-cert-sep {
  width: 1px;
  height: 14px;
  background: rgba(200, 144, 58, 0.4);
}

.av-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.av-badge {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.av-badge svg { width: 22px; height: 22px; }

/* Content side */
.about-para {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.credential-list {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cred-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--gold-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.cred-check svg { width: 14px; height: 14px; }

.cred-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.cred-item span {
  font-size: 0.83rem;
  color: var(--text-light);
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.srv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.srv-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.srv-card:hover::before { transform: scaleX(1); }

.srv-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  transition: background var(--transition), color var(--transition);
}

.srv-icon svg { width: 24px; height: 24px; }
.srv-card:hover .srv-icon { background: var(--gold-500); color: var(--white); }

.srv-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.srv-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── INDUSTRIES ─────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ind-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.ind-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.ind-icon svg { width: 24px; height: 24px; }

.ind-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ind-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ─── WHY CHOOSE US ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.why-card {
  padding: 32px 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(200,144,58,.4);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.why-icon svg { width: 24px; height: 24px; }

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.86rem;
  color: rgba(255,255,255,.58);
  line-height: 1.7;
}

/* ─── PORT COVERAGE ──────────────────────────────────────── */
.ports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.port-card {
  position: relative;
  padding: 28px 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.port-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.port-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}

.port-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--gold-500);
}

.port-icon svg { width: 100%; height: 100%; }

.port-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.port-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* HQ highlight */
.port-card:nth-child(4) { border-color: var(--gold-500); }
.port-card:nth-child(4) .port-icon { color: var(--navy-800); }
.port-card:nth-child(4) .port-icon svg { color: var(--gold-500); }

.port-card:nth-child(4)::after {
  content: 'HQ';
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  background: var(--gold-500);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) 0;
}

.ports-tagline {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gray-400);
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
}

.ports-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-intro {
  color: var(--text-light);
  line-height: 1.75;
  margin: 12px 0 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

a.contact-item:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.ci-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.ci-icon svg { width: 20px; height: 20px; }

.ci-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ci-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.ci-body strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Form */
.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.req { color: var(--gold-500); }

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,53,88,.1);
}

.form-group input.error,
.form-group textarea.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }

.field-err {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 18px;
}

.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(34,197,94,.08);
  border: 1.5px solid rgba(34,197,94,.25);
  border-radius: var(--radius-md);
  margin-top: 16px;
}

.form-success.visible { display: flex; }

.form-success svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }

.form-success strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 3px;
}

.form-success p { font-size: 0.82rem; color: var(--text-light); }

/* ─── FOOTER ─────────────────────────────────────────────── */
#footer { background: var(--navy-900); }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo { margin-bottom: 20px; }

.footer-tagline {
  font-size: 0.86rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}

.social-link:hover { background: var(--gold-500); color: var(--white); }
.social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover { color: var(--gold-400); padding-left: 4px; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold-500);
  margin-top: 3px;
}

.footer-contact-list span,
.footer-contact-list a {
  font-size: 0.86rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
}

.footer-certs { color: var(--gold-500) !important; opacity: 0.8; }

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--navy-800);
  border: 1.5px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:hover { background: var(--gold-500); color: var(--white); }
.back-top svg { width: 20px; height: 20px; }

/* ─── SCROLL REVEAL ANIMATIONS ───────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ports-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-links, .nav-quote { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 18px 24px; }
  #header.scrolled .header-inner { padding: 12px 24px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .av-card { padding: 36px 28px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

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

  .stats-row {
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-md);
  }

  .stat-item { width: 100%; min-width: unset; padding: 20px 24px; }
  .stat-sep  { width: 100%; height: 1px; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .ports-grid { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }

  .contact-form-panel { padding: 28px 20px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .srv-card { padding: 20px 16px; }

  .industries-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .ports-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .port-card { padding: 20px 12px 18px; }

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

  .footer-bottom .container { flex-direction: column; text-align: center; }

  .back-top { bottom: 20px; right: 20px; }
}

@media (min-width: 1100px) {
  .br-desk { display: inline; }
}

/* ─── GALLERY SECTION ────────────────────────────────────── */
.gallery-section {
  padding: 96px 0;
  background: var(--navy-800);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--navy-700);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(5,17,31,.92) 0%,
    rgba(5,17,31,.4) 45%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold-500);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
  width: fit-content;
}

.gallery-caption p {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}

/* always show a subtle bottom gradient on mobile */
@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: none;
    background: linear-gradient(to top, rgba(5,17,31,.85) 0%, transparent 60%);
  }
}

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

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16 / 10; }
}

/* ─── GALLERY ZOOM HINT ──────────────────────────────────── */
.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(5,17,31,.7);
  border: 1px solid rgba(200,144,58,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery-zoom-hint svg { width: 16px; height: 16px; }

.gallery-item:hover .gallery-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

/* ─── LIGHTBOX ───────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(3, 10, 20, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.lb-open {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 140px);
  overflow: hidden;
}

#lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.3s ease;
  opacity: 0;
  display: block;
}

#lightbox.lb-open #lb-img {
  transform: scale(1);
  opacity: 1;
}

/* Controls */
.lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 1;
}

.lb-close:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
  transform: rotate(90deg);
}

.lb-close svg { width: 18px; height: 18px; }

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 1;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-prev:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-50%) translateX(-3px);
}

.lb-next:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-50%) translateX(3px);
}

.lb-prev svg, .lb-next svg { width: 22px; height: 22px; }

/* Caption bar */
.lb-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 4px;
  width: 100%;
  max-width: 800px;
  flex-wrap: wrap;
}

.lb-tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold-500);
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}

.lb-caption p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  flex: 1;
}

.lb-counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  letter-spacing: 0.08em;
  margin-left: auto;
}

@media (max-width: 600px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; }
}
