/* === HERO SECTION (Visually Stunning & Slider) === */
.hero-section {
    position: relative;
    height: 90vh; /* Make it substantial */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-rich-black); /* Default dark background */
}

/* Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.4); /* Darken the image so text stands out */
}

.slide-active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-highlight-white);
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--color-highlight-white);
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #c9d6de;
}

.track-delivery-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--color-highlight-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 5px solid var(--color-primary-blue);
}

/* Premium Hover Animation */
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: var(--color-rich-black);
}

.service-card p {
    color: var(--color-deep-slate);
    margin-bottom: 15px;
    min-height: 70px; /* Ensure card heights are similar */
}

.service-card .learn-more {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Key Stats Section */
.stats-section {
    background-color: var(--color-deep-slate);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.stat-item {
    color: var(--color-highlight-white);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Subtle Scale/Shadow Hover Effect */
.stat-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

.counter {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-primary-blue);
    display: inline-block;
}

.stat-unit {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-left: 5px;
}

.stat-item h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--color-light-text);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--color-highlight-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    transition: border-left 0.4s ease;
    border-left: 5px solid transparent;
}

.feature-item:hover {
    border-left: 5px solid var(--color-primary-blue);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--color-deep-slate);
}

/* Reviews Preview */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--color-highlight-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
    border-bottom: 4px solid var(--color-soft-gray);
    transition: border-color 0.4s ease;
}

.review-card:hover {
    border-bottom: 4px solid var(--color-primary-blue);
}

.rating-stars {
    color: gold;
    margin-bottom: 10px;
}

.review-quote {
    font-style: italic;
    margin-bottom: 15px;
    min-height: 80px;
    color: var(--color-dark-text);
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-blue);
}

/* Final CTA Section */
.final-cta-section {
    padding: 80px 0;
    text-align: center;
    background-image: url('placeholder_cta_bg.jpg'); /* Optional: Add a subtle background image */
    background-size: cover;
    background-position: center;
    position: relative;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 22, 26, 0.85); /* Dark overlay */
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: 2.8rem;
    color: var(--color-highlight-white);
    margin-bottom: 15px;
}

.cta-subtext {
    font-size: 1.2rem;
    color: #aeb5bb;
    margin-bottom: 40px;
}

/* === MEDIA QUERIES (Home Page Specific) === */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .review-quote {
        min-height: initial;
    }
    .cta-headline {
        font-size: 2rem;
    }
}