/* ================================================= */
/* 0. GLOBAL STYLES */
/* ================================================= */
/* Assume standard global resets and body styles are applied */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f9fafb;
}

/* General Section Padding (Adjusted for responsiveness) */
.services, .about-section, .fleet-section, .cta-section {
    padding: 60px 20px;
}

/* ================================================= */
/* 1. Hero Section */
/* ================================================= */
.truck-hero {
    background: #ffffff;
    padding: 0;
    margin-bottom: 60px;
}

.hero-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.hero-text {
    flex: 1;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem; /* Base desktop size */
    color: #0F766E;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-family: 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 0;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* ================================================= */
/* 2. Services Section */
/* ================================================= */
.services {
    background: #f9fafb;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-container h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #0F766E;
    margin-bottom: 15px;
}

.services-container p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Base desktop grid */
    gap: 25px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #0F766E;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.service-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
}

/* ================================================= */
/* 3. About Section */
/* ================================================= */
.about-section {
    background: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Base two-column layout */
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #0f766e;
}

.about-text p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.6;
}
/* Right Image */
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================================================= */
/* 4. Fleet Section (Reverse Layout) */
/* ================================================= */
.fleet-section {
    background: #f9fafb;
}

.fleet-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Base two-column layout */
    align-items: center;
    gap: 40px;
}

.fleet-image {
    flex: 1;
}

.fleet-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fleet-text {
    flex: 1;
}

.fleet-text h2 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0F766E;
    text-align: left;
}

.fleet-text p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: left;
}

.fleet-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fleet-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.fleet-feature i {
    font-size: 1.5rem;
    color: #0F766E;
    background: #e0f2f1;
    padding: 10px;
    border-radius: 10px;
    flex-shrink: 0; /* Prevents icon from shrinking on mobile */
}

.fleet-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #0f172a;
}

.fleet-feature p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.4;
}

/* ================================================= */
/* 5. CTA Section */
/* ================================================= */
.cta-section {
    background: #ffffff;
    text-align: center;
    padding: 60px 20px 100px; /* more bottom padding */
    margin-bottom: 0; /* no need for margin now */
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    color: #0f766e;
    margin-bottom: 15px;
}

.cta-container p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #0F766E;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background: #0c5d55;
    transform: translateY(-3px);
}

/* ================================================= */
/* RESPONSIVE MEDIA QUERIES */
/* ================================================= */

/* Tablet and Smaller Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    /* General Padding */
    .services, .about-section, .fleet-section, .cta-section {
        padding: 40px 15px;
    }

    /* 1. Hero Section: Stack columns */
    .hero-container {
        flex-direction: column;
        min-height: auto;
    }
    .hero-text {
        padding: 40px 20px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
    .hero-image img {
        height: 300px;
    }

    /* 2. Services Grid: Change to 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .services-container h2 {
        font-size: 2rem;
    }

    /* 3 & 4. About & Fleet Sections: Stack columns */
    .about-container, .fleet-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .about-text h2, .fleet-text h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    .fleet-text h2 {
        margin-top: 0.5rem;
    }
    .fleet-text p {
        text-align: left; /* Keep body text readable */
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* General Padding */
    .services, .about-section, .fleet-section {
    padding: 30px 10px;
}
.cta-section {
    padding: 40px 10px 80px; /* extra bottom gap for button */
}

    
    /* 1. Hero */
    .truck-hero {
        margin-bottom: 30px;
    }
    .hero-text {
        padding: 30px 10px;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-image img {
        height: 200px;
    }

    /* 2. Services Grid: Change to 1 column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .services-container h2 {
        font-size: 1.6rem;
    }
    .service-card {
        padding: 20px 15px;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }

    /* 3 & 4. About & Fleet Sections */
    .about-text h2, .fleet-text h2 {
        font-size: 1.6rem;
    }
    .about-text p, .fleet-text p {
        font-size: 0.95rem;
    }
    .fleet-feature i {
        padding: 8px;
        font-size: 1.3rem;
    }
    .fleet-feature h3 {
        font-size: 1rem;
    }
    .fleet-feature p {
        font-size: 0.9rem;
    }

    /* 5. CTA */
    .cta-container h2 {
        font-size: 1.6rem;
    }
    .cta-container p {
        font-size: 1rem;
    }
    .cta-btn {
        padding: 10px 20px;
    }
}