.student-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.student-photo {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.student-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.student-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.student-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.student-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.student-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sponsor-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.sponsor-btn:hover {
    background-color: #2c9a42;
    /* Slightly darker than default secondary */
    color: white;
}