.card {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    height: 100vh;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    height: 100%;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-title {
    font-size: 2.75rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.35rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(-10deg);
}

.feature-text {
    padding: 0 0.75rem 0 0.5rem;
    white-space: nowrap;
}

.feature-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    transition: all 0.3s ease;
}

.feature-description {
    display: none;
}

.tech-specs {
    margin: 1.5rem 0;
}

.specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.35rem;
    font-size: 0.9rem;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.specs-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.specs-list li i {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.specs-list li:hover i {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.feature-item::after,
.specs-list li::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-item:hover::after,
.specs-list li:hover::after {
    opacity: 1;
}

.tech-action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
  
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.tech-action-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1400px) {
    .card {
        height: 90vh;
    }

    .card-content {
        padding: 2.5rem;
    }

    .card-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .card {
        height: 90vh;
    }

    .card-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .card-title {
        font-size: 2.25rem;
    }

    .card-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .card {
        height: auto;
        min-height: 650px;
        padding-bottom: 2rem;
    }

    .card-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-title {
        font-size: 2rem;
    }

    .tech-action-button {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .card {
        min-height: 600px;
    }
    
   
    
    .card-title {
        font-size: 1.75rem;
    }
    
    .card-subtitle {
        font-size: 0.95rem;
    }

    .specs-list {
        flex-wrap: wrap;
    }

    .tech-action-button {
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card {
        margin-top: 3rem;
        height: 90vh;
        width: 100%;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-subtitle {
        font-size: 0.875rem;
    }

    .tech-action-button {
        width: 100%;
        justify-content: center;
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .feature-item {
        width: 100%;
    }
}

@media screen and (min-width: 1920px) {
    .card-title {
        font-size: 3.2rem;
    }

    .card-subtitle {
        font-size: 1.3rem;
    }

    .card-content p {
        font-size: 1.3rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .specs-list li {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 2560px) {
    .card-title {
        font-size: 3.8rem;
    }

    .card-subtitle {
        font-size: 1.6rem;
    }

    .card-content p {
        font-size: 1.6rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .specs-list li {
        font-size: 1.5rem;
    }
}

.card-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    
}

.card-image {
    display: none;
    position: relative;
    height: 100%;
   
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.card:hover .card-image::before {
    opacity: 1;
}

.card-title {
    position: relative;
    display: inline-block;
}

.card-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 4px;
    height: 0;

    transform: translateY(-50%);
    transition: height 0.3s ease;
}

.card:hover .card-title::before {
    height: 100%;
}

.tech-action-button {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    border: 1px solid var black;
}

.tech-action-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border: 1px solid white;
    z-index: -1;
}

.tech-action-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.card-text h3 {
    position: relative;
    overflow: hidden;
}

.card-text h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;

    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.card:hover .card-text h3::before {
    transform: translateX(0);
}

.card-content p{
    color: white;
    font-size: 1rem;
}

.stacking-cards__container {
  background: black;
}
