/* --- GLOBAL STYLES & RESET --- */
*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Stops horizontal scrolling and eliminates white borders */
}

:root {
    --orange: #F15A24;
    --dark-blue: #0A192F;
    --light-blue: #172A45;
    --text-white: #FFFFFF;
    --text-muted: #A8B2D1;
    --light-gray: #F8F9FA;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333;
}

a {
    text-decoration: none;
}

/* --- BUTTONS --- */
.btn-orange {
    background-color: var(--orange);
    color: var(--text-white);
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}

    .btn-orange:hover {
        background-color: #d44816;
    }

.btn-transparent {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

    .btn-transparent:hover {
        background-color: var(--text-white);
        color: var(--dark-blue);
    }

/* --- HEADER NAVIGATION --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--text-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 75px; /* Increased from 50px */
    width: auto; /* Ensures aspect ratio stays perfect */
}

.navbar a {
    color: #333;
    font-weight: bold;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.2s ease;
}

    .navbar a:hover, .navbar a.active {
        color: var(--orange);
        border-bottom: 2px solid var(--orange);
        padding-bottom: 5px;
    }

/* --- HERO SECTION --- */
.hero-section {
    background: url('images/hero-truck.png') no-repeat center center/cover; /* Changed .jpg to .png */
    height: 75vh;
    position: relative;
}

.hero-overlay {
    background: rgba(10, 25, 47, 0.4); /* Dark transparency overlay */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.hero-content h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content .orange-text {
    color: var(--orange);
}

.hero-content p {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- FEATURES BAR --- */
.features-bar {
    background-color: var(--dark-blue);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px 5%;
    color: var(--text-white);
    border-bottom: 4px solid var(--orange);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--orange);
}

.feature-item h4 {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.feature-item p {
    font-size: 11px;
    color: var(--text-muted);
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--light-gray);
}

.section-subtitle {
    color: var(--orange);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.services-section h2 {
    color: var(--dark-blue);
    margin-top: 5px;
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
/* --- INCREASE CONTAINER SIZE & FIX DISTORTION --- */
.card-img-wrapper {
    width: 100%;
    height: 380px; /* Increased from 220px to make them noticeability larger */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the images beautifully inside the frame */
    margin-bottom: 0px;
    overflow: hidden;
}

    .card-img-wrapper img {
        width: auto; /* Removes rigid width constraints */
        height: auto; /* Removes rigid height constraints */
        max-width: 95%; /* Keeps it wide and punchy inside the white box */
        max-height: 95%; /* Prevents clipping while filling the space */
        object-fit: contain; /* CRITICAL: Forces images to keep their original aspect ratio so they never look squashed */
    }

/* --- ADJUST BADGE GAP FOR LARGER CARDS --- */
.service-icon-badge {
    background-color: var(--orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    border: 3px solid var(--text-white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    margin-top: -10px; /* Adjusted slightly to match the expanded wrapper size */
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
/* Perfect text headings styling */
.service-card h3 {
    margin-top: 0px;
    color: var(--dark-blue);
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.orange-line {
    display: none; /* This completely hides the orange lines */
}

/* =========================================
   ABOUT SECTION (STRICT 40/60 SPLIT)
========================================= */

.about-section {
    display: flex;
    width: 100%;
    /* Hardcoding the hex color here just in case your variable is failing */
    background-color: #0A192F;
    align-items: stretch;
}

/* --- LEFT SIDE: Text Block --- */
.about-content {
    width: 40%; /* Strict width, no flexing */
    padding: 80px 4% 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #FFFFFF;
}

    .about-content h3 {
        font-size: 1.8rem;
        color: #FFFFFF;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 12px;
    }

        .about-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: #F15A24; /* Orange accent */
        }

    .about-content p {
        color: #A8B2D1;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .about-content .btn-orange {
        margin-top: 15px;
    }

/* --- RIGHT SIDE: Image Block --- */
.about-image-wrapper {
    width: 60%; /* Strict width, no flexing */
    position: relative;
    display: flex;
}

    .about-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* --- THE FLOATING STATS BAR --- */
.stats-bar {
    position: absolute;
    bottom: 25px;
    /* THE FIX: This perfectly centers the box horizontally inside the image wrapper */
    left: 50%;
    transform: translateX(-50%);
    /* THE FIX: Makes the box much smaller */
    width: 70%;
    max-width: 650px; /* Prevents it from stretching too far on very large monitors */

    background: #FFFFFF;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 5;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid #ddd;
}

    .stat-item:last-child {
        border-right: none;
    }

    .stat-item i {
        font-size: 2rem;
        color: #F15A24;
    }

    .stat-item h3 {
        font-size: 22px;
        color: #0A192F;
        margin-bottom: 2px;
    }

    .stat-item p {
        font-size: 11px;
        color: #666;
        font-weight: bold;
    }
.stats-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--text-white);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 10px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid #ddd;
}

    .stat-item:last-child {
        border-right: none;
    }

    .stat-item i {
        font-size: 1.8rem;
        color: var(--orange);
    }

    .stat-item h3 {
        font-size: 20px;
        color: var(--dark-blue);
    }

    .stat-item p {
        font-size: 10px;
        color: #666;
        font-weight: bold;
    }

/* --- CTA STRIP --- */
.cta-strip {
    background: linear-gradient(90deg, #F15A24 0%, #d44816 100%);
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    flex-wrap: wrap;
    gap: 20px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon-circle {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-left h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.btn-dark-blue {
    background-color: var(--dark-blue);
    color: var(--text-white);
    padding: 14px 28px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s;
}

    .btn-dark-blue:hover {
        background-color: #050d1a;
    }

/* =========================================
   FOOTER SECTION (STRICT 3-COLUMN LAYOUT)
========================================= */

.main-footer {
    background-color: var(--dark-blue);
    color: var(--text-white);
    padding: 60px 4% 40px 4%;
}

.footer-container {
    display: flex;
    flex-direction: row; /* FORCES elements to stay side-by-side */
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

/* --- LEFT COLUMN: Contact --- */
.footer-contact {
    width: 25%;
    text-align: left;
}

    .footer-contact h3, .footer-form h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 12px;
        text-transform: uppercase;
        color: var(--text-white);
    }

        .footer-contact h3::after, .footer-form h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--orange);
        }

    .footer-contact p {
        margin-bottom: 15px;
        color: var(--text-white);
        font-size: 15px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        line-height: 1.4;
    }

        .footer-contact p i {
            color: var(--text-white);
            width: 20px;
            text-align: center;
            font-size: 16px;
            margin-top: 3px;
        }

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

    .social-icons a {
        background-color: var(--text-white);
        color: var(--dark-blue);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        transition: 0.3s;
    }

        .social-icons a:hover {
            background-color: var(--orange);
            color: var(--text-white);
        }

/* --- CENTER COLUMN: Branding --- */

.footer-logo {
    width: 100%;
    max-width: 680px; /* Increased massively to make it pop */
    margin-top: 10px;
}

/* --- New Bottom Copyright Bar --- */
.footer-bottom-bar {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Adds a very faint, professional divider line */
}

    .footer-bottom-bar p {
        font-size: 12px;
        color: #A8B2D1;
        margin: 0;
    }

.footer-branding .copyright {
    font-size: 12px;
    color: #A8B2D1;
    margin-top: auto;
}

/* --- RIGHT COLUMN: Form --- */
.footer-form {
    width: 40%;
    text-align: left;
}

    .footer-form form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.form-row {
    display: flex;
    gap: 10px;
}

    .form-row input, .form-row select, .form-row textarea {
        flex: 1;
        padding: 10px 12px;
        background-color: var(--text-white);
        border: none;
        border-radius: 4px;
        font-size: 13px;
        color: #333;
        font-family: inherit;
    }

.full-width {
    width: 100%;
}

.btn-submit {
    background-color: var(--orange);
    color: var(--text-white);
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    text-transform: uppercase;
}

    .btn-submit:hover {
        background-color: #d44816;
    }

/* --- REQUEST FORM --- */
.footer-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

    .form-row input, .form-row select, .form-row textarea {
        flex: 1;
        padding: 12px;
        background-color: var(--text-white);
        border: none;
        border-radius: 4px;
        font-size: 14px;
    }

.full-width {
    width: 100%;
}

.btn-submit {
    background-color: var(--orange);
    color: var(--text-white);
    border: none;
    padding: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

    .btn-submit:hover {
        background-color: #d44816;
    }

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

/* --- RESPONSIVE BREAKPOINT --- */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 15px;
    }

    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

        .navbar a {
            margin: 0 5px;
        }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        position: relative;
    }

    .stat-item {
        border-right: none;
    }

    .form-row {
        flex-direction: column;
    }
}
