/* Portfolio Section Enhanced Styles */

.portfolio-section-modern {
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.portfolio-filter-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.portfolio-filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 8px 24px;
    border-radius: 50px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Portfolio Card */
.portfolio-card-modern {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #f1f5f9;
}

.portfolio-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 65%; /* Aspect Ratio */
}

.portfolio-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card-modern:hover .portfolio-img-wrap img {
    transform: scale(1.1);
}

/* Overlay Badge */
.portfolio-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #3b82f6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Content */
.portfolio-content {
    padding: 25px;
    position: relative;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.portfolio-content h3 a {
    color: inherit;
    transition: color 0.3s;
}

.portfolio-content h3 a:hover {
    color: #3b82f6;
}

.portfolio-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-link-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.3s;
}

.portfolio-link-btn i {
    margin-left: 8px;
    transition: transform 0.3s;
    color: #3b82f6;
}

.portfolio-link-btn:hover {
    color: #3b82f6;
}

.portfolio-link-btn:hover i {
    transform: translateX(5px);
}
