/* Global style (Corporate Logistics Theme) */

:root {
    /* New Palette: Deep Navy & Clean Steel */
    --primary-color: #002E5D;    /* Trust Navy */
    --secondary-color: #1A1A1A;  /* Rich Black (matches your logo) */
    --accent-color: #0056b3;     /* Action Blue */
    --light-bg: #F4F7F9;        /* Soft Professional Grey */
    --text-dark: #2D3436;        /* Easy-to-read Charcoal */
    --text-light: #636E72;       /* Subtle Metadata Text */
    --border-color: #DCDDE1;
    --white: #FFFFFF;
    
    --transition-speed: 0.3s;
    --animation-duration: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif; /* Cleaner, more modern logistics font */
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Keep your existing @keyframes (fadeInDown, etc.) here --- */

/* Updated Navbar for B&W Logo */
.custom-navbar {
    background: var(--white); /* Pure white background makes B&W logos look crisp */
    padding: 0.75rem 2rem;
    min-height: 80px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Softer shadow for a "cooperative" feel */
    border-bottom: 1px solid var(--border-color);
    animation: fadeInDown var(--animation-duration) ease-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover {
    transform: scale(1.02); /* Slight grow instead of slide for a more stable feel */
}

.logo {
    height: 55px; /* Perfect size for logistics headers */
    width: auto;
    object-fit: contain;
    /* Removed brightness filter to keep B&W logo sharp */
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color); /* Black text to match your logo */
    letter-spacing: -0.5px;
    display: none;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .brand-text {
        display: inline;
    }
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px !important;
    border-radius: 4px;
    position: relative;
    transition: all var(--transition-speed) ease;
}

/* Hover effect: Blue underline to signal "Cooperation/Movement" */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link:hover::after {
    width: calc(100% - 36px);
}

/* Search Bar - Professional & Subtle */
.search-input {
    border: 2px solid var(--border-color);
    background-color: var(--white);
    min-width: 200px; /* Give it enough space for long tracking numbers */
    font-family: 'Courier New', Courier, monospace; /* Optional: Looks like a digital receipt code */
}

.search-input:focus {
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}
.search-input::placeholder {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

.btn-search {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

  /* HERO BANNER WITH MP4 VIDEO - Corporate Logistics Edition */

.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Updated to Navy/Black gradient */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8; /* Reduced slightly to let the navy background deepen the video tones */
}

/* Fallback background image */
.hero-bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-fallback.jpg'); 
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker in the center to make white text stand out */
    background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-wrapper {
    max-width: 900px; /* Slightly wider for logistics headlines */
    text-align: center;
    padding: 40px 20px;
    animation: fadeInDown var(--animation-duration) ease-out;
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    /* Stronger shadow to pop against moving video */
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: -1.5px;
    animation: slideInLeft 0.8s ease-out 0.15s both;
}


.hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: rgba(255, 255, 255, 0.9); /* Slightly off-white for better readability */
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.8s ease-out 0.25s both;
    font-weight: 400;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1); /* Subtle glass effect */
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 4px; /* Matches your professional square-ish theme */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite 0.35s;
}

.badge-icon {
    font-size: 18px;
    color: var(--accent-color); /* The Blue accent pops here */
}

/* MAIN FOOTER STYLING */
.main-footer {
    background-color: var(--secondary-color); /* Rich Black/Deep Navy */
    color: var(--white);
    padding: 80px 0 0;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Brand Column */
.footer-logo {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Column Titles */
.footer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

/* Links & List Items */
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none; /* Reset grid for bottom bar */
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-contact li {
        justify-content: center;
    }
}

/* LEAD GEN FORM STYLING */
.contact-lead-gen {
    padding: 100px 0;
    background-color: var(--white);
}

.lead-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.form-intro h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin: 10px 0 20px;
    font-weight: 900;
}

.form-intro p {
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 16px;
}

/* FORM LAYOUT */
.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns for Desktop */
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group label {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.field-group input {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--light-bg);
    font-size: 14px;
    transition: all 0.3s ease;
}

.field-group input:focus {
    border-color: var(--accent-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.05);
}

/* SUBMIT BUTTON */
.btn-primary-form {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 20px 60px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 46, 93, 0.15);
}

.btn-primary-form:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.2);
}

.security-note {
    margin-top: 25px;
    font-size: 11px;
    color: var(--text-light);
    opacity: 0.8;
}

/* MOBILE RESPONSIVE */
@media (max-width: 850px) {
    .form-row {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
    
    .btn-primary-form {
        width: 100%;
    }
}

/* OFFICE LOCATIONS STYLING */
.office-locations {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.locations-header {
    text-align: center;
    margin-bottom: 60px;
}

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.office-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.office-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 46, 93, 0.08);
}

.office-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.office-card h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 800;
}

.office-details p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.5;
}

.office-details i {
    color: var(--accent-color);
    margin-top: 4px;
}

.office-hours {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .office-grid {
        grid-template-columns: 1fr;
    }
    .office-card {
        padding: 30px;
    }
}