/* ============================================
   INNOVOIL MARINE CONSULTANCY LLC
   Professional Maritime Website Stylesheet v2
   Brand Colors:
   - Dark Blue: #233F96
   - Light Blue: #3FC2F1
   - Red/Orange: #EF4325
   - Yellow/Orange: #EFB81C
   ============================================ */

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

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

:root {
  --dark-blue: #233F96;
  --light-blue: #3FC2F1;
  --red-orange: #EF4325;
  --yellow-orange: #EFB81C;
  --navy: #1a2d5a;
  --deep-navy: #0f1d3d;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #e8ecf1;
  --gray: #6b7280;
  --dark: #1f2937;
  --gradient-primary: linear-gradient(135deg, #233F96 0%, #3FC2F1 100%);
  --gradient-warm: linear-gradient(135deg, #EF4325 0%, #EFB81C 100%);
  --gradient-hero: linear-gradient(160deg, #0f1d3d 0%, #233F96 40%, #1a4fa0 70%, #2a6ab5 100%);
  --shadow-sm: 0 1px 3px rgba(35,63,150,0.08);
  --shadow-md: 0 4px 16px rgba(35,63,150,0.12);
  --shadow-lg: 0 8px 32px rgba(35,63,150,0.16);
  --shadow-xl: 0 16px 48px rgba(35,63,150,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-blue);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { margin-bottom: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

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

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

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

.logo-text .brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
}

.logo-text .brand-sub {
  font-size: 0.62rem;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark-blue);
  background: rgba(35,63,150,0.06);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

/* Get Quote Button - High Visibility */
.nav-cta {
  margin-left: 0.75rem;
  background: var(--gradient-warm) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(239,67,37,0.3);
  border: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(239,67,37,0.4) !important;
  background: linear-gradient(135deg, #d93a1f 0%, #e0a516 100%) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--dark-blue);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--dark-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-blue);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
}

.btn-outline:hover {
  background: var(--dark-blue);
  color: var(--white);
}

.btn-warm {
  background: var(--gradient-warm);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(239,67,37,0.3);
}

.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239,67,37,0.4);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(63,194,241,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(239,184,28,0.06) 0%, transparent 50%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(239,184,28,0.15);
  border: 1px solid rgba(239,184,28,0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--yellow-orange);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero-content h1 span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

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

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.85rem;
  opacity: 0.7;
  display: block;
}

/* === ANIMATED GLOBE === */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-container {
  position: relative;
  width: 420px;
  height: 420px;
}

.globe {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(63,194,241,0.4), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(35,63,150,0.6), transparent 50%),
    radial-gradient(circle at 50% 50%, #1a3a7a, #0f1d3d);
  box-shadow:
    inset -20px -20px 40px rgba(0,0,0,0.4),
    inset 10px 10px 20px rgba(63,194,241,0.15),
    0 0 60px rgba(63,194,241,0.2),
    0 0 120px rgba(35,63,150,0.15);
  overflow: hidden;
}

.globe::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 400%;
  height: 400%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 48px,
    rgba(63,194,241,0.08) 48px,
    rgba(63,194,241,0.08) 50px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 48px,
    rgba(63,194,241,0.08) 48px,
    rgba(63,194,241,0.08) 50px
  );
  border-radius: 50%;
  animation: globe-grid-scroll 20s linear infinite;
}

.globe::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 25% 25%, rgba(255,255,255,0.15), transparent 50%);
}

@keyframes globe-grid-scroll {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(50px) translateY(50px); }
}

/* Globe continent shapes using pseudo elements on wrapper */
.globe-continents {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  animation: globe-rotate 30s linear infinite;
}

@keyframes globe-rotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.continent {
  position: absolute;
  background: rgba(63,194,241,0.2);
  border: 1px solid rgba(63,194,241,0.15);
  border-radius: 30% 50% 40% 60%;
}

.continent-1 { width: 40px; height: 55px; top: 25%; left: 35%; border-radius: 40% 30% 50% 35%; }
.continent-2 { width: 50px; height: 40px; top: 40%; left: 20%; border-radius: 35% 50% 30% 45%; }
.continent-3 { width: 35px; height: 45px; top: 30%; left: 60%; border-radius: 45% 35% 40% 50%; }
.continent-4 { width: 45px; height: 30px; top: 55%; left: 55%; border-radius: 30% 45% 35% 40%; }
.continent-5 { width: 30px; height: 35px; top: 65%; left: 35%; border-radius: 50% 30% 45% 35%; }

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(63,194,241,0.12);
  border-radius: 50%;
  top: 50%;
  left: 50%;
}

.orbit-ring-1 {
  width: 380px;
  height: 380px;
  margin-top: -190px;
  margin-left: -190px;
  animation: orbit-pulse 8s ease-in-out infinite;
}

.orbit-ring-2 {
  width: 420px;
  height: 420px;
  margin-top: -210px;
  margin-left: -210px;
  border-style: dashed;
  animation: rotate 25s linear infinite reverse;
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); }
}

/* Floating location dots */
.location-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow-orange);
  box-shadow: 0 0 10px rgba(239,184,28,0.5);
}

.location-dot::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--yellow-orange);
  opacity: 0;
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.loc-india { top: 52%; left: 62%; animation-delay: 0s; }
.loc-india::after { animation-delay: 0s; }
.loc-uae { top: 48%; left: 55%; animation-delay: 0.3s; }
.loc-uae::after { animation-delay: 0.3s; }
.loc-philippines { top: 56%; left: 78%; animation-delay: 0.6s; }
.loc-philippines::after { animation-delay: 0.6s; }
.loc-turkey { top: 38%; left: 45%; animation-delay: 0.9s; }
.loc-turkey::after { animation-delay: 0.9s; }
.loc-greece { top: 40%; left: 42%; animation-delay: 1.2s; }
.loc-greece::after { animation-delay: 1.2s; }
.loc-china { top: 44%; left: 75%; animation-delay: 1.5s; }
.loc-china::after { animation-delay: 1.5s; }

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.fc-pos-1 { top: 2%; right: -12%; animation-delay: -2s; }
.fc-pos-2 { bottom: 28%; left: -14%; animation-delay: -4s; }
.fc-pos-3 { bottom: -4%; right: 0%; animation-delay: -1s; }

.floating-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.floating-card .fc-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.3;
}

.floating-card .fc-text small {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.7rem;
}

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

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

/* === SECTION STYLES === */
.section {
  padding: 5rem 0;
}

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

.section-dark {
  background: var(--gradient-hero);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(35,63,150,0.08), rgba(63,194,241,0.08));
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-top: 1rem;
}

.service-card .learn-more:hover {
  gap: 0.7rem;
  color: var(--light-blue);
}

/* === WHY CHOOSE US === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.92rem;
}

/* === DASHBOARD === */
.dashboard-section {
  padding: 5rem 0;
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.dashboard-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(63,194,241,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(239,184,28,0.04) 0%, transparent 50%);
}

.dashboard-section .container {
  position: relative;
  z-index: 1;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-header .overline {
  color: var(--yellow-orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.dashboard-header h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.dashboard-header p {
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.dash-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.dash-tab:hover {
  border-color: rgba(63,194,241,0.4);
  color: var(--white);
}

.dash-tab.active {
  background: var(--gradient-warm);
  border-color: transparent;
  color: var(--white);
}

/* Dashboard Stats Row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.dash-stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.dash-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.dash-stat-card .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 0.25rem;
}

.dash-stat-card .stat-change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

.stat-change.up {
  color: #4ade80;
  background: rgba(74,222,128,0.1);
}

.stat-change.down {
  color: var(--red-orange);
  background: rgba(239,67,37,0.1);
}

/* Dashboard Table */
.dash-table-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table thead th {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.dash-table tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

.dash-table tbody td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(63,194,241,0.1);
  border: 1px solid rgba(63,194,241,0.2);
}

.flag-badge.foc {
  background: rgba(239,184,28,0.1);
  border-color: rgba(239,184,28,0.2);
  color: var(--yellow-orange);
}

.flag-badge.national {
  background: rgba(63,194,241,0.1);
  border-color: rgba(63,194,241,0.2);
  color: var(--light-blue);
}

.tonnage-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tonnage-bar-fill {
  height: 6px;
  border-radius: 3px;
  background: var(--gradient-warm);
  min-width: 20px;
  transition: width 0.6s ease;
}

.tonnage-bar-text {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Flag Cells in Fleet Registry & Dashboard */
.flag-icon {
  width: 24px;
  height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0,0,0,0.15);
  vertical-align: middle;
  object-fit: cover;
}
.flag-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  white-space: nowrap;
}
.flag-cell.current {
  font-weight: 600;
  color: var(--dark-blue);
}

/* === GLOBAL REACH === */
.reach-section {
  background: var(--gradient-primary);
  padding: 5rem 0;
  color: var(--white);
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.reach-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.reach-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.reach-item .flag {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.reach-item .country {
  font-size: 0.92rem;
  font-weight: 600;
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--gradient-warm);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--dark-blue);
  font-weight: 700;
}

.cta-banner .btn-primary:hover {
  background: var(--off-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-banner .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.cta-banner .btn-secondary:hover {
  background: var(--white);
  color: var(--red-orange);
}

/* === PAGE HERO === */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--gradient-hero);
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(63,194,241,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(239,184,28,0.05) 0%, transparent 50%);
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* === ABOUT PAGE === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--gray); font-size: 1rem; margin-bottom: 1.25rem; }

.values-list { margin-top: 2rem; }

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

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(35,63,150,0.08), rgba(63,194,241,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.value-item p { font-size: 0.9rem; color: var(--gray); margin-bottom: 0; }

.about-image-box {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.about-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.about-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
}

.about-stat .lbl {
  font-size: 0.82rem;
  opacity: 0.8;
}

/* === SERVICE DETAIL === */
.service-detail { padding: 3rem 0; }

.service-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  margin-bottom: 2rem;
  transition: var(--transition);
  align-items: start;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.sd-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.sd-content h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.sd-content p { color: var(--gray); margin-bottom: 1rem; }

.sd-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sd-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  background: rgba(35,63,150,0.06);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark-blue);
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

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

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-info-card > p {
  opacity: 0.85;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-detail .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-detail p { opacity: 0.85; font-size: 0.9rem; margin: 0; }
.contact-detail a { color: var(--white); opacity: 0.85; }
.contact-detail a:hover { opacity: 1; text-decoration: underline; }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.contact-form-card > p { color: var(--gray); margin-bottom: 2rem; font-size: 0.92rem; }

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

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(63,194,241,0.15);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  background: var(--gradient-warm);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(239,67,37,0.3);
  transition: var(--transition);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239,67,37,0.4);
}

.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.show { display: block; }

.form-success .check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* === VESSEL REGISTRY TABLE === */
.registry-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.registry-filters input,
.registry-filters select {
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--white);
}

.registry-filters input:focus,
.registry-filters select:focus {
  outline: none;
  border-color: var(--light-blue);
}

.registry-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  overflow-x: auto;
}

.registry-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.registry-table thead th {
  background: var(--off-white);
  color: var(--dark-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 2px solid var(--light-gray);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.registry-table thead th:hover {
  background: var(--light-gray);
}

.registry-table tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

.registry-table tbody tr:hover {
  background: rgba(35,63,150,0.03);
}

.registry-table tbody td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--dark);
}

.flag-change-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.flag-change-arrow .arrow {
  color: var(--red-orange);
  font-weight: 700;
}

/* === WHATSAPP BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* === FOOTER === */
.footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.75; }

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--light-blue);
  padding-left: 0.3rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-contact-item .fci-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.2rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-card { grid-template-columns: 1fr; }
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    gap: 0.5rem;
  }

  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; padding: 0.75rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; margin-top: 1rem; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .section { padding: 3.5rem 0; }
  .reach-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 1rem; }
  .hero { padding: 7rem 0 3rem; }
  .hero-stat .number { font-size: 1.5rem; }
  .service-card { padding: 1.5rem; }
  .contact-info-card, .contact-form-card { padding: 1.75rem; }
  .dash-stats-row { grid-template-columns: 1fr; }
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   FLEET REGISTRY PAGE STYLES
   ============================================ */

/* Live indicator styles */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 1rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.data-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
}
.data-meta-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.data-meta-item {
  font-size: 0.85rem;
  color: var(--gray);
}
.data-meta-item strong {
  color: var(--dark-blue);
  font-weight: 700;
}
.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--light-blue);
  border-radius: 50px;
  background: transparent;
  color: var(--light-blue);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.refresh-btn:hover {
  background: var(--light-blue);
  color: var(--white);
}
.refresh-btn.spinning .refresh-icon {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.name-change {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.name-old {
  font-size: 0.78rem;
  color: var(--gray);
  text-decoration: line-through;
  opacity: 0.7;
}
.name-new {
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 0.9rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.status-badge.completed {
  background: rgba(74,222,128,0.1);
  color: #16a34a;
  border: 1px solid rgba(74,222,128,0.2);
}
.status-badge.in-progress {
  background: rgba(239,184,28,0.1);
  color: #d97706;
  border: 1px solid rgba(239,184,28,0.3);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot.completed { background: #16a34a; }
.status-dot.in-progress { background: #d97706; animation: live-pulse 2s ease-in-out infinite; }
.loading-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  z-index: 10;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.loading-overlay.show {
  display: flex;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--light-gray);
  border-top: 3px solid var(--dark-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.registry-table-container {
  position: relative;
}
.type-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(35,63,150,0.06);
  color: var(--dark-blue);
  white-space: nowrap;
}
