/* 
 * Haul Ship Sphere - Core Design System & Styling (XAMPP Server Deployment)
 * Colors: Primary Red (#f13223), White (#ffffff), Black (#000000), Slate Grey (#f8f9fa)
 */

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

/* --- Theme Tokens (Light Mode - Default) --- */
:root {
    --primary: #f13223;
    --primary-hover: #d02215;
    --primary-rgb: 241, 50, 35;
    
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;
    --bg-header: #0d0d0d;
    --bg-input: #ffffff;
    
    --text-main: #212529;
    --text-muted: #5a626a;
    --text-white: #ffffff;
    
    --border-color: #dee2e6;
    --border-glass: rgba(241, 50, 35, 0.08);
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 20px rgba(241, 50, 35, 0.1);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* --- Theme Tokens (Dark Mode) --- */
body.dark-theme {
    --bg-main: #0a0a0a;
    --bg-card: #121212;
    --bg-card-hover: #1c1c1c;
    --bg-header: #000000;
    --bg-input: #1e1e1e;
    
    --text-main: #f8f9fa;
    --text-muted: #a5a5a5;
    
    --border-color: #262626;
    --border-glass: rgba(241, 50, 35, 0.15);
    --shadow-main: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(241, 50, 35, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.5em;
    color: inherit;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 38px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    font-weight: 700;
}

h3 {
    font-size: 19px;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* --- Animations Definitions --- */
.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--text-white);
    border: 2px solid var(--primary);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: var(--bg-main);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* --- Shared Navigation Header --- */
.site-header {
    background-color: var(--bg-header);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    color: var(--text-white);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--text-white);
}

.logo-link img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

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

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

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: #cccccc;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle svg line {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active .line-1 {
    transform: translateY(6px) rotate(45deg);
    transform-origin: 12px 6px;
}

.mobile-menu-toggle.active .line-2 {
    opacity: 0;
}

.mobile-menu-toggle.active .line-3 {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: 12px 18px;
}

/* --- Hero Section with Unsplash Background & Overlay --- */
.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-white);
    padding: 110px 0 130px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Thicker dark gradient mask to protect tracking-box legibility */
.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 65px;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 15px auto;
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* Text contrast booster */
}

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

.hero-intro {
    font-size: 16px;
    color: #dedede;
    max-width: 600px;
    margin: 0 auto 35px auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Text contrast booster */
}

/* --- Glassmorphic Tracking Box --- */
.tracking-wrapper {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.tracking-card-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tracking-form {
    display: flex;
    gap: 10px;
}

.tracking-input-group {
    flex: 1;
    position: relative;
}

.tracking-input-group svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    fill: #bbbbbb;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.tracking-input {
    width: 100%;
    padding: 14px 15px 14px 44px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    font-size: 15px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.tracking-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background-color: rgba(0, 0, 0, 0.7);
}

/* --- Section Layouts & Alternating Backgrounds --- */
.section {
    padding: 85px 0;
}

/* Section 1: Services (Pure White) */
.section-white {
    background-color: var(--bg-card);
}

/* Section 2: How it works (Soft Grey) */
.section-grey {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Section 3: Global Hubs (Light Brand-Red Tint) */
.section-tint {
    background-color: #fdf4f3; /* 2% brand red tint for light mode */
    border-top: 1px solid rgba(241, 50, 35, 0.08);
    border-bottom: 1px solid rgba(241, 50, 35, 0.08);
}
body.dark-theme .section-tint {
    background-color: #150808; /* Dark red tint for dark mode */
    border-top: 1px solid rgba(241, 50, 35, 0.15);
    border-bottom: 1px solid rgba(241, 50, 35, 0.15);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 55px auto;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 15px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-main);
    transition: var(--transition);
}

.service-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    transition: var(--transition);
    z-index: 2;
}

.service-card:hover .service-img-wrapper::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.08);
}

.service-card-content {
    padding: 30px;
}

.service-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: rgba(241, 50, 35, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-box svg {
    fill: var(--primary);
    width: 22px;
    height: 22px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(241, 50, 35, 0.08); /* Hover highlight red shadow */
    border-color: rgba(241, 50, 35, 0.25);
}

/* --- How It Works Section (Steps) --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
}

.step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-main);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--bg-main);
    border: 2px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px); /* Float animation */
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(241, 50, 35, 0.08);
}

.step-card:hover .step-number {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 13px;
    margin-bottom: 0;
}

/* --- Split Layouts / Why Choose Us --- */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border-color);
    height: 400px;
}

.split-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-bullets {
    list-style: none;
    margin-top: 30px;
}

.split-bullets li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.split-bullet-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(241, 50, 35, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.split-bullet-icon svg {
    fill: var(--primary);
    width: 12px;
    height: 12px;
}

.split-bullet-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.split-bullet-text p {
    font-size: 14px;
    margin-bottom: 0;
}

/* --- Network Hubs Coordinates --- */
.hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.hub-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: var(--transition);
}

.hub-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(241, 50, 35, 0.06);
    transform: translateY(-2px);
}

.hub-code {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.hub-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.hub-card p {
    font-size: 13px;
    margin-bottom: 0;
}

/* --- Client Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-main);
    position: relative;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.review-text {
    font-style: italic;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-details h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.review-details span {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Accordion FAQs --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.accordion-checkbox {
    display: none;
}

.accordion-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    user-select: none;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--bg-main);
}

.accordion-icon {
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 24px;
}

.accordion-content p {
    font-size: 14px;
    margin-bottom: 0;
    padding-bottom: 20px;
    line-height: 1.6;
}

.accordion-checkbox:checked ~ .accordion-content {
    max-height: 250px;
}

.accordion-checkbox:checked ~ .accordion-header .accordion-icon {
    transform: rotate(45deg);
}

/* --- CTA Banner (Parallax) --- */
.cta-banner {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    padding: 85px 0;
    color: var(--text-white);
    text-align: center;
}

.cta-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.78); /* Thicker contrast overlay */
    pointer-events: none;
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* Contrast boost */
}

.cta-banner p {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Contrast boost */
}

/* --- Contact / Forms --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-main);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
}

.contact-method-item {
    display: flex;
    gap: 15px;
}

.contact-method-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(241, 50, 35, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    fill: var(--primary);
    width: 18px;
    height: 18px;
}

.contact-method-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-method-details p {
    margin: 0;
    font-size: 13.5px;
}

.contact-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-main);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-input);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* --- Tracking Page & Timeline UI --- */
.tracking-search-box {
    margin-bottom: 30px;
}

.tracking-result-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.shipment-details-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-main);
    overflow: hidden;
}

.card-header-styled {
    background: #0d0d0d;
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary);
}

.card-header-styled h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.status-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending { background-color: rgba(243, 156, 18, 0.15); color: #f39c12; border: 1px solid #f39c12; }
.status-created { background-color: rgba(52, 152, 219, 0.15); color: #3498db; border: 1px solid #3498db; }
.status-pickup { background-color: rgba(155, 89, 182, 0.15); color: #9b59b6; border: 1px solid #9b59b6; }
.status-transit { background-color: rgba(52, 73, 94, 0.15); color: #34495e; border: 1px solid #34495e; }
.status-sorting { background-color: rgba(22, 160, 133, 0.15); color: #16a085; border: 1px solid #16a085; }
.status-delivery { background-color: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid #2ecc71; }
.status-delivered { background-color: rgba(39, 174, 96, 0.2); color: #27ae60; border: 1px solid #27ae60; }
.status-delayed { background-color: rgba(231, 76, 60, 0.15); color: #e74c3c; border: 1px solid #e74c3c; }

.shipment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    padding: 24px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.detail-address {
    grid-column: span 2;
}

/* --- Timeline Layout --- */
.timeline-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-main);
}

.timeline-card h3 {
    font-size: 19px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.timeline-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
}

/* Progress Tracker Bar */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    padding: 0 10px;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}

.progress-line-fill {
    position: absolute;
    top: 22px;
    left: 0;
    height: 4px;
    background-color: var(--primary);
    z-index: 2;
    transition: width 0.8s ease;
}

.tracker-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
}

.tracker-node {
    width: 44px;
    height: 44px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-bottom: 10px;
}

.tracker-node svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: var(--transition);
}

.tracker-step.completed .tracker-node {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.tracker-step.completed .tracker-node svg {
    fill: #ffffff;
}

.tracker-step.active .tracker-node {
    border-color: var(--primary);
    background-color: var(--bg-card);
    animation: pulseGlow 2s infinite;
}

.tracker-step.active .tracker-node svg {
    fill: var(--primary);
}

.tracker-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.tracker-step.completed .tracker-label,
.tracker-step.active .tracker-label {
    color: var(--text-main);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(241, 50, 35, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(241, 50, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 50, 35, 0); }
}

/* Detailed Vertical History Logs */
.history-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 24px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background-color: var(--border-color);
}

.history-item {
    position: relative;
    padding-bottom: 25px;
}

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

.history-marker {
    position: absolute;
    left: -23px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 3px solid var(--border-color);
    z-index: 2;
    transition: var(--transition);
}

.history-item.latest .history-marker {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.history-content {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 15px;
}

.history-item.latest .history-content {
    border-color: var(--border-glass);
    box-shadow: var(--shadow-glow);
    background-color: var(--bg-card);
}

.history-meta {
    display: flex;
    flex-direction: column;
}

.history-date {
    font-size: 14px;
    font-weight: 700;
}

.history-time {
    font-size: 12px;
    color: var(--text-muted);
}

.history-location {
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-location svg {
    fill: var(--primary);
    width: 12px;
    height: 12px;
}

.history-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--primary);
}

.history-info p {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 0;
}

/* --- Admin Panel Command Center --- */
.admin-login-body {
    background: linear-gradient(135deg, #090909 0%, #151515 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    background-color: #121212;
    border: 1px solid #222222;
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    color: #ffffff;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.login-header p {
    color: #888888;
}

/* Admin Dashboard Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background-color: #0d0d0d;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 25px 15px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 35px;
    padding-left: 10px;
}

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

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #aaaaaa;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-link svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

.sidebar-link:hover, .sidebar-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-link.active {
    background-color: rgba(241, 50, 35, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.admin-main {
    flex: 1;
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-topbar h2 {
    font-size: 18px;
    margin-bottom: 0;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-content-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

/* Stats Dashboard Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-main);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-details h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-details p {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Colors for Stat Cards */
.stat-total .stat-icon { background-color: rgba(0, 0, 0, 0.04); color: var(--text-main); }
.stat-total .stat-icon svg { fill: var(--text-main); }
.stat-transit .stat-icon { background-color: rgba(52, 152, 219, 0.08); color: #3498db; }
.stat-transit .stat-icon svg { fill: #3498db; }
.stat-delivered .stat-icon { background-color: rgba(46, 204, 113, 0.08); color: #2ecc71; }
.stat-delivered .stat-icon svg { fill: #2ecc71; }
.stat-pending .stat-icon { background-color: rgba(241, 196, 15, 0.08); color: #f1c40f; }
.stat-pending .stat-icon svg { fill: #f1c40f; }
.stat-delayed .stat-icon { background-color: rgba(231, 76, 60, 0.08); color: #e74c3c; }
.stat-delayed .stat-icon svg { fill: #e74c3c; }

/* Table styling */
.admin-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-main);
    padding: 24px;
}

.card-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.card-title-container h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}

.data-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-main);
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background-color: var(--bg-main);
}

.actions-cell {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon svg {
    width: 13px;
    height: 13px;
    fill: var(--text-muted);
}

.btn-icon:hover {
    border-color: var(--primary);
    background-color: var(--primary);
}

.btn-icon:hover svg {
    fill: #ffffff;
}

.btn-icon.btn-delete:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-input {
    min-width: 170px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-input);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 13.5px;
}

.filter-input:focus {
    border-color: var(--primary);
}

.search-input-wrapper {
    flex: 1;
}

/* --- Shared Footer --- */
.site-footer {
    background-color: #0b0b0b;
    color: #ffffff;
    padding: 50px 0 24px 0;
    border-top: 3px solid var(--primary);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 150px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column p {
    color: #888888;
    font-size: 13.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #888888;
    font-size: 13.5px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1c1c1c;
    padding-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: #555555;
}

/* Hide admin sidebar menu toggle button on desktop viewports */
.admin-menu-toggle {
    display: none;
}

/* Responsive Split layouts for admin settings panels */
.admin-split-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    h1 { font-size: 34px; }
    h2 { font-size: 25px; }
    .hero h1 { font-size: 48px; }
    .logo-link img { height: 55px; }
    
    .split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .split-image-box {
        height: 320px;
    }
    .admin-split-layout {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Navigation Drawer System (Slides from right, collapses at tablet width) */
    .mobile-menu-toggle {
        display: block; /* Show hamburger toggler */
    }
    .nav-menu {
        position: fixed;
        right: -280px; /* Hidden offscreen by default */
        top: 0;
        bottom: 0;
        width: 280px;
        background-color: #0d0d0d;
        border-left: 2px solid rgba(255,255,255,0.05);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px;
        gap: 20px;
        z-index: 999;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-menu.mobile-active {
        right: 0; /* Slide drawer in */
    }
    .nav-link {
        font-size: 16px;
        width: 100%;
        display: block;
        padding: 8px 0;
    }
    .nav-link::after {
        display: none; /* Disable underliner on drawer list */
    }
    
    /* Hero elements stacking */
    .hero {
        padding: 80px 0 100px 0;
        background-attachment: scroll; /* Disable fixed attachment on mobile to avoid render lags */
    }
    .cta-banner {
        background-attachment: scroll; /* Disable fixed attachment on mobile */
    }
    .tracking-form {
        flex-direction: column;
        gap: 12px;
    }
    .tracking-input {
        padding: 12px 15px 12px 42px;
        font-size: 14px;
    }
    .tracking-card-container {
        padding: 16px;
    }
    
    /* Contacts stacking */
    .contact-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Table Responsive wrappers */
    .table-responsive {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 30px; }
    h2 { font-size: 23px; }
    .hero h1 { font-size: 38px; }
    .section { padding: 60px 0; }

    /* Admin Dashboard Responsive Layout */
    .admin-wrapper {
        display: block;
    }
    
    .admin-sidebar {
        position: fixed;
        left: -260px; /* Hidden offscreen */
        top: 0;
        bottom: 0;
        width: 260px;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        padding: 25px 20px;
        margin-bottom: 0;
    }

    .admin-sidebar.active {
        left: 0; /* Slide in */
    }

    .admin-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .admin-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .admin-logo {
        margin-bottom: 30px;
        text-align: left;
    }
    
    .sidebar-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .sidebar-link {
        padding: 10px 14px;
        font-size: 14px;
        width: 100%;
    }
    
    .sidebar-link.active {
        border-left: 3px solid var(--primary);
        border-bottom: none;
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        margin: 0;
    }

    .admin-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--text-main);
        cursor: pointer;
        padding: 8px;
        margin-right: 15px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .admin-menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: var(--primary);
        color: var(--primary);
    }

    .admin-menu-toggle svg {
        fill: none;
        stroke: currentColor;
    }

    .admin-topbar {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 20px;
    }

    .admin-topbar h2 {
        font-size: 16px;
        margin-bottom: 0;
        flex: 1;
    }

    .admin-user-info {
        display: none; /* Hide login info on small screens to save space */
    }

    .admin-content-body {
        padding: 15px;
    }

    .admin-card {
        padding: 15px;
    }

    /* Form Grid Responsive override */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }

    /* Vertical milestone progress tracker for tablet and mobile screens */
    .progress-tracker {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        position: relative;
        gap: 35px;
        margin-bottom: 30px;
    }

    .progress-tracker::before {
        left: 30px;
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
        right: auto;
    }

    .progress-line-fill {
        left: 30px;
        top: 0;
        width: 4px;
        height: 0;
        display: none;
    }

    .tracker-step {
        flex-direction: row;
        align-items: center;
        width: 100%;
        text-align: left;
        gap: 15px;
    }

    .tracker-node {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .tracker-step::after {
        content: '';
        position: absolute;
        left: 20px;
        top: 44px;
        height: 35px;
        width: 4px;
        background-color: var(--border-color);
        z-index: 1;
    }

    .tracker-step.completed::after {
        background-color: var(--primary);
    }

    .tracker-step:last-child::after {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 26px; }
    h2 { font-size: 21px; }
    h3 { font-size: 17px; }
    .hero h1 { font-size: 32px; }
    .hero-tagline { font-size: 11px; }
    .hero-intro { font-size: 14px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .detail-item.detail-address {
        grid-column: span 1;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .history-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    #fleet-capacities .hubs-grid {
        grid-template-columns: 1fr !important;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-input {
        width: 100%;
    }
    .filter-bar > div {
        width: 100%;
    }
    .filter-bar .btn {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* --- Scroll Entrance Animations (On-Scroll) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Override immediate page-load animations inside scroll reveal container */
.reveal .animate-fade-up,
.reveal .animate-scale-in {
    animation: none !important;
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal .animate-scale-in {
    transform: scale(0.95) translateY(20px);
}

/* Staggered transition delays for child components when parent is visible */
.reveal.active .delay-1 { transition-delay: 0.15s !important; }
.reveal.active .delay-2 { transition-delay: 0.3s !important; }
.reveal.active .delay-3 { transition-delay: 0.45s !important; }
.reveal.active .delay-4 { transition-delay: 0.6s !important; }

/* Trigger transitions when scroll container is marked active */
.reveal.active .animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .animate-scale-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}


/* --- PRINTING ADJUSTMENTS --- */
@media print {
    /* Collapse non-printing elements from flow */
    .site-header,
    .site-footer,
    .tracking-search-box,
    .section-header,
    .no-print {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide everything else on the page by default */
    body * {
        visibility: hidden;
    }
    
    /* Reveal only the results section and its contents */
    #tracking-results-area,
    #tracking-results-area * {
        visibility: visible;
    }
    
    /* Position the tracking results section cleanly at the top-left of the printed page */
    #tracking-results-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Optimize aesthetics for standard white printer paper */
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    
    .shipment-details-card,
    .timeline-card {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #000000 !important;
        box-shadow: none !important;
        margin-bottom: 25px !important;
        padding: 20px !important;
        page-break-inside: avoid;
        border-radius: 6px !important;
    }
    
    .card-header-styled {
        background: #f0f0f0 !important;
        color: #000000 !important;
        border-bottom: 2px solid #000000 !important;
        padding: 12px 15px !important;
    }
    
    .card-header-styled h3 {
        color: #000000 !important;
    }
    
    .detail-label {
        color: #555555 !important;
    }
    
    .detail-value {
        color: #000000 !important;
    }
    
    .timeline-card h3::after {
        background-color: #000000 !important;
    }
    
    /* Timeline tracker adjustments for clean black-and-white printing */
    .progress-tracker::before {
        background-color: #cccccc !important;
    }
    
    .progress-line-fill {
        background-color: #000000 !important;
    }
    
    .tracker-node {
        background-color: #ffffff !important;
        border: 2px solid #000000 !important;
    }
    
    .tracker-node svg {
        fill: #555555 !important;
    }
    
    .tracker-step.completed .tracker-node {
        background-color: #000000 !important;
        border-color: #000000 !important;
        box-shadow: none !important;
    }
    
    .tracker-step.completed .tracker-node svg {
        fill: #ffffff !important;
    }
    
    .tracker-step.active .tracker-node {
        border-color: #000000 !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
        animation: none !important;
    }
    
    .tracker-step.active .tracker-node svg {
        fill: #000000 !important;
    }
    
    .tracker-label {
        color: #555555 !important;
    }
    
    .tracker-step.completed .tracker-label,
    .tracker-step.active .tracker-label {
        color: #000000 !important;
    }
    
    /* Vertical history timeline elements for print */
    .history-timeline::before {
        background-color: #cccccc !important;
    }
    
    .history-marker {
        border-color: #cccccc !important;
        background-color: #ffffff !important;
    }
    
    .history-item.latest .history-marker {
        border-color: #000000 !important;
        background-color: #000000 !important;
        box-shadow: none !important;
    }
    
    .history-content {
        background-color: #ffffff !important;
        border: 1px solid #cccccc !important;
        box-shadow: none !important;
    }
    
    .history-item.latest .history-content {
        border-color: #000000 !important;
        box-shadow: none !important;
        background-color: #ffffff !important;
    }
    
    .history-time {
        color: #555555 !important;
    }
    
    .history-location {
        color: #000000 !important;
    }
    
    .history-location svg {
        fill: #000000 !important;
    }
    
    .history-info h4 {
        color: #000000 !important;
    }
    
    .history-info p {
        color: #000000 !important;
    }
}
