/* eBSSL Projects Page Stylesheet
 * Minimalist Corporate UI with Subtle Gradients, Interactive Filters & Tech Badges
 */

.projects-hero {
    position: relative;
    background: radial-gradient(130% 90% at 50% -10%, #e8f4ff 0%, #f4f8fd 45%, #ffffff 100%);
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Project Card */
.project-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -8px rgba(0, 132, 255, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 132, 255, 0.35);
}

.project-logo-box {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    flex-shrink: 0;
    padding: 0.5rem;
    overflow: hidden;
}

.project-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.project-card:hover .project-logo-box {
    border-color: #bfdbfe;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.15);
    transform: translateY(-2px);
}

.project-card:hover .project-logo-img {
    transform: scale(1.08);
}

/* Category Filter Tabs */
.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-tab:hover {
    color: #0084ff;
    border-color: #bfdbfe;
    background: #f8fafc;
}

.filter-tab.active {
    background: #0084ff;
    color: #ffffff;
    border-color: #0084ff;
    box-shadow: 0 4px 14px rgba(0, 132, 255, 0.3);
}

.filter-tab.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.2s ease;
}

/* Badge tags */
.badge-fintech {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-erp {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.badge-sme {
    background: #faf5ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}

.badge-intl {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}
