/*
Theme Name: UNIOCEANBD
Theme URI: https://unioceanbd.com/
Author: UNIOCEAN Shipping Lines Ltd.
Description: SEO-friendly WordPress theme converted from the UNIOCEANBD static website with ACF-powered editable page content and metadata.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: unioceanbd
*/

/* ============================================
   UNIOCEAN Shipping Lines - Professional Redesign
   Color Palette:
   Navy: #0A1931 | Ocean: #15305B | Gold: #C5A059
   Seafoam: #F4F6F9 | Charcoal: #1E293B
   ============================================ */

:root {
  --navy: #0A1931;
  --ocean: #15305B;
  --gold: #C5A059;
  --gold-hover: #A78443;
  --seafoam: #F4F6F9;
  --white: #FFFFFF;
  --charcoal: #1E293B;
  --gray: #475569;
  --light-gray: #E2E8F0;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px rgba(10, 25, 49, 0.05), 0 2px 4px rgba(10, 25, 49, 0.02);
  --shadow-lg: 0 12px 24px rgba(10, 25, 49, 0.08), 0 4px 8px rgba(10, 25, 49, 0.04);
  --shadow-xl: 0 20px 40px rgba(10, 25, 49, 0.12), 0 8px 16px rgba(10, 25, 49, 0.06);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.2);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   TOP BAR & HEADER NAVIGATION
   ============================================ */
.top-bar {
  background: #061022;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.top-bar.hidden {
  transform: translateY(-100%);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left span, .top-bar-right span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

@media (max-width: 640px) {
  .top-bar {
    padding: 6px 0;
    font-size: 10px;
  }
  
  .top-bar-left span:nth-child(2),
  .top-bar-right span:nth-child(2) {
    display: none;
  }
  
  .top-bar-left, .top-bar-right {
    gap: 12px;
  }
}

.top-bar i {
  color: var(--gold);
}

.header {
  position: fixed;
  top: 35px; /* Sits below the fixed topbar */
  left: 0;
  right: 0;
  z-index: 1001; /* Above topbar (1002) only when scrolled via .scrolled */
  background: rgba(10, 25, 49, 0.85); /* Slightly visible on first load */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: top 0.3s ease, background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}

.header.scrolled {
  top: 0;
  background: rgba(10, 25, 49, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
  .header {
    top: 30px;
    padding: 10px 0;
  }

  .header.scrolled {
    padding: 8px 0;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  border-radius: 0px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text h1, .logo-text .site-title {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #FFFFFF;
  white-space: nowrap;
  display: block; /* Important since site-title is a span */
}

.logo-text .site-tagline,
.logo-text span:not(.site-title) {
  font-size: clamp(9px, 2vw, 11px);
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: -1px;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin: 0 20px;
  justify-content: flex-end;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  margin-left: 8px;
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.nav-cta:hover {
  background: var(--gold-hover) !important;
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  opacity: 0.75;
}

.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10, 25, 49, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 14px;
  padding: 10px;
  min-width: 540px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 2000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Connecting bridge to prevent hover gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
}

.dropdown-header span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.dropdown-header a {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  margin-left: auto;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  white-space: nowrap;
  transition: color 0.2s !important;
}

.dropdown-header a:hover {
  color: var(--gold) !important;
  background: transparent !important;
  padding-left: 0 !important;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  border-bottom: none !important;
  background: transparent !important;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(197, 160, 89, 0.1) !important;
  color: var(--gold) !important;
  padding-left: 12px !important;
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(197, 160, 89, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
  background: var(--gold);
  color: var(--navy);
}

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

.dropdown-item-text small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-top: 2px;
}

.dropdown-item:hover .dropdown-item-text small {
  color: rgba(197, 160, 89, 0.65);
}

/* Mobile dropdown (accordion style) */
.mobile-services-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-accordion-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  cursor: pointer;
  border-bottom: none !important;
  padding: 16px 0 !important;
}

.mobile-accordion-toggle .mobile-arrow {
  font-size: 11px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.mobile-accordion-toggle.open .mobile-arrow {
  transform: rotate(180deg);
}

.mobile-accordion-body {
  display: none;
  padding: 0 0 8px 0;
}

.mobile-accordion-body.open {
  display: block;
}

.mobile-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
  border-bottom: none !important;
  border-radius: 6px;
  margin-bottom: 2px;
}

.mobile-dropdown-item:hover {
  color: var(--gold) !important;
  background: rgba(197, 160, 89, 0.08) !important;
  padding-left: 16px !important;
}

.mobile-dropdown-item i {
  color: var(--gold);
  font-size: 12px;
  width: 16px;
  text-align: center;
}

/* Desktop nav show at 1024px+ */
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
  z-index: 1050;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .mobile-menu-btn {
    font-size: 22px;
    padding: 6px;
  }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 380px);
  height: 100vh;
  background: var(--navy);
  z-index: 1049;
  padding: 70px 32px 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

@media (max-width: 640px) {
  .mobile-menu {
    width: 100%;
    max-width: none;
    padding: 70px 24px 32px;
  }
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a:active {
  color: var(--gold);
  padding-left: 8px;
}

@media (max-width: 480px) {
  .mobile-menu a {
    padding: 14px 0;
    font-size: 14px;
  }
}

.mobile-menu .btn-primary {
  margin-top: 24px;
  text-align: center;
  justify-content: center;
  width: 100%;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(10, 25, 49, 0.95) 0%, rgba(21, 48, 91, 0.88) 50%, rgba(10, 25, 49, 0.94) 100%),
    url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 25, 49, 0.45) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  padding: 0 24px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  backdrop-filter: blur(10px);
}

.hero h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge i {
  color: var(--gold);
  font-size: 14px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

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

.btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Hero Wave SVG */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 4;
}

.hero-wave path {
  fill: var(--white);
  transition: fill 0.3s ease;
}

/* ============================================
   STATS BAR
   ============================================ */
/* ============================================
   STATS BAR (Floating Glass Panel)
   ============================================ */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0;
  background: transparent;
}

.stats-floating {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 35px 40px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 16px 12px;
  position: relative;
  transition: var(--transition);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(100, 116, 139, 0.15);
}

.stat-icon {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 12px;
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  transform: translateY(-2px) scale(1.1);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -1px;
  transition: var(--transition);
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 8px auto 0;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* ============================================
   PARTNERS MARQUEE
   ============================================ */
.partners-marquee-section {
  padding: 40px 0 20px;
  background: var(--white);
  overflow: hidden;
  position: relative;
  z-index: 5;
  transition: background 0.3s ease;
}

.marquee-title {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 24px;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.marquee-content {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--seafoam);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.marquee-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.marquee-item i {
  color: var(--gold);
  font-size: 16px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

[data-theme="dark"] .marquee-wrapper::before {
  background: linear-gradient(to right, var(--navy), transparent);
}

[data-theme="dark"] .marquee-wrapper::after {
  background: linear-gradient(to left, var(--navy), transparent);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--white);
}

.section-subtitle {
  color: var(--gray);
  font-size: 16px;
  margin-top: 16px;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
  border-radius: 16px;
  padding: 32px 24px;
  color: var(--charcoal);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid #E8ECEF;
  box-shadow: 0 2px 8px rgba(10, 25, 49, 0.04);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--service-color, var(--gold)) 0%, transparent 70%);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(60%, -40%);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(10, 25, 49, 0.1);
  border-color: var(--service-color, var(--gold));
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
}

.service-card:hover::before {
  transform: translate(40%, -20%) scale(1.2);
  opacity: 0.12;
}

.service-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 48px;
  font-weight: 800;
  color: var(--service-color, var(--gold));
  opacity: 0.08;
  letter-spacing: -2px;
  z-index: 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--service-color, var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.3);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}

.service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--service-color, var(--gold));
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.service-link i {
  font-size: 12px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--navy);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Mobile First - 1 Column */
@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .service-card h3 {
    font-size: 18px;
  }
}

/* Tablet - 2 Columns */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-card {
    padding: 36px 28px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }

  .service-card h3 {
    font-size: 19px;
  }
}

/* Desktop - 4 Columns (4 cards per row) */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .service-card {
    padding: 36px 20px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .service-card p {
    font-size: 13px;
  }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .service-card {
    padding: 40px 24px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 24px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 14px;
  }
}

/* Extra Large Desktop */
@media (min-width: 1280px) {
  .services-grid {
    gap: 32px;
  }

  .service-card {
    padding: 44px 28px;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--seafoam);
}

/* ============================================
   SERVICE MODAL
   ============================================ */
.service-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  align-items: center;
  justify-content: center;
}
.service-modal.active {
  display: flex;
}
.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,25,49,0.6);
  backdrop-filter: blur(6px);
}
.service-modal-panel {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  max-width: 940px;
  width: calc(100% - 40px);
  border-radius: 12px;
  padding: 32px 36px;
  box-shadow: 0 20px 60px rgba(10,25,49,0.2);
}
.service-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: rgba(10,25,49,0.04);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy);
}
.service-modal h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: var(--navy);
}
.service-modal-body {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .service-modal-panel { padding: 20px; }
  .service-modal h3 { font-size: 18px; }
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 2px solid var(--gold);
  border-radius: 28px;
  z-index: -1;
  opacity: 0.25;
}

.iso-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transition: var(--transition);
}

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

.iso-badge i {
  color: var(--gold);
  font-size: 28px;
}

.iso-badge div {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 24px;
}

.about-content .section-label::after {
  margin: 8px 0 0;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.about-content p:first-of-type {
  font-size: 18px;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 22px;
}

.commitment-box {
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.07) 0%, rgba(197, 160, 89, 0.02) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  border-right: 1px solid rgba(197, 160, 89, 0.1);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  transition: var(--transition);
  position: relative;
}

.commitment-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(197, 160, 89, 0.03) 100%);
}

.commitment-box i {
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 14px;
  opacity: 0.8;
  display: block;
}

.commitment-box p {
  font-style: italic;
  color: var(--charcoal);
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.commitment-box footer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PORTS SECTION
   ============================================ */
.ports {
  padding: 100px 0;
  background: var(--white);
}

.port-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.port-tab {
  padding: 12px 26px;
  background: transparent;
  border: 1px solid var(--light-gray);
  border-radius: 30px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.port-tab.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.port-tab:hover:not(.active) {
  background: rgba(197, 160, 89, 0.04);
  color: var(--gold);
  border-color: var(--gold);
}

.port-contents {
  position: relative;
}

.port-content {
  display: none;
}

.port-content.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.port-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.port-image {
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.port-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.3), transparent 50%);
}

.port-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.port-details h3 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.port-details > p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.8;
}

.port-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.port-stat {
  background: transparent;
  padding: 18px 20px;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.port-stat:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: rgba(197, 160, 89, 0.01);
}

.port-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.port-stat-label {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  transition: var(--transition);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 160, 89, 0.25);
  flex-shrink: 0;
}

.testimonial-meta strong {
  display: block;
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 2px;
  font-weight: 700;
}

.testimonial-meta span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050E1A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-column h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}

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

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition);
  font-size: 15px;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy)!important;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 14px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

.footer-column a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

/* ============================================
   FLOATING CTA & BACK TO TOP
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-gold), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1) rotate(-10deg);
  background: var(--gold-hover);
}

.floating-tooltip {
  background: var(--navy);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.floating-cta:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 998;
  font-size: 16px;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  transform: translateY(-3px);
}

/* ============================================
   MODAL / QUOTE FORM
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--seafoam);
  border: none;
  font-size: 20px;
  color: var(--gray);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--light-gray);
  color: var(--navy);
  transform: rotate(90deg);
}

.modal h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 800;
}

.modal > p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 14px;
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 15px;
  transition: var(--transition);
  background: var(--seafoam);
  color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748B;
  opacity: 0.8;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: #94A3B8;
  opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.animate-on-scroll:nth-child(5) { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .form-row .form-group {
    margin-bottom: 16px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .stat-item {
    padding: 28px 12px;
  }

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

  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .port-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

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

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

  .nav-desktop {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-wave {
    height: 100px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 24px;
  }

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

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

  .hero h2 {
    letter-spacing: -2px;
  }
}

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

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

.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;
}


/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] {
  --navy: #090F1C;
  --seafoam: #0E1524;
  --white: #151F32;
  --charcoal: #E2E8F0;
  --gray: #94A3B8;
  --light-gray: #1E293B;
}

[data-theme="dark"] body {
  background: #0b1120;
  color: #e5e7eb;
}

[data-theme="dark"] .header.scrolled {
  background: rgba(11, 17, 32, 0.98) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .services,
[data-theme="dark"] .ports {
  background: #0b1120;
}

[data-theme="dark"] .about {
  background: #0f1729;
}

[data-theme="dark"] .stats-floating {
  background: rgba(21, 31, 50, 0.8);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stat-number {
  color: #FFFFFF;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .port-details h3,
[data-theme="dark"] .modal h3 {
  color: #FFFFFF;
}

[data-theme="dark"] .stat-item::after {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .service-card {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .service-card h3 {
  color: var(--charcoal);
}

[data-theme="dark"] .service-card p {
  color: var(--gray);
}

[data-theme="dark"] .service-link:hover {
  color: #FFFFFF;
}

[data-theme="dark"] .commitment-box {
  background: rgba(197, 160, 89, 0.03);
  border-left-color: var(--gold);
  border-top-color: rgba(255, 255, 255, 0.02);
  border-right-color: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .commitment-box p {
  color: var(--charcoal);
}

[data-theme="dark"] .port-tab {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--gray);
}

[data-theme="dark"] .port-tab:hover:not(.active) {
  background: rgba(197, 160, 89, 0.08);
  color: var(--gold);
  border-color: var(--gold);
}

[data-theme="dark"] .port-tab.active {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: var(--gold);
}

[data-theme="dark"] .port-stat {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .port-stat:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.03);
}

[data-theme="dark"] .port-stat-value {
  color: #FFFFFF;
}

[data-theme="dark"] .iso-badge div {
  color: #FFFFFF;
}

[data-theme="dark"] .testimonial-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .testimonial-card:hover {
  background: rgba(255,255,255,0.06);
}

[data-theme="dark"] .modal {
  background: #111827;
}

[data-theme="dark"] .modal-close:hover {
  background: var(--gold);
  color: var(--navy);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: #111827;
}

/* Dark mode toggle button */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  margin-left: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--gold);
  color: var(--navy);
}

.theme-toggle:hover i {
  transform: rotate(30deg);
}

.theme-toggle i {
  transition: transform 0.3s ease;
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: block; }

[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

@media (max-width: 767px) {
  .theme-toggle {
    margin-left: auto;
    margin-right: 12px;
  }
}

/* ============================================
   BLOG STYLES
   ============================================ */
.blog-archive-container {
  padding: 80px 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.3);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}
.blog-card-img-wrapper {
  overflow: hidden;
  position: relative;
}
.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card-meta i {
  color: var(--gold);
  margin-right: 4px;
}
.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.3;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card-title a:hover {
  color: var(--gold);
}
.blog-card-excerpt {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.blog-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.read-more-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.read-more-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.read-more-btn:hover {
  color: var(--gold);
}
.read-more-btn:hover i {
  transform: translateX(4px);
}
[data-theme="dark"] .blog-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .blog-card-title {
  color: #f8fafc;
}
[data-theme="dark"] .blog-card-footer {
  border-color: #334155;
}
[data-theme="dark"] .blog-card-excerpt {
  color: #cbd5e1;
}
[data-theme="dark"] .read-more-btn {
  color: var(--gold);
}

/* SINGLE POST STYLES */
.single-post-container {
  padding: 60px 0 100px;
  max-width: 900px;
  margin: 0 auto;
}
.single-post-header {
  margin-bottom: 40px;
  text-align: center;
}
.single-post-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--gray);
  font-size: 14px;
}
.single-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-post-meta i {
  color: var(--gold);
}
.single-post-thumbnail {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.single-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.single-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--charcoal);
}
.single-post-content p {
  margin-bottom: 24px;
}
.single-post-content h2, 
.single-post-content h3, 
.single-post-content h4 {
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}
.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}
.single-post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 30px;
  background: rgba(197, 160, 89, 0.05);
  font-style: italic;
  font-size: 19px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}
.single-post-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.post-tags a {
  display: inline-block;
  background: var(--seafoam);
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: var(--transition);
}
.post-tags a:hover {
  background: var(--gold);
  color: var(--navy);
}
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--light-gray);
}
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-links a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

[data-theme="dark"] .single-post-title,
[data-theme="dark"] .single-post-content h2,
[data-theme="dark"] .single-post-content h3 {
  color: #f8fafc;
}
[data-theme="dark"] .single-post-content {
  color: #cbd5e1;
}
[data-theme="dark"] .single-post-content blockquote {
  background: rgba(197, 160, 89, 0.1);
  color: #f8fafc;
}
[data-theme="dark"] .single-post-footer,
[data-theme="dark"] .post-navigation {
  border-color: #334155;
}
[data-theme="dark"] .post-tags a {
  background: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .post-tags a:hover {
  background: var(--gold);
  color: var(--navy);
}
[data-theme="dark"] .nav-links a {
  color: #f8fafc;
}
[data-theme="dark"] .nav-links a:hover {
  color: var(--gold);
}

/* Pagination */
.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
[data-theme="dark"] .pagination .page-numbers {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}
[data-theme="dark"] .pagination .page-numbers:hover,
[data-theme="dark"] .pagination .page-numbers.current {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Post Navigation Cards */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}
.nav-prev, .nav-next {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 12px;
  background: var(--seafoam);
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}
.nav-prev:hover, .nav-next:hover {
  background: var(--white);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.nav-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.nav-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.nav-prev .nav-title::before {
  content: '\2190';
  margin-right: 8px;
  color: var(--gold);
}
.nav-next .nav-title::after {
  content: '\2192';
  margin-left: 8px;
  color: var(--gold);
}
.nav-prev:hover .nav-title, .nav-next:hover .nav-title {
  color: var(--gold);
}
[data-theme="dark"] .nav-prev,
[data-theme="dark"] .nav-next {
  background: #1e293b;
}
[data-theme="dark"] .nav-prev:hover,
[data-theme="dark"] .nav-next:hover {
  background: #0f172a;
  border-color: var(--gold);
}
[data-theme="dark"] .nav-title {
  color: #f8fafc;
}
@media (max-width: 767px) {
  .post-navigation {
    grid-template-columns: 1fr;
  }
}

/* Comments Form */
.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}
.comments-title, .comment-reply-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  display: block;
}
.comment-form {
  display: grid;
  gap: 20px;
}
.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url {
  display: flex;
  flex-direction: column;
}
.comment-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  padding: 14px 18px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 15px;
  transition: var(--transition);
  background: var(--seafoam);
  width: 100%;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}
.comment-form .submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  width: auto;
  align-self: flex-start;
}
.comment-form .submit:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.comment-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}
.comment-body {
  background: var(--seafoam);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid transparent;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.comment-author img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}
.comment-author b {
  color: var(--navy);
  font-size: 16px;
}
.comment-metadata a {
  color: var(--gray);
  font-size: 13px;
  text-decoration: none;
}
.comment-content {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
}
.reply a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
}
.reply a:hover {
  color: var(--gold);
}

[data-theme="dark"] .comments-area {
  border-color: #334155;
}
[data-theme="dark"] .comments-title,
[data-theme="dark"] .comment-reply-title {
  color: #f8fafc;
}
[data-theme="dark"] .comment-form label {
  color: #cbd5e1;
}
[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}
[data-theme="dark"] .comment-form input:focus,
[data-theme="dark"] .comment-form textarea:focus {
  background: #0f172a;
}
[data-theme="dark"] .comment-body {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .comment-author b {
  color: #f8fafc;
}
[data-theme="dark"] .comment-content {
  color: #cbd5e1;
}
[data-theme="dark"] .reply a {
  color: var(--gold);
}
