﻿body {
    background: linear-gradient(-45deg, #1a2a6c, #b21f1f, #fdbb2d, #6a11cb);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    font-family: 'Poppins', sans-serif;
}

/* BG Animation */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.profile-card {
    background: linear-gradient(to right, #8b8b8b, #ff4b2b);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

    .profile-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 10px 35px rgba(0,0,0,0.5);
      
    }

/* Profile Image */
.img-box img {
    width: 110px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.profile-card:hover .img-box img {
    transform: rotate(-3deg) scale(1.05);
}

/* Text */
.card-info h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.card-info .role {
    font-size: 0.9rem;
    color: #ffd369;
    margin-bottom: 10px;
}

.card-info .desc {
    font-size: 0.85rem;
    color: #e5e5e5;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-profile {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

    .btn-profile:hover {
        background: #fff;
        color: #000;
        transform: scale(1.05);
    }

/* Gradient Follow Button */
.btn-follow {
    background: linear-gradient(135deg, #00f260, #0575e6);
    color: #fff;
    border: none;
    position: relative;
}

    .btn-follow::after {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 60%);
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.btn-follow:hover {
    background: linear-gradient(135deg, #0575e6, #00f260);
    transform: scale(1.08);
}
