

/* Custom Tutor Card Styling */
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tutor-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tutor-card-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tutor-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.tutor-photo img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.tutor-info {
    flex-grow: 1;
}

.tutor-name {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}

.tutor-name a {
    text-decoration: none;
    color: #333;
}

.tutor-badges {
    margin-top: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    background: linear-gradient(135deg, #ff8c42, #ffd700);
    color: white;
}
.badge-rising-star {
    background: linear-gradient(135deg, #ff8c42, #ffd700);
}

.badge-tried-tested {
    background: linear-gradient(135deg, #28a745, #20c997);
}
.badge-both {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.tutor-card-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.tutor-meta div {
    margin-bottom: 1rem;
}

.tutor-card-footer {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.tutor-view-profile,
.um-message-btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}
.tutor-view-profile {
    background: #f0f0f0;
    color: #333 !important;
}
.um-message-btn {
    background: linear-gradient(135deg, #007cba, #0096dd);
    color: white !important;
}