.article-card {
    transition: transform 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.article-image {
    height: 200px;
    object-fit: cover;
}

.featured-article {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.featured-article img {
    transition: transform 0.3s ease;
}

.featured-article:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.articles-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
    color: white;
}

.articles-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    animation: slow-drift 30s linear infinite;
}

.articles-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    right: -10%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(-3deg);
}

@keyframes slow-drift {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-5%, -5%);
    }
    100% {
        transform: translate(0, 0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 500px;
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-bar:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.stats-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }
}

.collection-card {
    border-left: 4px solid #007bff;
}

.collection-card .badge.bg-primary {
    background-color: #007bff !important;
    padding: 0.5em 1em;
    font-size: 0.8rem;
}


