*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl !important;
        unicode-bidi: embed !important;  
        word-break: normal !important;       
        overflow-wrap: anywhere !important;
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

.comp2 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 2000px;
    margin: auto;
    padding: 125px 20px 60px;
    overflow: hidden;
}

.comp2 .box2-k {
    width: 100%;
}

.comp2 .title2-k {
    margin: 0 0 60px 0;
    line-height: 1.7;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
}

.comp2 .title2-k h1 {
    font-size: 50px;
    font-weight: 800;
}

.comp2 .products {
    display: flex;
    flex-wrap: wrap;
    max-width: 1280px;
    justify-content: center;
    gap: 20px;
    margin: auto;
}

.product-card {
    width: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    position: relative;
    transition: 0.3s;
}

.product-card:hover {
    scale: 1.05 !important;
    border-bottom-right-radius: 0;
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-content{
    margin-bottom: 60px;
}

.text-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.text-content a {
    text-decoration: none;
    color: inherit;
}

.card-arrow{
    position: absolute;
    bottom: 13px;
    left: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 6px 20px;
    border-radius: 50px;
    background: rgb(33 24 53);
    border: 0.5px solid rgb(33 24 53);
}

.card-arrow:hover {
    background: white;
    color: black;
}

.comp2 .title2-k.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.comp2 .product-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s ease;
}

@media screen and (max-width: 1024px) {
    .comp2 .products {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .comp2 .products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .comp2 .title2-k h1{
        font-size: 30px;
    }
    
    .text-content h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .comp2 .products {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 200px;
    }
    
    .text-content h3 {
        font-size: 1.1rem;
    }
    
    .text-content p {
        font-size: 0.9rem;
    }
}