:root {
    --primary: #6366f1;
    --dark: #1e293b;
    --light-bg: #f8fafc;
    --border: 1px solid rgba(0,0,0,0.1);
}

.mentors {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 3rem;
}

.heading span {
    color: var(--primary);
}

.box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: var(--border);
    transition: transform 0.3s ease;
}



.box .image {
    position: relative;
    height: 300px;
}

.box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Keeps the face from stretching */
}

/* Hovering over image shows social links */
.box .image .share {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(99, 102, 241, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: 0.3s ease;
}

.box:hover .image .share {
    opacity: 1;
}

.box .image .share a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.box .content {
    padding: 2rem;
    text-align: center;
}

.box .content h3 {
    font-size: 1.8rem;
    color: var(--dark);
}

.box .content span {
    color: var(--primary);
    font-size: 1.4rem;
    display: block;
    margin: 0.5rem 0;
}

.box .content p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 10px 25px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}