*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

.comp5 {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 2000px;
    margin: auto;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    padding: 30px;
}

.comp5-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comp5 img.background5-k {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.comp5-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(74, 29, 98, 0.9) 0%,
        rgba(33, 24, 53, 0.8) 50%,
        rgba(126, 34, 206, 0.7) 100%
    );
}

.comp5 .box5-k {
    position: relative;
    display: flex;
    width: 90%;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.comp5 .photoleft {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateX(-50px);
}

.comp5 .photoleft img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.comp5 .photoleft img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 80px rgba(168, 85, 247, 0.3);
}

.intro-k {
    flex: 1;
    color: white;
    line-height: 1.8;
    opacity: 0;
    transform: translateX(50px);
    padding-bottom: 30px;
}

.intro-k h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.intro-k span {
    background: linear-gradient(135deg, #a855f7 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-k p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
}

.link5-k {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(126, 34, 206, 0.3);
    opacity: 0;
    transform: translateY(30px);
    margin-top: 2rem;
}

.About-Us{
    width: 65%;
    display: block;
}

.link5-k::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.link5-k:hover::before {
    left: 100%;
}

.link5-k:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(126, 34, 206, 0.5);
    background: linear-gradient(135deg, #b466fa 0%, #8b2bd6 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.link5-k svg {
    transition: all 0.4s ease;
    fill: currentColor;
}

.link5-k .btnArrow-norm {
    opacity: 1;
}

.link5-k .btnArrow-hov {
    opacity: 0;
    transform: translateX(-10px);
}

.link5-k:hover .btnArrow-norm {
    opacity: 0;
    transform: translateX(10px);
}

.link5-k:hover .btnArrow-hov {
    opacity: 1;
    transform: translateX(0);
}

.comp5 .intro-k a {
    text-decoration: none;
    color: inherit;
    font-size: 1.1rem;
    font-weight: 600;
}

.comp5.visible {
    opacity: 1;
    transform: translateY(0);
}

.comp5.visible .photoleft {
    opacity: 1;
    transform: translateX(0);
}

.comp5.visible .intro-k {
    opacity: 1;
    transform: translateX(0);
}

.comp5.visible .intro-k p {
    opacity: 1;
    transform: translateY(0);
}

.comp5.visible .link5-k {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1024px) {
    .comp5 {
        min-height: auto;
        padding: 60px 30px;
    }
    
    .comp5 .box5-k {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .comp5 .photoleft {
        max-width: 400px;
        transform: translateY(30px);
    }
    
    .comp5 .photoleft img {
        aspect-ratio: 4/3;
    }
    
    .intro-k {
        transform: translateY(30px);
    }
    
    .link5-k {
        margin: 2rem auto 0;
    }
    
    .About-Us{
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .comp5 {
        padding: 40px 30px;
    }
    
    .comp5 .box5-k {
        width: 95%;
        gap: 40px;
    }
    
    .intro-k h2 {
        margin-bottom: 1.5rem;
    }
    
    .link5-k {
        width: 100%;
        height: 55px;
    }
}

@media screen and (max-width: 480px) {
    .comp5 {
        padding: 30px 10px;
    }
    
    .comp5 .box5-k {
        gap: 30px;
    }
    
    .link5-k {
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
    }
    
    .intro-k p {
        font-size: 0.95rem;
    }
}