/* General Styling */
:root {
    --navy: #0a0e27;
    --orange: #f45d06;
    --muted-orange: #d45a05;
    --light-grey: #e0e0e0;
    --white: #ffffff;
}
html {
    scroll-behavior: smooth; /*  This makes the page glide beautifully down to the section */
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--white);
    background-color: var(--navy);
    line-height: 1.6;
    border-bottom: 4px solid var(--orange); /* Use your defined orange variable */
    overflow-x: hidden; /* Added this to prevent the horizontal float */
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--navy);
    padding: 15px 0;
    border-bottom: 4px solid var(--orange);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo img {
    width: 5cm;
    height: 5cm;
    object-fit: contain; /* Prevents the logo from stretching or distorting */
    align-items: left;
    margin-left: -1px;
}

/* Aligns the image and the text container side-by-side */
.logo {
        flex-direction: column; /* Logo on top, text below */
        gap: 5px;
        margin-bottom: 10px;
    }

.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-size: 2.8rem; 
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.9rem; 
    font-weight: 600;
    color: var(--orange); 
    letter-spacing: 2px; 
    margin-top: 2px;
}

.logo-text span {
    color: var(--orange);
    font-size: 0.9rem;
}



nav ul li a {
    color: #e0d9ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 5px;
    transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #fff;
    border-bottom: 2px solid #ff5e14;
}

/* --- Content Layout --- */
.content-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}
nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--orange);
}
nav a:visited {
    text-decoration: underline;
    text-decoration-color: var(--orange); /* Underlines it with your brand orange */
    text-underline-offset: 6px;           /* Pushes the underline slightly below the text for breathing room */
}

/* Hero Section */
.hero {
    height: 70vh;
    /* This adds a dark overlay so your white text stands out perfectly on top of the image */
    background: linear-gradient(rgba(10, 14, 39, 0.7), rgba(10, 14, 39, 0.7)), 
                url('images/truck.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.highlight {
    color: var(--orange);
}

.btn-main {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}

/* About Section */
.about {
    background: var(--light-grey);
    color: #333;
    padding: 60px 0;
    text-align: center;
}
/* Make sure all images scale down */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure the main container doesn't hit the screen edge */
.container {
    width: 90%; /* Leaves 5% space on the left and right */
    max-width: 1100px;
    margin: 0 auto;
}
/* Pillar Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    padding: 60px 0;
    border-width: 2cm;
    border:#f45d06;

}

.card {
    background: #161d3a;
    border: 1px solid #2a3352;
    padding-bottom: 20px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.card-img {
    height: 160px;
    background-size: cover;
}

.card h3 {
    margin: 20px 0 10px;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.85rem;
    padding: 0 15px;
    color: var(--light-grey);
    height: 80px;
}

.btn-card {
    display: inline-block;
    background: var(--muted-orange);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 3px;
}
/* Ensure the list wrapper is clean */
.compliance-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

/* Force the icon and text to align properly */
.compliance-list li {
    display: flex;
    align-items: flex-start; /* Keeps the checkmark aligned with the first line of text */
    gap: 12px;
    margin-bottom: 15px;
    color: var(--white) !important; /* Text color */
}

/* Specific override for the icon color */
.compliance-list li i {
    color: var(--orange) !important; /* Checkmark color */
    flex-shrink: 0; /* Prevents the icon from squishing */
    margin-top: 4px; /* Fine-tune vertical alignment with the text */
}

.compliance-section {
    padding-left: 10px;  /* Adds space on the left */
   /* padding-right: 100px; /* Adds space on the right */
}

.partner-banner {
    background-color: var(--orange);
    color: var(--white);
    /* 10px top/bottom padding makes it shorter; 25px left/right gives it room */
    padding: 10px 25px !important; 
    border-radius: 6px;
    display: inline-block;
    margin-top: 15px;
    line-height: 1.2; /* Tightens the text spacing vertically */
}

/* Contact & Footer */
.contact {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(10,14,39,0.9), rgba(10,14,39,0.8)), 
                url('contact-bg.jpg') center/cover;
}

footer {
    text-align: center;
    padding: 20px;
    background: #050714;
    font-size: 0.8rem;
    color: #888;
}
/* --- DESKTOP FIRST (The "Original" look) --- */
nav ul {
    list-style: none;
    display: flex; /* Keeps menu in a row */
    gap: 20px;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* Stacks logo above nav */
        align-items: center;    /* Centers everything */
    }
    nav ul {
        display: flex;          /* Keeps it a row */
        flex-direction: row;    /* Forces horizontal */
        justify-content: center;/* Centers the links */
        gap: 10px;              /* Reduces space for smaller screens */
        padding: 10px 0;
    }
}
/* Apply this to elements you don't want the user to 'text-select' */
body, header, nav, .section-title, .logo-main {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10 and IE 11 */
    user-select: none;         /* Standard syntax */
}

/* If you want to keep the ability to select text in paragraphs, add this back: */
p, .compliance-list li {
    -webkit-user-select: text;
    user-select: text;
}