/* ==========================================================================
   VANGUARD MARITIME & TANK STORAGE - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-navy-950: #06101E;
  --color-navy-900: #0A192F;
  --color-navy-850: #0E223D;
  --color-navy-800: #132B4F;
  --color-navy-700: #1D3B66;
  
  --color-blue-primary: #0066FF;
  --color-blue-hover: #0052CC;
  --color-blue-light: #EBF3FF;
  
  --color-cyan-accent: #00D2FF;
  --color-cyan-glow: rgba(0, 210, 255, 0.25);
  
  --color-amber-gold: #F59E0B;
  --color-emerald-green: #10B981;
  
  --color-slate-900: #0F172A;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748B;
  --color-slate-400: #94A3B8;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-slate-50:  #F8FAFC;
  --color-white:     #FFFFFF;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(10, 25, 47, 0.04);
  --shadow-md: 0 6px 18px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 16px 36px rgba(10, 25, 47, 0.12);
  --shadow-xl: 0 24px 48px rgba(10, 25, 47, 0.18);
  --shadow-glow: 0 0 30px rgba(0, 210, 255, 0.25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Containers */
  --container-max-width: 1280px;
  --header-height: 84px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-slate-50);
  color: var(--color-slate-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy-900);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--color-cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback for non-supporting browsers */
  color: #FFFFFF;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-navy-900);
}

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

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-blue-primary);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.badge-tag.badge-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-cyan-accent);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-navy-900);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  line-height: 1.7;
}

.section-subtitle.light {
  color: var(--color-slate-300);
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE UTILITIES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover {
  background: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.45);
}

.btn-cyan {
  background: var(--color-cyan-accent);
  color: var(--color-navy-900);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
}

.btn-cyan:hover {
  background: #33DBFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
  background: var(--color-navy-900);
  color: var(--color-white);
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

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

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

.btn-outline-blue:hover {
  background: var(--color-blue-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

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

.btn:hover svg.arrow-icon {
  transform: translateX(4px);
}
svg.arrow-icon {
  transition: transform 0.2s ease;
}

/* --------------------------------------------------------------------------
   4. TOP BAR & HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--color-navy-950);
  color: var(--color-slate-400);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-slate-300);
}
.top-bar-item:hover {
  color: var(--color-cyan-accent);
}
.top-bar-item svg {
  color: var(--color-cyan-accent);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-bar-links a {
  color: var(--color-slate-400);
}
.top-bar-links a:hover {
  color: var(--color-white);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}
.site-header.scrolled {
  padding: 0.2rem 0;
  box-shadow: 0 10px 30px rgba(6, 16, 30, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: transform 0.25s ease;
}
.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-icon {
  width: 46px;
  height: 46px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 210, 255, 0.25), rgba(10, 25, 47, 0.95));
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.25), inset 0 0 12px rgba(0, 210, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-logo:hover .brand-logo-icon {
  border-color: var(--color-cyan-accent);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.5), inset 0 0 16px rgba(0, 210, 255, 0.25);
  transform: rotate(3deg) scale(1.05);
}

.brand-name {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, #FFFFFF 60%, var(--color-cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-cyan-accent);
  font-weight: 700;
  margin-top: 0.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: var(--color-slate-200);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cyan-accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1005;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}
.mobile-toggle:hover,
.mobile-toggle:focus,
.mobile-toggle:active {
  background: rgba(0, 210, 255, 0.18);
  border-color: var(--color-cyan-accent);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}
.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-fast);
  pointer-events: none;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--color-navy-900);
  z-index: 1000;
  padding: 5.5rem 2rem 2rem 2rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.6);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav-link {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-cyan-accent);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 16, 30, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-color: var(--color-navy-950);
  background-image: url('../images/hero_bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 6rem 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 16, 30, 0.92) 0%, rgba(10, 25, 47, 0.85) 50%, rgba(6, 16, 30, 0.75) 100%);
  z-index: 1;
}
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 210, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-slate-200);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.hero-features-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1.75rem;
  background: rgba(10, 25, 47, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan-accent);
  flex-shrink: 0;
}
.hero-feature-text h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.hero-feature-text p {
  color: var(--color-slate-400);
  font-size: 0.8rem;
}

/* Inner Page Hero Header */
.page-hero {
  position: relative;
  background-color: var(--color-navy-900);
  background-size: cover;
  background-position: center;
  padding: 5rem 0 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 16, 30, 0.92) 0%, rgba(10, 25, 47, 0.82) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-slate-400);
  margin-top: 1rem;
}
.breadcrumbs a {
  color: var(--color-cyan-accent);
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. INTRODUCTION & TWO-COLUMN SECTIONS
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 6rem 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.intro-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.intro-image-wrapper:hover .intro-image {
  transform: scale(1.03);
}
.intro-experience-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-navy-900);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(10px);
}
.exp-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-cyan-accent);
  line-height: 1;
}
.exp-label {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.intro-content .paragraph {
  font-size: 1.05rem;
  color: var(--color-slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.intro-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--color-navy-900);
}
.checklist-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.12);
  color: var(--color-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. SERVICES SECTION
   -------------------------------------------------------------------------- */
.bg-light {
  background-color: var(--color-slate-100);
}
.bg-navy {
  background-color: var(--color-navy-900);
  color: var(--color-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-slate-200);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 102, 255, 0.3);
}
.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-image img {
  transform: scale(1.08);
}
.service-card-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--color-navy-900);
  color: var(--color-cyan-accent);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.service-card-body {
  padding: 2.25rem 1.5rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy-900);
}
.service-card-desc {
  color: var(--color-slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-blue-primary);
  font-size: 0.9rem;
}
.service-card-link:hover {
  color: var(--color-blue-hover);
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   8. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.why-feature-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.why-feature-card:hover {
  border-color: var(--color-blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-blue-light);
  color: var(--color-blue-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.why-feature-card p {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. COMPANY STATISTICS (ANIMATED COUNTERS)
   -------------------------------------------------------------------------- */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy-950) 0%, var(--color-navy-850) 100%);
  padding: 4.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-cyan-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  color: var(--color-slate-300);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   10. TERMINALS DIRECTORY & CARDS
   -------------------------------------------------------------------------- */
.terminal-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-navy-900);
  color: var(--color-cyan-accent);
  border-color: var(--color-navy-900);
}
.search-box-container {
  max-width: 460px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}
.search-box-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-slate-300);
  background: var(--color-white);
  font-size: 0.95rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.search-box-input:focus {
  border-color: var(--color-blue-primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}
.search-icon-pos {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-slate-400);
}
.terminals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.25rem;
}
.terminal-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-slate-200);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.terminal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-blue-primary);
}
.terminal-card-header {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.terminal-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.85rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-cyan-accent);
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
}
.terminal-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.terminal-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--color-blue-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.terminal-name {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.terminal-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  margin: 1rem 0;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}
.spec-item span.spec-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  font-weight: 600;
}
.spec-item span.spec-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy-900);
}
.terminal-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   11. HSEQ SECTION
   -------------------------------------------------------------------------- */
.hseq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.hseq-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}
.hseq-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--color-cyan-accent);
  transform: translateY(-4px);
}
.hseq-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--color-cyan-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hseq-card h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.hseq-card p {
  color: var(--color-slate-300);
  font-size: 0.925rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. GLOBAL NETWORK (INTERACTIVE WORLD MAP)
   -------------------------------------------------------------------------- */
.map-container {
  position: relative;
  background: var(--color-navy-950);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.world-map-svg {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
}
.map-pin {
  cursor: pointer;
  transition: var(--transition-fast);
}
.map-pin circle.pulse {
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.map-tooltip {
  position: absolute;
  background: var(--color-navy-900);
  color: var(--color-white);
  border: 1px solid var(--color-cyan-accent);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  max-width: 220px;
}
.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
.testimonial-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.testimonial-slide {
  background: var(--color-white);
  padding: 3.5rem 3rem 3rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-slate-200);
  text-align: center;
  position: relative;
}
.quote-icon-bg {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-blue-light);
  opacity: 0.6;
}
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  color: var(--color-amber-gold);
  margin-bottom: 1.5rem;
}
.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-navy-900);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: opacity 0.2s ease;
}
.client-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.client-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy-900);
  color: var(--color-cyan-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 2px solid var(--color-blue-primary);
}
.client-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}
.client-info p {
  font-size: 0.85rem;
  color: var(--color-slate-500);
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  color: var(--color-navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.carousel-arrow:hover {
  background: var(--color-blue-primary);
  color: var(--color-white);
  border-color: var(--color-blue-primary);
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-slate-300);
  cursor: pointer;
  transition: var(--transition-fast);
}
.dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--color-blue-primary);
}

/* --------------------------------------------------------------------------
   14. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.faq-item.active {
  border-color: var(--color-blue-primary);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-900);
  cursor: pointer;
}
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-900);
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-blue-primary);
  color: var(--color-white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
}
.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}
.faq-answer p {
  color: var(--color-slate-600);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   15. CALL TO ACTION (DARK NAVY BANNER)
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy-950) 0%, var(--color-navy-900) 50%, #082142 100%);
  padding: 5.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}
.cta-text {
  font-size: 1.15rem;
  color: var(--color-slate-300);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy-950);
  color: var(--color-slate-400);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-col-about p {
  margin: 1.25rem 0 1.5rem 0;
  line-height: 1.7;
  color: var(--color-slate-400);
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.social-icon:hover {
  background: var(--color-blue-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}
.footer-heading {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-cyan-accent);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-links a {
  color: var(--color-slate-400);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-cyan-accent);
  padding-left: 4px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-slate-300);
}
.footer-contact-item svg {
  color: var(--color-cyan-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   17. MODAL SYSTEM (QUOTE REQUEST & TERMINAL DETAILS)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 16, 30, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-normal);
}
.modal-overlay.active .modal-card {
  transform: translateY(0);
}
.modal-header {
  background: var(--color-navy-900);
  color: var(--color-white);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.modal-header h3 {
  color: var(--color-white);
  font-size: 1.4rem;
}
.modal-close-btn {
  color: var(--color-slate-400);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}
.modal-body {
  padding: 2rem;
}

/* Form Controls */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy-900);
}
.form-control {
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
  background: var(--color-slate-50);
}
.form-control:focus {
  border-color: var(--color-blue-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Toast Alert Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-navy-900);
  color: var(--color-white);
  border: 1px solid var(--color-cyan-accent);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}
.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  color: var(--color-emerald-green);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS (SINGLE, NON‑DUPLICATED BLOCK)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .intro-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 868px) {
  .top-bar {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .header-cta .btn {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .why-features {
    grid-template-columns: 1fr;
  }
  .intro-checklist {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .terminal-specs-list {
    grid-template-columns: 1fr;
  }
  .hero-features-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 0.75rem;
  }
  .modal-card {
    max-height: 94vh;
    border-radius: var(--radius-md);
  }
  .modal-header {
    padding: 1.25rem 1.5rem;
  }
  .modal-header h3 {
    font-size: 1.15rem;
  }
  .modal-body {
    padding: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-slide {
    padding: 2.5rem 1.5rem 2rem 1.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .toast-notification {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem 1.15rem;
  }
  .terminals-grid {
    grid-template-columns: 1fr;
  }
  .hero-features-bar {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .intro-image {
    height: 300px;
  }
  .intro-experience-badge {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    flex-direction: column;
    text-align: center;
  }
  .exp-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0;
  }
  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .hero .badge-tag {
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-features-bar {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .mobile-nav-drawer {
    width: 100%;
    max-width: none;
    right: -100%;
  }
  .mobile-nav-drawer.open {
    right: 0;
  }
  .header-cta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .brand-title {
    font-size: 1rem;
  }
  .brand-subtitle {
    font-size: 0.55rem;
  }
  .brand-logo-icon {
    width: 38px;
    height: 38px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.875rem;
  }
  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Animation for loading spinner (used in JS) */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}