/* ============================================
   TrackPro Logistics — Master Stylesheet
   Professional logistics platform CSS
   ============================================ */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --orange-500: #f59e0b;
  --orange-400: #fbbf24;
  --orange-600: #d97706;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --green-500: #22c55e;
  --green-100: #dcfce7;
  --red-500:   #ef4444;
  --red-100:   #fee2e2;
  --yellow-500: #eab308;
  --yellow-100: #fef9c3;

  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

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

/* ---------- ANIMATIONS ---------- */

/* Fade-in from below */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade-in from left */
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Fade-in from right */
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Simple fade */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scale pulse for badges */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* Spinner rotation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Slide down for mobile nav */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* Visible state for scroll-triggered elements */
.anim-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.anim-target.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children: apply anim-stagger to parent */
.anim-stagger > .anim-target:nth-child(1) { transition-delay: .05s; }
.anim-stagger > .anim-target:nth-child(2) { transition-delay: .15s; }
.anim-stagger > .anim-target:nth-child(3) { transition-delay: .25s; }
.anim-stagger > .anim-target:nth-child(4) { transition-delay: .35s; }
.anim-stagger > .anim-target:nth-child(5) { transition-delay: .45s; }
.anim-stagger > .anim-target:nth-child(6) { transition-delay: .55s; }
.anim-stagger > .anim-target:nth-child(7) { transition-delay: .65s; }
.anim-stagger > .anim-target:nth-child(8) { transition-delay: .75s; }
.anim-stagger > .anim-target:nth-child(9) { transition-delay: .85s; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: var(--blue-900);
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
}
.nav-logo span { color: var(--orange-500); }

.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  font-weight: 500; font-size: .95rem; color: var(--gray-600);
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--blue-600); border-radius: 2px;
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue-700); font-weight: 600; }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white !important; padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.nav-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 6px 20px rgba(37,99,235,.4); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px; background: var(--gray-700);
  border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; width: 100%;
    flex-direction: column; gap: 0;
    background: white; border-bottom: 1px solid var(--gray-200);
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    padding: 0 24px;
  }
  .nav-links.open {
    max-height: 400px; padding: 16px 24px;
    animation: slideDown .3s ease;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); width: 100%; }
  .nav-cta { text-align: center; margin-top: 8px; display: block; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 140px 24px 100px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
  position: relative; overflow: hidden;
  color: white; text-align: center;
}
.hero::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 700px; height: 700px; border-radius: 50%;
  background: rgba(245,158,11,.12);
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -40%; left: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  animation: float 10s ease-in-out infinite reverse;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
  animation: fadeUp .8s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); padding: 8px 20px;
  border-radius: 50px; font-size: .85rem; font-weight: 500;
  margin-bottom: 24px; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
}
.hero h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--orange-400); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.8);
  margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-slider::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  opacity: 0.5;
  z-index: 1;
}
.hero-slider img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: slideAnim 18s infinite;
  z-index: 0;
}
.hero-slider img:nth-child(1) { animation-delay: 0s; }
.hero-slider img:nth-child(2) { animation-delay: 6s; }
.hero-slider img:nth-child(3) { animation-delay: 12s; }

@keyframes slideAnim {
  0% { opacity: 0; transform: scale(1.05); }
  5% { opacity: 1; transform: scale(1.04); }
  33.33% { opacity: 1; transform: scale(1.01); }
  38.33% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* Ensure content stays above slider */
.hero, .about-hero, .services-hero, .track-hero, .contact-hero {
  position: relative;
  overflow: hidden;
}
.hero > *:not(.hero-slider),
.about-hero > *:not(.hero-slider),
.services-hero > *:not(.hero-slider),
.track-hero > *:not(.hero-slider),
.contact-hero > *:not(.hero-slider) {
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange-500); color: var(--gray-900);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(245,158,11,.5); background: var(--orange-400); }

.btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white; box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn-blue:hover { box-shadow: 0 6px 20px rgba(37,99,235,.45); }

.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-danger { background: var(--red-500); color: white; }
.btn-danger:hover { background: #dc2626; }

/* ---------- SECTION HEADINGS ---------- */
.section { padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: var(--blue-100); color: var(--blue-700);
  font-weight: 600; font-size: .8rem; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px;
}
.section-header h2 {
  font-size: 2.2rem; font-weight: 800; color: var(--gray-900);
  margin-bottom: 12px;
}
.section-header p { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---------- FEATURE CARDS ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.feature-card {
  background: white; border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200, #bfdbfe);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.feature-icon.blue   { background: var(--blue-100); color: var(--blue-600); }
.feature-icon.orange { background: #fef3c7; color: var(--orange-600); }
.feature-icon.green  { background: var(--green-100); color: var(--green-500); }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.feature-card p  { font-size: .92rem; color: var(--gray-500); }

/* ---------- REVIEWS ---------- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.review-card {
  background: white; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
}
.review-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.review-stars { color: var(--orange-500); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: .93rem; color: var(--gray-600); margin-bottom: 18px; line-height: 1.65; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: .85rem;
}
.review-author-info h4 { font-size: .9rem; font-weight: 600; color: var(--gray-900); }
.review-author-info span { font-size: .8rem; color: var(--gray-400); }

/* ---------- TRUST BADGES ---------- */
.trust-section { background: var(--blue-900); color: white; }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; text-align: center; max-width: 1000px; margin: 0 auto;
}
.trust-item { }
.trust-number { font-size: 2.6rem; font-weight: 900; color: var(--orange-400); }
.trust-label { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: white; text-align: center; padding: 64px 24px;
  border-radius: var(--radius); margin: 0 24px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(245,158,11,.1);
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 28px; position: relative; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 64px 24px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.footer-col h4 {
  color: white; font-size: 1rem; font-weight: 700;
  margin-bottom: 20px;
}
.footer-col p { font-size: .88rem; line-height: 1.7; }
.footer-col a { display: block; padding: 5px 0; font-size: .88rem; color: var(--gray-400); transition: color .2s; }
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  text-align: center; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--gray-700); font-size: .82rem;
}

/* ---------- TRACK PAGE ---------- */
.track-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white; text-align: center;
}
.track-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; animation: fadeUp .6s ease both; }
.track-hero p { color: rgba(255,255,255,.7); animation: fadeUp .6s .1s ease both; }

.track-form-wrapper {
  max-width: 600px; margin: -40px auto 40px; position: relative; z-index: 5;
  animation: fadeUp .6s .2s ease both;
}
.track-form {
  display: flex; gap: 0; background: white; border-radius: 60px;
  box-shadow: var(--shadow-xl); overflow: hidden;
  border: 2px solid var(--gray-200);
}
.track-form input {
  flex: 1; padding: 18px 28px; border: none; outline: none;
  font-size: 1rem; color: var(--gray-800); background: transparent;
}
.track-form input::placeholder { color: var(--gray-400); }
.track-form button {
  padding: 18px 32px; border: none;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white; font-weight: 700; font-size: .95rem;
  transition: background .2s;
  white-space: nowrap;
}
.track-form button:hover { background: var(--orange-400); }

/* Track Result */
.track-result {
  max-width: 700px; margin: 0 auto 60px; padding: 0 24px;
  display: none;
}
.track-result.show { display: block; animation: fadeUp .5s ease both; }

.result-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.result-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--blue-50), white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.result-header h3 { font-size: 1.3rem; font-weight: 800; color: var(--blue-900); }

/* Status Badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  font-weight: 600; font-size: .82rem;
  animation: pulse 2s infinite;
}
.status-badge.pending  { background: var(--yellow-100); color: #a16207; }
.status-badge.transit   { background: var(--blue-100); color: var(--blue-700); }
.status-badge.delivered { background: var(--green-100); color: #15803d; }

.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.status-dot.pending  { background: var(--yellow-500); }
.status-dot.transit  { background: var(--blue-500); }
.status-dot.delivered { background: var(--green-500); }

.result-details {
  padding: 28px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.detail-item label {
  display: block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--gray-400); margin-bottom: 4px;
}
.detail-item span { font-size: .95rem; font-weight: 500; color: var(--gray-800); }

/* Tracking Timeline */
.track-timeline {
  padding: 28px 32px; border-top: 1px solid var(--gray-200);
}
.track-timeline h4 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; }

.timeline {
  position: relative; padding-left: 32px;
}
.timeline::before {
  content: ''; position: absolute; left: 11px; top: 0; bottom: 0;
  width: 3px; background: var(--gray-200); border-radius: 3px;
}
.timeline-item {
  position: relative; padding-bottom: 24px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -32px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gray-300); border: 3px solid white;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot.active { background: var(--blue-500); }
.timeline-dot.done   { background: var(--green-500); }
.timeline-dot i { font-size: .55rem; color: white; }
.timeline-item h5 { font-size: .9rem; font-weight: 600; color: var(--gray-800); }
.timeline-item p  { font-size: .8rem; color: var(--gray-400); }

@media (max-width: 600px) {
  .result-details { grid-template-columns: 1fr; }
}

/* ---------- VIDEO TESTIMONIALS ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  cursor: pointer;
  background: var(--gray-900);
}
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: brightness(0.65);
}
.video-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.4);
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: background .3s, transform .3s, border-color .3s;
  z-index: 2;
}
.video-card:hover .video-play-btn {
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-info {
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: 30px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white; z-index: 2;
}
.video-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.video-info span { font-size: .8rem; color: rgba(255,255,255,.8); }

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white; text-align: center;
}
.about-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; animation: fadeUp .6s ease both; }
.about-hero p  { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto; animation: fadeUp .6s .1s ease both; }

.about-content {
  max-width: 900px; margin: -40px auto 0; padding: 0 24px;
  position: relative; z-index: 5;
}
.about-card {
  background: white; border-radius: var(--radius); padding: 48px; margin-bottom: 32px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.about-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--blue-900); margin-bottom: 16px; }
.about-card p  { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 32px;
}
.value-item {
  padding: 24px; border-radius: var(--radius-sm); background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.value-item h3 { font-size: 1rem; font-weight: 700; color: var(--blue-800); margin-bottom: 8px; }
.value-item p  { font-size: .88rem; color: var(--gray-500); }

/* ---------- SERVICES PAGE ---------- */
.services-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white; text-align: center;
}
.services-hero h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 12px; animation: fadeUp .6s ease both; }
.services-hero p  { color: rgba(255,255,255,.7); animation: fadeUp .6s .1s ease both; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: white; border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--gray-200);
  transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange-500));
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: var(--blue-100); color: var(--blue-700);
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.service-card p  { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ---------- ADMIN PAGE ---------- */
.admin-hero {
  padding: 140px 24px 40px;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: white; text-align: center;
}
.admin-hero h1 { font-size: 2rem; font-weight: 800; animation: fadeUp .4s ease both; }

/* Admin Login */
.admin-login {
  max-width: 420px; margin: -20px auto 60px; padding: 0 24px;
  position: relative; z-index: 5;
}
.login-card {
  background: white; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
  animation: fadeUp .5s .1s ease both;
}
.login-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--gray-900); text-align: center; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.form-input {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .92rem;
  color: var(--gray-800); background: white;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
select.form-input { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Admin Dashboard */
.admin-dashboard {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 60px;
  display: none;
}
.admin-dashboard.show { display: block; animation: fadeIn .4s ease; }

.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.admin-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); }

/* Stat cards in admin */
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.admin-stat-card {
  background: white; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  text-align: center;
}
.admin-stat-card .number { font-size: 2rem; font-weight: 900; color: var(--blue-700); }
.admin-stat-card .label { font-size: .82rem; color: var(--gray-500); margin-top: 4px; }

/* Create shipment form */
.create-form {
  background: white; border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.create-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: var(--gray-900); }

/* Shipments table */
.table-wrapper {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
}
.table-wrapper h3 {
  padding: 20px 28px; font-size: 1.1rem; font-weight: 700;
  border-bottom: 1px solid var(--gray-200); margin: 0;
}
.shipments-table {
  width: 100%; border-collapse: collapse;
}
.shipments-table th {
  padding: 14px 20px; text-align: left;
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--gray-400);
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.shipments-table td {
  padding: 14px 20px; font-size: .88rem; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.shipments-table tr:hover td { background: var(--gray-50); }

.table-actions { display: flex; gap: 8px; }
.table-actions button {
  padding: 6px 14px; border-radius: 6px; border: none;
  font-size: .78rem; font-weight: 600; transition: transform .2s, opacity .2s;
}
.table-actions button:hover { transform: scale(1.05); }
.btn-edit { background: var(--blue-100); color: var(--blue-700); }
.btn-del  { background: var(--red-100); color: var(--red-500); }

.table-scroll { overflow-x: auto; }

/* Spinner */
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: white; border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* Toast notifications */
.toast-container {
  position: fixed; top: 80px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 14px 24px; border-radius: var(--radius-sm);
  color: white; font-weight: 500; font-size: .9rem;
  box-shadow: var(--shadow-lg); animation: fadeLeft .3s ease both;
  display: flex; align-items: center; gap: 10px;
  min-width: 280px;
}
.toast.success { background: var(--green-500); }
.toast.error   { background: var(--red-500); }
.toast.info    { background: var(--blue-600); }

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 70px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p  { font-size: 1rem; }
  .section-header h2 { font-size: 1.7rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .track-form { border-radius: 16px; flex-direction: column; }
  .track-form input { border-bottom: 1px solid var(--gray-200); }
  .track-form button { border-radius: 0 0 16px 16px; }
}
