:root {
  --bg-color: #f4f7f6;
  --card-bg: #ffffff;
  --text-color: #1a252f;
  --text-muted: #666666;
  --nav-bg: #0d1117;
  --border-color: #e1e4e8;
  --accent-blue: #0052ff;
  --accent-cyan: #00d2ff;
  --accent-orange: #ff9900;
  --accent-gradient: linear-gradient(135deg, #0052ff 0%, #00d2ff 100%);
  --btn-gradient: linear-gradient(135deg, #ff3366 0%, #ff9900 100%);
}

[data-theme="dark"] {
  --bg-color: #0d1117;
  --card-bg: #161b22;
  --text-color: #f0f6fc;
  --text-muted: #8b949e;
  --nav-bg: #010409;
  --border-color: #30363d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: var(--nav-bg);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container svg {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: var(--accent-cyan);
}

.btn-nav-primary {
  background: var(--btn-gradient);
  padding: 8px 16px;
  border-radius: 6px;
  color: white !important;
}

.theme-toggle {
  background: transparent;
  border: 1px solid #30363d;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
}

.main-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
  flex: 1;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.hero-img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
}

h1, h2, h3 {
  margin-bottom: 15px;
}

p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 13px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
}

button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th {
  background-color: var(--nav-bg);
  color: white;
  padding: 12px;
  text-align: left;
  font-size: 13px;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

html {
    scroll-behavior: smooth;
}

footer {
  background-color: var(--nav-bg);
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
  font-size: 13px;
  border-top: 1px solid var(--border-color);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Nav */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.25rem;
    color: #0f172a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Landing Page Hero & Features */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.hero-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    color: #1e293b;
    animation: slideUp 0.8s ease-out;
}

/* Feature Cards with High-Res Shipping Images */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.1);
}

.feature-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.feature-content {
    padding: 1.5rem;
}

/* Tracking Page Grid */
.tracking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    margin: 2rem 0;
}

/* Animated Blinking CSS Dot Marker for Maps */
.blinking-dot {
    width: 16px;
    height: 16px;
    background-color: #2563eb;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.6);
    animation: pulse 1.5s infinite;
}

.blinking-dot.problem {
    background-color: #ef4444 !important;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.6) !important;
    animation: pulseRed 1s infinite !important;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsiveness Rules (Max Width: 768px) */
@media screen and (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .tracking-layout {
        grid-template-columns: 1fr; /* Stack map on top of side details on mobile */
    }
    #map {
        height: 350px !important;
    }
}



/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

:root {
    --primary: #0052ff;
    --primary-dark: #003ebd;
    --bg-dark: #0d1117;
    --text-main: #1f2937;
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --input-text: #0d1117;
    --border-color: #cbd5e1;
}

/* Force Form Controls to remain legible regardless of OS dark mode settings */
input, select, textarea {
    background-color: var(--input-bg) !important;
    color: var(--input-text) !important;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
}

input::placeholder, textarea::placeholder {
    color: #64748b !important;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Header */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
}

.btn-outline {
    border: 1px solid var(--border-color);
    padding: 9px 18px;
    border-radius: 8px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* Animated Landing Page Hero */
.hero-wrapper {
    background: linear-gradient(135deg, rgba(13,17,23,0.92) 0%, rgba(0,82,255,0.85) 100%),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    animation: heroSlideDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 720px;
    margin: 1rem auto 2.5rem auto;
    animation: heroFadeIn 1.5s ease-out;
}

.hero-search-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 2rem;
    max-width: 580px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: heroScale 0.8s ease-out;
}

/* Scroll Animation Keyframes */
@keyframes heroSlideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Blinking Live Dot on Map */
.blinking-dot {
    width: 18px;
    height: 18px;
    background-color: #0052ff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 82, 255, 0.6);
    animation: pulse 1.5s infinite;
}

.blinking-dot.problem {
    background-color: #ef4444 !important;
    animation: pulseRed 1s infinite !important;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(0, 82, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 82, 255, 0); }
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive Mobile Rules */
@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .navbar {
        display: none;
        width: 100%;
    }
    .navbar.active {
        display: block;
        padding-top: 1rem;
    }
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .header-flex {
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 2rem;
    }
}

