/* ===========================
   VeloCargo — Global Styles
   =========================== */

:root {
  --navy: #1E4767;
  --teal: #39B5C1;
  --teal-light: #5dcad4;
  --teal-dark: #2a9aa5;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(30,71,103,0.10);
  --shadow-lg: 0 8px 32px rgba(30,71,103,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

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

/* ===========================
   NAVIGATION
   =========================== */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.logo span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-dark) !important; color: white !important; }

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 70% 50%, rgba(57,181,193,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #1E4767 0%, #153550 60%, #0d2235 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(57,181,193,0.12);
  border-radius: 50%;
}

.hero-shapes::after {
  content: '';
  position: absolute;
  right: 60px;
  top: 60px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(57,181,193,0.08);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57,181,193,0.15);
  border: 1px solid rgba(57,181,193,0.3);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 640px;
}

.hero h1 span {
  color: var(--teal);
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 40px;
}

/* Tracking Box */
.track-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: var(--radius-lg);
  max-width: 540px;
}

.track-box h3 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.8;
}

.track-input-group {
  display: flex;
  gap: 10px;
}

.track-input-group input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.track-input-group input::placeholder { color: rgba(255,255,255,0.4); }
.track-input-group input:focus { border-color: var(--teal); background: rgba(255,255,255,0.12); }

.btn-track {
  background: var(--teal);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-track:hover { background: var(--teal-dark); transform: translateY(-1px); }

.track-hint {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin-top: 10px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  text-align: left;
}

.stat-number {
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: luminosity;
}

/* ===========================
   SLIDER SECTION
   =========================== */

.slider-section {
  padding: 72px 0;
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
}

/* Slider */
.slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.slide {
  min-width: 100%;
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,71,103,0.9) 0%, rgba(30,71,103,0.4) 60%, transparent 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 520px;
}

.slide-tag {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.slide-content h3 {
  color: white;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.slide-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.slider-controls {
  position: absolute;
  bottom: 24px;
  left: 48px;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.slider-dot.active {
  background: var(--teal);
  width: 24px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.slider-arrow:hover { background: rgba(57,181,193,0.5); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ===========================
   SERVICES SECTION
   =========================== */

.services-section {
  padding: 80px 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(30,71,103,0.08), rgba(57,181,193,0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ===========================
   WHY US SECTION
   =========================== */

.why-section {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(57,181,193,0.08);
}

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

.why-text h2 {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.why-text h2 span { color: var(--teal); }

.why-text p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.7;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-point {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.why-point-icon {
  width: 32px;
  height: 32px;
  background: rgba(57,181,193,0.15);
  border: 1px solid rgba(57,181,193,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.why-card-num {
  color: var(--teal);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.why-card-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--teal);
  color: white;
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

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

.btn-outline:hover { background: var(--navy); color: white; }

/* ===========================
   TRACK PAGE STYLES
   =========================== */

.track-page {
  min-height: calc(100vh - 68px);
  background: var(--gray-50);
  padding: 48px 0;
}

.track-search-bar {
  background: var(--navy);
  padding: 32px 0;
}

.search-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-inner .logo { color: white; }

.search-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.search-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}

.search-form input::placeholder { color: rgba(255,255,255,0.4); }
.search-form input:focus { border-color: var(--teal); }

.result-wrap { padding: 40px 0; }

/* Shipment Info Card */
.shipment-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.card-header {
  background: linear-gradient(135deg, var(--navy), #2a5f85);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header-left h2 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.card-header-left p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin-top: 2px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pending { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.status-in-transit { background: rgba(57,181,193,0.15); color: var(--teal); border: 1px solid rgba(57,181,193,0.3); }
.status-delivered { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.status-on-hold { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.status-out-delivery { background: rgba(99,102,241,0.15); color: #6366f1; border: 1px solid rgba(99,102,241,0.3); }
.status-customs { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.status-processing { background: rgba(57,181,193,0.15); color: var(--teal); border: 1px solid rgba(57,181,193,0.3); }
.status-picked-up { background: rgba(57,181,193,0.15); color: var(--teal); border: 1px solid rgba(57,181,193,0.3); }

.card-body {
  padding: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.info-item label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.info-item span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* Progress Bar */
.progress-section {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}

.progress-section h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.progress-steps {
  display: flex;
  align-items: center;
  position: relative;
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  transition: width 0.8s ease;
}

.step-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  box-shadow: 0 0 0 2px var(--gray-200);
  transition: all 0.3s;
}

.step-dot.done {
  background: var(--navy);
  color: white;
  box-shadow: 0 0 0 2px var(--navy);
}

.step-dot.active {
  background: var(--teal);
  color: white;
  box-shadow: 0 0 0 3px rgba(57,181,193,0.3);
}

.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  max-width: 72px;
}

.step-label.done, .step-label.active { color: var(--navy); }

/* Two col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Timeline */
.timeline-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.timeline-card h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -21px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--gray-300);
}

.timeline-dot.active {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(57,181,193,0.25);
}

.timeline-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.timeline-event {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* Map */
.map-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-card-header h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.map-location-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-card iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* Not Found */
.not-found {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 60px;
  text-align: center;
}

.not-found-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.not-found h2 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.not-found p {
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* ===========================
   ADMIN / LOGIN STYLES
   =========================== */

.admin-page {
  min-height: 100vh;
  background: var(--gray-50);
}

.admin-header {
  background: var(--navy);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header .logo { color: white; }

.admin-nav {
  display: flex;
  gap: 8px;
}

.admin-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}

.admin-body {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

/* Form styles */
.form-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}

.form-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  color: var(--gray-900);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(57,181,193,0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Table */
.table-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.table-header h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 12px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

td {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }

.action-btns {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-edit { background: rgba(57,181,193,0.1); color: var(--teal); }
.btn-edit:hover { background: var(--teal); color: white; }
.btn-delete { background: rgba(239,68,68,0.1); color: #ef4444; }
.btn-delete:hover { background: #ef4444; color: white; }
.btn-view { background: rgba(30,71,103,0.1); color: var(--navy); }
.btn-view:hover { background: var(--navy); color: white; }

/* Login Page */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #153550 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  padding: 48px;
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo {
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.login-logo p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.login-card h2 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-card .subtitle {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.alert-error { background: rgba(239,68,68,0.08); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: rgba(34,197,94,0.08); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }

/* Timeline editor */
.timeline-editor {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 8px;
}

.timeline-event-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.btn-add-event {
  background: rgba(57,181,193,0.1);
  color: var(--teal);
  border: 1px dashed var(--teal);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: all 0.2s;
}

.btn-add-event:hover { background: rgba(57,181,193,0.2); }

.btn-remove-event {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-visual { display: none; }
  .track-input-group { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .admin-body { padding: 16px; }
}

/* Utility */
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.fw-bold { font-weight: 700; }
.mt-24 { margin-top: 24px; }
