/* Image Placeholder Styles */
.image-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-image .image-placeholder {
    min-height: 400px;
    font-size: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-icon .image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    font-size: 30px;
}

.fleet-card .image-placeholder {
    min-height: 250px;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.tab-image .image-placeholder {
    min-height: 300px;
    border-radius: 15px;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
}

.tracking-image .image-placeholder {
    min-height: 350px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
}

.about-image .image-placeholder {
    min-height: 400px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
}

.testimonial-card .image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

/* Fallback for broken images */
img {
    position: relative;
}

img::after {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f0f0f0;
    color: #666;
    padding: 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
