:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #3182ce;
    --accent-light: #4299e1;
    --light: #e2e8f0;
    --dark: #2d3748;
    --success: #38a169;
    --warning: #ecc94b;
    --danger: #e53e3e;
    --gray: #a0aec0;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--accent-light);
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

/* Header Styles */
header {
    background-color: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.8rem;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)), url('https://images.unsplash.com/photo-1519003722824-194d4455a60e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.page-banner p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)), url('https://images.unsplash.com/photo-1519003722824-194d4455a60e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.tracking-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease;
}

.tracking-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;

}

.tracking-form button {
    border-radius: 0 4px 4px 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--light);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 0;
    width: 70%;
    height: 2px;
    background-color: var(--accent);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-light);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

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

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-top: 2rem;
    color: var(--primary);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

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

.team-member h3 {
    margin-bottom: 0.5rem;
}

.position {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.bio {
    font-size: 0.9rem;
}

.stats-section {
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Track Page Styles */
.tracking-section {
    padding: 5rem 0;
}

.tracking-container {
    max-width: 800px;
    margin: 0 auto;
}

.tracking-form-container {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.tracking-form-container h3 {
    margin-bottom: 0.5rem;
}

.tracking-form-container p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light);
    border-radius: 4px;
    font-size: 1rem;
}

.tracking-results {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-placeholder {
    text-align: center;
    color: var(--gray);
}

.results-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.results-placeholder h3 {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.tracking-info {
    padding: 5rem 0;
    background-color: var(--light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
}

/* Services Page Styles */
.services-section {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 1rem;
    min-width: 30px;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: block;
}

#track-btn{
    margin-top: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    padding: 0 0 5rem;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Tracking Results Styles */
.tracking-result-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tracking-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.tracking-header h3 {
    margin-bottom: 0.5rem;
    color: #1a365d;
}

.people-details{
    display: flex;
    justify-content: space-between;

}


.people-details div h4{
    border-bottom: 1px solid #696a6d;
}

.package-details div{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 1rem;
}
.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.last-updated {
    color: #718096;
    font-size: 0.9rem;
}

.shipment-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    margin-bottom: 0.75rem;
}

.detail-label {
    font-weight: 600;
    color: #2d3748;
    min-width: 120px;
}

.detail-value {
    color: #4a5568;
}



.note-row{
    display: flex;
    flex-direction: column;
}

.note-row p{
    color: #4a5568;
    font-size: 0.9rem;
}


.tracking-timeline {
    margin-bottom: 2rem;
}

.tracking-timeline h4 {
    margin-bottom: 1rem;
    color: #1a365d;
}

.tracking-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Loading and Error States */
.loading-state, .error-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loading-state i, .error-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-state i {
    color: #4299e1;
}

.error-state i {
    color: #e53e3e;
}

.error-state h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.error-state p {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1.5rem;
}

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

.timeline-marker {
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4299e1;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #4299e1;
}

.timeline-item.delivered .timeline-marker {
    background: #38a169;
    box-shadow: 0 0 0 3px #38a169;
}

.timeline-item.in_transit .timeline-marker {
    background: #ed8936;
    box-shadow: 0 0 0 3px #ed8936;
}

.timeline-item.exception .timeline-marker {
    background: #e53e3e;
    box-shadow: 0 0 0 3px #e53e3e;
}

.timeline-content {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #4299e1;
}

.timeline-item.delivered .timeline-content {
    border-left-color: #38a169;
}

.timeline-item.in_transit .timeline-content {
    border-left-color: #ed8936;
}

.timeline-item.exception .timeline-content {
    border-left-color: #e53e3e;
}

.timeline-content h5 {
    margin: 0 0 0.5rem;
    color: #2d3748;
}

.timeline-time {
    color: #718096;
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.timeline-description {
    margin: 0 0 0.5rem;
    color: #4a5568;
}

.timeline-location {
    margin: 0;
    color: #718096;
    font-size: 0.85rem;
}

.timeline-location i {
    margin-right: 0.5rem;
    color: #4299e1;
}


/* Add to your CSS file */
.animated-progress {
    background: linear-gradient(90deg, #4299e1, #3182ce, #4299e1);
    background-size: 200% 100%;
    animation: progressAnimation 2s infinite;
}

@keyframes progressAnimation {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.loading-state, .error-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loading-state i, .error-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-state i {
    color: #4299e1;
}

.error-state i {
    color: #e53e3e;
}

.error-state h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.error-state p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.speed-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #2563eb;
}

.speed-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.speed-row:last-child {
    margin-bottom: 0;
}

.speed-label {
    font-weight: 600;
    color: #374151;
}

.speed-value {
    color: #2563eb;
    font-weight: 500;
}

.moving-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.fa-truck {
    font-size: 18px;
    position: relative;
    z-index: 2;
}

.event-description{
    width: 98%;
}
