
.featured-candidates-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.candidate-profile-card {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.candidate-profile-card:hover {
    transform: translateY(-5px);
}

.candidate-profile-card .profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 4px solid #eee;
}

.candidate-profile-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.candidate-profile-card .job-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.candidate-profile-card .tags {
    margin-bottom: 1rem;
}

.candidate-profile-card .tags .badge {
    background-color: #f0f0f0;
    color: #555;
    border-radius: 12px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin: 0.2rem;
}

.candidate-profile-card .location {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.candidate-profile-card .view-profile-btn {
    background-color: #ffc107;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.candidate-profile-card .view-profile-btn:hover {
    background-color: #e0a800;
}

/* Hide scrollbar */
.featured-candidates-container::-webkit-scrollbar {
    display: none;
}

.featured-candidates-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
