* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #1b9aaa);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    position: relative;
    transition: 0.5s ease-in-out;
    overflow: hidden;
    background: linear-gradient(135deg, #77e7ca, #34bb91);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.profile-pic {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30px;
    border: 4px solid #77e7ca;
    overflow: hidden;
    transition: 0.5s ease-in-out 0.3s;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease-in-out;
}

.card:hover .profile-pic {
    z-index: 3;
    width: 100px;
    height: 100px;
    top: 15px;
    left: 15px;
    border-radius: 50%;
    transition: 0.5s ease-in-out;
    box-shadow: 0 0 20px rgba(78, 159, 141, 0.5);
}

.card:hover .profile-pic img {
    transform: scale(1.1);
    top: 20px;
    transition: 0.5s ease-in-out 0.5s;
}

.details {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    top: 82%;
    background: #4e9f8d;
    color: white;
    border-radius: 25px;
    box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out 0.2s;
    overflow: hidden;
    z-index: 2;
}

.card:hover .details {
    top: 22%;
    border-radius: 90px 25px 25px 25px;
    transition: 0.5s ease-in-out 0.2s;
}

.content {
    position: absolute;
    top: -300px;
    left: 20px;
    opacity: 0;
    transition: 0.5s ease-in-out 0s;
}

.card:hover .content {
    top: 15px;
    opacity: 1;
    transition: 0.3s ease-in-out 0.5s, opacity 0.5s ease-in-out 0.7s;
}

.content h2 {
    margin-left: 100px;
    font-size: 18px;
    font-weight: 700;
}

.content .tag {
    margin-left: 100px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 400;
    color: #f1f1f1;
}

.content .about {
    font-size: 14px;
    margin-top: 25px;
    width: 90%;
    line-height: 1.4;
}

.buttons {
    position: absolute;
    bottom: 5px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buttons .social {
    display: flex;
    gap: 15px;
}

.buttons .social i {
    color: white;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.buttons .social i:hover {
    color: #88c6b9;
    transform: scale(1.1);
}

.buttons .link {
    text-decoration: none;
    color: #4e9f8d;
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.buttons .link:hover {
    background: #88c6b9;
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}