/* ============================================================
   PREMIUM LOGISTICS UI — Global Styles & Animations
   Version: 2.0 — Production Ready
   ============================================================ */

/* ── Custom properties ────────────────────────────────────── */
:root {
  --primary:       #1e3a5f;
  --primary-dark:  #0f2a47;
  --primary-light: #2a4a6b;
  --accent:        #cc0000;
  --accent-dark:   #aa0000;
  --accent-light:  #e53e3e;
  --gold:          #f59e0b;
  --success:       #10b981;
  --surface:       #ffffff;
  --surface-2:     #f8fafc;
  --surface-3:     #f1f5f9;
  --border:        #e2e8f0;
  --text-1:        #0f172a;
  --text-2:        #334155;
  --text-3:        #64748b;
  --text-4:        #94a3b8;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.10);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

/* ── Smooth scroll ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Body ────────────────────────────────────────────────── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

img,
video,
canvas {
  max-width: 100%;
}

/* Keep third-party floating widgets from widening the mobile viewport. */
.gtranslate_wrapper,
.gt_float_switcher,
#tidio-chat,
#tawkchat-container,
#tawkchat-minified-container,
#crisp-chatbox,
#wh-widget-send-button,
.gb-widget,
[id^="gb-widget"],
iframe[src*="tidio"],
iframe[src*="tawk.to"],
iframe[src*="crisp.chat"],
iframe[src*="getbutton"],
iframe[src*="widget-send-button"],
iframe[src*="intercom"],
iframe[src*="zendesk"],
iframe[src*="livechatinc"] {
  max-width: calc(100vw - 24px) !important;
}

@media (max-width: 480px) {
  .gtranslate_wrapper,
  .gt_float_switcher,
  #tidio-chat,
  #tawkchat-container,
  #tawkchat-minified-container,
  #crisp-chatbox,
  #wh-widget-send-button,
  .gb-widget,
  [id^="gb-widget"],
  iframe[src*="tidio"],
  iframe[src*="tawk.to"],
  iframe[src*="crisp.chat"],
  iframe[src*="getbutton"],
  iframe[src*="widget-send-button"],
  iframe[src*="intercom"],
  iframe[src*="zendesk"],
  iframe[src*="livechatinc"] {
    right: 12px !important;
    left: auto !important;
  }

  .floating-whatsapp-chat {
    right: 12px !important;
    bottom: 78px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 11px 13px !important;
  }
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */
html.js-reveal [data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
html.js-reveal [data-reveal="up"]    { transform: translateY(40px); }
html.js-reveal [data-reveal="down"]  { transform: translateY(-40px); }
html.js-reveal [data-reveal="left"]  { transform: translateX(-40px); }
html.js-reveal [data-reveal="right"] { transform: translateX(40px); }
html.js-reveal [data-reveal="scale"] { transform: scale(0.9); }
html.js-reveal [data-reveal="fade"]  { transform: none; }

html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none !important;
}

/* Stagger delays for children */
[data-reveal-stagger] > *                { transition-delay: 0s; }
[data-reveal-stagger] > *:nth-child(1)   { transition-delay: 0.05s; }
[data-reveal-stagger] > *:nth-child(2)   { transition-delay: 0.12s; }
[data-reveal-stagger] > *:nth-child(3)   { transition-delay: 0.19s; }
[data-reveal-stagger] > *:nth-child(4)   { transition-delay: 0.26s; }
[data-reveal-stagger] > *:nth-child(5)   { transition-delay: 0.33s; }
[data-reveal-stagger] > *:nth-child(6)   { transition-delay: 0.40s; }

/* ============================================================
   PREMIUM HEADER — Glass-Morphism Sticky
   ============================================================ */
#site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(30,58,95,0.12) !important;
}

/* Desktop nav link hover underline effect */
#desktop-nav a,
#desktop-nav button {
  position: relative;
  text-decoration: none;
}
#desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
#desktop-nav a:hover::after { width: 100%; }
#desktop-nav a:hover { color: var(--accent) !important; }

/* Premium dropdown */
.hdr-dd-panel {
  animation: dropdownFadeIn 0.2s cubic-bezier(0.4,0,0.2,1);
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hdr-dd-panel a {
  position: relative;
  overflow: hidden;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease !important;
}
.hdr-dd-panel a:hover {
  padding-left: 22px !important;
}
.hdr-dd-panel a::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hdr-dd-panel a:hover::before { opacity: 1; }

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Track button pulse */
#track-btn {
  animation: none;
  position: relative;
  overflow: hidden;
}
#track-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
#track-btn:hover::after { transform: translateX(100%); }

/* Hamburger animation */
#nav-hamburger {
  transition: transform 0.2s ease, background 0.2s ease !important;
}
#nav-hamburger:hover {
  transform: scale(1.05);
  background: #b91c1c !important;
}
#nav-hamburger:active { transform: scale(0.95); }

/* ============================================================
   TOPBAR SUBTLE ANIMATION
   ============================================================ */
.site-topbar {
  background: linear-gradient(90deg, #0f2a47 0%, #1e3a5f 50%, #0f2a47 100%) !important;
  background-size: 200% 100% !important;
  animation: topbarShimmer 6s linear infinite;
}
@keyframes topbarShimmer {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* ============================================================
   PREMIUM FOOTER
   ============================================================ */
.premium-footer {
  background: linear-gradient(135deg, #0a1628 0%, #0f2a47 40%, #1a1a2e 100%);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}
.premium-footer::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(204,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.premium-footer::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,58,95,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.footer-link:hover { color: #fff; padding-left: 6px; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.footer-social-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   PREMIUM CARDS
   ============================================================ */
.premium-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.premium-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(30,58,95,0.15);
}
.premium-card-glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   PREMIUM BUTTONS
   ============================================================ */
.btn-premium-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(204,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.btn-premium-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-premium-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.4);
  color: #fff;
}
.btn-premium-primary:hover::before { opacity: 1; }
.btn-premium-primary:active { transform: translateY(0); }

.btn-premium-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-premium-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.25);
}

.btn-premium-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-premium-ghost:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   PREMIUM SECTION HEADERS
   ============================================================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204,0,0,0.08);
  color: var(--accent);
  border: 1px solid rgba(204,0,0,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(15,42,71,0.88) 0%,
    rgba(30,58,95,0.75) 50%,
    rgba(10,22,40,0.82) 100%
  );
}

/* Floating animation for hero elements */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hero-float { animation: heroFloat 4s ease-in-out infinite; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #1e3a5f 0%, #cc0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-light {
  background: linear-gradient(135deg, #fff 0%, #bfdbfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TRACKING SEARCH — Premium Redesign
   ============================================================ */
.track-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 45%, #0f2a47 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
}
.track-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseOrb 6s ease-in-out infinite;
}
.track-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,58,95,0.4) 0%, transparent 60%);
  pointer-events: none;
}
@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.1); opacity: 1; }
}

/* Floating particles */
.track-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Track input group */
.track-input-group {
  background: rgba(255,255,255,0.97);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  transition: box-shadow 0.3s ease;
}
.track-input-group:focus-within {
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 3px rgba(204,0,0,0.2);
}
.track-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  min-width: 0;
  padding: 10px 16px 10px 0;
  font-family: 'Inter', sans-serif;
}
.track-input-group input::placeholder { color: #94a3b8; }
.track-submit-btn {
  background: linear-gradient(135deg, #cc0000, #aa0000);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(204,0,0,0.4);
  font-family: 'Inter', sans-serif;
}
.track-submit-btn:hover {
  transform: translateX(2px);
  box-shadow: 0 6px 20px rgba(204,0,0,0.5);
  background: linear-gradient(135deg, #e53e3e, #cc0000);
}
.track-submit-btn svg { transition: transform 0.3s ease; }
.track-submit-btn:hover svg { transform: translateX(4px); }

/* ============================================================
   TRACKING RESULT — Premium
   ============================================================ */
.trk-page-premium {
  background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 100%);
  min-height: 100vh;
  padding: 40px 0 80px;
}

.trk-card-premium {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8edf2;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}
.trk-card-premium:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}

.trk-card-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2a47 100%);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.trk-card-header.accent {
  background: linear-gradient(135deg, #cc0000 0%, #aa0000 100%);
}
.trk-card-header.success {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Progress bar premium */
.trk-progress-wrap {
  height: 12px;
  background: #e5eaf0;
  border-radius: 100px;
  overflow: hidden;
  margin: 16px 0 8px;
}
.trk-progress-bar {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #1e3a5f 0%, #cc0000 100%);
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.trk-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: progressShimmer 2s linear infinite;
}
@keyframes progressShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Timeline premium */
.trk-timeline-premium {
  position: relative;
  padding-left: 36px;
}
.trk-timeline-premium::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #cc0000 0%, #e5eaf0 100%);
}
.trk-titem-premium {
  position: relative;
  margin-bottom: 4px;
}
.trk-tdot-premium {
  position: absolute;
  left: -36px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #cc0000;
  box-shadow: 0 0 0 4px rgba(204,0,0,0.12);
  z-index: 1;
}
.trk-tdot-premium.active {
  background: #cc0000;
  box-shadow: 0 0 0 6px rgba(204,0,0,0.15), 0 0 16px rgba(204,0,0,0.3);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(204,0,0,0.15), 0 0 16px rgba(204,0,0,0.3); }
  50%       { box-shadow: 0 0 0 10px rgba(204,0,0,0.08), 0 0 24px rgba(204,0,0,0.4); }
}

.trk-tcard-premium {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  animation: slideInUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.trk-tcard-premium:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Status badge premium */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}
.status-badge.in-transit {
  background: rgba(30,58,95,0.08);
  color: #1e3a5f;
  border: 1px solid rgba(30,58,95,0.15);
}
.status-badge.delivered {
  background: rgba(16,185,129,0.08);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.2);
}
.status-badge.pending {
  background: rgba(245,158,11,0.08);
  color: #d97706;
  border: 1px solid rgba(245,158,11,0.2);
}

/* ============================================================
   STAT CARDS — Animated Counters
   ============================================================ */
.stat-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ============================================================
   SERVICE CARDS — Premium hover
   ============================================================ */
.service-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(204,0,0,0.1), rgba(30,58,95,0.1));
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, #cc0000, #aa0000);
}
.service-card:hover .service-card-icon svg { stroke: #fff; }

/* ============================================================
   FORM INPUTS — Premium floating label style
   ============================================================ */
.premium-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.premium-input:focus {
  border-color: #1e3a5f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,58,95,0.08);
}
.premium-input::placeholder { color: #94a3b8; }

.premium-textarea {
  resize: vertical;
  min-height: 120px;
}

.premium-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* ============================================================
   AUTH PAGE — Premium Split Design
   ============================================================ */
.auth-page-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f8fafc;
}
@media (max-width: 768px) {
  .auth-page-wrap { grid-template-columns: 1fr; }
}
.auth-left-panel {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0f2a47 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.auth-left-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(204,0,0,0.2) 0%, transparent 70%);
}
.auth-left-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.auth-right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: #fff;
}
@media (max-width: 768px) {
  .auth-left-panel { display: none; }
  .auth-right-panel { padding: 40px 24px; }
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-input-group {
  position: relative;
  margin-bottom: 20px;
}
.auth-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  outline: none;
  transition: var(--transition-fast);
  font-family: 'Inter', sans-serif;
}
.auth-input:focus {
  border-color: #1e3a5f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,58,95,0.08);
}
.auth-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2a47 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(30,58,95,0.3);
}
.auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.4);
}
.auth-submit-btn:active { transform: translateY(0); }

/* ============================================================
   NOTICE / ALERT — Premium
   ============================================================ */
.notice-premium {
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  animation: slideInUp 0.5s cubic-bezier(0.4,0,0.2,1);
}
.notice-premium.warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
}
.notice-premium.error {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
  border: 1px solid #fc8181;
}
.notice-premium.success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
}
.notice-premium-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notice-premium.warning .notice-premium-icon { background: #f59e0b; color: #fff; }
.notice-premium.error   .notice-premium-icon { background: #cc0000; color: #fff; }
.notice-premium.success .notice-premium-icon { background: #10b981; color: #fff; }

/* ============================================================
   LOADING SHIMMER
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
.shimmer {
  background: linear-gradient(90deg, #f0f4f8 25%, #e8edf2 50%, #f0f4f8 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #1e3a5f;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ============================================================
   BACK TO TOP BUTTON — Premium
   ============================================================ */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #0f2a47);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  box-shadow: 0 4px 16px rgba(30,58,95,0.3);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
}
.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.back-to-top-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(30,58,95,0.4);
  background: linear-gradient(135deg, #cc0000, #aa0000);
  color: #fff;
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
  .section-title { font-size: 1.75rem; }
  .track-input-group {
    border-radius: 16px;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }
  .track-input-group input {
    padding: 10px 12px;
    font-size: 15px;
  }
  .track-submit-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }
}

/* ============================================================
   SCROLL SCROLLBAR — Premium thin
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============================================================
   SELECTION COLOR
   ============================================================ */
::selection { background: rgba(204,0,0,0.15); color: #0f172a; }

/* ============================================================
   HERO SECTION — Animated gradient border on tracking input
   ============================================================ */
.track-input-animated-border {
  position: relative;
}
.track-input-animated-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 102px;
  background: linear-gradient(90deg, #cc0000, #1e3a5f, #cc0000);
  background-size: 200% 100%;
  animation: borderGradient 3s linear infinite;
  z-index: -1;
}
@keyframes borderGradient {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ============================================================
   MICRO-INTERACTIONS
   ============================================================ */
a, button { -webkit-tap-highlight-color: transparent; }

/* Icon bounce on hover */
.icon-bounce:hover svg { animation: iconBounce 0.5s cubic-bezier(0.36,0.07,0.19,0.97) both; }
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  30%       { transform: translateY(-4px); }
  60%       { transform: translateY(-2px); }
}

/* Ripple effect */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  width: 300%;
  height: 300%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
  border-radius: 50%;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}
.ripple:active::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: none;
}

/* ============================================================
   CONTACT CARDS — Premium
   ============================================================ */
.contact-info-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8edf2;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,0.02), rgba(204,0,0,0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  border-color: rgba(30,58,95,0.2);
}
.contact-info-card:hover::before { opacity: 1; }
.contact-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(204,0,0,0.1), rgba(30,58,95,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.contact-info-card:hover .contact-icon-wrap {
  background: linear-gradient(135deg, #cc0000, #aa0000);
  transform: scale(1.05);
}
.contact-info-card:hover .contact-icon-wrap svg { stroke: #fff; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.about-hero-stat:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

/* ============================================================
   NAVIGATION - Active state
   ============================================================ */
.nav-active {
  color: var(--accent) !important;
}
.nav-active::after {
  width: 100% !important;
}

/* ============================================================
   HOMEPAGE — Full Premium Redesign
   ============================================================ */

/* ── Hero Section ──────────────────────────────────────── */
.hp-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  /* overflow must stay visible so the floating tracking card
     (translate-y-1/2) is not clipped at the section boundary */
  overflow: visible;
}
.hp-hero,
.hp-hero-content-wrap,
.hp-hero-content-inner {
  max-width: 100vw;
  min-width: 0;
}
.hp-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(8,18,35,0.93) 0%,
    rgba(15,40,75,0.82) 40%,
    rgba(30,58,95,0.65) 100%
  );
}
.hp-hero-glow-tr {
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204,0,0,0.14) 0%, transparent 68%);
}
.hp-hero-glow-bl {
  bottom: -120px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,58,95,0.35) 0%, transparent 68%);
}
.hp-hero-content-wrap {
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding-top: 80px;
  padding-bottom: 140px;
}
.hp-hero-content-inner {
  width: 100%;
}

/* Hero badge */
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.95);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.hp-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #cc0000;
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

/* Hero typography */
.hp-hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
}
.hp-hero-title-accent {
  color: #ef4444;
  position: relative;
}
.hp-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 40px;
}
.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

@media (max-width: 640px) {
  .hp-hero {
    overflow-x: hidden;
  }

  .hp-hero-content-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hp-hero-badge {
    max-width: 100%;
    white-space: normal;
    border-radius: 24px;
    padding: 8px 14px;
    font-size: 9px;
    letter-spacing: 0.11em;
    line-height: 1.45;
  }

  .hp-hero-title {
    max-width: 100%;
    font-size: clamp(2.15rem, 13vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hp-hero-subtitle {
    max-width: 100%;
    font-size: 1rem;
  }

  .hp-hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .hp-hero-actions .btn-premium-primary,
  .hp-hero-actions .btn-premium-ghost {
    max-width: 100%;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Hero side badge card */
.hp-hero-badge-card {
  background: rgba(204,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 24px 28px;
  color: #fff;
  max-width: 300px;
  box-shadow: 0 16px 48px rgba(204,0,0,0.35);
}
.hp-hero-badge-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Tracking Form Card ────────────────────────────────── */
.hp-tracking-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.hp-tracking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a5f 0%, #cc0000 100%);
}
.hp-tracking-tab {
  font-size: 14px;
  font-weight: 800;
  color: #1e3a5f;
  border-bottom: 3px solid #1e3a5f;
  padding-bottom: 10px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.hp-tracking-form-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}
.hp-tracking-input {
  flex: 1;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #0f172a;
  background: #f8fafc;
  min-width: 0;
}
.hp-tracking-input:focus {
  border-color: #1e3a5f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,58,95,0.08);
}
.hp-tracking-input::placeholder { color: #94a3b8; }
.hp-tracking-submit {
  background: linear-gradient(135deg, #1e3a5f, #0f2a47);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-tracking-submit:hover {
  background: linear-gradient(135deg, #cc0000, #aa0000);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.4);
  color: #fff;
}
.hp-tracking-links {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-size: 13px;
  flex-wrap: wrap;
}
.hp-tracking-links a {
  color: #1e3a5f;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}
.hp-tracking-links a:hover { color: #cc0000; }

/* Mobile: stack input + button vertically, full width */
@media (max-width: 640px) {
  .hp-tracking-form-wrap {
    flex-direction: column;
    gap: 10px;
  }
  .hp-tracking-form-wrap .hp-tracking-input {
    width: 100%;
    flex: none;
  }
  .hp-tracking-submit {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 20px;
  }
  .hp-tracking-card {
    padding: 20px 18px;
  }
}

/* ── Stats Strip ───────────────────────────────────────── */
.hp-stats-strip {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 40px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}
.hp-stat-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}
.hp-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e2e8f0;
}
.hp-stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #1e3a5f;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.hp-stat-accent { color: #cc0000; font-weight: 900; }
.hp-stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: 6px;
}

/* ── Services Scroll / Grid ────────────────────────────── */
.hp-services-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.hp-services-inner {
  display: flex;
  gap: 16px;
  min-width: max-content;
}
.hp-service-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  min-width: 280px;
  height: 280px;
  flex-shrink: 0;
}
.hp-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.hp-service-card:hover img { transform: scale(1.08); }
.hp-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,18,35,0.85) 0%, rgba(8,18,35,0.2) 55%, transparent 100%);
  transition: background 0.35s ease;
}
.hp-service-card:hover .hp-service-card-overlay {
  background: linear-gradient(to top, rgba(8,18,35,0.92) 0%, rgba(8,18,35,0.4) 65%, transparent 100%);
}
.hp-service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #fff;
}
.hp-service-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.hp-service-card-line {
  width: 0;
  height: 3px;
  background: #cc0000;
  transition: width 0.4s ease;
  border-radius: 2px;
}
.hp-service-card:hover .hp-service-card-line { width: 48px; }
.hp-scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #1e3a5f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hp-scroll-btn:hover {
  background: #1e3a5f;
  color: #fff;
  border-color: #1e3a5f;
}
@media (min-width: 768px) {
  .hp-services-scroll-wrap {
    overflow: visible;
    padding-bottom: 0;
  }
  .hp-services-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 0;
    gap: 20px;
  }
  .hp-service-card {
    min-width: 0;
    height: 260px;
  }
}
@media (min-width: 1024px) {
  .hp-services-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .hp-service-card { height: 300px; }
}

/* ── Why Strip — Dark stats ────────────────────────────── */
.hp-why-strip {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 60%, #0f2a47 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.hp-why-strip::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hp-why-strip::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hp-why-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204,0,0,0.15);
  border: 1px solid rgba(204,0,0,0.3);
  color: #ff7a7a;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Steps Section ─────────────────────────────────────── */
.hp-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
@media (min-width: 768px) {
  .hp-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .hp-steps-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(16.666% + 24px);
    right: calc(16.666% + 24px);
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(204,0,0,0.5), rgba(255,255,255,0.15));
    z-index: 0;
  }
}
.hp-step-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.hp-step-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.24);
}
.hp-step-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #f87171;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-step-number::before {
  content: '';
  width: 20px;
  height: 2px;
  background: #cc0000;
  border-radius: 2px;
}
.hp-step-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hp-step-card:hover .hp-step-icon-wrap {
  background: rgba(204,0,0,0.25);
  transform: scale(1.05);
}

/* ── Industry Cards ────────────────────────────────────── */
.hp-industry-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.hp-industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a5f, #cc0000);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.hp-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(30,58,95,0.12);
  border-color: rgba(30,58,95,0.2);
}
.hp-industry-card:hover::after { transform: scaleX(1); }
.hp-industry-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a5f, #0f2a47);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.hp-industry-card:hover .hp-industry-icon {
  background: linear-gradient(135deg, #cc0000, #aa0000);
  transform: scale(1.08) rotate(-3deg);
}

/* ── News Cards ────────────────────────────────────────── */
.hp-news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.hp-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
  border-color: rgba(30,58,95,0.15);
}
.hp-news-img-wrap { overflow: hidden; }
.hp-news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.hp-news-card:hover .hp-news-img { transform: scale(1.06); }
.hp-news-body { padding: 24px; }
.hp-news-tag {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
}
.hp-news-tag.sustainability { background: #059669; }
.hp-news-tag.insight { background: #1e3a5f; }

/* ── Blog / Field Notes ────────────────────────────────── */
.hp-blog-article {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.25s ease;
  align-items: flex-start;
}
.hp-blog-article:last-child { border-bottom: none; padding-bottom: 0; }
.hp-blog-article:hover { transform: translateX(4px); }
.hp-blog-thumb {
  width: 120px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.hp-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.hp-blog-article:hover .hp-blog-thumb img { transform: scale(1.07); }
.hp-blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.hp-blog-category {
  color: #cc0000;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hp-blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.45;
  margin-bottom: 12px;
}
.hp-blog-read-more {
  color: #cc0000;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
}
.hp-blog-read-more:hover { gap: 8px; color: #aa0000; }
@media (max-width: 640px) {
  .hp-blog-article { flex-direction: column; }
  .hp-blog-thumb { width: 100%; height: 160px; }
}

/* ── Case Study Cards ──────────────────────────────────── */
.hp-case-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.hp-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1e3a5f 0%, #cc0000 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.hp-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
  background: #fff;
  border-color: rgba(30,58,95,0.2);
}
.hp-case-card:hover::before { transform: scaleY(1); }
.hp-case-metric {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.hp-case-metric-dot {
  width: 7px;
  height: 7px;
  background: #cc0000;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ── Social Section ────────────────────────────────────── */
.hp-social-section {
  background: #f8fafc;
  padding: 56px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.hp-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #1e3a5f;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.hp-social-btn:hover {
  background: #cc0000;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(204,0,0,0.35);
  color: #fff;
}

/* ── Testimonial Section ───────────────────────────────── */
.hp-testimonial {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 55%, #0f2a47 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hp-testimonial::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(204,0,0,0.13) 0%, transparent 68%);
  pointer-events: none;
}
.hp-testimonial::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hp-quote-wrap {
  position: relative;
  padding-left: 20px;
}
.hp-quote-mark {
  font-size: 7rem;
  line-height: 0.8;
  color: rgba(255,255,255,0.08);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  position: absolute;
  top: -12px;
  left: -20px;
  user-select: none;
  pointer-events: none;
}
.hp-quote-text {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.hp-quote-line {
  width: 48px;
  height: 4px;
  background: #cc0000;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hp-quote-author-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.hp-quote-author-title {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}
.hp-quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cc0000, #aa0000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-ceo-img-wrap {
  position: relative;
}
.hp-ceo-img-shadow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(204,0,0,0.2), transparent);
  transform: translate(14px, 14px);
  z-index: 0;
}

/* ── Section spacing improvements ─────────────────────── */
.hp-section-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204,0,0,0.15);
  border: 1px solid rgba(204,0,0,0.3);
  color: #ff7a7a;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── MT spacing for hero + tracking form offset ────────── */
/* On mobile the form stacks (input + button), making it ~200px tall
   so translate-y-1/2 pushes it ~100px into the next section.
   On desktop the form is a single row, ~100px tall → ~50px offset.  */
.hp-content-start {
  margin-top: 120px;   /* mobile: stacked form ~200px tall → 100px + 20px buffer */
}
@media (min-width: 640px) {
  .hp-content-start { margin-top: 104px; } /* one-row form on sm+ */
}
@media (min-width: 768px) {
  .hp-content-start { margin-top: 96px; }  /* slightly smaller offset on md+ */
}

/* ── Featured article card ─────────────────────────────── */
.hp-featured-article {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .hp-featured-article { flex-direction: row; }
}
.hp-featured-article:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.10); }
.hp-featured-article-img {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .hp-featured-article-img { width: 50%; min-height: 300px; }
}
.hp-featured-article-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .hp-featured-article-body { padding: 28px 24px; }
}
