:root {
    --primary-color: #002D62; /* Navy Blue (Trust) */
    --accent-color: #007BFF; /* Electric Blue (Tech) */
    --secondary-color: #F8F9FA; /* Off-white */
    --gold-color: #FFC107; /* Logistics Gold */
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Navigation */
#mainNav {
    background-color: var(--primary-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: padding-top 0.3s, padding-bottom 0.3s;
}

#mainNav .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
}

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

/* Hero Section */
.masthead {
    padding-top: 10.5rem;
    padding-bottom: 6rem;
    text-align: center;
    color: #fff;
    /* Gradient Background to simulate "Tech + Logistics" */
    background-image: linear-gradient(to bottom, rgba(0, 45, 98, 0.9), rgba(0, 45, 98, 0.7)), url('https://source.unsplash.com/1600x900/?logistics,server'); 
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

.masthead .masthead-subheading {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5rem;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    color: var(--gold-color);
}

.masthead .masthead-heading {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 3.25rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.fa-stack-2x {
    color: var(--secondary-color);
}

/* AI Badge */
.ai-badge {
    border-left: 5px solid var(--accent-color);
}

/* Contact Form */
#contactForm .form-control {
    padding: 1.25rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}
.timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    content: "";
    background-color: #e9ecef;
}
.timeline > li {
    position: relative;
    min-height: 100px;
    margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
    display: table;
    content: " ";
}
.timeline > li:after {
    clear: both;
}
.timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}
.timeline > li .timeline-image {
    position: absolute;
    z-index: 100;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 7px solid #e9ecef;
    border-radius: 100%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Icon sizing within circles */
.timeline > li .timeline-image i {
    font-size: 1.5em; /* Smaller on mobile */
}
.timeline > li .timeline-image h4 {
    font-size: 10px;
    margin-top: 12px;
    line-height: 14px;
    color: white;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    text-align: left;
    padding: 0 20px 0 100px;
}
.timeline > li.timeline-inverted > .timeline-image {
    left: 0;
    margin-left: 0;
}
.timeline > li:last-child {
    margin-bottom: 0;
}
.timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit;
    font-weight: 800; /* Bolder headings */
}
.timeline .timeline-heading h4.subheading {
    text-transform: none;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px; /* More space between subheading and text */
}
.timeline .timeline-body > p,
.timeline .timeline-body > ul {
    margin-bottom: 0;
    line-height: 1.6; /* Better readability */
}

@media (min-width: 768px) {
    .timeline:before {
        left: 50%;
    }
    .timeline > li {
        min-height: 150px; /* Increased height */
        margin-bottom: 100px;
    }
    .timeline > li .timeline-panel {
        float: left;
        width: 41%;
        padding: 0 30px 20px 30px; /* Improved padding */
        text-align: right;
    }
    .timeline > li .timeline-image {
        left: 50%;
        width: 150px; /* Larger circles */
        height: 150px;
        margin-left: -75px;
    }
    .timeline > li .timeline-image i {
        font-size: 3em; /* Larger icons on desktop */
    }
    .timeline > li .timeline-image h4 {
        font-size: 16px;
        margin-top: 0; /* Center vertically */
        line-height: 1.4;
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        float: right;
        text-align: left;
        padding: 0 30px 20px 30px;
    }
}
@media (min-width: 992px) {
    .timeline > li .timeline-panel {
        width: 46%;
    }
    .timeline > li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }
    .timeline > li .timeline-image i {
        font-size: 4em; 
    }
    .timeline > li .timeline-image h4 {
        font-size: 18px;
        line-height: 26px;
    }
}
