/* --- OLD HERO SECTION --- */
/* .hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/hero-truck.jpg') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
} */

/* --- HERO SECTION --- */
.hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
    position: relative; /* Required for the blurred background layer */
    overflow: hidden;   /* Keeps the blur from bleeding outside the edges */
}

/* The blurred background layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Use your logo as the temporary background */
    background: url('../assets/testlogo3.png') no-repeat center center/cover;
    filter: blur(7px); /* Adjust the pixels for more/less blur */
    transform: scale(1.1); /* Prevents white edges caused by blurring */
    z-index: -2; /* Puts it behind everything */
}

/* The dark overlay to make text pop */
.hero::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adds the dark tint back */
    z-index: -1; /* Puts it between the blur and the text */
}

/* Ensures text stays above the blurred layers */
.hero h1, .hero p, .hero .cta-button {
    position: relative;
    z-index: 1;
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 40px 5%;
    background: var(--white);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 25px 20px;
    background: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    margin: 5px 0 10px;
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.feature-card p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* --- SERVICES PREVIEW --- */
.services-preview {
    padding: 60px 5%;
    background: var(--white);
    text-align: center;
}

.services-preview h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.service-content p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.services-cta {
    margin-top: 20px;
}