/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0c10;
    color: #c5c6c7;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- THEME COLORS (NEON BLUE) --- */
:root {
    --neon-blue: #00d2ff;
    --deep-blue: #0066ff;
    --dark-bg: #12131c;
    --darker-bg: #0b0c10;
}

/* --- NAVIGATION (Mobile Responsive) --- */
nav {
    background-color: rgba(11, 12, 16, 0.95);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--deep-blue);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

.nav-logo {
    font-weight: 900;
    font-size: 20px;
    color: #fff;
}

.nav-logo span {
    color: var(--neon-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav ul li a {
    color: #c5c6c7;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}

/* --- HERO SECTION (Optimized for all screens) --- */
/* --- HERO SECTION (Optimized for all screens) --- */
/* --- HERO SECTION (Optimized for all screens) --- */
/* --- HERO SECTION (Optimized for all screens) --- */
/* --- HERO SECTION (Optimized for all screens) --- */
.hero {
    min-height: 85vh; /* Gives you a massive, dramatic header box without forcing a dark void at the bottom */
    background: linear-gradient(rgba(11, 12, 16, 0.5), rgba(11, 12, 16, 0.95)), 
                url('10047.png') no-repeat center 80px/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    
    /* Adds a comfortable 60px of spacing at the bottom so the tires don't collide with the slash bar */
    padding: 100px 10% 60px 10%; 
    margin-top: 0;
    box-sizing: border-box;
    position: relative;
}

.hero h1 {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

.hero h1 span {
    color: var(--neon-blue);
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 600px;
    color: #e5e5e5;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* --- BUTTONS --- */
.btn-container {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
}

.btn {
    flex: 1;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--deep-blue);
    color: #fff;
    border: 2px solid var(--deep-blue);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.8);
    color: #000;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* --- TREAD DIVIDER --- */
.tread-divider {
    height: 35px;
    background: #1a1b26;
    border-top: 2px solid var(--neon-blue);
    border-bottom: 2px solid var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 10px;
    color: rgba(255,255,255,0.1);
    user-select: none;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: var(--darker-bg);
}

.about-text {
    width: 100%;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    border-left: 5px solid var(--neon-blue);
    padding-left: 15px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 50%;
    border: 4px solid var(--deep-blue);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 80px 10%;
    background-color: var(--dark-bg);
    text-align: center;
}

.services-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--darker-bg);
    padding: 35px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--neon-blue);
}

/* --- FOOTER --- */
footer {
    background-color: var(--darker-bg);
    padding: 30px 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

/* --- PHONE & TABLET OPTIMIZATIONS --- */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    nav ul {
        gap: 10px;
    }
    nav ul li a {
        font-size: 11px;
    }
    .hero {
        padding: 0 5%;
        background-position: 65% center; 
    }
    .hero h1 {
        font-size: 34px; 
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .btn-container {
        flex-direction: column;
        gap: 12px;
    }
    .btn {
        width: 100%;
    }
}

/* --- DESKTOP SCREEN OPTIMIZATIONS --- */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 64px;
    }
    .about-section {
        flex-direction: row;
        gap: 60px;
    }
    .about-text, .about-image {
        flex: 1;
    }
}

/* --- FLEET SECTION STYLING --- */
.fleet-section {
    margin-top: 60px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.fleet-content h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.fleet-content h2 span {
    color: var(--accent-blue);
}

.fleet-intro {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.fleet-benefits {
    list-style: none;
}

.fleet-benefits li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding-left: 25px;
    position: relative;
}

.fleet-benefits li::before {
    content: "🚚";
    position: absolute;
    left: 0;
    top: 2px;
}

/* --- FLEET FORM STYLES --- */
.fleet-form-container {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
}

.fleet-form-container h3 {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group select {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.btn-submit {
    width: 100%;
    background-color: var(--accent-blue);
    color: var(--bg-color);
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #00b8e6;
}

@media (max-width: 900px) {
    .fleet-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }
}

/* --- SERVICES PAGE SPECIFIC COMPONENTS --- */
.service-features {
    list-style: none;
    margin: 20px 0 25px 0;
    text-align: left;
}

.service-features li {
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: "✓";
    color: var(--accent-blue);
    font-weight: bold;
    margin-right: 10px;
}

.fleet-section {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.fleet-content {
    flex: 1;
    min-width: 300px;
}

.fleet-benefits {
    list-style: none;
    margin-top: 20px;
}

.fleet-benefits li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.fleet-benefits strong {
    color: var(--accent-blue);
}

.fleet-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
}

.fleet-form-container h3 {
    margin-bottom: 20px;
    color: var(--text-main);
}

.fleet-select-dropdown {
    width: 100%; 
    padding: 10px; 
    background: var(--bg-color); 
    border: 1px solid var(--border-color); 
    color: white; 
    border-radius: 4px;
}

/* --- INFINITE ROLLING LOGO SLIDER --- */
.logo-slider-container {
    overflow: hidden;
    padding: 30px 0;
    width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Optional soft fade on the left and right edges so logos fade in/out */
.logo-slider-container::before,
.logo-slider-container::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.logo-slider-container::before { left: 0; background: linear-gradient(to right, #0b0f19 0%, transparent 100%); }
.logo-slider-container::after { right: 0; background: linear-gradient(to left, #0b0f19 0%, transparent 100%); }

.logo-slider-track {
    display: flex;
    width: calc(250px * 24); /* Matches card width multiplied by total cards */
    animation: scrollLogos 40s linear infinite;
}

/* Pause the rolling animation if someone hovers over a logo */
.logo-slider-track:hover {
    animation-play-state: paused;
}

.slider-card {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    flex-shrink: 0;
}

.slider-card img {
    max-width: 85%;
    max-height: 55px;
    height: auto;
    object-fit: contain;
    /* Mix-blend-mode cleanly drops out the white backgrounds so they blend with your dark theme */
    mix-blend-mode: screen; 
    filter: grayscale(1) brightness(1.5);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* When hovering on a single logo, it pops out in full original color/clarity */
.slider-card img:hover {
    filter: none;
    mix-blend-mode: normal;
    background: white; /* Temporary clean background for full clarity on hover */
    padding: 5px;
    border-radius: 4px;
    opacity: 1;
    transform: scale(1.05);
}

/* THE ANIMATION loop that pulls them infinitely left */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 12)); /* Pulls exactly half the track length */
    }
}
/* --- THE ROLLING TIRE LOADING SCREEN --- */
.tire-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0f19;
    z-index: 100000; /* Sits over absolutely everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tire-loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* The rolling container that moves left to right */
.tire-track-container {
    width: 300px;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    border-bottom: 2px dashed rgba(0, 210, 255, 0.3); /* Virtual road */
}

.rolling-tire {
    font-size: 3.5rem;
    display: inline-block;
    animation: rollTire 1.2s linear infinite, moveAcross 1.2s linear infinite;
}

.loader-text {
    color: #00d2ff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    font-size: 0.85rem;
    animation: blinkText 1s infinite alternate;
}

/* Spin the wheel */
@keyframes rollTire {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Drive across the virtual road track */
@keyframes moveAcross {
    0% { margin-left: -50px; }
    100% { margin-left: 310px; }
}

/* Blinking loader text style */
@keyframes blinkText {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}