:root {
    --primary: #EE7D00;
    --primary-dark: #cc6b00;
    --secondary: #003366;
    --secondary-dark: #002244;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
}

.main-header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-header {
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: var(--secondary-dark);
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Tracking Form Card */
.tracking-card-wrap {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.tracking-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tabs-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f1f5f9;
}

.tab-btn {
    padding: 1.5rem 1rem;
    border: none;
    background: none;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    padding: 3rem;
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.form-group input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: var(--primary-dark);
}

/* Info Cards Section */
.features-section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card .icon-wrap {
    width: 80px;
    height: 80px;
    background: #fff7ed;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 20px;
    margin: 0 auto 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-muted);
}

/* Result Styles (Tracking.php) */
.result-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.status-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.status-delivered {
    background: #dcfce7;
    color: #166534;
}

.status-process {
    background: #fef9c3;
    color: #854d0e;
}

.status-error {
    background: #fee2e2;
    color: #991b1b;
}

.cargo-steps {
    margin-top: 3rem;
    position: relative;
    padding-left: 3rem;
}

.cargo-steps::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #e2e8f0;
}

.step-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.step-item::after {
    content: '';
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.step-item.active::after {
    background: var(--primary);
}

.step-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 1s ease-in;
}

.animate-slide {
    animation: slideUp 0.8s ease-out;
}

/* Mobile optimization */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero {
        height: 500px;
    }

    .tabs-header {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content {
        padding: 2rem 1.5rem;
    }

    .form-group {
        flex-direction: column;
    }

    .btn-search {
        padding: 1.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}