/* ===== BIO WRAPPER ===== */
.bio-wrap {
    display: flex;
    justify-content: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #f7f9ff, #eef1ff);
}

/* ===== CARD ===== */
.bio-card {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    padding: 50px;
    border-radius: 28px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(18px);
    box-shadow: 0 40px 120px rgba(0,0,0,.08);
    animation: fadeUp .7s ease forwards;
    transform-style: preserve-3d;
}

/* ===== IMAGE ===== */
.bio-image {
    position: relative;
    border-radius: 24px;
    overflow: visible; /* allow glow to show around */
    z-index: 1;
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    transition: transform .6s ease;
}

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

/* Animated blue glow around image */
.img-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle at center, #cda24d 0%, #cda24d 40%, transparent 70%);
    filter: blur(40px);
    opacity: 0.6;
    animation: floatGlow 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none; /* prevents blocking clicks */
}

/* ===== CONTENT ===== */
.bio-content {
    align-self: center;
}

.bio-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bio-mantra {
    color: #555;
    font-size: 1rem;
    margin-bottom: 28px;
}

.bio-mantra span {
    font-weight: 600;
    color: #cda24d;
}

/* ===== GRID ===== */
.bio-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px 30px;
}

.bio-item span {
    font-size: 12px;
    text-transform: uppercase;
    color: #777;
}

.bio-item p {
    font-weight: 500;
    margin-top: 6px;
}

.bio-item a {
    color: #cda24d;
    text-decoration: none;
}

/* ===== LISTS (fix bullet points) ===== */
.bio-item ul {
    padding-left: 20px;
    margin-top: 8px;
    list-style-type: disc;
}

.bio-item li {
    margin-bottom: 8px;
    line-height: 1.6;
        /* key fixes */
    padding-left: 22px;
    text-indent: -22px;
}

.bio-item li strong {
    color: #2b2b2b;
}

/* ===== SOCIALS ===== */
.bio-socials {
    margin-top: 36px;
    display: flex;
    gap: 16px;
}

.bio-socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(122,111,240,0.12);
    color: #cda24d;
    font-size: 18px;
    transition: all .3s ease;
}

.bio-socials a:hover {
    transform: translateY(-6px) scale(1.08);
    background: linear-gradient(135deg,#cda24d,#00c6ff);
    color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {opacity: 0; transform: translateY(40px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0,0); }
    25% { transform: translate(5px, -5px); }
    50% { transform: translate(-5px, 5px); }
    75% { transform: translate(5px, 5px); }
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .bio-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 35px;
    }

    .bio-image {
        max-width: 260px;
        margin: 0 auto;
    }

    .bio-image img {
        height: auto;
    }

    .bio-name,
    .bio-mantra {
        text-align: center;
    }

    .bio-grid {
        grid-template-columns: 1fr;
    }

    .bio-socials {
        justify-content: center;
    }

    .img-glow {
        width: 140%;
        height: 140%;
        top: -20%;
        left: -20%;
        filter: blur(50px);
    }
}
