/* ============================================================
   SCP Shipping Containers Philippines – Main Stylesheet
   Color Palette: Navy #0a2447 | Orange #f97316 | White #fff | Gray #f8fafc
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy:        #0a2447;
  --navy-light:  #1a3a6b;
  --navy-dark:   #061528;
  --orange:      #f97316;
  --orange-dark: #ea6c0a;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --gray-900:    #0f172a;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.14);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.18);
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
  --font-body:   'Inter', -apple-system, sans-serif;
  --font-head:   'Poppins', 'Inter', sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; height: auto; }
button { cursor: pointer; }

/* ─── Utility ───────────────────────────────────────────────── */
.text-navy   { color: var(--navy) !important; }
.text-orange { color: var(--orange) !important; }
.bg-navy     { background: var(--navy) !important; }
.bg-navy-light { background: var(--navy-light) !important; }
.bg-orange   { background: var(--orange) !important; }
.bg-gray     { background: var(--gray-50) !important; }

.section-pad  { padding: 80px 0; }
.section-pad-sm { padding: 48px 0; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.section-badge {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-scp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-scp-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.btn-scp-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.45);
}

.btn-scp-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10,36,71,.2);
}
.btn-scp-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,36,71,.3);
}

.btn-scp-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-scp-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-scp-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-scp-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ─── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
  background: var(--navy);
}

#navbar.scrolled {
  background: rgba(10,36,71,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.2);
}

#navbar.transparent {
  background: transparent;
}

#navbar .navbar-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white) !important;
  letter-spacing: -0.5px;
}
#navbar .navbar-brand span { color: var(--orange); }

#navbar .nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255,255,255,.85) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: .01em;
}
#navbar .nav-link:hover,
#navbar .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.1);
}

#navbar .nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
}
#navbar .nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  background: rgba(255,255,255,.08);
}
.nav-icon-btn:hover { background: rgba(255,255,255,.15); color: var(--white); }

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,21,40,.90) 0%,
    rgba(10,36,71,.75) 50%,
    rgba(10,36,71,.60) 100%
  );
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--orange);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 14px; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--orange); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
}

.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}
.hero-stat-num .plus { color: var(--orange); }
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll-hint i { font-size: 16px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── Cards ─────────────────────────────────────────────────── */
.card-scp {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card-scp:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-card { position: relative; }
.product-card .product-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-new { background: var(--orange); color: var(--white); }
.badge-used { background: var(--navy); color: var(--white); }
.badge-sale { background: #ef4444; color: var(--white); }
.badge-featured { background: #8b5cf6; color: var(--white); }

.product-card .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.product-card .product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-card .product-actions {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; }

.product-card .product-action-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: var(--transition);
}
.product-action-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.1);
}

.product-card .product-body { padding: 20px; }
.product-card .product-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.product-card .product-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.product-card .product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.product-spec-tag {
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.product-card .product-price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.product-card .product-price .original {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--gray-500);
  font-weight: 400;
  margin-left: 6px;
}
.product-card .product-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 8px;
}

/* ─── Category Cards ────────────────────────────────────────── */
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(249,115,22,.15);
}
.category-card .cat-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: rgba(249,115,22,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--orange);
  margin: 0 auto 16px;
  transition: var(--transition);
}
.category-card:hover .cat-icon {
  background: var(--orange);
  color: var(--white);
}
.category-card .cat-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.category-card .cat-count { font-size: 0.78rem; color: var(--gray-500); }

/* ─── Stats Counter ─────────────────────────────────────────── */
.stats-section { background: var(--navy); position: relative; overflow: hidden; }
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(249,115,22,.06);
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .suffix { color: var(--orange); }
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
  align-self: stretch;
  margin: 20px 0;
}

/* ─── Features / Why Us ─────────────────────────────────────── */
.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(249,115,22,.1);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), #fb923c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(249,115,22,.3);
}
.feature-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* ─── Tracking ──────────────────────────────────────────────── */
.tracking-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.tracking-search-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  max-width: 700px;
  margin: 0 auto;
}

.tracking-input {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 1.1rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .05em;
  width: 100%;
  transition: var(--transition);
}
.tracking-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
}

.tracking-timeline { padding: 40px 0; }

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  padding-bottom: 36px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:last-child .timeline-connector { display: none; }

.timeline-dot-wrap {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.timeline-dot.completed {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(249,115,22,.2);
}
.timeline-dot.active {
  background: var(--white);
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.15);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(249,115,22,.15); }
  50%       { box-shadow: 0 0 0 8px rgba(249,115,22,.06); }
}

.timeline-connector {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  flex: 1;
  height: calc(100% + 36px - 44px);
  background: var(--gray-200);
}
.timeline-connector.completed { background: var(--orange); }

.timeline-content { flex: 1; padding-top: 8px; }
.timeline-content h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.timeline-content p { font-size: 0.85rem; color: var(--gray-500); margin: 0; }
.timeline-content .timeline-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 6px;
  display: flex;
  gap: 12px;
}

/* ─── Map ───────────────────────────────────────────────────── */
#tracking-map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gray-200);
}

/* ─── Cart ──────────────────────────────────────────────────── */
.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item-image {
  width: 80px; height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-100);
}
.cart-item-qty-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  font-size: 14px;
  color: var(--navy);
  transition: var(--transition);
}
.cart-item-qty-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ─── Order Summary ─────────────────────────────────────────── */
.order-summary-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 90px;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-200);
}
.order-summary-total {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

/* ─── Forms ─────────────────────────────────────────────────── */
.form-control-scp {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
  width: 100%;
  background: var(--white);
  color: var(--gray-700);
}
.form-control-scp:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.1);
}
.form-label-scp {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

/* ─── Dashboard ─────────────────────────────────────────────── */
.dashboard-sidebar {
  background: var(--navy);
  height: 100vh;
  width: 260px;
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
}
.dashboard-sidebar .sidebar-brand {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}
.dashboard-sidebar .sidebar-brand span { color: var(--orange); }

.sidebar-menu { padding: 16px 12px; }
.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.7);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  margin-bottom: 4px;
  text-decoration: none;
}
.sidebar-menu-item:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.sidebar-menu-item.active {
  background: var(--orange);
  color: var(--white);
}
.sidebar-menu-item i { width: 18px; font-size: 14px; }
.sidebar-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 16px 16px 6px;
}

.dashboard-main {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--gray-50);
  transition: var(--transition);
}

.dashboard-topbar {
  background: var(--white);
  padding: 16px 28px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.dashboard-content { padding: 28px; }

.kpi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.kpi-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.kpi-value {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-label { font-size: 0.82rem; color: var(--gray-500); font-weight: 600; }
.kpi-change {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 8px;
}
.kpi-change.up { color: #22c55e; }
.kpi-change.down { color: #ef4444; }

/* ─── Admin Panel ───────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--gray-50);
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(249,115,22,.03); }

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}
.testimonial-stars { color: #f59e0b; font-size: 14px; margin: 12px 0; }
.testimonial-text { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-company { font-size: 0.78rem; color: var(--gray-500); }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--orange); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: var(--gray-50); }
.faq-icon { color: var(--orange); font-size: 14px; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 22px 18px; }

/* ─── Blog ──────────────────────────────────────────────────── */
.blog-card { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); background: var(--white); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-category { font-size: 0.72rem; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.blog-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.86rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.blog-meta { font-size: 0.78rem; color: var(--gray-500); display: flex; gap: 12px; }

/* ─── Footer ────────────────────────────────────────────────── */
#footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
}

.footer-top { padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-brand span { color: var(--orange); }
.footer-about { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 15px;
  transition: var(--transition);
}
.social-btn:hover { background: var(--orange); color: var(--white); }

.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: .01em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-links a i { font-size: 10px; color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.87rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}

.footer-bottom {
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Page Header ───────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .08;
}
.page-header-content { position: relative; z-index: 2; }
.page-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.breadcrumb-scp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb-scp a { color: rgba(255,255,255,.6); transition: var(--transition); }
.breadcrumb-scp a:hover { color: var(--orange); }
.breadcrumb-scp .sep { color: rgba(255,255,255,.3); }
.breadcrumb-scp .current { color: var(--orange); }

/* ─── Glassmorphism Elements ────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
}

/* ─── Newsletter Strip ──────────────────────────────────────── */
.newsletter-strip {
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up   { animation: fadeInUp .6s ease both; }
.animate-fade-in   { animation: fadeIn .6s ease both; }
.animate-scale-in  { animation: scaleIn .5s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* ─── Loading ───────────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-brand { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; color: var(--white); margin-bottom: 24px; }
.loader-brand span { color: var(--orange); }
.loader-bar { width: 200px; height: 4px; background: rgba(255,255,255,.1); border-radius: 50px; overflow: hidden; margin: 0 auto; }
.loader-progress { height: 100%; background: var(--orange); border-radius: 50px; animation: loading-bar 1.8s ease infinite; }
@keyframes loading-bar {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* ─── Chat Widget ───────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.chat-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(249,115,22,.5);
  cursor: pointer;
  transition: var(--transition);
}
.chat-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(249,115,22,.6); }
.chat-popup {
  position: absolute;
  bottom: 68px; right: 0;
  width: 300px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: none;
}
.chat-popup.open { display: block; animation: scaleIn .25s ease; }
.chat-popup-header {
  background: var(--navy);
  padding: 16px 20px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.chat-popup-body { padding: 20px; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 992px) {
  .dashboard-sidebar { transform: translateX(-100%); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
}

@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .hero-stats { gap: 20px; }
  .hero-title { font-size: 2rem; }
  .tracking-search-box { padding: 24px; }
  .footer-top { padding: 40px 0 28px; }
}

@media (max-width: 576px) {
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn-scp { width: 100%; justify-content: center; }
  .cart-item { flex-direction: column; }
  .dashboard-content { padding: 16px; }
}

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ─── Selection ─────────────────────────────────────────────── */
::selection { background: rgba(249,115,22,.25); color: var(--navy); }

/* ─── Print ─────────────────────────────────────────────────── */
@media print {
  #navbar, #footer, .chat-widget, .page-loader { display: none !important; }
  .dashboard-sidebar { display: none !important; }
  .dashboard-main { margin-left: 0 !important; }
}
