﻿.alswin-project-card {
    position: relative;
    min-height: 280px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #23263a;
}

.alswin-project-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.alswin-project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(17,24,39,0.88) 0%, rgba(17,24,39,0.58) 45%, rgba(17,24,39,0.22) 100% );
}

.alswin-project-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    padding: 1.5rem;
    color: #fff;
}

    .alswin-project-card-content h2,
    .alswin-project-card-content h3 {
        color: #fff;
    }

    .alswin-project-card-content p {
        color: rgba(255,255,255,0.92);
        line-height: 1.6;
    }

.alswin-project-btn {
    align-self: flex-start;
    border-radius: 0.75rem;
    font-weight: 600;
}

.alswin-project-card-webdesign .alswin-project-card-bg {
    background-position: center right;
}

.alswin-project-card-webdesign .alswin-project-card-overlay {
    background: linear-gradient( to right, rgba(10,14,28,0.94) 0%, rgba(20,24,42,0.78) 42%, rgba(20,24,42,0.28) 72%, rgba(20,24,42,0.08) 100% );
}

.alswin-project-card-webdesign .alswin-project-card-content {
    max-width: 72%;
    justify-content: center;
}

.alswin-project-card-webdesign h2 {
    font-size: 1.55rem;
}

.alswin-project-highlight {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 420px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
    background: #111827;
}

.alswin-project-highlight-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.alswin-project-highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(12,18,32,0.82) 0%, rgba(18,24,38,0.58) 55%, rgba(18,24,38,0.28) 100% );
}

.alswin-project-highlight-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 640px;
    color: #fff;
}

.alswin-project-badge {
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}
