.avf-pvc-card {
    max-width: 460px;
    margin: 30px 0;
    background: linear-gradient(135deg, #f3f4f7, #e9ecf3);
    border-radius: 25px;
    padding: 30px 25px 70px 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: none; /* removed border */

}

/* Top tricolor strip */
.avf-pvc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
    width: 100%;
    background:linear-gradient(to right,#ff9933,#ffffff,#138808);
}




.avf-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

}

.avf-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.avf-info{flex:1; padding-left: 10px;}

.avf-info h3{
    margin:0;
   font-size: 20px!important;
    font-weight: 600!important;
    color: #5f6b73!important;

}

.avf-type{margin: 6px 0;font-size: 15px;color: #444;}

.avf-member-id{
    display:inline-block;
    background:#e0e7ff;
    padding:6px 12px;
    border-radius:20px;
    font-weight:600;
    font-size:13px;
    margin-top:5px;
}

.avf-qr {
    width: 100px;          /* width of the white box */
    height: 100px;         /* height of the white box */
    background: #fff;      /* white background */
    padding: 5px;          /* optional padding */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;    /* optional rounded corners */
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

.avf-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;    /* ensures QR fits without stretching */
}


/* ================================
   FOOTER STRIP
================================= */

.avf-pvc-card::after {
    content: "Apna Vishwakarma Foundation Trust | www.avftrust.org";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #ff9933, #138808);
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 5px;
}

