:root {
    --primary: #002147;
    --secondary: #FF6F00;
    --accent: #0056b3;
    --light: #f8f9fa;
    --dark: #212529;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header Styles */

header {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    background-color: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo-text span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a i {
    margin-right: 5px;
}

.auth-buttons .btn {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    margin-right: 10px;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-register {
    background-color: var(--secondary);
    color: white;
    border: none;
}

.btn-register:hover {
    background-color: #e65c00;
}


/* Hero Section */

/* Additional custom styles */
.tracking-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.service-card {
    transition: all 0.3s ease;
}

.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Timeline animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-bg h1 {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

.bg-track,
.business-hero,
.tracking-hero,
.support-hero {
    background: linear-gradient(to right, rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.95)), url('https://images.unsplash.com/photo-1600267175161-cfaa711b4a81?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}


.hero-bg {
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.9)), url('https://images.unsplash.com/photo-1605656816944-971cd5c1407f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}


/* Tracking Hero */

.tracking-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.tracking-hero,
.business-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.tracking-hero {
    font-size: 36px;
}

.tracking-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.tracking-search {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tracking-search input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.tracking-search button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 35px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.tracking-search button:hover {
    background: #e65c00;
}


/* Tracking Results */

.tracking-results {
    padding: 50px 0;
}

.tracking-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.tracking-id {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.status-badge {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
}

.status-in-transit {
    background: rgba(0, 123, 255, 0.15);
    color: #0069d9;
}

.status-delivered {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.tracking-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.overview-card {
    background: var(--light);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.overview-content h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.overview-content p {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.timeline-container {
    position: relative;
    padding: 30px 0;
}

.timeline-title {
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.timeline-title i {
    margin-right: 10px;
    color: var(--secondary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e9ecef;
    left: 30px;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 4px solid #e9ecef;
    color: var(--primary);
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.timeline-item.active .timeline-icon {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.timeline-item.active .timeline-content {
    border-left: 4px solid var(--secondary);
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #666;
    margin-bottom: 5px;
}

.timeline-content .time {
    font-weight: 600;
    color: var(--primary);
}

.package-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.detail-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.detail-card h3 i {
    margin-right: 10px;
    color: var(--secondary);
}

.detail-item {
    display: flex;
    margin-bottom: 15px;
}

.detail-label {
    width: 120px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    flex: 1;
    font-weight: 500;
}

.actions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.action-button {
    flex: 1;
    min-width: 200px;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.action-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.action-button i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.action-button h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.action-button p {
    color: #666;
    font-size: 14px;
}


/* Support Section */

.support-section {
    background: linear-gradient(to right, var(--primary), #003366);
    padding: 70px 0;
    color: white;
    text-align: center;
    margin-top: 50px;
}

.support-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.support-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.support-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.support-option {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.support-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.support-option i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.support-option h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.support-option p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.support-option a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.business-hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* Footer */

footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}


/* Responsive */

@media (max-width: 992px) {
    .timeline {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .tracking-search {
        border-radius: 10px;
        flex-direction: column;
    }
    .tracking-search input {
        padding: 15px;
    }
    .tracking-search button {
        padding: 15px;
        width: 100%;
    }
}