/* Open Resources Hub Styles */
body {
    font-family: 'Inter', sans-serif;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo-img {
    width: 60px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    font-weight: 500;
}

/* Enhanced animations and transitions */
.resource-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.8); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Search bar styling */
.search-container {
    position: relative;
}

.search-container input:focus + .search-icon {
    color: #3b82f6;
}

/* Tag styling */
.tag {
    transition: all 0.2s ease;
}

.tag:hover {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading shimmer effect */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hide class for filtering */
.hidden-card {
    display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .logo-img {
        width: 50px;
    }

    .logo-title {
        font-size: 2rem;
    }

    .logo-subtitle {
        font-size: 1rem;
    }

    /* Resource cards mobile layout */
    .resource-card {
        margin-bottom: 1rem;
    }

    .resource-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* Search and filter mobile optimization */
    .search-container {
        margin-bottom: 1rem;
    }

    .search-container input {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    /* Filter tags mobile layout */
    .filter-tags {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        border-radius: 1.5rem;
        white-space: nowrap;
    }

    /* Grid adjustments for mobile */
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .header-logo {
        margin-bottom: 1rem;
    }

    .logo-title {
        font-size: 1.75rem;
    }

    .logo-subtitle {
        font-size: 0.875rem;
    }

    .logo-img {
        width: 40px;
    }

    .search-container input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }

    .resources-grid {
        padding: 0 0.5rem;
    }

    .resource-card {
        padding: 1rem;
    }
}
