.custom-portfolio-slider-wrapper {
    width: 100%;
    overflow: hidden;
    font-family: 'Cairo', sans-serif;
}

.custom-portfolio-swiper {
    padding: 20px 0;
}

.custom-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a1a;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 31%;
    transform: translateX(50%);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 24px;
    border-radius: 30px;
    font-size: 13px;
    z-index: 4;
    font-weight: 700;
    white-space: nowrap;
}

.card-overlay {
    position: relative;
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    padding: 50px 20px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-title {
    color: #fff;
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

.card-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.card-link:hover {
    color: #fff;
}

.card-link svg {
    transform: rotate(264deg);
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: rotate(264deg) translate(-3px, 3px);
}