/* Homepage Banner Blocks */
.homepage-banner-blocks {
    background: #f8f9fa;
    padding: 3rem 0;
}

.banner-block-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    min-height: 200px;
}

.banner-block-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.banner-block-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.banner-block-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.banner-block-card:hover .banner-block-image {
    transform: scale(1.02);
}

/* Placeholder banners */
.placeholder-banner {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.placeholder-content {
    text-align: center;
    padding: 20px;
}

.placeholder-content i {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 991px) {
    .banner-block-image {
        height: 180px;
    }

    .homepage-banner-blocks {
        padding: 2rem 0;
    }
}

@media (max-width: 767px) {
    .banner-block-image {
        height: 160px;
    }

    .homepage-banner-blocks {
        padding: 1.5rem 0;
    }

    .banner-block-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .banner-block-image {
        height: 140px;
    }

    .placeholder-content h5 {
        font-size: 1.1rem;
    }

    .placeholder-content p {
        font-size: 0.9rem;
    }
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-block-card {
    animation: fadeIn 0.5s ease-out;
}

/* Different animations for each card */
.banner-block-card:nth-child(1) { animation-delay: 0.1s; }
.banner-block-card:nth-child(2) { animation-delay: 0.2s; }
.banner-block-card:nth-child(3) { animation-delay: 0.3s; }
